Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You want the getRotationMatrix2D function. That gives you the affine matrix to warp by. Then warpAffine to do the actual transformation.

Give the core and imgproc module documentation a read-through. Most of what anybody needs is in those two modules.