LocalFeatureRepresentation.cpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * @file LocalFeatureRepresentation.cpp
  3. * @brief absract class for the representation of an image with local feature descriptors
  4. * @author Erik Rodner
  5. * @date 11/19/2007
  6. */
  7. #ifdef NOVISUAL
  8. #include <vislearning/nice_nonvis.h>
  9. #else
  10. #include <vislearning/nice.h>
  11. #endif
  12. #include <iostream>
  13. #include "vislearning/features/localfeatures/LocalFeatureRepresentation.h"
  14. using namespace OBJREC;
  15. using namespace std;
  16. using namespace NICE;
  17. LocalFeatureRepresentation::LocalFeatureRepresentation()
  18. {
  19. }
  20. LocalFeatureRepresentation::~LocalFeatureRepresentation()
  21. {
  22. }
  23. int LocalFeatureRepresentation::extractFeatures ( const NICE::ColorImage & img,
  24. VVector & features,
  25. VVector & positions) const
  26. {
  27. fthrow( Exception, "LocalFeatureRepresentation::extractFeatures local feature extraction from color images not supported\n");
  28. }
  29. void LocalFeatureRepresentation::visualize ( NICE::Image & img,
  30. const NICE::Vector & feature ) const
  31. {
  32. fthrow( Exception, "LocalFeatureRepresentation::visualize visualization not yet implemented\n");
  33. }
  34. void LocalFeatureRepresentation::visualizeFeatures ( NICE::Image & mark,
  35. const VVector & positions,
  36. size_t color ) const
  37. {
  38. fthrow( Exception, "LocalFeatureRepresentation::visualize visualization not yet implemented\n");
  39. }