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

2 ビュー (過去 30 日間)
samar mahmoud
samar mahmoud 2018 年 4 月 9 日
コメント済み: samar mahmoud 2018 年 4 月 10 日
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

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 9 日
[xmin, ymin, xmax-xmin+1, ymax-ymin+1]

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by