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