X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fbackprojectors.h;h=8fbb06b86382652f2af15fbc3cefd328ef646120;hp=4ee4ebbbe09ddb947c7da086491173d77c8b2148;hb=d3fa225aa232e132cc198672c4fc148f96a1ab8c;hpb=dc034c9d0b7d9c3874a324a4c2c189a02945adc8 diff --git a/include/backprojectors.h b/include/backprojectors.h index 4ee4ebb..8fbb06b 100644 --- a/include/backprojectors.h +++ b/include/backprojectors.h @@ -7,9 +7,9 @@ ** Date Started: June 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: backprojectors.h,v 1.18 2000/12/16 06:12:47 kevin Exp $ +** $Id: backprojectors.h,v 1.21 2001/02/11 04:56:37 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -45,13 +45,12 @@ class Backprojector static const int BPROJ_TRIG; static const int BPROJ_TABLE; static const int BPROJ_DIFF; - static const int BPROJ_DIFF2; - static const int BPROJ_IDIFF2; - static const int BPROJ_IDIFF3; + static const int BPROJ_IDIFF; static const int INTERP_INVALID; static const int INTERP_NEAREST; static const int INTERP_LINEAR; + static const int INTERP_CUBIC; static const int INTERP_FREQ_PREINTERPOLATION; #if HAVE_BSPLINE_INTERP static const int INTERP_BSPLINE; @@ -181,31 +180,11 @@ class BackprojectDiff : public Backproject double im_xinc, im_yinc; }; -class BackprojectDiff2 : public BackprojectDiff -{ - public: - BackprojectDiff2 (const Projections& proj, ImageFile& im, int interpID, const int interpFactor) - : BackprojectDiff (proj, im, interpID, interpFactor) - {} - - void BackprojectView (const double* const t, const double view_angle); -}; - -class BackprojectIntDiff2 : public BackprojectDiff -{ - public: - BackprojectIntDiff2 (const Projections& proj, ImageFile& im, int interpID, const int interpFactor) - : BackprojectDiff (proj, im, interpID, interpFactor) - {} - - void BackprojectView (const double* const t, const double view_angle); -}; - -class BackprojectIntDiff3 : public BackprojectDiff +class BackprojectIntDiff : public BackprojectDiff { public: - BackprojectIntDiff3 (const Projections& proj, ImageFile& im, int interpID, const int interpFactor) + BackprojectIntDiff (const Projections& proj, ImageFile& im, int interpID, const int interpFactor) : BackprojectDiff (proj, im, interpID, interpFactor) {}