CudaInvokeWarpPerspective Method |
http://www.emgu.com
Warps the image using perspective transformation
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic 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
)
Public Shared Sub WarpPerspective (
src As IInputArray,
dst As IOutputArray,
M As IInputArray,
dSize As Size,
Optional flags As Inter = Inter.Linear,
Optional borderMode As BorderType = BorderType.Constant,
Optional borderValue As MCvScalar = Nothing,
Optional stream As Stream = Nothing
)
public:
static void WarpPerspective(
IInputArray^ src,
IOutputArray^ dst,
IInputArray^ M,
Size dSize,
Inter flags = Inter::Linear,
BorderType borderMode = BorderType::Constant,
MCvScalar borderValue = nullptr,
Stream^ stream = nullptr
)
static member WarpPerspective :
src : IInputArray *
dst : IOutputArray *
M : IInputArray *
dSize : Size *
?flags : Inter *
?borderMode : BorderType *
?borderValue : MCvScalar *
?stream : Stream
(* Defaults:
let _flags = defaultArg flags Inter.Linear
let _borderMode = defaultArg borderMode BorderType.Constant
let _borderValue = defaultArg borderValue null
let _stream = defaultArg stream null
*)
-> unit
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
[Missing <param name="dSize"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.WarpPerspective(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,Emgu.CV.IInputArray,System.Drawing.Size,Emgu.CV.CvEnum.Inter,Emgu.CV.CvEnum.BorderType,Emgu.CV.Structure.MCvScalar,Emgu.CV.Cuda.Stream)"]
- 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