/** * @file SemSegTools.h * @brief tools for semantic segmentation * @author Erik Rodner * @date 03/19/2009 */ #ifndef SEMSEGTOOLSINCLUDE #define SEMSEGTOOLSINCLUDE #include "core/basics/Config.h" #include "vislearning/cbaselib/MultiDataset.h" #include "vislearning/cbaselib/Example.h" #include "vislearning/cbaselib/CachedExample.h" namespace OBJREC { /** tools for semantic segmentation */ class SemSegTools { protected: public: /** collect pixel-wise training examples from a set of images @param conf includes settings about grid size etc. @param section section of the config @param train set of training images with localization information @param cn classNames object @param examples resulting pixel-wise examples @param imgexamples image based caching structure referenced by pixel-wise examples */ static void collectTrainingExamples ( const NICE::Config * conf, const std::string & section, const LabeledSet & train, const ClassNames & cn, Examples & examples, std::vector & imgexamples ); }; } // namespace #endif