MCPcopy Create free account
hub / github.com/bitristan/OpenCVSamples / mean

Method mean

OpenCV Library - 2.4.3/src/org/opencv/core/Core.java:4521–4527  ·  view source on GitHub ↗

Calculates an average (mean) of array elements. The function mean calculates the mean value M of array elements, independently for each channel, and return it: N = sum(by: I: mask(I) != 0) 1 M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N W

(Mat src, Mat mask)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

mean_0Method · 0.95
mean_1Method · 0.95

Tested by

no test coverage detected