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.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type: SystemString
Name of the file. - img
- Type: OpenCvSharpIplImage
Image. - blob
- Type: OpenCvSharp.BlobCvBlob
Blob.
See Also