Convert the source image to the current image, if the size are different, the current image will be a resized version of the srcImage.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void ConvertFrom<TSrcColor, TSrcDepth>(
	GpuImage<TSrcColor, TSrcDepth> srcImage
)
where TSrcColor : struct, new(), IColor
where TSrcDepth : new()
Public Sub ConvertFrom(Of TSrcColor As {Structure, New, IColor}, TSrcDepth As New) ( _
	srcImage As GpuImage(Of TSrcColor, TSrcDepth) _
)
public:
generic<typename TSrcColor, typename TSrcDepth>
where TSrcColor : value class, gcnew(), IColor
where TSrcDepth : gcnew()
void ConvertFrom(
	GpuImage<TSrcColor, TSrcDepth>^ srcImage
)

Parameters

srcImage
GpuImage<(Of <(<'TSrcColor, TSrcDepth>)>)>
The sourceImage

Type Parameters

TSrcColor
The color type of the source image
TSrcDepth
The color depth of the source image

See Also