computes mean value and standard deviation of all or selected array elements
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void MeanStdDev( InputArray src, out Scalar mean, out Scalar stddev, InputArray mask = null )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusInputArray
The source array; it should have 1 to 4 channels (so that the results can be stored in Scalar's) - mean
- Type: OpenCvSharp.CPlusPlusScalar
The output parameter: computed mean value - stddev
- Type: OpenCvSharp.CPlusPlusScalar
The output parameter: computed standard deviation - mask (Optional)
- Type: OpenCvSharp.CPlusPlusInputArray
The optional operation mask
See Also