X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Freconstruct.cpp;h=0c5cf0eb925c4e2a2a25028d637766856d422d2e;hb=52f2fdc3424cd6b5b77ad1497243e1e06739ffe6;hp=7bc6a833c6b39b873c3711315f25bcf93ccf6411;hpb=3f6c94c6bd432ad7b7a55ad991d3b8223fb44f18;p=ctsim.git diff --git a/libctsim/reconstruct.cpp b/libctsim/reconstruct.cpp index 7bc6a83..0c5cf0e 100644 --- a/libctsim/reconstruct.cpp +++ b/libctsim/reconstruct.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: reconstruct.cpp,v 1.13 2001/02/20 04:48:45 kevin Exp $ +** $Id: reconstruct.cpp,v 1.15 2001/03/01 07:30: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 @@ -71,7 +71,7 @@ Reconstructor::Reconstructor (const Projections& rProj, ImageFile& rIF, const ch double filterBW = 1. / m_rProj.detInc(); m_pProcessSignal = new ProcessSignal (filterName, filterMethodName, filterBW, m_rProj.detInc(), m_rProj.nDet(), filt_param, "spatial", filterGenerationName, zeropad, interpFactor, iTrace, - m_rProj.geometry(), m_rProj.focalLength(), pSGP); + m_rProj.geometry(), m_rProj.focalLength(), m_rProj.sourceDetectorLength(), pSGP); if (m_pProcessSignal->fail()) { m_bFail = true; @@ -139,7 +139,13 @@ void Reconstructor::reconstructAllViews () { reconstructView (0, m_rProj.nView()); - delete m_pBackprojector; m_pBackprojector = NULL; + postProcessing(); +} + +void +Reconstructor::postProcessing() +{ + m_pBackprojector->PostProcessing(); }