Click or drag to resize

CvBlobLibSaveImageBlob Method

Save the image of a blob to a file. The function uses an image (that can be the original pre-processed image or a processed one, or even the result of cvRenderBlobs, for example) and a blob structure. Then the function saves a copy of the part of the image where the blob is.

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
public static void SaveImageBlob(
	string fileName,
	Mat img,
	CvBlob blob
)

Parameters

fileName
Type: SystemString
Name of the file.
img
Type: OpenCvSharpMat
Image.
blob
Type: OpenCvSharp.BlobCvBlob
Blob.
See Also