Click or drag to resize

WriteableBitmapConverterToWriteableBitmap Method (Mat, WriteableBitmap)

Converts Mat to WriteableBitmap. This method is more efficient because new instance of WriteableBitmap is not allocated.

Namespace:  OpenCvSharp.Extensions
Assembly:  OpenCvSharp.Extensions (in OpenCvSharp.Extensions.dll) Version: 1.0.0
Syntax
public static void ToWriteableBitmap(
	Mat src,
	WriteableBitmap dst
)

Parameters

src
Type: OpenCvSharpMat
Input Mat
dst
Type: System.Windows.Media.ImagingWriteableBitmap
Output WriteableBitmap
See Also