ImageTColor, TDepthConvertFromTSrcColor, TSrcDepth Method (ImageTSrcColor, TSrcDepth) |
http://www.emgu.com
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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic void ConvertFrom<TSrcColor, TSrcDepth>(
Image<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 Image(Of TSrcColor, TSrcDepth)
)
public:
generic<typename TSrcColor, typename TSrcDepth>
where TSrcColor : value class, gcnew(), IColor
where TSrcDepth : gcnew()
void ConvertFrom(
Image<TSrcColor, TSrcDepth>^ srcImage
)
member ConvertFrom :
srcImage : Image<'TSrcColor, 'TSrcDepth> -> unit when 'TSrcColor : struct, new() and IColor when 'TSrcDepth : new()
Parameters
- srcImage
- Type: Emgu.CVImageTSrcColor, TSrcDepth
The sourceImage
Type Parameters
- TSrcColor
- The color type of the source image
- TSrcDepth
- The color depth of the source image
See Also