123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * @file IDSIFTSampling.h
- * @brief random interest point sampling
- * @author Erik Rodner
- * @date 02/05/2008
- */
- #ifndef IDSIFTSamplingINCLUDE
- #define IDSIFTSamplingINCLUDE
- #ifdef NOVISUAL
- #include <vislearning/nice_nonvis.h>
- #else
- #include <vislearning/nice.h>
- #endif
- #include "core/basics/Config.h"
- #include "InterestDetector.h"
- namespace OBJREC
- {
- /** random interest point sampling */
- class IDSIFTSampling: public InterestDetector
- {
- protected:
- double minScale;
- float threshold;
- float edgeThreshold;
- bool fixedOrientation;
- int octaves;
- int levels;
- int first_octave;
- double magnif;
- bool deletemode;
- public:
- IDSIFTSampling(const NICE::Config *conf);
- virtual ~IDSIFTSampling();
- int getInterests(const NICE::Image & img,
- std::vector<NICE::Vector> & positions) const;
- int getInterests(const ImagePyramid & imp,
- std::vector<NICE::Vector> & positions) const;
- };
- } // namespace
- #endif
|