00001 #ifndef __IRegularisedPeronaOp__ 00002 #define __IRegularisedPeronaOp__ 00003 00004 00005 00024 #include <stdio.h> 00025 00026 #include "IMultiImageOp.hpp" 00027 #include "Real3CImage.hpp" 00028 00029 00030 class IRegularisedPeronaOp : public IMultiImageOp 00031 { 00032 protected: 00033 00034 // mono channel 00035 virtual AnImage* greyFilter(AnImage* src, AnImage* dest=0); 00036 virtual AnImage* greySelectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00037 00038 // separate color channels 00039 virtual Real3CImage* scolorFilter(Real3CImage* src, Real3CImage* dest=0); 00040 virtual Real3CImage* scolorSelectedFilter(AnImage* mask, Real3CImage* src, Real3CImage* dest=0); 00041 00042 public: 00043 IRegularisedPeronaOp(int iter=50,bool colorFlag= false):IMultiImageOp(iter,colorFlag){} 00044 virtual ~IRegularisedPeronaOp(){} 00045 00046 virtual void report(FILE* file){} 00047 }; 00048 00049 00050 #endif