From 17769327fd2f5f84a867532c04864864e23f4238 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Wed, 22 Nov 2000 07:18:46 +0000 Subject: [PATCH] r207: *** empty log message *** --- configure.in | 2 +- libctsim/imagefile.cpp | 2 +- tools/phm2pj.cpp | 6 +++--- tools/pj2if.cpp | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.in b/configure.in index c078d99..760a69c 100644 --- a/configure.in +++ b/configure.in @@ -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. diff --git a/libctsim/imagefile.cpp b/libctsim/imagefile.cpp index a98f3e1..20946ae 100644 --- a/libctsim/imagefile.cpp +++ b/libctsim/imagefile.cpp @@ -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 diff --git a/tools/phm2pj.cpp b/tools/phm2pj.cpp index af8e1f9..c5fa76e 100644 --- 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 ** -** $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); diff --git a/tools/pj2if.cpp b/tools/pj2if.cpp index b9bd2e9..fb3277a 100644 --- a/tools/pj2if.cpp +++ b/tools/pj2if.cpp @@ -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]; -- 2.34.1