Click or drag to resize

MatToImageTColor, 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)
Syntax
public Image<TColor, TDepth> ToImage<TColor, TDepth>(
	bool tryShareData = false
)
where TColor : struct, new(), IColor
where TDepth : new()

Parameters

tryShareData (Optional)
Type: SystemBoolean
If true, we will try to see if we can create an Image object that shared the pixel memory with this Mat.

Type Parameters

TColor
The type of Color
TDepth
The type of Depth

Return Value

Type: ImageTColor, TDepth
The image
See Also