System documentation of the GNU Image-Finding Tool

gift_features.h
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 0x7fffffff     /* 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 #endif

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen