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

IFVanVieltGradientIirOp.hpp

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