How to calculate the width of the object?

4 views (last 30 days)
Rakshith Nayak
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?

Answers (1)

Abhisek Pradhan
Abhisek Pradhan on 12 Oct 2020
Here is a link which has an accepted answer for a simlar question. Hope it will help.
  1 Comment
Rakshith Nayak
Rakshith Nayak on 17 Oct 2020
Edited: Rakshith Nayak on 17 Oct 2020
In https://in.mathworks.com/matlabcentral/answers/298987-how-to-calculate-diameter-of-object this they've not calculated the distance of each particle on the boundary of the object .
Can you please help me with finding distance between the boundaries of the white object at every pixel ?

Sign in to comment.

Categories

Find more on Images 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!