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

CGradientOp.hpp

00001 #ifndef __CGradientOp__
00002 #define __CGradientOp__
00003 
00004 
00005 
00024 #include <stdio.h>
00025 
00026 #include "AbsCImageFilter.hpp"
00027 
00028 
00029 
00035 #include "RGradientOp.hpp"
00036 
00037 class CGradientOp : public  AbsCImageFilter
00038 {
00039 private:
00040 
00041 Direction               direction;
00042 
00043 public:
00044         
00045 CGradientOp(Direction dir=Norme2){ direction=dir; }
00046 virtual ~CGradientOp(){}
00047 
00048 // single shot filtering
00049 virtual CImage* filter(CImage* src, CImage* dest=0);
00050 virtual CImage* selectedFilter(AnImage* mask, CImage* src, CImage* dest=0);
00051 
00052 virtual void report(FILE* file){ fprintf(file,"Complex Gradient Operator\n"); }
00053 };
00054 
00055 
00056 #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