00001 #ifndef __FGradientOp__ 00002 #define __FGradientOp__ 00003 00004 00005 00024 #include <stdio.h> 00025 00026 #include "RGradientOp.hpp" 00027 #include "AbsFImageFilter.hpp" 00028 00029 00030 00031 class FGradientOp : public AbsFImageFilter 00032 { 00033 private: 00034 00035 Direction direction; 00036 00037 public: 00038 00039 FGradientOp(Direction dir=Norme2){ direction=dir; } 00040 virtual ~FGradientOp(){} 00041 00042 // single shot filtering 00043 virtual FImage* filter(FImage* src, FImage* dest=0); 00044 virtual FImage* selectedFilter(AnImage* mask, FImage* src, FImage* dest=0); 00045 00046 virtual void report(FILE* file){ fprintf(file,"Real Gradient Operator\n"); } 00047 }; 00048 00049 00050 #endif