BitmapSourceConverter Class OpenCvSharp Class Library
Static class which provides conversion between System.Windows.Media.Imaging.BitmapSource and IplImage
Inheritance Hierarchy

SystemObject
  OpenCvSharp.ExtensionsBitmapSourceConverter

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

public static class BitmapSourceConverter

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