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

IFAosTvOp.hpp

00001 #ifndef __IFAosTvOp__
00002 #define __IFAosTvOp__
00003 
00041 #include <stdio.h>
00042 
00043 #include "IFMultiImageOp.hpp"
00044 
00045 #include "Float3CImage.hpp"
00046 
00047 
00048 class IFAosTvOp : public IFMultiImageOp 
00049 {
00050 private:
00051 
00052 int                     iter;
00053 double          tau;
00054 
00055 double          lambda;
00056 
00057 double          sigmaBlur;
00058 
00059 bool            iir;
00060 
00061 protected:
00062 
00063 // mono channel
00064 
00065 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0);
00066 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0);
00067 
00068 // separate color channels
00069 
00070 virtual Float3CImage* scolorFilter(Float3CImage* src, Float3CImage* dest=0);
00071 virtual Float3CImage* scolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0);
00072 
00073 
00074 // separate color channels
00075 
00076 virtual Float3CImage* fcolorFilter(Float3CImage* src, Float3CImage* dest=0);
00077 virtual Float3CImage* fcolorSelectedFilter(AnImage* mask, Float3CImage* src, Float3CImage* dest=0);
00078 
00079 public:
00080         
00081 IFAosTvOp(int iterations=1, double t=0.5, double alambda=0.1,
00082                          double sigma=3.0, bool iirF=false, bool colorFlag= false):IFMultiImageOp(1,colorFlag)
00083         {iter= iterations; tau= t; lambda= alambda; sigmaBlur=sigma; iir= iirF; }
00084 virtual ~IFAosTvOp(){}
00085 
00086 
00087 virtual void report(FILE* file){}
00088 };
00089 
00090 
00091 #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