00001 #ifndef __CGilboaPeronaMalik2Op__ 00002 #define __CGilboaPeronaMalik2Op__ 00003 00004 00030 #include <stdio.h> 00031 00032 #include "CGilboaLinearDiffOp.hpp" 00033 00034 00035 class CGilboaPeronaMalik2Op : public CGilboaLinearDiffOp 00036 { 00037 protected: 00038 00039 // conductivity 00040 virtual RComplex cN(CImage* image, int x, int y); 00041 virtual RComplex cW(CImage* image, int x, int y); 00042 virtual RComplex cS(CImage* image, int x, int y); 00043 virtual RComplex cE(CImage* image, int x, int y); 00044 00045 public: 00046 00047 CGilboaPeronaMalik2Op(int iterations=8, double t=0.2, double ctheta=0.001, double asigma=0.0) 00048 :CGilboaLinearDiffOp(iterations, t, ctheta, asigma){} 00049 virtual ~CGilboaPeronaMalik2Op(){} 00050 00051 virtual void report(FILE* file){ fprintf(file,"CGilboaPeronaMalik2Op\n"); } 00052 }; 00053 00054 00055 #endif