X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tools%2Fpjrec.cpp;h=03ee9e874520770e76e160dc5673a739c0165708;hb=286d655a25df2668bd65ad365676c6ecc94415a1;hp=dd4ad81b6695334ecf4daa1506f36fb3bb4407d8;hpb=27a474e0622ebb7229fd5705552021f63d8f932d;p=ctsim.git diff --git a/tools/pjrec.cpp b/tools/pjrec.cpp index dd4ad81..03ee9e8 100644 --- a/tools/pjrec.cpp +++ b/tools/pjrec.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: pjrec.cpp,v 1.3 2000/07/20 11:17:31 kevin Exp $ +** $Id: pjrec.cpp,v 1.5 2000/07/22 15:45:33 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 @@ -131,10 +131,10 @@ pjrec_main (int argc, char * argv[]) int optZeroPad = 0; 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 optFilterName (SignalFilter::convertFilterIDToName (SignalFilter::FILTER_ABS_BANDLIMIT)); + string optFilterMethodName (SignalFilter::convertFilterMethodIDToName (SignalFilter::FILTER_METHOD_CONVOLUTION)); + string optInterpName (Backprojector::convertInterpIDToName (Backprojector::INTERP_LINEAR)); + string optBackprojName (Backprojector::convertBackprojectIDToName (Backprojector::BPROJ_IDIFF3)); int optPreinterpolationFactor = 1; int nx, ny; #ifdef HAVE_MPI @@ -239,7 +239,7 @@ pjrec_main (int argc, char * argv[]) filterDesc << optFilterName; ostringstream label; - label << "pjrec: " << nx << "x" << ny << ", " << filterDesc.str() << ", " << optInterpName << ", preinterpolation=" << optPreinterpolationFactor << ", " << optBackprojName; + label << "pjrec: " << nx << "x" << ny << ", " << filterDesc.str() << ", " << optInterpName << ", preinterpolationFactor=" << optPreinterpolationFactor << ", " << optBackprojName; remark = label.str(); if (optVerbose)