00001 #ifndef __FRegularized1AosOp__ 00002 #define __FRegularized1AosOp__ 00003 00004 00045 #include <stdio.h> 00046 00047 #include "FSimpleAosOp.hpp" 00048 00049 class FRegularized1AosOp : public FSimpleAosOp 00050 { 00051 protected: 00052 00053 // basic filter parameters 00054 00055 bool perceptualFlag; 00056 00057 int psfSize; 00058 float alpha; 00059 00060 FImage* I0; 00061 00062 00063 public: 00064 00065 FRegularized1AosOp(int iterations=1, int psfsz=5, float t=10.0, 00066 float deltaGradient=1.0, float aalpha=0.01, float asigma=0.25, 00067 bool perceptual= true, bool nonLinearFlag=true); 00068 virtual ~FRegularized1AosOp(){} 00069 00070 virtual void setI0(FImage* Istart){ I0= Istart; } 00071 00072 // single shot filtering 00073 virtual FImage* filter(FImage* src, FImage* dest=0); 00074 virtual FImage* selectedFilter(AnImage* mask, FImage* src, FImage* dest=0); 00075 00076 virtual void report(FILE* file){ fprintf(file,"Real Regularized Aos Operator\n"); } 00077 }; 00078 00079 00080 #endif