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

IFVanVieltLaplacianIirOp.hpp

00001 #ifndef __IFVanVieltLaplacianIirOp__
00002 #define __IFVanVieltLaplacianIirOp__
00003 
00027 #include <stdio.h>
00028 
00029 #include "IFMultiImageOp.hpp"
00030 
00031 #include "Float3CImage.hpp"
00032 
00033 
00034 class IFVanVieltLaplacianIirOp: public IFMultiImageOp 
00035 {
00036 private:
00037 
00038 int                     direction;              // 0= norme2, 1=x, 2=y
00039 
00040 double          sigma;
00041 
00042 protected:
00043 
00044 // mono channel
00045 
00046 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0);
00047 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0);
00048 
00049 // separate color channels
00050 
00051 virtual Float3CImage* scolorFilter(Float3CImage* src, Float3CImage* dest=0);
00052 virtual Float3CImage* scolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0);
00053 
00054 
00055 // separate color channels
00056 
00057 virtual Float3CImage* fcolorFilter(Float3CImage* src, Float3CImage* dest=0);
00058 virtual Float3CImage* fcolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0);
00059 
00060 public:
00061         
00062 IFVanVieltLaplacianIirOp(int dir=0, double asigma=1.0, bool colorFlag= false):IFMultiImageOp(1,colorFlag)
00063         {direction= dir; sigma= asigma;}
00064 virtual ~IFVanVieltLaplacianIirOp(){}
00065 
00066 virtual void setSigma(double asigma){ sigma= asigma;}
00067 virtual void setOrientation(int  dir){ direction= dir;}
00068 
00069 
00070 virtual void report(FILE* file){}
00071 };
00072 
00073 
00074 #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