** 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];