00001 #ifndef __F2DSimplicitRestorationLS__ 00002 #define __F2DSimplicitRestorationLS__ 00003 00004 00024 #include <stdio.h> 00025 00026 #include "AFull2DRestorationLS.hpp" 00027 00028 #include "AbsFLinearSolver.hpp" 00029 00030 #include "AFSymMatrix.hpp" 00031 00032 00033 class F2DSimplicitRestorationLS : public AFull2DRestorationLS 00034 { 00035 protected: 00036 00037 AFSymMatrix* A; // (I-tau*B) 00038 00039 protected: 00040 00041 // U(k+1) <--- U(k) 00042 virtual FImage* solveSingle(FImage* uk, FImage* uk1=0); 00043 00044 public: 00045 F2DSimplicitRestorationLS(int model, int outerIter, int innerIter, double t, AFSpatialDiscretisation* smodel, 00046 bool normalized=true, bool nonLinearFlag=true) 00047 :AFull2DRestorationLS(model, outerIter, innerIter, t, smodel, normalized, nonLinearFlag) 00048 { A= 0; } 00049 virtual ~F2DSimplicitRestorationLS(){} 00050 00051 00052 00053 virtual void report(FILE* file){ fprintf(file,"Full 2D Semi-Implicit restoration\n"); } 00054 }; 00055 00056 00057 #endif