http://www.emgu.com
Performs a forward or inverse discrete Fourier transform (1D or 2D) of floating point matrix.
Param dft_size is the size of DFT transform.
If the source matrix is not continous, then additional copy will be done,
so to avoid copying ensure the source matrix is continous one. If you want to use
preallocated output ensure it is continuous too, otherwise it will be reallocated.
Being implemented via CUFFT real-to-complex transform result contains only non-redundant values
in CUFFT's format. Result as full complex matrix for such kind of transform cannot be retrieved.
For complex-to-real transform it is assumed that the source matrix is packed in CUFFT's format.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void Dft(
IInputArray src,
IOutputArray dst,
Size dftSize,
DxtType flags = DxtType.Forward,
Stream stream = null
)
Public Shared Sub Dft (
src As IInputArray,
dst As IOutputArray,
dftSize As Size,
Optional flags As DxtType = DxtType.Forward,
Optional stream As Stream = Nothing
)
public:
static void Dft(
IInputArray^ src,
IOutputArray^ dst,
Size dftSize,
DxtType flags = DxtType::Forward,
Stream^ stream = nullptr
)
static member Dft :
src : IInputArray *
dst : IOutputArray *
dftSize : Size *
?flags : DxtType *
?stream : Stream
(* Defaults:
let _flags = defaultArg flags DxtType.Forward
let _stream = defaultArg stream null
*)
-> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The source GpuMat - dst
- Type: Emgu.CVIOutputArray
The resulting GpuMat of the DST, must be pre-allocated and continious. If single channel, the result is real. If double channel, the result is complex - dftSize
- Type: System.DrawingSize
[Missing <param name="dftSize"/> documentation for "M:Emgu.CV.Cuda.CudaInvoke.Dft(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Drawing.Size,Emgu.CV.CvEnum.DxtType,Emgu.CV.Cuda.Stream)"]
- flags (Optional)
- Type: Emgu.CV.CvEnumDxtType
DFT flags - 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