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