Method Rotate
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Rotate(InputArray, OutputArray, RotateFlags)
Rotates a 2D array in multiples of 90 degrees.
public static void Rotate(InputArray src, OutputArray dst, RotateFlags rotateCode)
Parameters
srcInputArrayinput array.
dstOutputArrayoutput 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.
rotateCodeRotateFlagsan enum to specify how to rotate the array.