How can we find the width in an image at any three positions.
Show older comments

I am unable to find the width between the black boundary. How can I find the width at any position between the boundary. Kindly guide.
Answers (1)
weikang zhao
on 4 Feb 2021
0 votes
If you only have one figure to process, use edge() to detect the edge of the figure, then manually find the edge and use linear regression. If you have many figures to process, a line detection algorithm(such as hough transform) may be helpful.
1 Comment
Aishwarya Sanaka
on 4 Feb 2021
Categories
Find more on Object Analysis 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!