boundingBox of a feture in an image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Akhil Aravind
el 25 de Abr. de 2019
Comentada: Akhil Aravind
el 29 de Abr. de 2019
I found the boundingBoxes of my feture using Regionprop(a,'BoundingBox');. As my feture is having many parts i got many bounding boxes. when i plot them on image i am getting someboxes are subset of other box. so i want to remove that overlaying part. help me with this....
Thank You.....
i don't want the boxes inside any other box
0 comentarios
Respuesta aceptada
Mark Sherstan
el 25 de Abr. de 2019
You can use bboxOverlapRatio() to get the ratio and then set a threshold of what is acceptable for plotting or not. A better approach might be what are you passing to region props? Are you looking for color, contrast, etc? If you filter your image more before passing it to region props you may get more desirable results (e.g. bwareafilt())
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!