projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Interim work on creating projections from an imagefile
[ctsim.git]
/
tools
/
phm2helix.cpp
diff --git
a/tools/phm2helix.cpp
b/tools/phm2helix.cpp
index 93a8390f56bc86614e5170d01626280f74f29ffa..5ead089814673a9678415ae5f1ca5648411925a2 100644
(file)
--- a/
tools/phm2helix.cpp
+++ b/
tools/phm2helix.cpp
@@
-281,7
+281,7
@@
phm2helix_main (int argc, char* const argv[])
if (stat != 0 )
std::cerr << "Error executing external phantom program " << opt_PhmProg << " with command " << extcommand << std::endl;
if (stat != 0 )
std::cerr << "Error executing external phantom program " << opt_PhmProg << " with command " << extcommand << std::endl;
- phm.createFromFile (opt_PhmFileName.c_str());
+ phm.createFrom
Phm
File (opt_PhmFileName.c_str());
remove(opt_PhmFileName.c_str());
Scanner scanner (phm, optGeometryName.c_str(), opt_ndet, opt_nview,
remove(opt_PhmFileName.c_str());
Scanner scanner (phm, optGeometryName.c_str(), opt_ndet, opt_nview,
@@
-309,7
+309,7
@@
phm2helix_main (int argc, char* const argv[])
if (stat != 0 )
std::cerr << "Error executing external phantom program " << opt_PhmProg << " with command " << extcommand << std::endl;
Phantom phmtmp;
if (stat != 0 )
std::cerr << "Error executing external phantom program " << opt_PhmProg << " with command " << extcommand << std::endl;
Phantom phmtmp;
- phmtmp.createFromFile (opt_PhmFileName.c_str());
+ phmtmp.createFrom
Phm
File (opt_PhmFileName.c_str());
scanner.collectProjections (pjGlobal, phmtmp, iView,
1, scanner.offsetView(), true, opt_trace);
scanner.collectProjections (pjGlobal, phmtmp, iView,
1, scanner.offsetView(), true, opt_trace);