00001 #ifndef __SingleImage1DMapper__ 00002 #define __SingleImage1DMapper__ 00003 00027 #include "Abs1DMapping.hpp" 00028 00029 class SingleImage1DMapper : public Abs1DMapping 00030 { 00031 public: 00032 00033 SingleImage1DMapper(bool normalized=false, double biased=0.5):Abs1DMapping(normalized, biased){} 00034 virtual ~SingleImage1DMapper(){} 00035 00036 virtual RealVector* generate(AnImage* src, RealVector* map); 00037 virtual RealVector* generate(AnImage* src, RealVector* map, int channel); 00038 00039 virtual AnImage* generateInv(RealVector* src, int w, int h, AnImage* dest); 00040 virtual AnImage* generateInv(RealVector* src, int w, int h, int chMax, int ch, AnImage* dest); 00041 00042 virtual void report(FILE* file){} 00043 }; 00044 00045 #endif