Skip to content

fft_imageFftImageFftImagefft_imagefft_image🔗

Short description🔗

fft_imageFftImageFftImagefft_imagefft_image — Compute the fast Fourier transform of an image.

Signature🔗

fft_image( image Image, out image ImageFFT )void FftImage( const HObject& Image, HObject* ImageFFT )static void HOperatorSet.FftImage( HObject image, out HObject imageFFT )def fft_image( image: HObject ) -> HObject

Herror fft_image( const Hobject Image, Hobject* ImageFFT )

Herror T_fft_image( const Hobject Image, Hobject* ImageFFT )

HImage HImage::FftImage( ) const

HImage HImage.FftImage( )

Description🔗

fft_imageFftImage calculates the Fourier transform of the input image (Imageimageimage), i.e., it transforms the image into the frequency domain. The algorithm used is the fast Fourier transform. This corresponds to the call fft_generic(Image,ImageFFT,'to_freq',-1,'sqrt','dc_center','complex').

Attention🔗

The transformation is always performed for the entire image, i.e., the domain of the image is ignored.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Automatically parallelized on tuple level.

  • Automatically parallelized on channel level.

  • Automatically parallelized on internal data level.

Parameters🔗

Imageimageimage (input_object) (multichannel-)image(-array) → object (byte / real)HObject (byte / real)HImage (byte / real)HObject (byte / real)Hobject (byte / real)

Input image.

ImageFFTimageFFTimage_fft (output_object) image(-array) → object (complex)HObject (complex)HImage (complex)HObject (complex)Hobject * (complex)

Fourier-transformed image.

Result🔗

fft_imageFftImage returns 2 (H_MSG_TRUE) if the input image is of correct type. If the input is empty the behavior can be set via set_system(::'no_object_result',<Result>:). If necessary, an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

optimize_fft_speedOptimizeFftSpeed, read_fft_optimization_dataReadFftOptimizationData

Possible successors

convol_fftConvolFft, convol_gaborConvolGabor, convert_image_typeConvertImageType, power_bytePowerByte, power_realPowerReal, power_lnPowerLn, phase_degPhaseDeg, phase_radPhaseRad

Alternatives

fft_genericFftGeneric, rft_genericRftGeneric

See also

fft_image_invFftImageInv

Module🔗

Foundation