1 /******************************************************* 2 3 Mean Shift Analysis Library 4 ============================================= 5 6 The mean shift library is a collection of routines 7 that use the mean shift algorithm. Using this algorithm, 8 the necessary output will be generated needed 9 to analyze a given input set of data. 10 11 Type Defintions: 12 =============== 13 14 This header file contains the type defintions and 15 enumerations shared among the various classes of the mean 16 shift library. 17 18 The theory is described in the papers: 19 20 D. Comaniciu, P. Meer: Mean Shift: A robust approach toward feature 21 space analysis. 22 23 C. Christoudias, B. Georgescu, P. Meer: Synergism in low level vision. 24 25 and they are is available at: 26 http://www.caip.rutgers.edu/riul/research/papers/ 27 28 Implemented by Chris M. Christoudias, Bogdan Georgescu 29 ********************************************************/ 30 31 #ifndef TDEF_H 32 #define TDEF_H 33 34 /*/\/\/\/\/\/\/\/\/\/\/\*/ 35 /* Define Enumerations */ 36 /*\/\/\/\/\/\/\/\/\/\/\/*/ 37 38 //Kernel 39 enum kernelType {Uniform, Gaussian, UserDefined}; 40 41 // kd-Tree 42 enum childType {LEFT, RIGHT}; 43 44 // Speed Up Level 45 enum SpeedUpLevel {NO_SPEEDUP, MED_SPEEDUP, HIGH_SPEEDUP}; 46 47 // Error Handler 48 enum ErrorLevel {EL_OKAY, EL_ERROR, EL_HALT}; 49 enum ErrorType {NONFATAL, FATAL}; 50 51 #endif