getBlobChannel function
GetBlobChannel extracts a single (2d)channel from a 4 dimensional blob structure (this might e.g. contain the results of a SSD or YOLO detection,
a bones structure from pose detection, or a color plane from Colorization)
Implementation
Mat getBlobChannel(Mat blob, int imgidx, int chnidx) {
final m = Mat.empty();
cvRun(() => cffi.Net_GetBlobChannel(blob.ref, imgidx, chnidx, m.ptr));
return m;
}