| 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
)
Public Shared Sub ToWriteableBitmap (
src As Mat,
dst As WriteableBitmap
)
public:
static void ToWriteableBitmap(
Mat^ src,
WriteableBitmap^ dst
)
static member ToWriteableBitmap :
src : Mat *
dst : WriteableBitmap -> unit
Parameters
- src
- Type: OpenCvSharpMat
Input Mat - dst
- Type: System.Windows.Media.ImagingWriteableBitmap
Output WriteableBitmap
See Also