00001 #ifndef __GeodesicBeltramiFilter__ 00002 #define __GeodesicBeltramiFilter__ 00003 00004 00005 00028 #include <stdio.h> 00029 00030 00031 #include "BeltramiFilter.hpp" 00032 00033 class GeodesicBeltramiFilter : public BeltramiFilter 00034 { 00035 protected: 00036 00037 double beta; 00038 00039 protected: 00040 00041 double g(RImage& image, int x, int y); 00042 double viscosityGradCorrection(RImage& image, int x, int y); 00043 00044 virtual void operations(RImage& result); 00045 virtual void operations(AnImage& mask, RImage& result); 00046 00047 public: 00048 00049 GeodesicBeltramiFilter(int n, double ralpha, double rbeta); 00050 virtual ~GeodesicBeltramiFilter(){} 00051 00052 00053 virtual void report(FILE* file){} 00054 }; 00055 00056 00057 #endif