RotationMatrix2DCreateRotationMatrix Method |
http://www.emgu.com
Create a rotation matrix for rotating an image
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic static RotationMatrix2D CreateRotationMatrix(
PointF center,
double angle,
Size srcImageSize,
out Size dstImageSize
)
Public Shared Function CreateRotationMatrix (
center As PointF,
angle As Double,
srcImageSize As Size,
<OutAttribute> ByRef dstImageSize As Size
) As RotationMatrix2D
public:
static RotationMatrix2D^ CreateRotationMatrix(
PointF center,
double angle,
Size srcImageSize,
[OutAttribute] Size% dstImageSize
)
static member CreateRotationMatrix :
center : PointF *
angle : float *
srcImageSize : Size *
dstImageSize : Size byref -> RotationMatrix2D
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:
RotationMatrix2DThe rotation matrix that rotate the source image to the destination image.
See Also