sum method
Sum calculates the per-channel pixel sum of an image.
Implementation
Scalar sum() {
final s = calloc<cvg.Scalar>();
cvRun(() => ccore.cv_sum(ref, s, ffi.nullptr));
return Scalar.fromPointer(s);
}
Sum calculates the per-channel pixel sum of an image.
Scalar sum() {
final s = calloc<cvg.Scalar>();
cvRun(() => ccore.cv_sum(ref, s, ffi.nullptr));
return Scalar.fromPointer(s);
}