48 std::string class_name;
53 class_name =
"Cpeak_interp";
57 virtual void sub_pixel(CImg<T> &img) = 0;
59 void interp(
const T ¤t,
const T &previous,
const T &next, T &intPos)
63 if (2*previous+2*next-4*current!=0)
65 intPos += (previous-next)/(2*previous+2*next-4*current);
Definition: Cpeak_interp.h:43
Definition: Cpeak_subPix.h:42