Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

CentralLimiter.hpp

00001 #ifndef _CentralLimiter_H
00002 #define _CentralLimiter_H
00003 
00004 
00005 
00055 #include <math.h>
00056 
00057 
00058 class CentralLimiter : public AbsLimiter
00059 {
00060 public:
00061 virtual ~CentralLimiter(){}
00062 
00063 //  average 
00064 //  The average is the central difference classic solution. It may ocsillate around the solution
00065 //  =========================================================================================
00066 //  average(a,b)= (a + b)/2
00067 virtual double average(double a, double b){ return 0.5*(a+b); }
00068 };
00069 
00070 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com