| 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
)
Public Shared Sub MeanStdDev (
src As InputArray,
mean As OutputArray,
stddev As OutputArray,
Optional mask As InputArray = Nothing
)
public:
static void MeanStdDev(
InputArray^ src,
OutputArray^ mean,
OutputArray^ stddev,
InputArray^ mask = nullptr
)
static member MeanStdDev :
src : InputArray *
mean : OutputArray *
stddev : OutputArray *
?mask : InputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
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