what is the inverse function of bbox2points?
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!