Bounding box etc. Problem with this algorithm.
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Image Analyst
on 16 Apr 2013
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.).
0 Comments
Petra
on 17 Apr 2013
1 Comment
Image Analyst
on 17 Apr 2013
Edited: Image Analyst
on 17 Apr 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?
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!