what is the inverse function of bbox2points?

3 ビュー (過去 30 日間)
OJ27
OJ27 2016 年 1 月 5 日
回答済み: Image Analyst 2016 年 1 月 5 日
The bbox2points converts the input rectangle, specified as [x y width height] into a list of four [x y] corner points. I want to convert a list of 4 points to a rectangle. How can I do so? Is there a function?

回答 (1 件)

Image Analyst
Image Analyst 2016 年 1 月 5 日
No built in function. bbox2points () is not a built-in function either. You could, of course, write a function to do that in about 5 lines of code (minimum).

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by