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.

 Accepted Answer

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 Comments

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
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.
this is my original image
this is my processed image after segmentation
i want to find object width from this binary image

Sign in to comment.

More Answers (1)

Asked:

on 8 Mar 2014

Commented:

on 12 Mar 2014

Community Treasure Hunt

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

Start Hunting!