123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /**
- * @file LFSegmentation.h
- * @brief Local Features are connected components of a arbitrary segmentation
- * @author Erik Rodner
- * @date 01/21/2008
- */
- #ifndef LFSEGMENTATIONINCLUDE
- #define LFSEGMENTATIONINCLUDE
- #ifdef NICE_USELIB_ICE
- #include <image_nonvis.h>
- #include "LocalFeatureRepresentation.h"
- #include "vislearning/segmentation/SegmentationMethod.h"
- #include "core/basics/Config.h"
- namespace OBJREC {
- /** Local Features are connected components of a arbitrary segmentation */
- class LFSegmentation : public LocalFeatureRepresentation
- {
- protected:
- SegmentationMethod *segmentation;
- public:
-
- /** simple constructor */
- LFSegmentation( const NICE::Config *conf );
-
- /** simple destructor */
- virtual ~LFSegmentation();
-
- int getDescSize () const;
- int extractFeatures ( const NICE::Image & img, NICE::VVector & features,
- NICE::VVector & positions ) const;
- void visualizeFeatures ( NICE::Image & mark,
- const NICE::VVector & positions,
- size_t color ) const;
- };
- } // namespace
- #endif
- #endif
|