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

Mineno.hpp

00001 #ifndef _Mineno_H
00002 #define _Mineno_H
00003 
00004 
00005 
00063 #include <math.h>
00064 
00065 
00066 class Mineno : public AbsLimiter
00067 {
00068 public:
00069 virtual ~Mineno(){}
00070 
00071 
00072 virtual double average(double a, double b)
00073         {
00074         double val=0.0;
00075 
00076         if( (a*b) > 0.0 )
00077                 return minsign(a,b) * (fabs(a) < fabs(b) ? fabs(a) : fabs(b));
00078 
00079         return val;
00080         }
00081 };
00082 
00083 #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