mean function
mean
Implementation
Scalar mean(InputArray src, {InputArray? mask}) {
final p = calloc<cvg.Scalar>();
mask == null
? cvRun(() => ccore.cv_mean(src.ref, p, ffi.nullptr))
: cvRun(() => ccore.cv_mean_1(src.ref, mask.ref, p, ffi.nullptr));
return Scalar.fromPointer(p);
}