00001 #ifndef __RAosPeronaGnOp__ 00002 #define __RAosPeronaGnOp__ 00003 00004 00051 #include <stdio.h> 00052 00053 #include "RSimpleAosOp.hpp" 00054 00055 00056 class RAosPeronaGnOp : public RSimpleAosOp 00057 { 00058 protected: 00059 00060 int ng; // order of (s/lambda)^n 00061 00062 int mg; 00063 double alpha; // credit of backward diffusion 00064 double kb; // backward component 00065 double wb; // backward window 00066 00067 virtual double g(int i, int j); 00068 00069 public: 00070 00071 RAosPeronaGnOp(int iterations=8, double t=0.5, 00072 double kf=16.0, double asigma=5.0, int nG=2, 00073 bool iirFlag=false, bool nonLinearFlag=true); 00074 virtual ~RAosPeronaGnOp(){} 00075 00076 00077 virtual void report(FILE* file){ fprintf(file,"Real Aos Perona Operator\n"); } 00078 }; 00079 00080 00081 #endif