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!