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