ImageAccessT.tcc 736 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * LImUn - Library for ImageT Understanding
  3. * - libimage - An ImageT library
  4. * See file License for license information.
  5. */
  6. #include "core/image/ImageAccessT.h"
  7. namespace NICE {
  8. template<class P> int
  9. ImageAccessT<P>::getPixelInt(int x, int y) const {
  10. throw( "this type is not implemented\n" );
  11. return -1;
  12. }
  13. template<class P> double
  14. ImageAccessT<P>::getPixelFloat(int x, int y) const {
  15. throw( "this type is not implemented\n" );
  16. return -1.0;
  17. }
  18. template<class P> void
  19. ImageAccessT<P>::setPixelInt(int x, int y, int pixel) {
  20. throw( "this type is not implemented\n" );
  21. }
  22. template<class P> void
  23. ImageAccessT<P>::setPixelFloat(int x, int y, double pixel) {
  24. throw( "this type is not implemented\n" );
  25. }
  26. } // namespace