cv.boundingRect - MATLAB File Help |
Calculates the up-right bounding rectangle of a point set
rct = cv.boundingRect(points)
rct = cv.boundingRect(mask)
{[x,y], ...}
). Supports integer
(int32
) and floating-point (single
) classes.[x,y,w,h]
.The function calculates and returns the minimal up-right bounding rectangle for the specified point set.