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.
** 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
** 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
{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
if (opt_verbose) {
ostringstream os;
pjGlobal.printScanInfo(os);
- cout << os;
+ cout << os.str();
}
Projections pjLocal (scanner);
** 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
{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)
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];