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: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void MeanStdDev(
IInputArray arr,
ref MCvScalar mean,
ref MCvScalar stdDev,
IInputArray mask = null
)
Public Shared Sub MeanStdDev (
arr As IInputArray,
ByRef mean As MCvScalar,
ByRef stdDev As MCvScalar,
Optional mask As IInputArray = Nothing
)
public:
static void MeanStdDev(
IInputArray^ arr,
MCvScalar% mean,
MCvScalar% stdDev,
IInputArray^ mask = nullptr
)
static member MeanStdDev :
arr : IInputArray *
mean : MCvScalar byref *
stdDev : MCvScalar byref *
?mask : IInputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
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
RemarksIf 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