/// <summary> /// Draw a binary image with the blobs that have been given. (cvFilterLabels) /// </summary> /// <param name="blobs">List of blobs to be drawn.</param> /// <param name="imgOut">Output binary image (depth=IPL_DEPTH_8U and nchannels=1).</param> public static void FilterLabels(CvBlobs blobs, IplImage imgOut) { if (blobs == null) { throw new ArgumentNullException("blobs"); } blobs.FilterLabels(imgOut); }
/// <summary> /// Draw a binary image with the blobs that have been given. (cvFilterLabels) /// </summary> /// <param name="blobs">List of blobs to be drawn.</param> /// <param name="imgOut">Output binary image (depth=IPL_DEPTH_8U and nchannels=1).</param> public static void FilterLabels(CvBlobs blobs, Mat imgOut) { if (blobs == null) { throw new ArgumentNullException(nameof(blobs)); } blobs.FilterLabels(imgOut); }