A static class which provides conversion between System.Windows.Media.Imaging.WriteableBitmap and IplImage
Inheritance Hierarchy
OpenCvSharp.ExtensionsWriteableBitmapConverter
Namespace: OpenCvSharp.Extensions
Assembly: OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The WriteableBitmapConverter type exposes the following members.
Methods
Name | Description | |
---|---|---|
CopyFrom |
Copies pixel data from System.Windows.Media.Imaging.WriteableBitmap to IplImage instance
| |
ToIplImage(WriteableBitmap) |
Converts WriteableBitmap to IplImage
| |
ToIplImage(WriteableBitmap, IplImage) |
Converts WriteableBitmap to IplImage
| |
ToWriteableBitmap(IplImage) |
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
| |
ToWriteableBitmap(Mat) |
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
| |
ToWriteableBitmap(IplImage, WriteableBitmap) |
Converts IplImage to WriteableBitmap.
This method is more efficient because new instance of WriteableBitmap is not allocated.
| |
ToWriteableBitmap(IplImage, PixelFormat) |
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
| |
ToWriteableBitmap(Mat, WriteableBitmap) |
Converts Mat to WriteableBitmap.
This method is more efficient because new instance of WriteableBitmap is not allocated.
| |
ToWriteableBitmap(Mat, PixelFormat) |
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
| |
ToWriteableBitmap(IplImage, Double, Double, PixelFormat, BitmapPalette) |
Converts IplImage to WriteableBitmap.
The arguments of this method corresponds the consructor of WriteableBitmap.
| |
ToWriteableBitmap(Mat, Double, Double, PixelFormat, BitmapPalette) |
Converts Mat to WriteableBitmap.
The arguments of this method corresponds the consructor of WriteableBitmap.
|
See Also