1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /**
- * @file IDKLTSampling.h
- * @brief random interest point sampling
- * @author Erik Rodner
- * @date 02/05/2008
- */
- #ifndef IDKLTSamplingINCLUDE
- #define IDKLTSamplingINCLUDE
- #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 IDKLTSampling: public InterestDetector
- {
- protected:
- int numSamples;
- double minScale;
- bool fixedOrientation;
- public:
- IDKLTSampling(const NICE::Config *conf, int numSamples);
- virtual ~IDKLTSampling();
- 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
|