00001 #ifndef __RGradient2Op__ 00002 #define __RGradient2Op__ 00003 00004 00005 00024 #include <stdio.h> 00025 00026 #include "AbsRImageFilter.hpp" 00027 #include "RGradientOp.hpp" 00028 00036 class RGradient2Op : public AbsRImageFilter 00037 { 00038 private: 00039 00040 Direction direction; 00041 00042 public: 00043 00044 RGradient2Op(Direction dir=Norme2){ direction=dir; } 00045 virtual ~RGradient2Op(){} 00046 00047 // single shot filtering 00048 virtual RImage* filter(RImage* src, RImage* dest=0); 00049 virtual RImage* selectedFilter(AnImage* mask, RImage* src, RImage* dest=0); 00050 00051 virtual void report(FILE* file){ fprintf(file,"Real Gradient2 Operator\n"); } 00052 }; 00053 00054 00055 #endif