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

2 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Walter Roberson
Walter Roberson le 9 Avr 2018
[xmin, ymin, xmax-xmin+1, ymax-ymin+1]

Plus de réponses (0)

Catégories

En savoir plus sur Propagation and Channel Models 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