BitmapConverter Class OpenCvSharp Class Library
static class which provides conversion between System.Drawing.Bitmap and IplImage/Mat
Inheritance Hierarchy

SystemObject
  OpenCvSharp.ExtensionsBitmapConverter

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

public static class BitmapConverter

The BitmapConverter type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCopyFrom
Copies pixel data from System.Drawing.Bitmap to IplImage instance
Public methodStatic memberDrawToGraphics(IplImage, Graphics, CvRect)
Public methodStatic memberDrawToGraphics(IplImage, Graphics, Int32, Int32, Int32, Int32, Int32, Int32)
Public methodStatic memberDrawToHdc(IplImage, IntPtr, CvRect)
Public methodStatic memberDrawToHdc(IplImage, IntPtr, Int32, Int32, Int32, Int32, Int32, Int32)
Public methodStatic memberToBitmap(IplImage)
Converts IplImage to System.Drawing.Bitmap
Public methodStatic memberToBitmap(Mat)
Converts Mat to System.Drawing.Bitmap
Public methodStatic memberToBitmap(IplImage, Bitmap)
Converts IplImage to System.Drawing.Bitmap
Public methodStatic memberToBitmap(IplImage, PixelFormat)
Converts IplImage to System.Drawing.Bitmap
Public methodStatic memberToBitmap(Mat, Bitmap)
Converts Mat to System.Drawing.Bitmap
Public methodStatic memberToBitmap(Mat, PixelFormat)
Converts Mat to System.Drawing.Bitmap
Public methodStatic memberToIplImage(Bitmap)
Converts System.Drawing.Bitmap to IplImage
Public methodStatic memberToIplImage(Bitmap, IplImage)
Converts System.Drawing.Bitmap to IplImage
Public methodStatic memberToMat(Bitmap)
Converts System.Drawing.Bitmap to Mat
Public methodStatic memberToMat(Bitmap, Mat)
Converts System.Drawing.Bitmap to Mat
Top
See Also

Reference