image thumbnail


version (3.75 KB) by Rune Monzel
This function calculates all Haralick Features in an effective way without for-loops.


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 ( for more information.

Cite As

Rune Monzel (2021). 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!