00001 #ifndef __IVanVieltBlurringIirOp__ 00002 #define __IVanVieltBlurringIirOp__ 00003 00027 #include <stdio.h> 00028 00029 #include "IMultiImageOp.hpp" 00030 00031 #include "Real3CImage.hpp" 00032 00033 00034 class IVanVieltBlurringIirOp: public IMultiImageOp 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 Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0); 00050 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00051 00052 00053 // separate color channels 00054 00055 virtual Real3CImage* fcolorFilter(Real3CImage* src, Real3CImage* dest=0); 00056 virtual Real3CImage* fcolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00057 00058 public: 00059 00060 IVanVieltBlurringIirOp(double asigma=1.0, bool colorFlag= false):IMultiImageOp(1,colorFlag) 00061 {sigma= asigma;} 00062 virtual ~IVanVieltBlurringIirOp(){} 00063 00064 virtual void setSigma(double asigma){ sigma= asigma;} 00065 00066 00067 virtual void report(FILE* file){} 00068 }; 00069 00070 00071 #endif