Click or drag to resize

Cv2Mean Method

computes mean value of selected array elements

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Scalar Mean(
	InputArray src,
	InputArray mask = null
)

Parameters

src
Type: OpenCvSharpInputArray
The source array; it should have 1 to 4 channels (so that the result can be stored in Scalar)
mask (Optional)
Type: OpenCvSharpInputArray
The optional operation mask

Return Value

Type: Scalar

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.Mean(OpenCvSharp.InputArray,OpenCvSharp.InputArray)"]

See Also