CudaImageTColor, TDepthConvertFromTSrcColor, TSrcDepth Method |
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.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void ConvertFrom<TSrcColor, TSrcDepth>(
CudaImage<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 CudaImage(Of TSrcColor, TSrcDepth)
)
public:
generic<typename TSrcColor, typename TSrcDepth>
where TSrcColor : value class, gcnew(), IColor
where TSrcDepth : gcnew()
void ConvertFrom(
CudaImage<TSrcColor, TSrcDepth>^ srcImage
)
member ConvertFrom :
srcImage : CudaImage<'TSrcColor, 'TSrcDepth> -> unit when 'TSrcColor : struct, new() and IColor when 'TSrcDepth : new()
Parameters
- srcImage
- Type: Emgu.CV.CudaCudaImageTSrcColor, TSrcDepth
The sourceImage
Type Parameters
- TSrcColor
- The color type of the source image
- TSrcDepth
- The color depth of the source image
See Also