**
** 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
**
** 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
// If linked to ctsimtext, but executed as another name, eg pjrec, then program will use that
// linked name as name of function.
// If linked to ctsimtext, but executed as another name, eg pjrec, then program will use that
// linked name as name of function.
static const char* const s_szProgramName = "ctsimtext";
extern int if1_main (int argc, char* const argv[]);
static const char* const s_szProgramName = "ctsimtext";
extern int if1_main (int argc, char* const argv[]);
{
std::cout << "usage: " << fileBasename(program) << " ctsim-function-name ctstim-function-parameters...\n";
std::cout << "CTSim text shell\n\n";
{
std::cout << "usage: " << fileBasename(program) << " ctsim-function-name ctstim-function-parameters...\n";
std::cout << "CTSim text shell\n\n";
std::cout << " if1 Single image file conversion\n";
std::cout << " if2 Dual image file conversions\n";
std::cout << " if1 Single image file conversion\n";
std::cout << " if2 Dual image file conversions\n";
- std::cout << " pjrec Projection reconstruction\n";
+ std::cout << " ifexport Export an imagefile to a graphics file\n";
+ std::cout << " ifinfo Image file information\n";
+ std::cout << " pj2if Convert an projection file into an imagefile\n";
std::cout << " phm2if Convert a geometric phantom into an imagefile\n";
std::cout << " phm2pj Take projections of a phantom object\n";
std::cout << " phm2if Convert a geometric phantom into an imagefile\n";
std::cout << " phm2pj Take projections of a phantom object\n";
std::cout << " ifinfo Image file information\n";
std::cout << " if1 Single image file conversion\n";
std::cout << " if2 Dual image file conversions\n";
std::cout << " ifinfo Image file information\n";
std::cout << " if1 Single image file conversion\n";
std::cout << " if2 Dual image file conversions\n";
std::cout << " phm2if Convert a geometric phantom into an imagefile\n";
std::cout << " phm2pj Take projections of a phantom object\n";
std::cout << " phm2if Convert a geometric phantom into an imagefile\n";
std::cout << " phm2pj Take projections of a phantom object\n";
std::cout << " quit Quits shell\n";
std::cout << "All functions accept --help as parameter for online help\n\n";
}
std::cout << " quit Quits shell\n";
std::cout << "All functions accept --help as parameter for online help\n\n";
}
if (strcasecmp (pszFunction, "if1") == 0)
return if1_main (argc, argv);
if (strcasecmp (pszFunction, "if1") == 0)
return if1_main (argc, argv);