I have:
Mat myImage;
RotatedRect(myCenter,mySize,myAngle);
I would like to fill with black the rotated rectangle inside myImage.
Any fast/elegant way to do it?
1 | initial version |
I have:
Mat myImage;
RotatedRect(myCenter,mySize,myAngle);
I would like to fill with black the rotated rectangle inside myImage.
Any fast/elegant way to do it?
2 | No.2 Revision |
I have:
Mat myImage;
RotatedRect(myCenter,mySize,myAngle);
I would like to fill with black the rotated rectangle inside myImage.
Any fast/elegant way to do it?it?
Note: I would avoid to rotate the image just to fill that rotatedRect