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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Krispy Scripts
le 18 Août 2016
Réponse apportée : Guillaume
le 18 Août 2016
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 commentaires
Réponse acceptée
Guillaume
le 18 Août 2016
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!