Convert the current image to the specific color and depth
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)
Syntax
| | | | | | | | |
| C# | | | Visual Basic | | | Visual C++ | |
public Image<TOtherColor, TOtherDepth> Convert<TOtherColor, TOtherDepth>()
where TOtherColor : struct, new(), IColor
where TOtherDepth : new()
Public Function Convert(Of TOtherColor As {Structure, New, IColor}, TOtherDepth As New) As Image(Of TOtherColor, TOtherDepth)
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