Click or drag to resize

CudaInvokeResize Method

http://www.emgu.com
Resizes the image.

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public static void Resize(
	IInputArray src,
	IOutputArray dst,
	Size dsize,
	double fx = 0,
	double fy = 0,
	Inter interpolation = Inter.Linear,
	Stream stream = null
)

Parameters

src
Type: Emgu.CVIInputArray
The source image. Has to be GpuMat<Byte>. If stream is used, the GpuMat has to be either single channel or 4 channels.
dst
Type: Emgu.CVIOutputArray
The destination image.
dsize
Type: System.DrawingSize
Destination image size. If it is zero, it is computed as: dsize = Size(round(fx* src.cols), round(fy* src.rows)). Either dsize or both fx and fy must be non-zero.
fx (Optional)
Type: SystemDouble
Scale factor along the horizontal axis. If it is zero, it is computed as: (double)dsize.width/src.cols
fy (Optional)
Type: SystemDouble
Scale factor along the vertical axis. If it is zero, it is computed as: (double)dsize.height/src.rows
interpolation (Optional)
Type: Emgu.CV.CvEnumInter
The interpolation type. Supports INTER_NEAREST, INTER_LINEAR.
stream (Optional)
Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also