OpenCvSharp.Blob.CvBlobLib.RenderBlobs C# (CSharp) Method

RenderBlobs() public static method

Draws or prints information about blobs. (cvRenderBlobs)
public static RenderBlobs ( CvBlobs blobs, Mat imgSource, Mat imgDest ) : void
blobs CvBlobs List of blobs.
imgSource Mat Input image (depth=IPL_DEPTH_8U and num. channels=3).
imgDest Mat Output image (depth=IPL_DEPTH_8U and num. channels=3).
return void
        public static void RenderBlobs(CvBlobs blobs, Mat imgSource, Mat imgDest)
        {
            RenderBlobs(blobs, imgSource, imgDest, (RenderBlobsMode) 0x000f, 1.0);
        }

Same methods

CvBlobLib::RenderBlobs ( CvBlobs blobs, Mat imgSource, Mat imgDest, RenderBlobsMode mode, double alpha = 1.0 ) : void

Usage Example

Example #1
0
 /// <summary>
 /// Draws or prints information about blobs. (cvRenderBlobs)
 /// </summary>
 /// <param name="imgSource">Input image (depth=IPL_DEPTH_8U and num. channels=3).</param>
 /// <param name="imgDest">Output image (depth=IPL_DEPTH_8U and num. channels=3).</param>
 /// <param name="mode">Render mode. By default is CV_BLOB_RENDER_COLOR|CV_BLOB_RENDER_CENTROID|CV_BLOB_RENDER_BOUNDING_BOX|CV_BLOB_RENDER_ANGLE.</param>
 /// <param name="alpha">If mode CV_BLOB_RENDER_COLOR is used. 1.0 indicates opaque and 0.0 translucent (1.0 by default).</param>
 public void RenderBlobs(IplImage imgSource, IplImage imgDest, RenderBlobsMode mode, Double alpha)
 {
     CvBlobLib.RenderBlobs(this, imgSource, imgDest, mode, alpha);
 }
All Usage Examples Of OpenCvSharp.Blob.CvBlobLib::RenderBlobs