/** * @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 #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