[This is preliminary documentation and is subject to change.]
Convert the current image to the specific color and depth
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
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