00001 #ifndef __IFVanVieltBlurringIirOp__ 00002 #define __IFVanVieltBlurringIirOp__ 00003 00027 #include <stdio.h> 00028 00029 #include "IFMultiImageOp.hpp" 00030 00031 #include "Float3CImage.hpp" 00032 00033 00034 class IFVanVieltBlurringIirOp: public IFMultiImageOp 00035 { 00036 private: 00037 00038 double sigma; 00039 00040 protected: 00041 00042 // mono channel 00043 00044 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0); 00045 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00046 00047 // separate color channels 00048 00049 virtual Float3CImage* scolorFilter(Float3CImage* src, Float3CImage* dest=0); 00050 virtual Float3CImage* scolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0); 00051 00052 00053 // separate color channels 00054 00055 virtual Float3CImage* fcolorFilter(Float3CImage* src, Float3CImage* dest=0); 00056 virtual Float3CImage* fcolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0); 00057 00058 public: 00059 00060 IFVanVieltBlurringIirOp(double asigma=1.0, bool colorFlag= false):IFMultiImageOp(1,colorFlag) 00061 {sigma= asigma;} 00062 virtual ~IFVanVieltBlurringIirOp(){} 00063 00064 virtual void setSigma(double asigma){ sigma= asigma;} 00065 00066 00067 virtual void report(FILE* file){} 00068 }; 00069 00070 00071 #endif