00001 #ifndef __IEikonalFastSweepingOp__ 00002 #define __IEikonalFastSweepingOp__ 00003 00004 00005 00032 #include "AnImage.hpp" 00033 #include "FImage.hpp" 00034 #include "RImage.hpp" 00035 00036 #include "AnImageOp.hpp" 00037 00038 00039 00040 class IEikonalFastSweepingOp : public AnImageOp 00041 { 00042 protected: 00043 00044 double R; 00045 00046 int iterMax; 00047 int width; 00048 int height; 00049 00050 public: 00051 00052 IEikonalFastSweepingOp(int iter=2, double Rx=1.0) 00053 { R=Rx; iterMax=iter;} 00054 virtual ~IEikonalFastSweepingOp(){ } 00055 00056 00058 virtual AnImage* filter(AnImage* mask, AnImage* dest=0); 00059 virtual AnImage* selectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00060 00062 virtual FImage* ffilter(AnImage* mask, FImage* dest=0, bool dmapFlag=false); 00063 virtual RImage* rfilter(AnImage* mask, RImage* dest=0, bool dmapFlag=false); 00064 00065 virtual void report(){} 00066 }; 00067 00068 #endif