ClassesClassesClassesClasses | | | | Operators

convol_fftconvol_fftConvolFftconvol_fftConvolFftConvolFft (Operator)

Name

convol_fftconvol_fftConvolFftconvol_fftConvolFftConvolFft — Convolve an image with a filter in the frequency domain.

Signature

convol_fft(ImageFFT, ImageFilter : ImageConvol : : )

Herror convol_fft(const Hobject ImageFFT, const Hobject ImageFilter, Hobject* ImageConvol)

Herror T_convol_fft(const Hobject ImageFFT, const Hobject ImageFilter, Hobject* ImageConvol)

Herror convol_fft(Hobject ImageFFT, Hobject ImageFilter, Hobject* ImageConvol)

HImage HImage::ConvolFft(const HImage& ImageFilter) const

HImageArray HImageArray::ConvolFft(const HImage& ImageFilter) const

void ConvolFft(const HObject& ImageFFT, const HObject& ImageFilter, HObject* ImageConvol)

HImage HImage::ConvolFft(const HImage& ImageFilter) const

void HOperatorSetX.ConvolFft(
[in] IHUntypedObjectX* ImageFFT, [in] IHUntypedObjectX* ImageFilter, [out] IHUntypedObjectX*ImageConvol)

IHImageX* HImageX.ConvolFft([in] IHImageX* ImageFilter)

static void HOperatorSet.ConvolFft(HObject imageFFT, HObject imageFilter, out HObject imageConvol)

HImage HImage.ConvolFft(HImage imageFilter)

Description

convol_fftconvol_fftConvolFftconvol_fftConvolFftConvolFft convolves two (Fourier-transformed) images in the frequency domain, i.e., the pixels of the complex image ImageFFTImageFFTImageFFTImageFFTImageFFTimageFFT are multiplied by the corresponding pixels of the filter ImageFilterImageFilterImageFilterImageFilterImageFilterimageFilter.

Attention

The filtering is always done on the entire image, i.e., the domain of the image is ignored.

Parallelization

Parameters

ImageFFTImageFFTImageFFTImageFFTImageFFTimageFFT (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (complex)

Complex input image.

ImageFilterImageFilterImageFilterImageFilterImageFilterimageFilter (input_object)  (multichannel-)image objectHImageHImageHImageHImageXHobject (real / complex)

Filter in frequency domain.

ImageConvolImageConvolImageConvolImageConvolImageConvolimageConvol (output_object)  image(-array) objectHImageHImageHImageHImageXHobject * (complex)

Result of applying the filter.

Example (HDevelop)

gen_highpass(Highpass,0.2,'n','dc_edge',Width,Height)
fft_generic(Image,ImageFFT,'to_freq',-1,'none','dc_edge','complex')
convol_fft(ImageFFT,Highpass,ImageConvol)
fft_generic(ImageConvol,ImageResult,'from_freq',1,'none','dc_edge','byte')

Result

convol_fftconvol_fftConvolFftconvol_fftConvolFftConvolFft returns 2 (H_MSG_TRUE) if all parameters are correct. 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>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>). If necessary, an exception is raised.

Possible Predecessors

fft_imagefft_imageFftImagefft_imageFftImageFftImage, fft_genericfft_genericFftGenericfft_genericFftGenericFftGeneric, rft_genericrft_genericRftGenericrft_genericRftGenericRftGeneric, gen_highpassgen_highpassGenHighpassgen_highpassGenHighpassGenHighpass, gen_lowpassgen_lowpassGenLowpassgen_lowpassGenLowpassGenLowpass, gen_bandpassgen_bandpassGenBandpassgen_bandpassGenBandpassGenBandpass, gen_bandfiltergen_bandfilterGenBandfiltergen_bandfilterGenBandfilterGenBandfilter

Possible Successors

power_bytepower_bytePowerBytepower_bytePowerBytePowerByte, power_realpower_realPowerRealpower_realPowerRealPowerReal, power_lnpower_lnPowerLnpower_lnPowerLnPowerLn, fft_image_invfft_image_invFftImageInvfft_image_invFftImageInvFftImageInv, fft_genericfft_genericFftGenericfft_genericFftGenericFftGeneric, rft_genericrft_genericRftGenericrft_genericRftGenericRftGeneric

Alternatives

convol_gaborconvol_gaborConvolGaborconvol_gaborConvolGaborConvolGabor

See also

gen_gaborgen_gaborGenGaborgen_gaborGenGaborGenGabor, gen_highpassgen_highpassGenHighpassgen_highpassGenHighpassGenHighpass, gen_lowpassgen_lowpassGenLowpassgen_lowpassGenLowpassGenLowpass, gen_bandpassgen_bandpassGenBandpassgen_bandpassGenBandpassGenBandpass, convol_gaborconvol_gaborConvolGaborconvol_gaborConvolGaborConvolGabor, fft_image_invfft_image_invFftImageInvfft_image_invFftImageInvFftImageInv

Module

Foundation


ClassesClassesClassesClasses | | | | Operators