Method Repeat
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Repeat(InputArray, int, int, OutputArray)
replicates the input matrix the specified number of times in the horizontal and/or vertical direction
public static void Repeat(InputArray src, int ny, int nx, OutputArray dst)
Parameters
srcInputArrayThe source array to replicate
nyintHow many times the src is repeated along the vertical axis
nxintHow many times the src is repeated along the horizontal axis
dstOutputArrayThe destination array; will have the same type as src
Repeat(Mat, int, int)
replicates the input matrix the specified number of times in the horizontal and/or vertical direction
public static Mat Repeat(Mat src, int ny, int nx)
Parameters
srcMatThe source array to replicate
nyintHow many times the src is repeated along the vertical axis
nxintHow many times the src is repeated along the horizontal axis