X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fbackprojectors.cpp;fp=libctsim%2Fbackprojectors.cpp;h=825b1e33195c59ab837694879dff4e4c8f6ade4a;hp=06ad159b9d9577d73f099aee7a9586a3e19b6052;hb=d16eb37cbc73f67fc29a60645e0b1ac7fe32767e;hpb=663448e3173a19f054952806d8f8eca2fe59ec90 diff --git a/libctsim/backprojectors.cpp b/libctsim/backprojectors.cpp index 06ad159..825b1e3 100644 --- a/libctsim/backprojectors.cpp +++ b/libctsim/backprojectors.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: backprojectors.cpp,v 1.31 2001/03/11 15:27:30 kevin Exp $ +** $Id: backprojectors.cpp,v 1.32 2001/03/18 18:08:25 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 @@ -313,6 +313,9 @@ Backproject::Backproject (const Projections& proj, ImageFile& im, int interpType xInc = (xMax - xMin) / nx; // size of cells yInc = (yMax - yMin) / ny; + im.setAxisIncrement (xInc, yInc); + im.setAxisExtent (xMin, xMax, yMin, yMax); + m_dFocalLength = proj.focalLength(); m_dSourceDetectorLength = proj.sourceDetectorLength(); }