projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r239: *** empty log message ***
[ctsim.git]
/
tools
/
phm2pj.cpp
diff --git
a/tools/phm2pj.cpp
b/tools/phm2pj.cpp
index af8e1f9448b6fcbc488d1ff5723fccd5bb2614a2..f42dd1293d475fe9e20a1050235c98c1cd1a76a3 100644
(file)
--- a/
tools/phm2pj.cpp
+++ b/
tools/phm2pj.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2pj.cpp,v 1.1
3 2000/11/09 00:12:25
kevin Exp $
+** $Id: phm2pj.cpp,v 1.1
6 2000/11/24 12:08:10
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
**
** 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
@@
-50,7
+50,7
@@
static struct option phm2pj_options[] =
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.1
3 2000/11/09 00:12:25
kevin Exp $";
+static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.1
6 2000/11/24 12:08:10
kevin Exp $";
void
void
@@
-72,6
+72,10
@@
phm2pj_usage (const char *program)
cout << " --nray Number of rays per detector (default = 1)\n";
cout << " --rotangle Degrees to rotate view through (multiple of PI)\n";
cout << " (default = 1)\n";
cout << " --nray Number of rays per detector (default = 1)\n";
cout << " --rotangle Degrees to rotate view through (multiple of PI)\n";
cout << " (default = 1)\n";
+ cout << " --geometry Geometry of scanning\n";
+ cout << " parallel Parallel scan beams (default)\n";
+ cout << " equilinear Equilinear divergent scan beams\n";
+ cout << " equiangular Equiangular divergent scan beams\n";
cout << " --focal-length Focal length ratio (ratio to radius of phantom)\n";
cout << " (default = 1)\n";
cout << " --field-of-view Field of view (ratio to diameter of phantom square)\n";
cout << " --focal-length Focal length ratio (ratio to radius of phantom)\n";
cout << " (default = 1)\n";
cout << " --field-of-view Field of view (ratio to diameter of phantom square)\n";
@@
-299,7
+303,7
@@
phm2pj_main (int argc, char* argv[])
if (opt_verbose) {
ostringstream os;
pjGlobal.printScanInfo(os);
if (opt_verbose) {
ostringstream os;
pjGlobal.printScanInfo(os);
- cout << os;
+ cout << os
.str()
;
}
Projections pjLocal (scanner);
}
Projections pjLocal (scanner);