http://www.emgu.com
Resizes the image.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void Resize(
IInputArray src,
IOutputArray dst,
Size dsize,
double fx = 0,
double fy = 0,
Inter interpolation = Inter.Linear,
Stream stream = null
)
Public Shared Sub Resize (
src As IInputArray,
dst As IOutputArray,
dsize As Size,
Optional fx As Double = 0,
Optional fy As Double = 0,
Optional interpolation As Inter = Inter.Linear,
Optional stream As Stream = Nothing
)
public:
static void Resize(
IInputArray^ src,
IOutputArray^ dst,
Size dsize,
double fx = 0,
double fy = 0,
Inter interpolation = Inter::Linear,
Stream^ stream = nullptr
)
static member Resize :
src : IInputArray *
dst : IOutputArray *
dsize : Size *
?fx : float *
?fy : float *
?interpolation : Inter *
?stream : Stream
(* Defaults:
let _fx = defaultArg fx 0
let _fy = defaultArg fy 0
let _interpolation = defaultArg interpolation Inter.Linear
let _stream = defaultArg stream null
*)
-> unit
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
[Missing <param name="dsize"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Resize(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Drawing.Size,System.Double,System.Double,Emgu.CV.CvEnum.Inter,Emgu.CV.Cuda.Stream)"]
- fx (Optional)
- Type: SystemDouble
[Missing <param name="fx"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Resize(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Drawing.Size,System.Double,System.Double,Emgu.CV.CvEnum.Inter,Emgu.CV.Cuda.Stream)"]
- fy (Optional)
- Type: SystemDouble
[Missing <param name="fy"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Resize(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Drawing.Size,System.Double,System.Double,Emgu.CV.CvEnum.Inter,Emgu.CV.Cuda.Stream)"]
- 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