123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * @file FIShotton.h
- * @brief feature images for preprocessing according to shotton
- * @author Erik Rodner
- * @date 05/30/2008
- */
- #ifndef FIShottonINCLUDE
- #define FIShottonINCLUDE
- #ifdef NOVISUAL
- #include <objrec/nice_nonvis.h>
- #else
- #include <objrec/nice.h>
- #endif
-
- #include "objrec/math/mathbase/SparseVector.h"
- #include "objrec/cbaselib/CachedExample.h"
- #include "objrec/classifier/fpclassifier/randomforest/FPCRandomForests.h"
- namespace OBJREC {
- /** feature images */
- class FIShotton
- {
- protected:
- public:
-
- static void buildSemanticMap ( CachedExample *ce,
- FPCRandomForests *fpcrf,
- int subsamplex, int subsampley,
- int numClasses );
- static void buildTextonMap ( CachedExample *ce,
- FPCRandomForests *fpcrf,
- map<DecisionNode *, pair<long, int> > index,
- int subsamplex,
- int subsampley,
- int maxdepthSegmentationForest );
- };
- } // namespace
- #endif
|