Method Flip
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Flip(InputArray, OutputArray, FlipMode)
reverses the order of the rows, columns or both in a matrix
public static void Flip(InputArray src, OutputArray dst, FlipMode flipCode)
Parameters
srcInputArrayThe source array
dstOutputArrayThe destination array; will have the same size and same type as src
flipCodeFlipModeSpecifies how to flip the array: 0 means flipping around the x-axis, positive (e.g., 1) means flipping around y-axis, and negative (e.g., -1) means flipping around both axes. See also the discussion below for the formulas.