how to finding length and width of an object in an image
4 次查看(过去 30 天)
显示 更早的评论
after detecting the object in the image how to find the length and width of that object
0 个评论
回答(1 个)
Matt J
2013-2-18
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!