splitAsync function
Split creates an array of single channel images from a multi-channel image Created images should be closed manualy to avoid memory leaks.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga0547c7fed86152d7e9d0096029c8518a
Implementation
Future<VecMat> splitAsync(InputArray m) async => cvRunAsync(
(callback) => ccore.core_Split_Async(m.ref, callback),
(c, p) => VecMat.fromPointer(p.cast<ccore.VecMat>()),
);