tdef.h 1.3 KB

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