Method GetRotationMatrix2D
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
GetRotationMatrix2D(Point2f, double, double)
Calculates an affine matrix of 2D rotation.
public static Mat GetRotationMatrix2D(Point2f center, double angle, double scale)
Parameters
centerPoint2fCenter of the rotation in the source image.
angledoubleRotation angle in degrees. Positive values mean counter-clockwise rotation (the coordinate origin is assumed to be the top-left corner).
scaledoubleIsotropic scale factor.