Namespace: OpenCvSharp.Extensions
Assembly: OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
public static BitmapSource ToBitmapSource( this Mat src, int horizontalResolution, int verticalResolution, PixelFormat pixelFormat, BitmapPalette palette )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusMat
Input IplImage - horizontalResolution
- Type: SystemInt32
[Missing <param name="horizontalResolution"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.ToBitmapSource(OpenCvSharp.CPlusPlus.Mat,System.Int32,System.Int32,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette)"]
- verticalResolution
- Type: SystemInt32
[Missing <param name="verticalResolution"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.ToBitmapSource(OpenCvSharp.CPlusPlus.Mat,System.Int32,System.Int32,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette)"]
- pixelFormat
- Type: System.Windows.MediaPixelFormat
[Missing <param name="pixelFormat"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.ToBitmapSource(OpenCvSharp.CPlusPlus.Mat,System.Int32,System.Int32,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette)"]
- palette
- Type: System.Windows.Media.ImagingBitmapPalette
[Missing <param name="palette"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.ToBitmapSource(OpenCvSharp.CPlusPlus.Mat,System.Int32,System.Int32,System.Windows.Media.PixelFormat,System.Windows.Media.Imaging.BitmapPalette)"]
Return Value
Type: BitmapSourceBitmapSource