00001 #ifndef __RBertalmioInpainter__ 00002 #define __RBertalmioInpainter__ 00003 00004 00005 00030 #include <stdio.h> 00031 00032 #include "AbsRImageFilter.hpp" 00033 00034 class RBertalmioInpainter : public AbsRImageFilter 00035 { 00036 private: 00037 00038 double dt; 00039 00040 AbsRImageFilter* smoother; // basic is the Laplacian 00041 00042 00043 00044 public: 00045 00046 RBertalmioInpainter(double deltaT=0.1); 00047 RBertalmioInpainter(AbsRImageFilter* asmoother, double deltaT=0.1); 00048 virtual ~RBertalmioInpainter(){ delete smoother; } 00049 00050 00051 // single shot filtering 00052 virtual RImage* filter(RImage* src, RImage* dest=0){ return 0; } 00053 virtual RImage* selectedFilter(AnImage* mask, RImage* src, RImage* dest=0); 00054 00055 virtual void report(FILE* file){ fprintf(file,"Real Bertalmio Inpainter\n"); } 00056 }; 00057 00058 00059 #endif