LFMikolajczyk.h 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * @file LFMikolajczyk.h
  3. * @brief interface to Mikolajczyk implementation
  4. * @author Erik Rodner
  5. * @date 11/19/2007
  6. */
  7. #ifndef LFMIKOLAJCZYKINCLUDE
  8. #define LFMIKOLAJCZYKINCLUDE
  9. #include "core/vector/VectorT.h"
  10. #include "core/vector/MatrixT.h"
  11. #include "core/image/ImageT.h"
  12. #include "LocalFeatureRepresentation.h"
  13. #include "core/basics/Config.h"
  14. namespace OBJREC {
  15. /** interface to Mikolajczyk implementation */
  16. class LFMikolajczyk : public LocalFeatureRepresentation
  17. {
  18. protected:
  19. std::string c_binaryExecutable;
  20. std::string c_params;
  21. double c_minScale;
  22. int descriptor_size;
  23. public:
  24. /** simple constructor */
  25. LFMikolajczyk( const NICE::Config *conf );
  26. /** simple destructor */
  27. virtual ~LFMikolajczyk();
  28. int getDescSize () const;
  29. int extractFeatures ( const NICE::Image & img, NICE::VVector & features,
  30. NICE::VVector & positions ) const;
  31. };
  32. } // namespace
  33. #endif