00001 #ifndef __RImagePotential__ 00002 #define __RImagePotential__ 00003 00025 #include "RImage.hpp" 00026 00027 #include "ImagePotential.hpp" 00028 00029 class RImagePotential : public ImagePotential 00030 { 00031 private: 00032 00033 RImage* realImage; 00034 00035 public: 00036 00037 RImagePotential(double aw=1.0e-4, bool reg=false, double sigmaR=2.0) 00038 :ImagePotential(aw, reg, sigmaR){} 00039 virtual ~RImagePotential(){} 00040 00041 virtual void setReal(RImage* measureImage){ realImage= measureImage; } 00042 00043 virtual double getP(int x, int y); 00044 virtual double getPotential(int x, int y); 00045 00046 virtual void report(FILE* file){} 00047 }; 00048 00049 00050 #endif