MATLAB File Help: cv.minAreaRect | Index |
Finds a rotated rectangle of the minimum area enclosing the input 2D point set
rct = cv.minAreaRect(points)
{[x,y], ...}
).[x,y]
.[w,h]
.The function calculates and returns the minimum-area bounding rectangle
(possibly rotated) for a specified point set. Developer should keep in mind
that the returned rct
can contain negative indices when data is close to
the containing Mat element boundary.