X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2FpjHinterp.cpp;h=dc2b0e94457f81a7b5075bc8d23a19b9d7527601;hp=2f0b9dfeecd05537dfdf180f0cb9d2ef46abf90b;hb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac;hpb=b8684b11cc5a573c333bb5ddee682b323005a91a diff --git a/tools/pjHinterp.cpp b/tools/pjHinterp.cpp index 2f0b9df..dc2b0e9 100644 --- a/tools/pjHinterp.cpp +++ b/tools/pjHinterp.cpp @@ -9,7 +9,7 @@ * ** This is part of the CTSim program * ** Copyright (C) 1983-2000 Kevin Rosenberg * ** -* ** $Id: pjHinterp.cpp,v 1.2 2002/05/01 14:33:59 kevin Exp $ +* ** $Id$ * ** * ** 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 @@ -43,25 +43,21 @@ static struct option my_options[] = {0, 0, 0, 0} }; -static const char* g_szIdStr = "$Id: pjHinterp.cpp,v 1.2 2002/05/01 14:33:59 kevin Exp $"; +static const char* g_szIdStr = "$Id$"; void pjHinterp_usage ( const char *program ) { - std::cout << "usage: " << fileBasename(program) << " raysum-file interp-raysum-file [OPTIONS]" << std::endl; + std::cout << "usage: " << fileBasename(program) << " projection-file interp-projection-file [OPTIONS]" << std::endl; std::cout << "Interpolation of helical data in raw data space" << std::endl; - std::cout << " raysum-file Input raysum file" << std::endl; - std::cout << " interp-file Output interpolated raysum file " << std::endl; - std::cout << " --trace Set tracing to level" << std::endl; - std::cout << " none No tracing (default)" << std::endl; - std::cout << " console Text level tracing" << std::endl; - std::cout << " phantom Trace phantom" << std::endl; - std::cout << " proj Trace allrays" << std::endl; - std::cout << " plot Trace plotting" << std::endl; - std::cout << " clipping Trace clipping" << std::endl; - std::cout << " --verbose Turn on verbose mode" << std::endl; - std::cout << " --debug Turn on debug mode" << std::endl; - std::cout << " --version Print version" << std::endl; - std::cout << " --help Print this help message" << std::endl; + std::cout << " projection-file Input projection file" << std::endl; + std::cout << " interp-file Output interpolated projection file " << std::endl; + std::cout << " --trace Set tracing to level" << std::endl; + std::cout << " none No tracing (default)" << std::endl; + std::cout << " console Text level tracing" << std::endl; + std::cout << " --verbose Turn on verbose mode" << std::endl; + std::cout << " --debug Turn on debug mode" << std::endl; + std::cout << " --version Print version" << std::endl; + std::cout << " --help Print this help message" << std::endl; } @@ -141,7 +137,7 @@ pjHinterp_main(int argc, char * const argv[]) return (1); } if (bOptVerbose) { - ostringstream os; + std::ostringstream os; projections.printScanInfo(os); std::cout << os.str(); }