Skip to content

Haralick feature extraction on medical images exploiting the full dynamics of gray-scale levels

License

Notifications You must be signed in to change notification settings

andrea-tango/HaraliCU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaraliCU

HaraliCU is a GPU-powered approach designed to efficiently compute the Gray-Level Co-occurrence Matrix (GLCM) in order to extract an exhaustive set of the Haralick features.

It has been conceived to overcome the limitations of the existing feature extraction and radiomics tools that cannot effectively manage the full-dynamics of grey-scale levels (i.e., 16 bit).

This novel approach is a promising solution that might effectively enable multi-scale radiomic analyses by properly combining several values of distance offsets, orientations, and window sizes.

  1. References
  2. Required libraries
  3. Input parameters
  4. Datasets
  5. License
  6. Contacts

References

A detailed description of HaraliCU, as well as a complete experimental comparison against the corresponding CPU version by using the dataset described below (Data), can be found in:

  • Rundo L., Tangherloni A., Galimberti S., Cazzaniga P., Woitek R., Sala E., Nobile M.S., Mauri G.: "HaraliCU: GPU-Powered Haralick Feature Extraction on Medical Images Exploitingthe Full Dynamics of Gray-scale Levels", In: Proc. 15th International Conference on Parallel Computing Technologies (PaCT) 2019. (Accepted Manuscript)

Required libraries

The CPU version of HaraliCU has been developed in C++, whilst the GPU version in CUDA C++. Both versions have been developed and tested on Ubuntu Linux but should work also on MacOS X and Windows.

HaraliCU depends on:

  • CUDA toolkit;
  • OpenCV.

In order to compile both versions of HaraliCU, we provide two bash scripts (compileCPU.sh and compileGPU.sh).

The resulting executable files (named HaraliCU and HaraliCPU) are standalone executable programs.

Input parameters

In oder to run HaraliCU, the following parameters must be provided:

  • -i to specify the input folder containing the images to process (in BMP, DIB, JPEG, JPG, JPE, JP2, PNG, WEBP, PBM, PGM, PPM, SR, RAS, TIFF, TIF).

Optional parameters could be provided:

  • -o to specify the output folder (default: output);
  • -w to specify the window size (default: 5);
  • -p to specify the padding strategy (default: 1 = zero padding. 0 = no padding; 2 = symmetric);
  • -d to specify the distance between the reference pixel and the neighbor pixel (default: 1);
  • -t to specify the orientation (default: 1 = 0°. 2 = 45°; 3 = 90°; 4 = 135°);
  • -q to specify the maximum gray level for quantization (default: the maximum value in the image);
  • -g to make the GLCM pairs symmetric;
  • -s to save the feature maps;
  • -v to enable the verbose modality.

By running python HaraliCU without specifying any parameter (or using -? or -h), all the above parameters will be listed.

Data

License

HaraliCU is licensed under the terms of the GNU GPL v3.0

Contacts

For questions or support, please contact [email protected] ([email protected]) and/or [email protected] ([email protected]).

About

Haralick feature extraction on medical images exploiting the full dynamics of gray-scale levels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published