CudaImageTColor, TDepthResize Method |
http://www.emgu.com
Resize the CudaImage. The calling GpuMat be GpuMat%lt;Byte>. If stream is specified, it has to be either 1 or 4 channels.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic CudaImage<TColor, TDepth> Resize(
Size size,
Inter interpolationType,
Stream stream = null
)
Public Function Resize (
size As Size,
interpolationType As Inter,
Optional stream As Stream = Nothing
) As CudaImage(Of TColor, TDepth)
public:
CudaImage<TColor, TDepth>^ Resize(
Size size,
Inter interpolationType,
Stream^ stream = nullptr
)
member Resize :
size : Size *
interpolationType : Inter *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> CudaImage<'TColor, 'TDepth>
Parameters
- size
- Type: System.DrawingSize
The new size - interpolationType
- Type: Emgu.CV.CvEnumInter
The interpolation type - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
Return Value
Type:
CudaImageTColor,
TDepthA CudaImage of the new size
See Also