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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 9 Apr 2018
[xmin, ymin, xmax-xmin+1, ymax-ymin+1]

Più risposte (0)

Categorie

Scopri di più su Propagation and Channel Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by