Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does rotation in OpenCV work

How does the rotation in OpenCV work? I have a ROI in the image that I would like to rotate for a certain angle, and I move it to the top left corner of the image as a center of rotation. Then I move ROI back to the old position to see its new position. But the result I get is ROI under some strange angle. Can someone explain me how the rotation works?

How does rotation in OpenCV work

How does the rotation in OpenCV work? I have a ROI in the image that I would like to rotate for a certain angle, and I move it to the top left corner of the image as a center of rotation. Then I move ROI back to the old position to see its new position. But the result I get is ROI under some strange angle. Can someone explain me how the rotation works?