regionprops 0 Area NaN Centroid issue
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Region and Image Properties en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!