how to measure the wide of object in binary image ?
1 次查看(过去 30 天)
显示 更早的评论
i have a binary image, and i want to measure the wide of object ( white pixel). how to measure it ? please help. thanks
0 个评论
采纳的回答
Image Analyst
2016-3-2
See my Image Segmentation Tutorial and see how I get the bounding box. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
11 个评论
Image Analyst
2016-3-4
It gives you a structure array. Each structure in the array is a structure with field that correspond to the measurements you asked regionprops() to make. For example measurements(7) has all the measurements for blob #7, like Area, Centroid and BoundingBox: measurements(7).Area, measurements(7).Centroid, and measurements(7).BoundingBox.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!