gabor.h

Go to the documentation of this file.
00001 #define sq(x) ((x)*(x))
00002 
00003 /* note that all this is taken from the paper JaH98 in ~/tex/bib/squizz.bib */
00004 /* with my corrections! */
00005 
00006 /* define the functions which determine the parameters of the filter back */
00007 
00008 
00009 #define num_gabor_scales 3
00010 #define gabor_kernel_size_0 9
00011 #define gabor_kernel_size_1 17
00012 #define gabor_kernel_size_2 35
00013 
00014 #define num_gabors_per_scale 4
00015 #define theta_step (M_PI/num_gabors_per_scale)
00016 #define u00 (0.5/(1.0 + 1.0/3.0))
00017 #define sigma_m(u) (3.0*sqrt(2.0*log(2.0))/(2.0*M_PI*u))

Generated on Tue Jan 6 00:30:37 2009 for Gift by  doxygen 1.5.6