BitmapExtensionToBitmapTColor, TDepth Method (CudaImageTColor, TDepth) |
http://www.emgu.com
Convert the CudaImage to its equivalent Bitmap representation
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<TColor, TDepth>(
this CudaImage<TColor, TDepth> cudaImage
)
where TColor : struct, new(), IColor
where TDepth : new()
<ExtensionAttribute>
Public Shared Function ToBitmap(Of TColor As {Structure, New, IColor}, TDepth As New) (
cudaImage As CudaImage(Of TColor, TDepth)
) As Bitmap
public:
[ExtensionAttribute]
generic<typename TColor, typename TDepth>
where TColor : value class, gcnew(), IColor
where TDepth : gcnew()
static Bitmap^ ToBitmap(
CudaImage<TColor, TDepth>^ cudaImage
)
[<ExtensionAttribute>]
static member ToBitmap :
cudaImage : CudaImage<'TColor, 'TDepth> -> Bitmap when 'TColor : struct, new() and IColor when 'TDepth : new()
Parameters
- cudaImage
- Type: Emgu.CV.CudaCudaImageTColor, TDepth
[Missing <param name="cudaImage"/> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap``2(Emgu.CV.Cuda.CudaImage{``0,``1})"]
Type Parameters
- TColor
[Missing <typeparam name="TColor"/> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap``2(Emgu.CV.Cuda.CudaImage{``0,``1})"]
- TDepth
[Missing <typeparam name="TDepth"/> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap``2(Emgu.CV.Cuda.CudaImage{``0,``1})"]
Return Value
Type:
Bitmap[Missing <returns> documentation for "M:Emgu.CV.BitmapExtension.ToBitmap``2(Emgu.CV.Cuda.CudaImage{``0,``1})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CudaImageTColor,
TDepth. 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