GLCM_Features(glcm)

版本 1.4.0.0 (3.1 KB) 作者: Pawel Kleczek
Vectorized GLCM texture features calculations
1.4K 次下载
更新 2017/1/25

查看许可证

This code is a vectorized version of the code submitted by Avinash Uppuluri.
The speedup (tested for the same subset of features) for a 200x200x4 GLCM matrix is about:
- 300x with respect to the original, non-vectorized version
- 10x with respect to the Avinash Uppuluri's own vectorized version
- 7x with respect to the vectorized implementation by Patrik Brynolfsson
NOTE: Formulas of features used in this implementation are based solely on the paper by Haralick et al.:
Haralick RM, Shanmuga K, Dinstein I.: Textural features for image classification. IEEE Trans Syst Man Cybern 3: 610-621, 1973
Other implementations may use slightly different formulations of "Sum of square: variance", "sum variance" and "difference variance". Always make sure which version is more suitable in the given case.

引用格式

Pawel Kleczek (2026). GLCM_Features(glcm) (https://ww2.mathworks.cn/matlabcentral/fileexchange/56661-glcm_features-glcm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: GLCM texture features

版本 已发布 发行说明
1.4.0.0

Only changed the description

1.3.0.0

- Fixed a bug related to hard-coded 3rd dimension of a GLCM matrix (was 4, now is size(GLCM,3)).
- Added a demo file to show how to use the function.

1.2.0.0

Fixed bug in computation of `t` for `svarh`: length(p_xplusy) gave incorrect results if `p_xplusy` was a 3x1x4 matrix (i.e. when GLCM matrix was a 2x2xk matrix).

1.1.0.0

I've ensured that the current implementation of "Sum of square: variance", "sum variance" and "difference variance" conforms to the original paper by Haralick et al.

1.0.0.0