Cv2Mean Method OpenCvSharp Class Library
computes mean value of selected array elements

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Scalar Mean(
	InputArray src,
	InputArray mask = null
)

Parameters

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

Return Value

Type: Scalar

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

See Also

Reference