Table of Contents

Method Mean

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Mean(InputArray, InputArray)

computes mean value of selected array elements

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

Parameters

src InputArray

The source array; it should have 1 to 4 channels (so that the result can be stored in Scalar)

mask InputArray

The optional operation mask

Returns

Scalar