X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fpjrec.cpp;h=6f9fb7a3fbc3349a9aa7fa210ee7242ebd2f7951;hb=931ea35fdc3a7e463602644e6938730556bf92a7;hp=b5760a79361252a0047751acdc2e2cc5537b2906;hpb=2f3d6e2580db607105bb072b13e4aff453ae4495;p=ctsim.git diff --git a/src/pjrec.cpp b/src/pjrec.cpp index b5760a7..6f9fb7a 100644 --- a/src/pjrec.cpp +++ b/src/pjrec.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: pjrec.cpp,v 1.1 2000/06/26 21:15:24 kevin Exp $ +** $Id: pjrec.cpp,v 1.3 2000/06/29 12:39:46 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 @@ -114,6 +114,7 @@ pjrec_main (int argc, char * argv[]) int optTrace = TRACE_NONE; double optFilterParam = -1; string optFilterName = SignalFilter::FILTER_ABS_BANDLIMIT_STR; + string optFilterMethodName = SignalFilter::FILTER_METHOD_CONVOLUTION_STR; string optInterpName = Backprojector::INTERP_LINEAR_STR; string optBackprojName = Backprojector::BPROJ_IDIFF2_STR; // string optFilterMethodName = SignalFilter::FILTER_METHOD_CONVOLUTION_STR; @@ -271,7 +272,7 @@ pjrec_main (int argc, char * argv[]) #ifdef HAVE_MPI TimerCollectiveMPI timerReconstruct (mpiWorld.getComm()); - projLocal.reconstruct (*imLocal, optFilterName.c_str(), optFilterParam, optInterpName.c_str(), optInterpParam, optBackprojName.c_str(), optTrace); + projLocal.reconstruct (*imLocal, optFilterName.c_str(), optFilterParam, optFilterMethodName.c_str(), optInterpName.c_str(), optInterpParam, optBackprojName.c_str(), optTrace); if (optVerbose) timerReconstruct.timerEndAndReport ("Time to reconstruct"); @@ -288,7 +289,7 @@ pjrec_main (int argc, char * argv[]) #endif { double calcTime = timerProgram.timerEnd(); - imGlobal->labelAdd (Array2dFileLabel::L_HISTORY, projGlobal.remark(), projGlobal.calcTime()); + imGlobal->labelAdd (projGlobal.getLabel()); imGlobal->labelAdd (Array2dFileLabel::L_HISTORY, remark.c_str(), calcTime); imGlobal->fileWrite (filenameImage); if (optVerbose)