r646: Reworked EZPlotDialog compilation
[ctsim.git] / libctsim / projections.cpp
index 968ee0ec48b1bdb807362ead34d0e187384da5bf..e5c79e7364f67a15a0a1ec5ce4b08f01ed0d2df7 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: projections.cpp,v 1.71 2001/03/28 16:53:43 kevin Exp $
+**  $Id: projections.cpp,v 1.72 2001/03/29 21:25:49 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
@@ -764,9 +764,8 @@ Projections::convertFFTPolar (ImageFile& rIF, int iInterpolationID, int iZeropad
     DetectorValue* detval = getDetectorArray(iView).detValues();
     LinearInterpolator<DetectorValue> projInterp (detval, m_nDet);
     for (unsigned int iDet = 0; iDet < iInterpDet; iDet++) {
-//      double dInterpPos = iInterpDet * dInterpScale;
       double dInterpPos = (m_nDet / 2.) + (iDet - dMidPoint) * dInterpScale;
-      pcIn[iDet].re = projInterp.interpolate (dInterpPos) * PI * SQRT2;
+      pcIn[iDet].re = projInterp.interpolate (dInterpPos) * dInterpScale;
       pcIn[iDet].im = 0;
     }
     Fourier::shuffleFourierToNaturalOrder (pcIn, iInterpDet);