1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef SEMSEGLOCALINCLUDE
- #define SEMSEGLOCALINCLUDE
- #include "vislearning/classifier/classifierbase/FeaturePoolClassifier.h"
- #include "SemanticSegmentation.h"
- namespace OBJREC
- {
- class SemSegLocal : public SemanticSegmentation
- {
- protected:
- bool save_cache;
- bool read_cache;
- std::string cache;
- FeaturePoolClassifier *fpc;
- public:
-
- SemSegLocal ( const NICE::Config *conf, const MultiDataset *md );
-
- virtual ~SemSegLocal();
- void train ( const NICE::Config *conf, const MultiDataset *md );
- void semanticseg ( CachedExample *ce,
- NICE::ImageT<int> & segresult,
- NICE::MultiChannelImageT<double> & probabilities );
- void semanticseg ( CachedExample *ce,
- NICE::MultiChannelImageT<int> & segresult,
- NICE::MultiChannelImage3DT<double> & probabilities )
- {}
- };
- }
- #endif
|