r184: *** empty log message ***
[ctsim.git] / libctsim / projections.cpp
index d6b496d23cc27eeb6961955495fe66d56208903b..df7ccd2b03b380372eea0124e471aa8711066cd0 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: projections.cpp,v 1.21 2000/08/22 07:02:48 kevin Exp $
+**  $Id: projections.cpp,v 1.22 2000/08/25 15:59:13 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
@@ -81,8 +81,7 @@ Projections::initFromScanner (const Scanner& scanner)
   m_rotInc = scanner.rotInc();
   m_detInc = scanner.detInc();
   m_rotStart = 0;
-  m_detStart =  -scanner.radius() + (scanner.detInc() / 2);
-  m_phmLen = scanner.phmLen();
+  m_detStart =  -(scanner.detLen() / 2) + (scanner.detInc() / 2);
 }
 
 void
@@ -556,8 +555,6 @@ Projections::reconstruct (ImageFile& im, const char* const filterName, double fi
 
     processSignal.filterSignal (detval, filteredProj);
 
-
-
 #ifdef HAVE_BSPLINE_INTERP
     if (interp_type == I_BSPLINE) 
        bspline (m_nDet, zoom_factor, spline_order, filteredProj, filteredProj);