| Cv2Flip Method |
reverses the order of the rows, columns or both in a matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void Flip(
InputArray src,
OutputArray dst,
FlipMode flipCode
)
Public Shared Sub Flip (
src As InputArray,
dst As OutputArray,
flipCode As FlipMode
)
public:
static void Flip(
InputArray^ src,
OutputArray^ dst,
FlipMode flipCode
)
static member Flip :
src : InputArray *
dst : OutputArray *
flipCode : FlipMode -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
The source array - dst
- Type: OpenCvSharpOutputArray
The destination array; will have the same size and same type as src - flipCode
- Type: OpenCvSharpFlipMode
Specifies 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.
See Also