BitmapSourceConverter Methods OpenCvSharp Class Library

The BitmapSourceConverter type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCopyFrom
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance
Public methodStatic memberToBitmapSource(Bitmap)
Converts System.Drawing.Bitmap to BitmapSource.
Public methodStatic memberToBitmapSource(Mat)
Converts Mat to BitmapSource.
Public methodStatic memberToBitmapSource(Mat, Int32, Int32, PixelFormat, BitmapPalette)
Converts Mat to BitmapSource.
Public methodStatic memberToMat(BitmapSource)
Converts BitmapSource to Mat
Public methodStatic memberToMat(BitmapSource, Mat)
Converts BitmapSource to Mat
Top
See Also

Reference