Click or drag to resize

CudaInvokeWarpPerspective Method

http://www.emgu.com
Warps the image using perspective transformation

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public static void WarpPerspective(
	IInputArray src,
	IOutputArray dst,
	IInputArray M,
	Size dSize,
	Inter flags = Inter.Linear,
	BorderType borderMode = BorderType.Constant,
	MCvScalar borderValue = null,
	Stream stream = null
)

Parameters

src
Type: Emgu.CVIInputArray
The source GpuMat
dst
Type: Emgu.CVIOutputArray
The destination GpuMat
M
Type: Emgu.CVIInputArray
The 2x3 transformation matrix (pointer to CvArr)
dSize
Type: System.DrawingSize
The size of the destination image
flags (Optional)
Type: Emgu.CV.CvEnumInter
Supports NN, LINEAR, CUBIC
borderMode (Optional)
Type: Emgu.CV.CvEnumBorderType
The border mode, use BORDER_TYPE.CONSTANT for default.
borderValue (Optional)
Type: Emgu.CV.StructureMCvScalar
The border value, use new MCvScalar() for default.
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