I want to show the GLCMs of an image in Matlab. So far I've tried and been able to get only to the stats.
I = imread('cameraman.tif');
glcm1 = graycomatrix(I);
Stats = graycoprops(glcm1);
And it results in the stats.
Stats =
Contrast: 0.5006
Correlation: 0.9269
Energy: 0.1636
Homogeneity: 0.8925
What I want is to show the image of these 4 GLCMs like here.
It should be simple to output that image, but I'm all new to this thing and don't know what I'm missing.