BitmapExtensionToBitmap Method (Mat) |
http://www.emgu.com
Convert the mat into Bitmap, the pixel values are copied over to the Bitmap
Namespace:
Emgu.CV
Assemblies:
Emgu.CV.Platform.NetCore (in Emgu.CV.Platform.NetCore.dll) Version: 4.3.0.3890
Emgu.CV.Platform.NetFramework (in Emgu.CV.Platform.NetFramework.dll) Version: 4.3.0.3890 (4.3.0.3890)
Syntaxpublic static Bitmap ToBitmap(
this Mat mat
)
<ExtensionAttribute>
Public Shared Function ToBitmap (
mat As Mat
) As Bitmap
public:
[ExtensionAttribute]
static Bitmap^ ToBitmap(
Mat^ mat
)
[<ExtensionAttribute>]
static member ToBitmap :
mat : Mat -> Bitmap
Parameters
- mat
- Type: Emgu.CVMat
[Missing <param name="mat"/> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap(Emgu.CV.Mat)"]
Return Value
Type:
Bitmap[Missing <returns> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap(Emgu.CV.Mat)"]
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