r207: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 22 Nov 2000 07:18:46 +0000 (07:18 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 22 Nov 2000 07:18:46 +0000 (07:18 +0000)
configure.in
libctsim/imagefile.cpp
tools/phm2pj.cpp
tools/pj2if.cpp

index c078d99080e907dc5e3020b3a51ed0bbaeeebf37..760a69c0ef9f0e9c4d6a75d966889aa88a505d1c 100644 (file)
@@ -4,7 +4,7 @@ dnl Must reset CDPATH so that bash's cd does not print to stdout
 dnl CDPATH=
 
 AC_INIT(src/ctsim.cpp)
-AM_INIT_AUTOMAKE(ctsim,2.0.2)
+AM_INIT_AUTOMAKE(ctsim,2.0.3)
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
index a98f3e16fdf44b73ee025127ba2d2f6606d0cb2c..20946ae77ae25b4d99c51f19c2e63642709d13ea 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: imagefile.cpp,v 1.13 2000/11/22 06:43:21 kevin Exp $
+**  $Id: imagefile.cpp,v 1.14 2000/11/22 07:17:06 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
index af8e1f9448b6fcbc488d1ff5723fccd5bb2614a2..c5fa76ea997a8c4f8b7aa3d248ea2a5ae50a20bc 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: phm2pj.cpp,v 1.13 2000/11/09 00:12:25 kevin Exp $
+**  $Id: phm2pj.cpp,v 1.14 2000/11/22 07:17:06 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
@@ -50,7 +50,7 @@ static struct option phm2pj_options[] =
   {0, 0, 0, 0}
 };
 
-static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.13 2000/11/09 00:12:25 kevin Exp $";
+static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.14 2000/11/22 07:17:06 kevin Exp $";
 
 
 void 
@@ -299,7 +299,7 @@ phm2pj_main (int argc, char* argv[])
   if (opt_verbose) {
     ostringstream os;
     pjGlobal.printScanInfo(os);
-    cout << os;
+    cout << os.str();
   }
 
   Projections pjLocal (scanner);
index b9bd2e9e6987c4d8c48b77454f715b05207feb63..fb3277a8349d386f97a3f170127af6894eef7a3e 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: pj2if.cpp,v 1.4 2000/08/31 08:38:58 kevin Exp $
+**  $Id: pj2if.cpp,v 1.5 2000/11/22 07:17:06 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
@@ -47,7 +47,7 @@ static struct option my_options[] =
   {0, 0, 0, 0}
 };
 
-static const char* g_szIdStr = "$Id: pj2if.cpp,v 1.4 2000/08/31 08:38:58 kevin Exp $";
+static const char* g_szIdStr = "$Id: pj2if.cpp,v 1.5 2000/11/22 07:17:06 kevin Exp $";
 
 void 
 pj2if_usage (const char *program)
@@ -130,7 +130,7 @@ pj2if_main (const int argc, char *const argv[])
   ImageFileArray v = im.getArray();
 
   for (int iy = 0; iy < pj.nView(); iy++) {
-    const DetectorArray& detarray = pj.getDetectorArray (iy);
+    const DetectorArray& detarray = pj.getDetectorArray (pj.nView() - iy - 1);
     const DetectorValue* detval = detarray.detValues();
     for (int ix = 0; ix < pj.nDet(); ix++) {
       v[ix][iy] = detval[ix];