http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
The function cvAvgSdv calculates the average value and standard deviation of array elements, independently for each channel
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 ) |
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).