Click or drag to resize

CvBlobLibRenderBlob Method (LabelData, CvBlob, Mat, Mat, RenderBlobsModes, Scalar, Double)

Draws or prints information about a blob.

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
public static void RenderBlob(
	LabelData labels,
	CvBlob blob,
	Mat imgSource,
	Mat imgDest,
	RenderBlobsModes mode,
	Scalar color,
	double alpha = 1
)

Parameters

labels
Type: OpenCvSharp.BlobLabelData
Label data.
blob
Type: OpenCvSharp.BlobCvBlob
Blob.
imgSource
Type: OpenCvSharpMat
Input image (depth=IPL_DEPTH_8U and num. channels=3).
imgDest
Type: OpenCvSharpMat
Output image (depth=IPL_DEPTH_8U and num. channels=3).
mode
Type: OpenCvSharp.BlobRenderBlobsModes
Render mode. By default is CV_BLOB_RENDER_COLOR|CV_BLOB_RENDER_CENTROID|CV_BLOB_RENDER_BOUNDING_BOX|CV_BLOB_RENDER_ANGLE.
color
Type: OpenCvSharpScalar
Color to render (if CV_BLOB_RENDER_COLOR is used).
alpha (Optional)
Type: SystemDouble
If mode CV_BLOB_RENDER_COLOR is used. 1.0 indicates opaque and 0.0 translucent (1.0 by default).
See Also