LocalFeatureRepresentation.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. #include <iostream>
  8. #include "vislearning/features/localfeatures/LocalFeatureRepresentation.h"
  9. using namespace OBJREC;
  10. using namespace std;
  11. using namespace NICE;
  12. LocalFeatureRepresentation::LocalFeatureRepresentation()
  13. {
  14. }
  15. LocalFeatureRepresentation::~LocalFeatureRepresentation()
  16. {
  17. }
  18. int LocalFeatureRepresentation::extractFeatures ( const NICE::ColorImage & img,
  19. VVector & features,
  20. VVector & positions) const
  21. {
  22. fthrow( Exception, "LocalFeatureRepresentation::extractFeatures local feature extraction from color images not supported\n");
  23. }
  24. void LocalFeatureRepresentation::visualize ( NICE::Image & img,
  25. const NICE::Vector & feature ) const
  26. {
  27. fthrow( Exception, "LocalFeatureRepresentation::visualize visualization not yet implemented\n");
  28. }
  29. void LocalFeatureRepresentation::visualizeFeatures ( NICE::Image & mark,
  30. const VVector & positions,
  31. size_t color ) const
  32. {
  33. fthrow( Exception, "LocalFeatureRepresentation::visualize visualization not yet implemented\n");
  34. }