how to finding length and width of an object in an image
1 view (last 30 days)
Show older comments
after detecting the object in the image how to find the length and width of that object
0 Comments
Answers (1)
Matt J
on 18 Feb 2013
Unless the object is rectangular, it would depend greatly on how you define its length and width.
One possibility is to use
regionprops(...,'MajorAxisLength')
regionprops(...,'MinorAxisLength')
0 Comments
See Also
Categories
Find more on Feature Detection and Extraction 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!