Image Quantization in GLCM
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
KALYAN ACHARJYA
le 17 Fév 2021
Modifié(e) : KALYAN ACHARJYA
le 17 Fév 2021
"code it give some solution?
Can you share the objective?
B have only 8 levels, whereas g have 256 levels.
Réponses (0)
Voir également
Catégories
En savoir plus sur Image Filtering and Enhancement dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!