Bounding box etc. Problem with this algorithm.
Afficher commentaires plus anciens
help me, please. I have problem with this algorithm... please
Write an algorithm to estimate the size of the pores in the fabric painting (tkanina.jpg). Find out diameter and pore-size dispersion (object) for characteristics (area, perimeter, bounding box). In the original image versed the red outline of the object bounding box color is green color. The picture is to be done and calibration. Calibration: 1pixel is 10,309 micrometers.
Réponses (2)
Image Analyst
le 16 Avr 2013
0 votes
See my image segmentation tutorial, BlobsDemo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 It could easily be adapted to use your image instead of the demo image. I think it gets all those measurements (area, etc.).
Petra
le 17 Avr 2013
0 votes
1 commentaire
Image Analyst
le 17 Avr 2013
Modifié(e) : Image Analyst
le 17 Avr 2013
Get all the areas, like I do:
allAreas = [measurements.Area];
Then get the variance
varAreas = var(allAreas);
Same for perimeters, and bounding box side lengths. Multiply areas by 10,309^2 to get areas in micrometers and perimeters by 10,309 to get perimeters in micrometers.
By the way, your post is not an "Answer" to your question is it? Shouldn't it have been a comment to my answer?
Catégories
En savoir plus sur Histograms 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!