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 (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvAvgSdv(
	IntPtr arr,
	ref MCvScalar mean,
	ref MCvScalar stdDev,
	IntPtr mask
)
Visual Basic
Public Shared Sub cvAvgSdv ( 
	arr As IntPtr,
	ByRef mean As MCvScalar,
	ByRef stdDev As MCvScalar,
	mask As IntPtr
)
Visual C++
public:
static void cvAvgSdv(
	IntPtr arr, 
	MCvScalar% mean, 
	MCvScalar% stdDev, 
	IntPtr mask
)
F#
static member cvAvgSdv : 
        arr : IntPtr * 
        mean : MCvScalar byref * 
        stdDev : MCvScalar byref * 
        mask : IntPtr -> unit 

Parameters

arr
Type: System..::..IntPtr
The array
mean
Type: Emgu.CV.Structure..::..MCvScalar%
Pointer to the mean value
stdDev
Type: Emgu.CV.Structure..::..MCvScalar%
Pointer to the standard deviation
mask
Type: System..::..IntPtr
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