| 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
)
Public Shared Sub RenderBlob (
labels As LabelData,
blob As CvBlob,
imgSource As Mat,
imgDest As Mat,
mode As RenderBlobsModes,
color As Scalar,
Optional alpha As Double = 1
)
public:
static void RenderBlob(
LabelData^ labels,
CvBlob^ blob,
Mat^ imgSource,
Mat^ imgDest,
RenderBlobsModes mode,
Scalar color,
double alpha = 1
)
static member RenderBlob :
labels : LabelData *
blob : CvBlob *
imgSource : Mat *
imgDest : Mat *
mode : RenderBlobsModes *
color : Scalar *
?alpha : float
(* Defaults:
let _alpha = defaultArg alpha 1
*)
-> unit
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