X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=df7ccd2b03b380372eea0124e471aa8711066cd0;hp=d6b496d23cc27eeb6961955495fe66d56208903b;hb=1e88cf0f7fa4f690ea9f110e8ed3f2b5338d0a10;hpb=74a34e63a9a356e1467acdba65497ab15190dde0 diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index d6b496d..df7ccd2 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -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);