- fprintf(stdout,"phm2sdf_usage: %s outfile nx ny [--phantom phantom-name] [--phmfile filename] [--filter filter-name] [OPTIONS]\n",kbasename(program));
- fprintf(stdout,"Generate phantom image from a predefined --phantom or a --phmfile\n");
- fprintf(stdout,"\n");
- fprintf(stdout," outfile Name of output file for image\n");
- fprintf(stdout," nx Number of pixels X-axis\n");
- fprintf(stdout," ny Number of pixels Y-axis\n");
- fprintf(stdout," --phantom Phantom to use for projection\n");
- fprintf(stdout," herman Herman head phantom\n");
- fprintf(stdout," rowland Rowland head phantom\n");
- fprintf(stdout," browland Bordered Rowland head phantom\n");
- fprintf(stdout," unitpulse Unit pulse phantom\n");
- fprintf(stdout," --phmfile Generate Phantom from phantom file\n");
- fprintf(stdout," --filter Generate Phantom from a filter function\n");
- fprintf(stdout," abs_bandlimit Abs * Bandlimiting\n");
- fprintf(stdout," abs_sinc Abs * Sinc\n");
- fprintf(stdout," abs_cos Abs * Cosine\n");
- fprintf(stdout," abs_hamming Abs * Hamming\n");
- fprintf(stdout," shepp Shepp-Logan\n");
- fprintf(stdout," bandlimit Bandlimiting\n");
- fprintf(stdout," sinc Sinc\n");
- fprintf(stdout," cos Cosine\n");
- fprintf(stdout," triangle Triangle\n");
- fprintf(stdout," hamming Hamming\n");
- fprintf(stdout," --filter-param Alpha level for Hamming filter\n");
- fprintf(stdout," --filter-domain Set domain of filter\n");
- fprintf(stdout," spatial Spatial domain (default)\n");
- fprintf(stdout," freq Frequency domain\n");
- fprintf(stdout," --filter-bw Filter bandwidth (default = 1)\n");
- fprintf(stdout," --desc Description of raysum\n");
- fprintf(stdout," --nsample Number of samples per axis per pixel (default = 1)\n");
- fprintf(stdout," --trace Trace level to use\n");
- fprintf(stdout," none No tracing (default)\n");
- fprintf(stdout," text Trace text level\n");
- fprintf(stdout," phm Trace phantom\n");
- fprintf(stdout," rays Trace rays\n");
- fprintf(stdout," plot Trace plot\n");
- fprintf(stdout," clipping Trace clipping\n");
- fprintf(stdout," --debug Debug mode\n");
- fprintf(stdout," --verbose Verbose mode\n");
- fprintf(stdout," --version Print version\n");
- fprintf(stdout," --help Print this help message\n");
+ cout << "phm2if_usage: " << fileBasename(program) << " outfile nx ny [--phantom phantom-name] [--phmfile filename] [--filter filter-name] [OPTIONS]" << endl;
+ cout << "Generate phantom image from a predefined --phantom or a --phmfile" << endl;
+ cout << endl;
+ cout << " outfile Name of output file for image" << endl;
+ cout << " nx Number of pixels X-axis" << endl;
+ cout << " ny Number of pixels Y-axis" << endl;
+ cout << " --phantom Phantom to use for projection" << endl;
+ cout << " herman Herman head phantom" << endl;
+ cout << " rowland Rowland head phantom" << endl;
+ cout << " browland Bordered Rowland head phantom" << endl;
+ cout << " unitpulse Unit pulse phantom" << endl;
+ cout << " --phmfile Generate Phantom from phantom file" << endl;
+ cout << " --filter Generate Phantom from a filter function" << endl;
+ cout << " abs_bandlimit Abs * Bandlimiting" << endl;
+ cout << " abs_sinc Abs * Sinc" << endl;
+ cout << " abs_cos Abs * Cosine" << endl;
+ cout << " abs_hamming Abs * Hamming" << endl;
+ cout << " shepp Shepp-Logan" << endl;
+ cout << " bandlimit Bandlimiting" << endl;
+ cout << " sinc Sinc" << endl;
+ cout << " cos Cosine" << endl;
+ cout << " triangle Triangle" << endl;
+ cout << " hamming Hamming" << endl;
+ cout << " --filter-param Alpha level for Hamming filter" << endl;
+ cout << " --filter-domain Set domain of filter" << endl;
+ cout << " spatial Spatial domain (default)" << endl;
+ cout << " freq Frequency domain" << endl;
+ cout << " --filter-bw Filter bandwidth (default = 1)" << endl;
+ cout << " --desc Description of raysum" << endl;
+ cout << " --nsample Number of samples per axis per pixel (default = 1)" << endl;
+ cout << " --trace Trace level to use" << endl;
+ cout << " none No tracing (default)" << endl;
+ cout << " text Trace text level" << endl;
+ cout << " phm Trace phantom" << endl;
+ cout << " rays Trace rays" << endl;
+ cout << " plot Trace plot" << endl;
+ cout << " clipping Trace clipping" << endl;
+ cout << " --debug Debug mode" << endl;
+ cout << " --verbose Verbose mode" << endl;
+ cout << " --version Print version" << endl;
+ cout << " --help Print this help message" << endl;