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.

답변 (2개)

Image Analyst
Image Analyst 2013년 4월 16일

0 개 추천

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 2013년 4월 17일

0 개 추천

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

Image Analyst
Image Analyst 2013년 4월 17일
편집: Image Analyst 2013년 4월 17일
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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

질문:

2013년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by