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