BitmapConverterToBitmap Method (IplImage, PixelFormat) OpenCvSharp Class Library
Converts IplImage to System.Drawing.Bitmap

Namespace:  OpenCvSharp.Extensions
Assembly:  OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Bitmap ToBitmap(
	this IplImage src,
	PixelFormat pf
)

Parameters

src
Type: OpenCvSharpIplImage
Mat
pf
Type: System.Drawing.ImagingPixelFormat
Pixel Depth

Return Value

Type: Bitmap

[Missing <returns> documentation for "M:OpenCvSharp.Extensions.BitmapConverter.ToBitmap(OpenCvSharp.IplImage,System.Drawing.Imaging.PixelFormat)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IplImage. 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

Reference