123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /**
- * @file FCSet.h
- * @brief extract fourier domain value
- * @author Michael Koch
- * @date 5/27/2008
- */
- #ifndef FCSetINCLUDE
- #define FCSetINCLUDE
- #ifdef NOVISUAL
- #include <vislearning/nice_nonvis.h>
- #else
- #include <vislearning/nice.h>
- #endif
-
- #include "vislearning/features/fbase/FeatureFactory.h"
- namespace OBJREC {
- /** combining features by vector concatenation */
- class FCSet : public FeatureFactory
- {
- protected:
-
- enum {
- NORMALIZE_N01 = 0,
- NORMALIZE_NONE,
- NORMALIZE_STDDEV,
- NORMALIZE_MEAN
- };
- int xsize;
- int ysize;
- int normalization;
- // refactor-nice.pl: check this substitution
- // old: Image tmp;
- NICE::Image tmp;
-
- std::vector<FeatureFactory * > featurefactoryvector;
-
-
- public:
-
-
- FCSet ( const NICE::Config *conf, int _xsize = -1, int _ysize = -1);
-
- virtual ~FCSet();
-
- void add(FeatureFactory *ff);
-
- // refactor-nice.pl: check this substitution
- // old: int convert ( const Image & img, Vector & vec );
- int convert ( const NICE::Image & img, NICE::Vector & vec );
- };
- } // namespace
- #endif
|