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

RGradientOp.hpp

00001 #ifndef __RGradientOp__
00002 #define __RGradientOp__
00003 
00004 
00005 
00024 #include <stdio.h>
00025 
00026 #include "AbsRImageFilter.hpp"
00027 
00028 
00035 enum  Direction { Xdir=0, Ydir=1, Norme2=2, Norme2_2=3 };
00036 
00037 class RGradientOp : public  AbsRImageFilter
00038 {
00039 private:
00040 
00041 Direction               direction;
00042 
00043 public:
00044         
00045 RGradientOp(Direction dir=Norme2){ direction=dir; }
00046 virtual ~RGradientOp(){}
00047 
00048 // single shot filtering
00049 virtual RImage* filter(RImage* src, RImage* dest=0);
00050 virtual RImage* selectedFilter(AnImage* mask, RImage* src, RImage* dest=0);
00051 
00052 virtual void report(FILE* file){ fprintf(file,"Real 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