www.gusucode.com > images 案例代码 matlab源码程序 > images/CalculateStatisticsFromGraylevelCooccurrenceMatrixExample.m
%% Calculate Statistics from Gray-level Co-occurrence Matrix % %% % Create simple sample GLCM. glcm = [0 1 2 3;1 1 2 3;1 0 2 0;0 0 0 3] %% % Calculate statistical properties of the GLCM. stats = graycoprops(glcm)