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
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

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

Parameters

srcImage
Type: Emgu.CV..::.Image<(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