what is the inverse function of bbox2points?
조회 수: 1 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!