00001 #ifndef __IVanVieltGaborIirOp__ 00002 #define __IVanVieltGaborIirOp__ 00003 00028 #include <stdio.h> 00029 00030 #include "IMultiImageOp.hpp" 00031 00032 #include "Real3CImage.hpp" 00033 00034 00035 class IVanVieltGaborIirOp: public IMultiImageOp 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 Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0); 00053 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00054 00055 00056 // separate color channels 00057 00058 virtual Real3CImage* fcolorFilter(Real3CImage* src, Real3CImage* dest=0); 00059 virtual Real3CImage* fcolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00060 00061 public: 00062 00063 IVanVieltGaborIirOp(double asigma=1.0, double omega=0.0, double atheta=0.0, bool colorFlag= false):IMultiImageOp(1,colorFlag) 00064 {sigma= asigma; omega0= omega; theta= atheta;} 00065 virtual ~IVanVieltGaborIirOp(){} 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