How to calculate the width of the object?
4 views (last 30 days)
Show older comments
Rakshith Nayak on 9 Oct 2020
Commented: Image Analyst on 17 Oct 2020
I want to calculate the width of the object(every pixels on the boundary) and store that data in a matrix form.
Can anyone suggest a code for this?
Image Analyst on 17 Oct 2020
Are you really Prashant? Or working with him? Because this image is the same as the one here: https://www.mathworks.com/matlabcentral/answers/555463-how-to-fitline-on-my-binary-image-and-find-distance?s_tid=srchtitle
Abhisek Pradhan on 12 Oct 2020
Here is a link which has an accepted answer for a simlar question. Hope it will help.
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!