Click or drag to resize
RotationMatrix2DCreateRotationMatrix Method
http://www.emgu.com
Create a rotation matrix for rotating an image

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static RotationMatrix2D CreateRotationMatrix(
	PointF center,
	double angle,
	Size srcImageSize,
	out Size dstImageSize
)

Parameters

center
Type: System.DrawingPointF
The rotation center
angle
Type: SystemDouble
The rotation angle in degrees. Positive values mean couter-clockwise rotation (the coordiate origin is assumed at image centre).
srcImageSize
Type: System.DrawingSize
The source image size
dstImageSize
Type: System.DrawingSize
The minimun size of the destination image

Return Value

Type: RotationMatrix2D
The rotation matrix that rotate the source image to the destination image.
See Also