Click or drag to resize

Cv2Mean Method

computes mean value of selected array elements

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
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
See Also