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

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public Image<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 Image(Of TOtherColor, TOtherDepth)
Visual C++
public:
generic<typename TOtherColor, typename TOtherDepth>
where TOtherColor : value class, gcnew(), IColor
where TOtherDepth : gcnew()
Image<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

Image of the specific color and depth

See Also