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

IPixelLabelMappingOp.hpp

00001 #ifndef __IPixelLabelMappingOp__
00002 #define __IPixelLabelMappingOp__
00003 
00004 
00005 
00023 #include <stdio.h>
00024 
00025 #include "AnImageOp.hpp"
00026 
00027 #include "IndependentBayesClassifier.hpp"
00028 
00029 
00030 class IPixelLabelMappingOp : public AnImageOp
00031 {
00032 public:
00033 
00034 const static int        lookupTable[256][3];
00035 
00036 private:
00037 
00038 IndependentBayesClassifier*     classifier;
00039 
00040 bool    sourceFlag;                     // source is bg
00041 
00042 public:
00043         
00044 IPixelLabelMappingOp(IndependentBayesClassifier*        aclassifier, bool srcFlag=false)
00045 {classifier= aclassifier; sourceFlag= srcFlag;}
00046 virtual ~IPixelLabelMappingOp(){}
00047 
00048 virtual AnImage* filter(AnImage* src, AnImage* dest=0);
00049 
00050 virtual void report(FILE* file){}
00051 };
00052 
00053 
00054 #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