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?

采纳的回答

Guillaume
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by