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