Click or drag to resize

Cv2Repeat Method (Mat, Int32, Int32)

replicates the input matrix the specified number of times in the horizontal and/or vertical direction

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static Mat Repeat(
	Mat src,
	int ny,
	int nx
)

Parameters

src
Type: OpenCvSharpMat
The source array to replicate
ny
Type: SystemInt32
How many times the src is repeated along the vertical axis
nx
Type: SystemInt32
How many times the src is repeated along the horizontal axis

Return Value

Type: Mat
See Also