Click or drag to resize

BitmapConverterToBitmap Method (Mat, Bitmap)

Converts Mat to System.Drawing.Bitmap

Namespace:  OpenCvSharp.Extensions
Assembly:  OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0
Syntax
public static void ToBitmap(
	this Mat src,
	Bitmap dst
)

Parameters

src
Type: OpenCvSharpMat
Mat
dst
Type: System.DrawingBitmap
Mat

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Mat. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Author: shimat, Gummo (ROI support)
See Also