BitmapSourceConverterCopyFrom Method OpenCvSharp Class Library
Copies pixel data from System.Windows.Media.Imaging.BitmapSource to IplImage instance

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

public static void CopyFrom(
	this Mat mat,
	BitmapSource wb
)

Parameters

mat
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="mat"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.CopyFrom(OpenCvSharp.CPlusPlus.Mat,System.Windows.Media.Imaging.BitmapSource)"]

wb
Type: System.Windows.Media.ImagingBitmapSource

[Missing <param name="wb"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.CopyFrom(OpenCvSharp.CPlusPlus.Mat,System.Windows.Media.Imaging.BitmapSource)"]

Return Value

Type: 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Mat. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference