[][src]Function opencv::core::repeat_to

pub fn repeat_to(
    src: &dyn ToInputArray,
    ny: i32,
    nx: i32,
    dst: &mut dyn ToOutputArray
) -> Result<()>

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: block formula 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