[−][src]Function opencv::cudaarithm::create_dft
pub fn create_dft(dft_size: Size, flags: i32) -> Result<Ptr<dyn DFT>>
Creates implementation for cuda::DFT.
Parameters
- dft_size: The image size.
- flags: Optional flags:
- DFT_ROWS transforms each individual row of the source matrix.
- DFT_SCALE scales the result: divide it by the number of elements in the transform (obtained from dft_size ).
- DFT_INVERSE inverts DFT. Use for complex-complex cases (real-complex and complex-real cases are always forward and inverse, respectively).
- DFT_COMPLEX_INPUT Specifies that inputs will be complex with 2 channels.
- DFT_REAL_OUTPUT specifies the output as real. The source matrix is the result of real-complex transform, so the destination matrix must be real.