Click or drag to resize
CvInvokeMeanStdDev Method (IInputArray, MCvScalar, MCvScalar, IInputArray)
http://www.emgu.com
The function cvAvgSdv calculates the average value and standard deviation of array elements, independently for each channel

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void MeanStdDev(
	IInputArray arr,
	ref MCvScalar mean,
	ref MCvScalar stdDev,
	IInputArray mask = null
)

Parameters

arr
Type: Emgu.CVIInputArray
The array
mean
Type: Emgu.CV.StructureMCvScalar
Pointer to the mean value
stdDev
Type: Emgu.CV.StructureMCvScalar
Pointer to the standard deviation
mask (Optional)
Type: Emgu.CVIInputArray
The optional operation mask
Remarks
If the array is IplImage and COI is set, the function processes the selected channel only and stores the average and standard deviation to the first compoenents of output scalars (M0 and S0).
See Also