http://www.emgu.com
Convert the current GpuImage to the specific color and depth

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public GpuImage<TOtherColor, TOtherDepth> Convert<TOtherColor, TOtherDepth>()
where TOtherColor : struct, new(), IColor
where TOtherDepth : new()
Visual Basic
Public Function Convert(Of TOtherColor As {Structure, New, IColor}, TOtherDepth As New) As GpuImage(Of TOtherColor, TOtherDepth)
Visual C++
public:
generic<typename TOtherColor, typename TOtherDepth>
where TOtherColor : value class, gcnew(), IColor
where TOtherDepth : gcnew()
GpuImage<TOtherColor, TOtherDepth>^ Convert()

Type Parameters

TOtherColor
The type of color to be converted to
TOtherDepth
The type of pixel depth to be converted to

Return Value

GpuImage of the specific color and depth

See Also