Static class which provides conversion between System.Windows.Media.Imaging.BitmapSource and IplImage
Inheritance Hierarchy
OpenCvSharp.ExtensionsBitmapSourceConverter
Namespace: OpenCvSharp.Extensions
Assembly: OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The BitmapSourceConverter type exposes the following members.
Methods
Name | Description | |
---|---|---|
CopyFrom |
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
| |
ToBitmapSource(Bitmap) |
Converts System.Drawing.Bitmap to BitmapSource.
| |
ToBitmapSource(Mat) |
Converts Mat to BitmapSource.
| |
ToBitmapSource(Mat, Int32, Int32, PixelFormat, BitmapPalette) |
Converts Mat to BitmapSource.
| |
ToMat(BitmapSource) |
Converts BitmapSource to Mat
| |
ToMat(BitmapSource, Mat) |
Converts BitmapSource to Mat
|
See Also