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

IPixel2ClassLabellingOp.hpp

00001 #ifndef __IPixel2ClassLabellingOp__
00002 #define __IPixel2ClassLabellingOp__
00003 
00004 
00005 
00025 #include "AnImageOp.hpp"
00026 #include "BiPartitionBayesClassifier.hpp"
00027 
00028 class IPixel2ClassLabellingOp : public AnImageOp
00029 {
00030 private:
00031 
00032 BiPartitionBayesClassifier*     classifier;
00033 
00034 int                                                     foregroundLabel;
00035 int                                                     newValue;
00036 
00037 public:
00038 IPixel2ClassLabellingOp(BiPartitionBayesClassifier*     aclassifier, int foreground=1, int newValue=255);
00039 virtual ~IPixel2ClassLabellingOp(){}
00040 
00041 AnImage* filter(AnImage* src, AnImage* dest=0);
00042 
00043 virtual void report(FILE* file){}
00044 };
00045 
00046 #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