UMatToImageTColor, TDepth Method |
http://www.emgu.com
Convert this Mat to Image
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic Image<TColor, TDepth> ToImage<TColor, TDepth>()
where TColor : struct, new(), IColor
where TDepth : new()
Public Function ToImage(Of TColor As {Structure, New, IColor}, TDepth As New) As Image(Of TColor, TDepth)
public:
generic<typename TColor, typename TDepth>
where TColor : value class, gcnew(), IColor
where TDepth : gcnew()
Image<TColor, TDepth>^ ToImage()
member ToImage : unit -> Image<'TColor, 'TDepth> when 'TColor : struct, new() and IColor when 'TDepth : new()
Type Parameters
- TColor
- The type of Color
- TDepth
- The type of Depth
Return Value
Type:
ImageTColor,
TDepthThe image
See Also