123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifdef NICE_USELIB_ICE
- #ifndef VecClassifierICEINCLUDE
- #define VecClassifierICEINCLUDE
- #include <image_nonvis.h>
- #include <string>
- #include "vislearning/classifier/classifierbase/VecClassifier.h"
- namespace OBJREC {
- class VecClassifierICE : public VecClassifier
- {
- protected:
- ice::Classifier *classifier;
- public:
-
-
- VecClassifierICE( const NICE::Config *conf,
- ice::Classifier *classifier );
-
- virtual ~VecClassifierICE();
-
-
-
- ClassificationResult classify ( const NICE::Vector & x ) const;
-
- void teach ( const LabeledSetVector & teachSet );
- void clear ();
- void store ( std::ostream & os ) const;
- void restore ( std::istream & is );
- void finishTeaching();
- };
- }
- #endif
- #endif
|