Sum calculates the per-channel pixel sum of an image.
Future<Scalar> sumAsync() async => cvRunAsync((callback) => cffi.core_Sum_Async(ref, callback), scalarCompleter);