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

RSharpenOp.hpp

00001 #ifndef __RSharpenOp__
00002 #define __RSharpenOp__
00003 
00004 
00005 
00024 #include <stdio.h>
00025 
00026 #include "AbsRImageFilter.hpp"
00027 
00028 class RSharpenOp : public  AbsRImageFilter
00029 {
00030 private:
00031 
00032 int             type;
00033 int             iterations;
00034 double  alpha;
00035 
00036 public:
00037         
00038 RSharpenOp(int iter){type=1; alpha=0.1; iterations=iter;}
00039 RSharpenOp(double strength, int iter){type=2; alpha=strength; iterations=iter;}
00040 virtual ~RSharpenOp(){}
00041 
00042 // single shot filtering
00043 virtual RImage* filter(RImage* src, RImage* dest=0);
00044 virtual RImage* selectedFilter(AnImage* mask, RImage* src, RImage* dest=0);
00045 
00046 virtual void report(FILE* file){ fprintf(file,"Real Sharpen Operator\n"); }
00047 };
00048 
00049 
00050 #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