Effacer les filtres
Effacer les filtres

How to draw bounding box around white area in binary image

2 vues (au cours des 30 derniers jours)
Adisorn Phanukthong
Adisorn Phanukthong le 25 Mai 2017
Commenté : Walter Roberson le 26 Mai 2017
this test image Promblem I want draw bounding box and know angle of image 4 angle

Réponse acceptée

Image Analyst
Image Analyst le 25 Mai 2017
Use regionprops() to get the bounding box.
I don't know what "angle of image 4 angle" is.
  7 commentaires
Adisorn Phanukthong
Adisorn Phanukthong le 26 Mai 2017
Yes Angle as between the height and width
Walter Roberson
Walter Roberson le 26 Mai 2017
angle = atan2(thisBB(4), thisBB(3))

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by