How to convert form [xmin ymin xmax ymax] to [x y width height] in image?

3 visualizaciones (últimos 30 días)
I have a detected box in [xmin ymin xmax ymax] but i need it in the format [x y width height] to use it in
overlapRatio = bboxOverlapRatio(bboxA,bboxB) How can i do this
thanks in advance

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de Abr. de 2018
[xmin, ymin, xmax-xmin+1, ymax-ymin+1]

Más respuestas (0)

Categorías

Más información sobre Propagation and Channel Models en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by