00001 #ifndef __IPerona1990Op__ 00002 #define __IPerona1990Op__ 00003 00004 00005 00024 #include <stdio.h> 00025 00026 #include "IMultiImageOp.hpp" 00027 #include "Real3CImage.hpp" 00028 00029 00030 class IPerona1990Op : public IMultiImageOp 00031 { 00032 protected: 00033 00034 // mono channel 00035 00036 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0); 00037 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00038 00039 // separate color channels 00040 00041 virtual Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0); 00042 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00043 00044 public: 00045 00046 IPerona1990Op(int iter=50,bool colorFlag= false):IMultiImageOp(iter,colorFlag){} 00047 virtual ~IPerona1990Op(){} 00048 00049 00050 virtual void report(FILE* file){} 00051 }; 00052 00053 00054 #endif