how to change 8 - gray level to 32 gray level (GLCM)

1 view (last 30 days)
i want to change 8 gray level to 32 gray level, because if i use 8-level the result is like this image
so i want to try use 32 level in my glcm
I = imread('001 A.png');
gray = rgb2gray(I);
offsets = [0 1;-1 1;-1 0;-1 -1];
[GLCMS,SI] = graycomatrix(gray,'Of', offsets);
stats = graycoprops(GLCMS,{'contrast','homogeneity','correlation','energy'});
imshow(gray);
this is image i used
thank you before

Answers (0)

Community Treasure Hunt

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

Start Hunting!