gift_features.h

Go to the documentation of this file.
00001 #ifndef _GIFT_FEATURES
00002 #define _GIFT_FEATURES
00003 /* feature classes */
00004 
00005 #define COL_POS   0 /* a colour in a specific position (and at a
00006             specific scale) */
00007 #define COL_HST   1 /* the proportion of a given colour */
00008 #define GABOR_POS 2 /* the value of a Gabor filter in a particular
00009             position */
00010 #define GABOR_HST 3 /* the proportion of a particular value of a Gabor
00011             filter in the image */
00012 
00013 #define FREQ_MAX 0xff     /* since we will use FLOATS to store frequencies we want high resolution (WM) */
00014 
00015 typedef unsigned int freq_type;
00016 
00017 typedef struct _FEATURE_DATA {
00018   int id;
00019   freq_type frequency; /* i.e. f = frequency/FREQ_MAX */
00020 } FEATURE_DATA;
00021 
00022 
00023 /* use primitive hacks by Wolfgang for 
00024    adapting to Wolfgang's code */
00025 #define WOLFGANG_HACK 
00026 
00027 /* fixed size buffer values, so that we dont code these into the .c files */
00028 #define MAX_WIDTH  256
00029 #define MAX_HEIGHT 256
00030 
00031 #endif

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