X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tools%2FpjHinterp.cpp;h=db95ceeb1b8627c214b2bd49799f32b5f0801863;hb=87ab55294bcd767d86786ad1caae8b1b36b49de0;hp=2f0b9dfeecd05537dfdf180f0cb9d2ef46abf90b;hpb=b8684b11cc5a573c333bb5ddee682b323005a91a;p=ctsim.git diff --git a/tools/pjHinterp.cpp b/tools/pjHinterp.cpp index 2f0b9df..db95cee 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: pjHinterp.cpp,v 1.4 2002/06/20 08:22:48 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 @@ -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: pjHinterp.cpp,v 1.4 2002/06/20 08:22:48 kevin Exp $"; 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(); }