Convert the current image to the specific color and depth
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
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