00001 #ifndef __BertalmioInpainting__ 00002 #define __BertalmioInpainting__ 00003 00028 #include <stdio.h> 00029 00030 #include "AnInpaintingOp.hpp" 00031 00032 #include "RBertalmioInpainter.hpp" 00033 #include "AbsRImageFilter.hpp" 00034 00035 00036 class BertalmioInpainting : public AnInpaintingOp 00037 { 00038 private: 00039 00040 int nInpaints; 00041 int nDiffusion; 00042 00043 RBertalmioInpainter* inpaint; 00044 AbsRImageFilter* localDiffuser; 00045 00046 public: 00047 BertalmioInpainting(int nglobal=50, int np=15, int nd=2); 00048 BertalmioInpainting(AbsRImageFilter* lsmoother,int nglobal=150, int np=15, int nd=2); 00049 BertalmioInpainting(AbsRImageFilter* lsmoother, AbsRImageFilter* diffuser, 00050 int nglobal=150, int np=15, int nd=2); 00051 virtual ~BertalmioInpainting(); 00052 00053 virtual AnImage* filter(AnImage* src, AnImage* dest=0){return 0;} 00054 00055 virtual AnImage* selectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00056 00057 virtual void report(FILE* file){} 00058 }; 00059 00060 00061 #endif