00001
00002
00003
00004
00005
00006 #ifndef IMAGEFILTER_H
00007 #define IMAGEFILTER_H
00008
00009 #include<DynamicObject.h>
00010 #include<Image.h>
00011
00012 #include<string>
00013
00018 class ImageFilter : public DynamicObject
00019 {
00020 public:
00021 static bool find(string &fileName);
00022
00024 virtual Image *read(const string &fileName) = 0;
00025 virtual void write(const string &fileName, Image &image) = 0;
00026
00027 private:
00028 static void initialize();
00029 static string imagePath;
00030 };
00031 #endif