[−][src]Function opencv::core::repeat
pub fn repeat(src: &Mat, ny: i32, nx: i32) -> Result<Mat>
Fills the output array with repeated copies of the input array.
The function cv::repeat duplicates the input array one or more times along each of the two axes: The second variant of the function is more convenient to use with @ref MatrixExpressions.
Parameters
- src: input array to replicate.
- ny: Flag to specify how many times the
src
is repeated along the vertical axis. - nx: Flag to specify how many times the
src
is repeated along the horizontal axis. - dst: output array of the same type as
src
.
See also
cv::reduce
Overloaded parameters
- src: input array to replicate.
- ny: Flag to specify how many times the
src
is repeated along the vertical axis. - nx: Flag to specify how many times the
src
is repeated along the horizontal axis.