opencv::cudaarithm

Function mean_std_dev

Source
pub fn mean_std_dev(
    src: &impl ToInputArray,
    dst: &mut impl ToOutputArray,
    mask: &impl ToInputArray,
    stream: &mut impl StreamTrait,
) -> Result<()>
Expand description

Computes a mean value and a standard deviation of matrix elements.

§Parameters

  • src: Source matrix. CV_8UC1 and CV_32FC1 matrices are supported for now.
  • dst: Target GpuMat with size 1x2 and type CV_64FC1. The first value is mean, the second - stddev.
  • mask: Operation mask.
  • stream: Stream for the asynchronous version.

§See also

meanStdDev

§C++ default parameters

  • stream: Stream::Null()