Image is homogenous,white bright.?
Afficher commentaires plus anciens


Image is homogenous,white bright. can you explain what is homogenous and white bright. I tried
I = imread('circuit.tif');
glcm = graycomatrix(I,'Offset',[2 0]);
stats = graycoprops(glcm,{'contrast','homogeneity'});
I have added input image and i marked the region of interest. I tried bwlabel and extracted the elliptical shape within that red region.I want to check whether the region is
- homogeneous bright white
- inhomogeneous with or without horizontal bands
- inhomogeneous gray
- inhomogeneous gray to black
- inhomogeneous black
How to write a code to distinguish this
Réponses (1)
Image Analyst
le 15 Juin 2016
0 votes
I guess homogeneous and bright white would mean that the image is a uniform gray level of 255 or 65535 depending on if it's an 8 or 16 bit image.
10 commentaires
Image Analyst
le 16 Juin 2016
You said you "extracted the elliptical shape within that red region" so just pass those gray levels into std() and see what the standard deviation is.
leena
le 16 Juin 2016
leena
le 16 Juin 2016
Image Analyst
le 17 Juin 2016
OK. Do you have a question? Can you show your binary image?
leena
le 18 Juin 2016
leena
le 18 Juin 2016
leena
le 20 Juin 2016
Image Analyst
le 26 Juin 2016
I don't know what all your 5 classifications mean, but you have to reduce them to comparisons of mean, std dev, and pattern.
leena
le 5 Juil 2016
Image Analyst
le 5 Juil 2016
You need to define some threshold
if std(ROI(:)) > 5 % Or whatever value you want
% It's not homogeneous
else
% It's homogeneous
end
Catégories
En savoir plus sur Texture Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

