Herror ::convol_gabor (
    Hobject ImageFFT,
    Hobject GaborFilter,
    Hobject *ImageResultGabor,
    Hobject *ImageResultHilbert
)
HImage HImage::ConvolGabor (
    const HImage &GaborFilter,
    HImage *ImageResultHilbert
) const
HImageArray HImageArray::ConvolGabor (
    const HImage &GaborFilter,
    HImageArray *ImageResultHilbert
) const

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

::convol_gabor convolves a Fourier-transformed image with a Gabor filter GaborFilter (see ::gen_gabor) and its Hilbert transform in the frequency domain. The result image is of type 'complex'.


Attention

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


Parameters

ImageFFT (input_object)
image(-array) -> Hobject: HImage(Array) ( complex )
Input image.

GaborFilter (input_object)
multichannel-image -> Hobject: HImage ( real )
Gabor/Hilbert-Filter.

ImageResultGabor (output_object)
image(-array) -> Hobject * : HImage(Array) ( complex )
Result of the Gabor filter.

ImageResultHilbert (output_object)
image(-array) -> Hobject * : HImage(Array) ( complex )
Result of the Hilbert filter.


Example
fft_image(Image,&FFT);
gen_gabor(&Filter,1.4,0.4,1.0,1.5,512);
convol_gabor(FFT,Filter,&Gabor,&Hilbert);
fft_image_inv(Gabor,&GaborInv);
fft_image_inv(Hilbert,&HilbertInv);
energy_gabor(GaborInv,HilbertInv,&Energy);

Result

::convol_gabor returns H_MSG_TRUE if all images are of correct type. If the input is empty the behaviour can be set via ::set_system('no_object_result',<Result>). If necessary, an exception handling is raised.


Possible Predecessors

::fft_image, ::fft_generic, ::gen_gabor


Possible Successors

::power_byte, ::power_real, ::power_ln, ::fft_image_inv, ::fft_generic


Alternatives

::convol_fft


See also

::convol_image


Module

Image filters



Copyright © 1996-2002 MVTec Software GmbH