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

ColorGradPotential.hpp

00001 #ifndef __ColorGradPotential__
00002 #define __ColorGradPotential__
00003 
00025 #include "RImage.hpp"
00026 
00027 #include "ImagePotential.hpp"
00028 
00029 class ColorGradPotential : public ImagePotential 
00030 {
00031 private:
00032 
00033 int             type;
00034 RImage* gradImage;
00035 
00036 public:
00037         
00038 ColorGradPotential(double aw=1.0, bool reg=false, double sigmaR=2.0, int atype=0)
00039                 :ImagePotential(aw, reg, sigmaR){type=atype;}
00040 virtual ~ColorGradPotential(){}
00041 
00042 virtual void set(AnImage* im);
00043 
00044 virtual double getP(int x, int y);
00045 
00046 virtual void report(FILE* file){}
00047 };
00048 
00049 
00050 #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