| BitmapSourceConverterCopyFrom Method |
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
Syntax public static void CopyFrom(
this Mat mat,
BitmapSource wb
)
<ExtensionAttribute>
Public Shared Sub CopyFrom (
mat As Mat,
wb As BitmapSource
)
public:
[ExtensionAttribute]
static void CopyFrom(
Mat^ mat,
BitmapSource^ wb
)
[<ExtensionAttribute>]
static member CopyFrom :
mat : Mat *
wb : BitmapSource -> unit
Parameters
- mat
- Type: OpenCvSharpMat
[Missing <param name="mat"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.CopyFrom(OpenCvSharp.Mat,System.Windows.Media.Imaging.BitmapSource)"]
- wb
- Type: System.Windows.Media.ImagingBitmapSource
[Missing <param name="wb"/> documentation for "M:OpenCvSharp.Extensions.BitmapSourceConverter.CopyFrom(OpenCvSharp.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