r158: *** empty log message ***
[ctsim.git] / tools / phm2if.cpp
index ce522b98ac13c00ffb2f880693f2fe7e4488a247..1e6992efd1766638a12f0fb50c145d3d35168be7 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: phm2if.cpp,v 1.2 2000/07/20 11:17:31 kevin Exp $
+**  $Id: phm2if.cpp,v 1.3 2000/07/22 15:45:33 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
@@ -108,9 +108,9 @@ phm2if_main (int argc, char* argv[])
   Phantom phm;
   int opt_nx = 0, opt_ny = 0;
   int opt_nsample = 1;
-  string optPhmName = Phantom::PHM_HERMAN_STR;
+  string optPhmName (Phantom::convertPhantomIDToName(Phantom::PHM_HERMAN));
   string optFilterName;
-  string optDomainName = SignalFilter::DOMAIN_SPATIAL_STR;
+  string optDomainName (SignalFilter::convertDomainIDToName (SignalFilter::DOMAIN_SPATIAL));
   char *opt_outfile = NULL;
   int opt_debug = 0;
   string opt_desc;