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

IAosPeronaOp.hpp

00001 #ifndef __IAosPeronaOp__
00002 #define __IAosPeronaOp__
00003 
00029 #include <stdio.h>
00030 
00031 #include "IMultiImageOp.hpp"
00032 
00033 #include "Real3CImage.hpp"
00034 
00035 
00036 class IAosPeronaOp : public IMultiImageOp 
00037 {
00038 private:
00039 
00040 int                     type;
00041 
00042 int                     iter;
00043 double          tau;
00044 double          sigmaDelta;
00045 double          sigmaBlur;
00046 
00047 bool                    iir;
00048 bool                    nonLinear;
00049 
00050 protected:
00051 
00052 // mono channel
00053 
00054 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0);
00055 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0);
00056 
00057 // separate color channels
00058 
00059 virtual Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0);
00060 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0);
00061 
00062 
00063 // separate color channels
00064 
00065 virtual Real3CImage* fcolorFilter(Real3CImage* src, Real3CImage* dest=0);
00066 virtual Real3CImage* fcolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0);
00067 
00068 public:
00069         
00070 IAosPeronaOp(int atype=0, int iterations=1, double t=0.5, 
00071                         double K=1.0, double sigma=3.0, 
00072         bool iirF=false, bool colorFlag= false, bool nonLinearF=true)
00073         :IMultiImageOp(1,colorFlag)
00074         {type= atype; iter= iterations; tau= t; sigmaDelta= K; sigmaBlur=sigma; 
00075         iir= iirF; nonLinear=nonLinearF; }
00076 virtual ~IAosPeronaOp(){}
00077 
00078 
00079 virtual void report(FILE* file){}
00080 };
00081 
00082 
00083 #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