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

FDistanceFastSweepingOp.hpp

00001 #ifndef __FDistanceFastSweepingOp__
00002 #define __FDistanceFastSweepingOp__
00003 
00004 
00005 
00034 #include <stdio.h>
00035 #include <math.h>
00036 
00037 #include "AbsFEikonalFastSweepingOp.hpp"
00038 
00039 
00040 class FDistanceFastSweepingOp : public  AbsFEikonalFastSweepingOp
00041 {
00042 protected:
00043 
00044 float   R;              // HJ model
00045 
00046 protected:
00047 
00048 virtual float getPotential_h(int i, int j){ return R; }   // fXY*h= 1.0*1.0             Distance map
00049 
00050 public:
00051         
00052 FDistanceFastSweepingOp(int iter=1, float Rx=1.0 ):AbsFEikonalFastSweepingOp(iter, 1.0){ R=Rx; }
00053 virtual ~FDistanceFastSweepingOp(){}
00054 
00055 virtual void report(FILE* file){ fprintf(file,"Distance Fast Sweeping Operator\n"); }
00056 };
00057 
00058 
00059 #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