Cv2Repeat Method (InputArray, Int32, Int32, OutputArray) OpenCvSharp Class Library
replicates the input matrix the specified number of times in the horizontal and/or vertical direction

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Repeat(
	InputArray src,
	int ny,
	int nx,
	OutputArray dst
)

Parameters

src
Type: OpenCvSharp.CPlusPlusInputArray
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
dst
Type: OpenCvSharp.CPlusPlusOutputArray
The destination array; will have the same type as src
See Also

Reference