System documentation of the GNU Image-Finding Tool

gift_features.h
1 #ifndef _GIFT_FEATURES
2 #define _GIFT_FEATURES
3 /* feature classes */
4 
5 #define COL_POS 0 /* a colour in a specific position (and at a
6  specific scale) */
7 #define COL_HST 1 /* the proportion of a given colour */
8 #define GABOR_POS 2 /* the value of a Gabor filter in a particular
9  position */
10 #define GABOR_HST 3 /* the proportion of a particular value of a Gabor
11  filter in the image */
12 
13 #define FREQ_MAX 0x7fffffff /* since we will use FLOATS to store frequencies we want high resolution (WM) */
14 
15 typedef unsigned int freq_type;
16 
17 typedef struct _FEATURE_DATA {
18  int id;
19  freq_type frequency; /* i.e. f = frequency/FREQ_MAX */
20 } FEATURE_DATA;
21 
22 
23 /* use primitive hacks by Wolfgang for
24  adapting to Wolfgang's code */
25 #define WOLFGANG_HACK
26 
27 #endif
Definition: gift_features.h:17

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