How to fit rectangles on blobs on binary image
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
Matt J
il 7 Gen 2021
regionprops(BW, 'BoundingBox')
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!