Bounding box etc. Problem with this algorithm.

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
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
Petra le 17 Avr 2013

0 votes

Thank you very much. I did it. But idon´t know, how i calibraliton image (1pixel=10,309 micrometers). And i don´t know, how i do mean and var from area, perimeter and boundingbox.

1 commentaire

Image Analyst
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?

Connectez-vous pour commenter.

Question posée :

le 16 Avr 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by