| 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
)
Public Shared Sub Rotate (
src As InputArray,
dst As OutputArray,
rotateCode As RotateFlags
)
public:
static void Rotate(
InputArray^ src,
OutputArray^ dst,
RotateFlags rotateCode
)
static member Rotate :
src : InputArray *
dst : OutputArray *
rotateCode : RotateFlags -> unit
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