fft_imagefft_imageFftImageFftImagefft_image (Operator)

Name

fft_imagefft_imageFftImageFftImagefft_image — Compute the fast Fourier transform of an image.

Signature

fft_image(Image : ImageFFT : : )

Herror fft_image(const Hobject Image, Hobject* ImageFFT)

Herror T_fft_image(const Hobject Image, Hobject* ImageFFT)

void FftImage(const HObject& Image, HObject* ImageFFT)

HImage HImage::FftImage() const

static void HOperatorSet.FftImage(HObject image, out HObject imageFFT)

HImage HImage.FftImage()

def fft_image(image: HObject) -> HObject

Description

fft_imagefft_imageFftImageFftImageFftImagefft_image calculates the Fourier transform of the input image (ImageImageImageImageimageimage), 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')fft_generic(Image,ImageFFT,"to_freq",-1,"sqrt","dc_center","complex")FftGeneric(Image,ImageFFT,"to_freq",-1,"sqrt","dc_center","complex")FftGeneric(Image,ImageFFT,"to_freq",-1,"sqrt","dc_center","complex")FftGeneric(Image,ImageFFT,"to_freq",-1,"sqrt","dc_center","complex")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

Parameters

ImageImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject (byte / real)

Input image.

ImageFFTImageFFTImageFFTImageFFTimageFFTimage_fft (output_object)  image(-array) objectHImageHObjectHImageHobject * (complex)

Fourier-transformed image.

Result

fft_imagefft_imageFftImageFftImageFftImagefft_image 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>:)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>). If necessary, an exception is raised.

Possible Predecessors

optimize_fft_speedoptimize_fft_speedOptimizeFftSpeedOptimizeFftSpeedOptimizeFftSpeedoptimize_fft_speed, read_fft_optimization_dataread_fft_optimization_dataReadFftOptimizationDataReadFftOptimizationDataReadFftOptimizationDataread_fft_optimization_data

Possible Successors

convol_fftconvol_fftConvolFftConvolFftConvolFftconvol_fft, convol_gaborconvol_gaborConvolGaborConvolGaborConvolGaborconvol_gabor, convert_image_typeconvert_image_typeConvertImageTypeConvertImageTypeConvertImageTypeconvert_image_type, power_bytepower_bytePowerBytePowerBytePowerBytepower_byte, power_realpower_realPowerRealPowerRealPowerRealpower_real, power_lnpower_lnPowerLnPowerLnPowerLnpower_ln, phase_degphase_degPhaseDegPhaseDegPhaseDegphase_deg, phase_radphase_radPhaseRadPhaseRadPhaseRadphase_rad

Alternatives

fft_genericfft_genericFftGenericFftGenericFftGenericfft_generic, rft_genericrft_genericRftGenericRftGenericRftGenericrft_generic

See also

fft_image_invfft_image_invFftImageInvFftImageInvFftImageInvfft_image_inv

Module

Foundation