Borrar filtros
Borrar filtros

How to draw bounding box around white area in binary image

2 visualizaciones (últimos 30 días)
this test image Promblem I want draw bounding box and know angle of image 4 angle

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by