Click or drag to resize

WriteableBitmapConverter Class

Static class which provides conversion between System.Windows.Media.Imaging.WriteableBitmap and Mat
Inheritance Hierarchy
SystemObject
  OpenCvSharp.ExtensionsWriteableBitmapConverter

Namespace:  OpenCvSharp.Extensions
Assembly:  OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0
Syntax
public static class WriteableBitmapConverter
Methods
  NameDescription
Public methodStatic memberToMat(WriteableBitmap)
Converts WriteableBitmap to IplImage
Public methodStatic memberToMat(WriteableBitmap, Mat)
Converts WriteableBitmap to Mat
Public methodStatic memberToWriteableBitmap(Mat)
Converts Mat 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(Mat, Double, Double, PixelFormat, BitmapPalette)
Converts Mat to WriteableBitmap. The arguments of this method corresponds the consructor of WriteableBitmap.
Top
See Also