1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /**
- * @file LFMikolajczyk.h
- * @brief interface to Mikolajczyk implementation
- * @author Erik Rodner
- * @date 11/19/2007
- */
- #ifndef LFMIKOLAJCZYKINCLUDE
- #define LFMIKOLAJCZYKINCLUDE
- #ifdef NOVISUAL
- #include <vislearning/nice_nonvis.h>
- #else
- #include <vislearning/nice.h>
- #endif
- #include "LocalFeatureRepresentation.h"
- #include "core/basics/Config.h"
-
- namespace OBJREC {
- /** interface to Mikolajczyk implementation */
- class LFMikolajczyk : public LocalFeatureRepresentation
- {
- protected:
- std::string c_binaryExecutable;
- std::string c_params;
- double c_minScale;
-
- int descriptor_size;
- public:
-
- /** simple constructor */
- LFMikolajczyk( const NICE::Config *conf );
-
- /** simple destructor */
- virtual ~LFMikolajczyk();
-
- int getDescSize () const;
- int extractFeatures ( const NICE::Image & img, NICE::VVector & features,
- NICE::VVector & positions ) const;
-
- };
- } // namespace
- #endif
|