00001 #ifndef __SelectiveShockFilter__ 00002 #define __SelectiveShockFilter__ 00003 00025 #include <stdio.h> 00026 00027 #include "ShockFilter.hpp" 00028 00029 00030 class SelectiveShockFilter : public ShockFilter 00031 { 00032 protected: 00033 00034 double tau; 00035 00036 protected: 00037 00038 virtual double g(double indicator); 00039 00040 virtual void operations(RImage& result); 00041 virtual void operations(AnImage& mask, RImage& result); 00042 00043 public: 00044 00045 SelectiveShockFilter(int n=100, double ralpha=0.2, double atau=50.0); 00046 virtual ~SelectiveShockFilter(){} 00047 00048 virtual void report(FILE* file){} 00049 }; 00050 00051 00052 #endif