Click or drag to resize

MatFlip 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 Mat Flip(
	FlipMode flipCode
)

Parameters

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.

Return Value

Type: Mat
The destination array; will have the same size and same type as src
See Also