00001 #ifndef __IBrightnessOp__ 00002 #define __IBrightnessOp__ 00003 00004 00005 00024 #include <stdio.h> 00025 00026 #include "AnImageOp.hpp" 00027 00028 00029 class IBrightnessOp : public AnImageOp 00030 { 00031 private: 00032 00033 bool luminance; 00034 00035 public: 00036 00037 IBrightnessOp(bool luminanceFlag= false){luminance= luminanceFlag;} 00038 virtual ~IBrightnessOp(){} 00039 00040 00041 virtual AnImage* filter(AnImage* src, AnImage* dest=0); 00042 00043 virtual void report(FILE* file){} 00044 }; 00045 00046 00047 #endif