00001 #ifndef __FDistanceAosBarashOp__ 00002 #define __FDistanceAosBarashOp__ 00003 00004 00044 #include <stdio.h> 00045 00046 #include "FDistRegularized1AosOp.hpp" 00047 00048 00049 class FDistanceAosBarashOp : public FDistRegularized1AosOp 00050 { 00051 protected: 00052 00053 float cinv; // 1/c 00054 00055 protected: 00056 00057 virtual float getTau(int x, int y); // modulate tau with distance to feature 00058 virtual float g(int i, int j); 00059 00060 public: 00061 00062 FDistanceAosBarashOp(FImage* edgeDistance=0, int psfSz=7, int iterations=8, float t0= 0.0, float tMax=20.0, 00063 float aalpha=0.008, float asigma=0.25, float c1=0.333, bool nonLinearFlag=true); 00064 virtual ~FDistanceAosBarashOp(){} 00065 00066 00067 virtual void report(FILE* file){ fprintf(file,"Real Aos Barash Operator\n"); } 00068 }; 00069 00070 00071 #endif