FIShotton.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * @file FIShotton.h
  3. * @brief feature images for preprocessing according to shotton
  4. * @author Erik Rodner
  5. * @date 05/30/2008
  6. */
  7. #ifndef FIShottonINCLUDE
  8. #define FIShottonINCLUDE
  9. #include "core/vector/SparseVector.h"
  10. #include "vislearning/cbaselib/CachedExample.h"
  11. #include "vislearning/classifier/fpclassifier/randomforest/FPCRandomForests.h"
  12. namespace OBJREC {
  13. /** feature images */
  14. class FIShotton
  15. {
  16. protected:
  17. public:
  18. static void buildSemanticMap( CachedExample *ce,
  19. FPCRandomForests *fpcrf,
  20. int subsamplex, int subsampley,
  21. int numClasses );
  22. static void buildTextonMap( CachedExample *ce,
  23. FPCRandomForests *fpcrf,
  24. std::map<DecisionNode *, std::pair<long, int> > index,
  25. int subsamplex,
  26. int subsampley,
  27. int maxdepthSegmentationForest );
  28. };
  29. } // namespace
  30. #endif