Click or drag to resize

BitmapConverterToBitmap Method (Mat)

Converts Mat to System.Drawing.Bitmap

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

Parameters

src
Type: OpenCvSharpMat
Mat

Return Value

Type: Bitmap

[Missing <returns> documentation for "M:OpenCvSharp.Extensions.BitmapConverter.ToBitmap(OpenCvSharp.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).
See Also