** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2if.cpp,v 1.5 2000/08/02 18:06:00 kevin Exp $
+** $Id: phm2if.cpp,v 1.10 2000/08/25 15:59:13 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
{0, 0, 0, 0}
};
-static const char* szIdStr = "$Id";
+static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.10 2000/08/25 15:59:13 kevin Exp $";
void
phm2if_usage (const char *program)
cout << " ny Number of pixels Y-axis" << endl;
cout << " --phantom Phantom to use for projection" << endl;
cout << " herman Herman head phantom" << endl;
- cout << " bherman Bordered Herman head phantom" << endl;
- cout << " rowland Rowland head phantom" << endl;
- cout << " browland Bordered Rowland head phantom" << endl;
+ cout << " herman-b Herman head phantom (Bordered)" << endl;
+ cout << " shepp-logan Shepp-Logan head phantom" << endl;
+ cout << " shepp-logan-b Shepp-Logan head phantom (Bordered)" << endl;
cout << " unitpulse Unit pulse phantom" << endl;
cout << " --phmfile Generate Phantom from phantom file" << endl;
cout << " --filter Generate Phantom from a filter function" << endl;
int optTrace = TRACE_NONE;
bool optVerbose = false;
bool optDebug = false;
+ char *endptr = NULL;
+ char *endstr;
Timer timerProgram;
#ifdef HAVE_MPI
#endif
while (1) {
int c = getopt_long(argc, argv, "", my_options, NULL);
- char *endptr = NULL;
- char *endstr;
-
if (c == -1)
break;
break;
case O_VERSION:
#ifdef VERSION
- cout << "Version " << VERSION << endl;
+ cout << "Version " << VERSION << endl << g_szIdStr << endl;
#else
cerr << "Unknown version number" << endl;
#endif