how to find object width in binary image

i have an binary image with 0's and 1's. please help me how to find the object width factor.

 採用された回答

Image Analyst
Image Analyst 2014 年 3 月 8 日

0 投票

If you need any more help, read this http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer and then come back with your image and m-file.

3 件のコメント

Pradeeba
Pradeeba 2014 年 3 月 10 日
Dear sir,
Thank you for your answer. I got an answer like this as per your suggestions.
But,this is my image, i want to calculate the object width factor by slicing across the major and parallel to minor axis.
please help me sir
Image Analyst
Image Analyst 2014 年 3 月 10 日
That doesn't look anything like what my demo creates. What is your original image? Is it the ring-shaped curve? The width looks like 1 pixel. If you fill the ring so that it's a solid ellipse, then the width (minor axis length) would be larger of course.
Pradeeba
Pradeeba 2014 年 3 月 12 日
this is my original image
this is my processed image after segmentation
i want to find object width from this binary image

サインインしてコメントする。

その他の回答 (1 件)

Sukuchha
Sukuchha 2014 年 3 月 10 日

0 投票

doc regionprop, see minor axis

質問済み:

2014 年 3 月 8 日

コメント済み:

2014 年 3 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by