1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /**
- * @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<CachedExample *> & imgexamples );
- };
- } // namespace
- #endif
|