Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just guessing here: Take the inverse of your rotation matrix (http://docs.opencv.org/modules/imgproc/doc/geometric_transformations.html?highlight=getrotationmatrix#invertaffinetransform) and multiply (or use warpAffine) the ROI-points with it -> transforms back the points.