How to fit rectangles on blobs on binary image
Mostrar comentarios más antiguos
I have this binary image:

I need to find 2 rectangles that fit around the two blobs as best as possible. What's the best method to apply?
Thanks for any help!
Respuesta aceptada
Más respuestas (1)
Matt J
el 7 de En. de 2021
regionprops(BW, 'BoundingBox')
Categorías
Más información sobre Images en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!