CudaInvokeWarpAffine Method |
http://www.emgu.com
Warps the image using affine transformation
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static void WarpAffine(
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 WarpAffine (
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 WarpAffine(
IInputArray^ src,
IOutputArray^ dst,
IInputArray^ M,
Size dSize,
Inter flags = Inter::Linear,
BorderType borderMode = BorderType::Constant,
MCvScalar borderValue = nullptr,
Stream^ stream = nullptr
)
static member WarpAffine :
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
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