Table of Contents

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

center Point2f

Center of the rotation in the source image.

angle double

Rotation angle in degrees. Positive values mean counter-clockwise rotation (the coordinate origin is assumed to be the top-left corner).

scale double

Isotropic scale factor.

Returns

Mat