regionprops 0 Area NaN Centroid issue
Afficher commentaires plus anciens
I am using "regionprops" for image analysis. It generally works well, but for 1 image now "regionprops" is returning an area of zero.
Before "regionprops" I threshold the image and then use "bwlabel".
rp =
struct with fields:
Area: 0
Centroid: [NaN NaN]
BoundingBox: [0.5000 0.5000 0 0]
Do you understand this? How can a region have area 0 (=no pixel)?
Not sure if this is related, but for memory issues my labelled image is uint16 and not double.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Region and Image Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!