A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?
1 次查看(过去 30 天)
显示 更早的评论
A cropped image that has a single object that has been thresholded and converted to binary image. Is it best to use regionprops to find the area of that image or some other method?
0 个评论
采纳的回答
Guillaume
2016-8-18
If there is only one object in the binarised image, then sum(binaryimage) will be marginally faster than using regionprops.
It's hardly likely you'll notice the difference though.
0 个评论
更多回答(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!