Click or drag to resize

Cv2Rotate Method

Rotates a 2D array in multiples of 90 degrees.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Rotate(
	InputArray src,
	OutputArray dst,
	RotateFlags rotateCode
)

Parameters

src
Type: OpenCvSharpInputArray
input array.
dst
Type: OpenCvSharpOutputArray
output array of the same type as src. The size is the same with ROTATE_180, and the rows and cols are switched for ROTATE_90_CLOCKWISE and ROTATE_90_COUNTERCLOCKWISE.
rotateCode
Type: OpenCvSharpRotateFlags
an enum to specify how to rotate the array.
See Also