getBlobChannelAsync function

Future<Mat> getBlobChannelAsync(
  1. Mat blob,
  2. int imgidx,
  3. int chnidx
)

Implementation

Future<Mat> getBlobChannelAsync(Mat blob, int imgidx, int chnidx) async {
  final m = Mat.empty();
  return cvRunAsync0(
    (callback) => cdnn.cv_dnn_getBlobChannel(blob.ref, imgidx, chnidx, m.ptr, callback),
    (c) {
      return c.complete(m);
    },
  );
}