Click or drag to resize

CvBlobSaveImage 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 void SaveImage(
	string fileName,
	Mat img
)

Parameters

fileName
Type: SystemString
Name of the file.
img
Type: OpenCvSharpMat
Image.
See Also