12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef FCGREYVALUESINCLUDE
- #define FCGREYVALUESINCLUDE
- #include "core/vector/VectorT.h"
- #include "core/vector/MatrixT.h"
-
- #include "vislearning/features/fbase/FeatureFactory.h"
- namespace OBJREC {
- class FCGreyValues : public FeatureFactory
- {
- protected:
-
- enum {
- NORMALIZE_N01 = 0,
- NORMALIZE_NONE,
- NORMALIZE_STDDEV,
- NORMALIZE_MEAN
- };
- int xsize;
- int ysize;
- int normalization;
-
-
- NICE::Image tmp;
- public:
-
-
- FCGreyValues ( const NICE::Config *conf, int _xsize = -1, int _ysize = -1);
-
-
- virtual ~FCGreyValues();
-
-
-
-
- int convert ( const NICE::Image & img, NICE::Vector & vec );
- };
- }
- #endif
|