X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fphm2if.cpp;fp=src%2Fphm2if.cpp;h=60e504b193038f01f3f9658480dce78417bbdc6e;hb=595e63c804284d460ce4d032c3848b75bc57186d;hp=0eb5c9e1ebc544c765b6788db92e2cccf4b5ce5e;hpb=fff4beb84fcc84e65e4feb457e2ed25c7774cff4;p=ctsim.git diff --git a/src/phm2if.cpp b/src/phm2if.cpp index 0eb5c9e..60e504b 100644 --- a/src/phm2if.cpp +++ b/src/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.11 2000/06/19 17:58:13 kevin Exp $ +** $Id: phm2if.cpp,v 1.12 2000/06/19 20:08:09 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 @@ -324,7 +324,7 @@ phm2if_main (int argc, char* argv[]) } } else { TimerCollectiveMPI timerRasterize (mpiWorld.getComm()); - phm_to_imagefile (phm, *imLocal, mpiWorld.getMyStartWorkUnit(), mpiWorld.getMyLocalWorkUnits(), opt_nsample, opt_trace); + phm.convertToImagefile (*imLocal, opt_nsample, opt_trace, mpiWorld.getMyStartWorkUnit(), mpiWorld.getMyLocalWorkUnits()); if (opt_verbose) timerRasterize.timerEndAndReport ("Time to rasterize phantom"); @@ -344,7 +344,7 @@ phm2if_main (int argc, char* argv[]) if (opt_trace >= TRACE_PHM) phm.show(); #endif - phm_to_imagefile (phm, *imGlobal, 0, opt_nx, opt_nsample, opt_trace); + phm.convertToImagefile (*imGlobal, opt_nsample, opt_trace); } #endif