convol_gaborconvol_gaborConvolGaborConvolGabor (Operator)

Name

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

Signature

convol_gabor(ImageFFT, GaborFilter : ImageResultGabor, ImageResultHilbert : : )

Herror convol_gabor(const Hobject ImageFFT, const Hobject GaborFilter, Hobject* ImageResultGabor, Hobject* ImageResultHilbert)

Herror T_convol_gabor(const Hobject ImageFFT, const Hobject GaborFilter, Hobject* ImageResultGabor, Hobject* ImageResultHilbert)

void ConvolGabor(const HObject& ImageFFT, const HObject& GaborFilter, HObject* ImageResultGabor, HObject* ImageResultHilbert)

HImage HImage::ConvolGabor(const HImage& GaborFilter, HImage* ImageResultHilbert) const

static void HOperatorSet.ConvolGabor(HObject imageFFT, HObject gaborFilter, out HObject imageResultGabor, out HObject imageResultHilbert)

HImage HImage.ConvolGabor(HImage gaborFilter, out HImage imageResultHilbert)

Description

convol_gaborconvol_gaborConvolGaborConvolGaborConvolGabor convolves a Fourier-transformed image with a Gabor filter GaborFilterGaborFilterGaborFilterGaborFiltergaborFilter (see gen_gaborgen_gaborGenGaborGenGaborGenGabor) and its Hilbert transform in the frequency domain. The result image is of type 'complex'"complex""complex""complex""complex".

Attention

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

Execution Information

Parameters

ImageFFTImageFFTImageFFTImageFFTimageFFT (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (complex)

Input image.

GaborFilterGaborFilterGaborFilterGaborFiltergaborFilter (input_object)  multichannel-image objectHImageHImageHobject (real)

Gabor/Hilbert-Filter.

ImageResultGaborImageResultGaborImageResultGaborImageResultGaborimageResultGabor (output_object)  image(-array) objectHImageHImageHobject * (complex)

Result of the Gabor filter.

ImageResultHilbertImageResultHilbertImageResultHilbertImageResultHilbertimageResultHilbert (output_object)  image(-array) objectHImageHImageHobject * (complex)

Result of the Hilbert filter.

Example (HDevelop)

gen_gabor(Filter,1.4,0.4,1.0,1.5,'n','dc_edge',512,512)
fft_generic(Image,ImageFFT,'to_freq',-1,'none','dc_edge','complex')
convol_gabor(ImageFFT,Filter,Gabor,Hilbert)
fft_generic(Gabor,GaborInv,'from_freq',1,'none','dc_edge','byte')
fft_generic(Hilbert,HilbertInv,'from_freq',1,'none','dc_edge','byte')
energy_gabor(GaborInv,HilbertInv,Energy)

Result

convol_gaborconvol_gaborConvolGaborConvolGaborConvolGabor returns 2 (H_MSG_TRUE) if all images are 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>). If necessary, an exception is raised.

Possible Predecessors

fft_imagefft_imageFftImageFftImageFftImage, fft_genericfft_genericFftGenericFftGenericFftGeneric, gen_gaborgen_gaborGenGaborGenGaborGenGabor

Possible Successors

power_bytepower_bytePowerBytePowerBytePowerByte, power_realpower_realPowerRealPowerRealPowerReal, power_lnpower_lnPowerLnPowerLnPowerLn, fft_image_invfft_image_invFftImageInvFftImageInvFftImageInv, fft_genericfft_genericFftGenericFftGenericFftGeneric

Alternatives

convol_fftconvol_fftConvolFftConvolFftConvolFft

See also

convol_imageconvol_imageConvolImageConvolImageConvolImage

Module

Foundation