Cv_2DRotationMatrix Method (CvPoint2D32f, Double, Double, CvMat) OpenCvSharp Class Library
Calculates affine matrix of 2d rotation.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvMat _2DRotationMatrix(
	CvPoint2D32f center,
	double angle,
	double scale,
	out CvMat mapMatrix
)

Parameters

center
Type: OpenCvSharpCvPoint2D32f
Center of the rotation in the source image.
angle
Type: SystemDouble
The rotation angle in degrees. Positive values mean couter-clockwise rotation (the coordiate origin is assumed at top-left corner).
scale
Type: SystemDouble
Isotropic scale factor.
mapMatrix
Type: OpenCvSharpCvMat
Pointer to the destination 2×3 matrix.

Return Value

Type: CvMat
The transformation maps the rotation center to itself. If this is not the purpose, the shift should be adjusted.
See Also

Reference