union (cv.Rect) - MATLAB File Help
cv.Rect.union
Minimum area rectangle
r =
cv.Rect.union
(r1, r2)
Input
r1
first rectangle
[x1,y1,w1,h1]
.
r2
second rectangle
[x2,y2,w2,h2]
.
Output
r
output rectangle
[x,y,w,h]
.
Method Details
Access
public
Sealed
false
Static
true