| Cv2MeanStdDev Method (InputArray, Scalar, Scalar, 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,
out Scalar mean,
out Scalar stddev,
InputArray mask = null
)
Public Shared Sub MeanStdDev (
src As InputArray,
<OutAttribute> ByRef mean As Scalar,
<OutAttribute> ByRef stddev As Scalar,
Optional mask As InputArray = Nothing
)
public:
static void MeanStdDev(
InputArray^ src,
[OutAttribute] Scalar% mean,
[OutAttribute] Scalar% stddev,
InputArray^ mask = nullptr
)
static member MeanStdDev :
src : InputArray *
mean : Scalar byref *
stddev : Scalar byref *
?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: OpenCvSharpScalar
The output parameter: computed mean value - stddev
- Type: OpenCvSharpScalar
The output parameter: computed standard deviation - mask (Optional)
- Type: OpenCvSharpInputArray
The optional operation mask
See Also