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

Superbee.hpp

00001 #ifndef _Superbee_H
00002 #define _Superbee_H
00003 
00004 
00005 
00058 #include <math.h>
00059 
00060 
00061 class Superbee : public DoubleMinmod 
00062 {
00063 public:
00064 virtual ~Superbee(){}
00065 
00066 
00067 virtual double average(double a, double b)
00068         {
00069         double val=0.0;
00070 
00071         if( (a*b) > 0.0 )
00072                 val= minmod( maxmod(a,b), minmod(2.0*a,2.0*b) );
00073 
00074         return val;
00075         }
00076 };
00077 
00078 #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