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

ISimpleExtensionOp.hpp

00001 #ifndef __ISimpleExtensionOp__
00002 #define __ISimpleExtensionOp__
00003 
00004 
00005 
00026 #include <stdio.h>
00027 
00028 #include "ISimpleMorphologicalOp.hpp"
00029 
00030 #include "ISimpleDilatationOp.hpp"
00031 
00032 class ISimpleExtensionOp : public ISimpleMorphologicalOp
00033 {
00034 protected:
00035 
00036 ISimpleDilatationOp     dilatation;     
00037 
00038 public:
00039         
00040 ISimpleExtensionOp(int n, int greyFg):dilatation(n,greyFg){}
00041 ISimpleExtensionOp(int n, int red, int green, int blue)
00042         :dilatation(n, red, green, blue){}
00043 virtual ~ISimpleExtensionOp(){}
00044 
00045 virtual void setIterations(int iter){dilatation.setIterations(iter); }
00046 
00047 virtual void setSource(AnImage* src){dilatation.setSource(src);}
00048 
00049 virtual AnImage* filter(AnImage* src, AnImage* dest=0);
00050 
00051 virtual void report(FILE* file){}
00052 };
00053 
00054 
00055 #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