Table of Contents

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

src InputArray

The source array

dst OutputArray

The destination array; will have the same size and same type as src

flipCode FlipMode

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.