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

ICoherenceEnhBilateralOp.hpp

00001 #ifndef __ICoherenceEnhBilateralOp__
00002 #define __ICoherenceEnhBilateralOp__
00003 
00029 #include <stdio.h>
00030 
00031 #include "IMultiImageOp.hpp"
00032 
00033 #include "Real3CImage.hpp"
00034 
00035 
00036 class ICoherenceEnhBilateralOp: public IMultiImageOp 
00037 {
00038 private:
00039 
00040 double          alpha;
00041 
00042 int                     S;
00043 
00044 double          sigmaD;
00045 double          sigmaR;
00046 
00047 
00048 protected:
00049 
00050 // mono channel
00051 
00052 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0);
00053 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0);
00054 
00055 // separate color channels
00056 
00057 virtual Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0);
00058 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0);
00059 
00060 
00061 // separate color channels
00062 
00063 virtual Real3CImage* fcolorFilter(Real3CImage* src, Real3CImage* dest=0);
00064 virtual Real3CImage* fcolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0);
00065 
00066 public:
00067         
00068 ICoherenceEnhBilateralOp(double alpha0=0.01, double sigD=5.0, double sigR=30.0, int windowSize=15)
00069         :IMultiImageOp(1,true)
00070         {alpha= alpha0; S= windowSize; sigmaD= sigD; sigmaR=sigR; }
00071 virtual ~ICoherenceEnhBilateralOp(){}
00072 
00073 
00074 virtual void report(FILE* file){}
00075 };
00076 
00077 
00078 #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