static class which provides conversion between System.Drawing.Bitmap and IplImage/Mat
Inheritance Hierarchy
OpenCvSharp.ExtensionsBitmapConverter
Namespace: OpenCvSharp.Extensions
Assembly: OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The BitmapConverter type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CopyFrom |
Copies pixel data from System.Drawing.Bitmap to IplImage instance
| |
| DrawToGraphics(IplImage, Graphics, CvRect) | ||
| DrawToGraphics(IplImage, Graphics, Int32, Int32, Int32, Int32, Int32, Int32) | ||
| DrawToHdc(IplImage, IntPtr, CvRect) | ||
| DrawToHdc(IplImage, IntPtr, Int32, Int32, Int32, Int32, Int32, Int32) | ||
| ToBitmap(IplImage) |
Converts IplImage to System.Drawing.Bitmap
| |
| ToBitmap(Mat) |
Converts Mat to System.Drawing.Bitmap
| |
| ToBitmap(IplImage, Bitmap) |
Converts IplImage to System.Drawing.Bitmap
| |
| ToBitmap(IplImage, PixelFormat) |
Converts IplImage to System.Drawing.Bitmap
| |
| ToBitmap(Mat, Bitmap) |
Converts Mat to System.Drawing.Bitmap
| |
| ToBitmap(Mat, PixelFormat) |
Converts Mat to System.Drawing.Bitmap
| |
| ToIplImage(Bitmap) |
Converts System.Drawing.Bitmap to IplImage
| |
| ToIplImage(Bitmap, IplImage) |
Converts System.Drawing.Bitmap to IplImage
| |
| ToMat(Bitmap) |
Converts System.Drawing.Bitmap to Mat
| |
| ToMat(Bitmap, Mat) |
Converts System.Drawing.Bitmap to Mat
|
See Also