haralickTextureFeat​ures

This function calculates all Haralick Features in an effective way without for-loops.
2.3K Downloads
Updated 15 Oct 2018

View License

It only uses matrix products and makes calculating the GLCM fast. In version 1.x are only two foor-loops.
For better legacy you decide with the optional variable xFeature which Haralick Feature you want use.
All Haralick Features were take from the original paper. See (http://haralick.org/journals/TexturalFeatures.pdf) for more information.

Cite As

Rune Monzel (2024). haralickTextureFeatures (https://www.mathworks.com/matlabcentral/fileexchange/58769-haralicktexturefeatures), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.1.0

- fixed feature 8 Sum Variance (thanks to Lingxuan Kong)

1.3.0.0

fixed feature 8 Sum Variance

1.2.0.0

- fixed and validated Haralick Feature 14 (Maximal Correlation Coefficient), but still not checked
- fixed problem with empty eigenvector in Feature 14 (thanks to Hafiz Muhammad Arslan)

1.1.0.0

ver 1.1
- coOcMat will be checked if it is 2-dimensional
- Example code added
- more documentation
- fixed if-end polling (thanks to Ihsan Yassin)

1.0.0.0