Download 2D Gabor Filter (Scripts) 1.0


Recent studies on Mathematical modeling of visual cortical cells
2D Gabor Filter (Scripts)
Developer : Ahmad Poursaberi
Size : 0.01Mb
OS : Linux, Mac OS X, Win All, BSD, Solaris
Requirements : MATLAB 6.5 (R13)
License : Freeware



Recent studies on Mathematical modeling of visual cortical cells [Kulikowski/Marcelja/Bishop:1982] suggest a tuned band pass filter bank structure. These filters are found to have Gaussian transfer functions in the frequency domain. Thus, taking the Inverse Fourier Transform of this transfer function we get a filter characteristics closely resembling to the Gabor filters. The Gabor filter is basically a Gaussian (with variances sx and sy along x and y-axes respectively) modulated by a complex sinusoid (with centre frequencies U and V along x and y-axes respectively).Gabor filters are used mostly in shape detectin and feature extractin in image processing.function [G,gabout] = gaborfilter1(I,Sx,Sy,f,theta);from 'gaborfilter1' with different f(Frequency) and theta(Angle).for examplef:0,2,4,8,16,32theta = 0,pi/3,pi/6,pi/2,3pi/4then for any input image like(eg. stereo.jpg)you have 6x5 = 30 filtered images.You can choose your desired angles or frequencies.You can put nominaly Sx & Sy = 2,4 or some one else.For instance I tested above example on ('cameraman.tif')(in MATLAB pictures)I = imread('cameraman.tif');[G,gabout] = gaborfilter1(I,2,4,16,pi/3);figure,imshow(uint8(gabout));


download here