C# Class OpenCvSharp.Extensions.BitmapConverter

static class which provides conversion between System.Drawing.Bitmap and Mat
Mostrar archivo Open project: shimat/opencvsharp

Public Methods

Method Description
ToBitmap ( this src ) : Bitmap

Converts Mat to System.Drawing.Bitmap

ToBitmap ( this src, PixelFormat pf ) : Bitmap

Converts Mat to System.Drawing.Bitmap

ToBitmap ( this src, Bitmap dst ) : void

Converts Mat to System.Drawing.Bitmap

Author: shimat, Gummo (ROI support)

ToMat ( this src ) : Mat

Converts System.Drawing.Bitmap to Mat

ToMat ( this src, Mat dst ) : void

Converts System.Drawing.Bitmap to Mat

Method Details

ToBitmap() public static method

Converts Mat to System.Drawing.Bitmap
public static ToBitmap ( this src ) : Bitmap
src this Mat
return System.Drawing.Bitmap

ToBitmap() public static method

Converts Mat to System.Drawing.Bitmap
public static ToBitmap ( this src, PixelFormat pf ) : Bitmap
src this Mat
pf PixelFormat Pixel Depth
return System.Drawing.Bitmap

ToBitmap() public static method

Converts Mat to System.Drawing.Bitmap
Author: shimat, Gummo (ROI support)
public static ToBitmap ( this src, Bitmap dst ) : void
src this Mat
dst System.Drawing.Bitmap Mat
return void

ToMat() public static method

Converts System.Drawing.Bitmap to Mat
public static ToMat ( this src ) : Mat
src this System.Drawing.Bitmap object to be converted
return Mat

ToMat() public static method

Converts System.Drawing.Bitmap to Mat
public static ToMat ( this src, Mat dst ) : void
src this System.Drawing.Bitmap object to be converted
dst Mat A Mat object which is converted from System.Drawing.Bitmap
return void