WriteableBitmapConverter Class OpenCvSharp Class Library
A static class which provides conversion between System.Windows.Media.Imaging.WriteableBitmap and IplImage
Inheritance Hierarchy

SystemObject
  OpenCvSharp.ExtensionsWriteableBitmapConverter

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

public static class WriteableBitmapConverter

The WriteableBitmapConverter type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCopyFrom
Copies pixel data from System.Windows.Media.Imaging.WriteableBitmap to IplImage instance
Public methodStatic memberToIplImage(WriteableBitmap)
Converts WriteableBitmap to IplImage
Public methodStatic memberToIplImage(WriteableBitmap, IplImage)
Converts WriteableBitmap to IplImage
Public methodStatic memberToWriteableBitmap(IplImage)
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
Public methodStatic memberToWriteableBitmap(Mat)
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
Public methodStatic memberToWriteableBitmap(IplImage, WriteableBitmap)
Converts IplImage to WriteableBitmap. This method is more efficient because new instance of WriteableBitmap is not allocated.
Public methodStatic memberToWriteableBitmap(IplImage, PixelFormat)
Converts IplImage to WriteableBitmap (dpi=96, BitmapPalette=null)
Public methodStatic memberToWriteableBitmap(Mat, WriteableBitmap)
Converts Mat to WriteableBitmap. This method is more efficient because new instance of WriteableBitmap is not allocated.
Public methodStatic memberToWriteableBitmap(Mat, PixelFormat)
Converts Mat to WriteableBitmap (dpi=96, BitmapPalette=null)
Public methodStatic memberToWriteableBitmap(IplImage, Double, Double, PixelFormat, BitmapPalette)
Converts IplImage to WriteableBitmap. The arguments of this method corresponds the consructor of WriteableBitmap.
Public methodStatic memberToWriteableBitmap(Mat, Double, Double, PixelFormat, BitmapPalette)
Converts Mat to WriteableBitmap. The arguments of this method corresponds the consructor of WriteableBitmap.
Top
See Also

Reference