how to change 8 - gray level to 32 gray level (GLCM)
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!