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
srcInputArrayThe source array; it should have 1 to 4 channels (so that the result can be stored in Scalar)
maskInputArrayThe optional operation mask