123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- /**
- * @file LocalFeatureRGBSift.h
- * @brief local feature with color sift
- * @author Björn Fröhlich
- * @date 03/08/2010
- */
- #ifndef LocalFeatureRGBSiftINCLUDE
- #define LocalFeatureRGBSiftINCLUDE
- #include <vislearning/nice.h>
- #include "core/basics/Config.h"
- #include "vislearning/features/localfeatures/LocalFeatureSift.h"
- namespace OBJREC {
- /** local feature with sift */
- class LocalFeatureRGBSift : public LocalFeatureSift
- {
- protected:
- int octaves;
- int levels;
- bool normalizeFeature;
- int first_octave;
- double magnif;
- public:
-
- /** simple constructor */
- LocalFeatureRGBSift ( const NICE::Config *conf );
-
- /** simple destructor */
- virtual ~LocalFeatureRGBSift();
-
- /**
- * returns the size of each the SIFT-Feature
- * @return 128
- */
- int getDescSize() const { return 384; };
-
- /**
- * get the descriptor
- * @param img input color image
- * @param positions positions for the SIFT features
- * @param descriptors output
- * @return 0
- */
- virtual int getDescriptors ( const NICE::ColorImage & cimg,
- NICE::VVector & positions,
- NICE::VVector & descriptors ) const;
- };
- } // namespace
- #endif
|