PostSemSeg.h 883 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * @file PostSemSeg.h
  3. * @brief abstract interface for post processing steps concerning semantic segmentation routines
  4. * @author Erik Rodner
  5. * @date 03/19/2009
  6. */
  7. #ifndef POSTSEMSEGINCLUDE
  8. #define POSTSEMSEGINCLUDE
  9. #ifdef NOVISUAL
  10. #include <objrec/nice_nonvis.h>
  11. #else
  12. #include <objrec/nice.h>
  13. #endif
  14. #include "objrec/image/GenericImage.h"
  15. namespace OBJREC {
  16. /** abstract interface for post processing steps concerning semantic segmentation routines */
  17. class PostSemSeg
  18. {
  19. protected:
  20. public:
  21. /** simple constructor */
  22. PostSemSeg();
  23. /** simple destructor */
  24. virtual ~PostSemSeg();
  25. // refactor-nice.pl: check this substitution
  26. // old: virtual void postprocess ( Image & result, GenericImage<double> & probabilities ) = 0;
  27. virtual void postprocess ( NICE::Image & result, GenericImage<double> & probabilities ) = 0;
  28. };
  29. } // namespace
  30. #endif