Click or drag to resize

Cv2MeanStdDev Method (InputArray, OutputArray, OutputArray, InputArray)

computes mean value and standard deviation of all or selected array elements

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void MeanStdDev(
	InputArray src,
	OutputArray mean,
	OutputArray stddev,
	InputArray mask = null
)

Parameters

src
Type: OpenCvSharpInputArray
The source array; it should have 1 to 4 channels (so that the results can be stored in Scalar's)
mean
Type: OpenCvSharpOutputArray
The output parameter: computed mean value
stddev
Type: OpenCvSharpOutputArray
The output parameter: computed standard deviation
mask (Optional)
Type: OpenCvSharpInputArray
The optional operation mask
See Also