Table of Contents

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

src InputArray

The source array to replicate

ny int

How many times the src is repeated along the vertical axis

nx int

How many times the src is repeated along the horizontal axis

dst OutputArray

The 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

src Mat

The source array to replicate

ny int

How many times the src is repeated along the vertical axis

nx int

How many times the src is repeated along the horizontal axis

Returns

Mat