| 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
)
Public Sub SaveImage (
fileName As String,
img As Mat
)
public:
void SaveImage(
String^ fileName,
Mat^ img
)
member SaveImage :
fileName : string *
img : Mat -> unit
Parameters
- fileName
- Type: SystemString
Name of the file. - img
- Type: OpenCvSharpMat
Image.
See Also