Image Quantization in GLCM
이전 댓글 표시
Image quantization is an important step for feature extraction through GLCM. Although there are many questions related to this but there is no proper answer for Quantization problem in MATLAB.
I am using this code:
i= imread('image');
g=rgb2gray(i);
levels=multithresh(g,7);
A=imquantize(g, levels);
B = uint8(A);
glcm=graycomatrix(B, 'offset', [-1 0]);
stats = graycoprops(glcm);
댓글 수: 4
KALYAN ACHARJYA
2021년 2월 17일
Sir, more specific question?
Junaid Dar Dar
2021년 2월 17일
KALYAN ACHARJYA
2021년 2월 17일
편집: KALYAN ACHARJYA
2021년 2월 17일
"code it give some solution?
Can you share the objective?
B have only 8 levels, whereas g have 256 levels.
Junaid Dar Dar
2021년 2월 17일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!