projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b031e60
)
r401: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 13 Jan 2001 22:30:01 +0000
(22:30 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 13 Jan 2001 22:30:01 +0000
(22:30 +0000)
libctsim/projections.cpp
patch
|
blob
|
history
diff --git
a/libctsim/projections.cpp
b/libctsim/projections.cpp
index 995c1649ec5327da84ad3890d3d6ad12e003b622..b5db204b35888db4299006b8d3c1b7e82661a593 100644
(file)
--- a/
libctsim/projections.cpp
+++ b/
libctsim/projections.cpp
@@
-8,7
+8,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: projections.cpp,v 1.4
3 2001/01/12 16:41:56
kevin Exp $
+** $Id: projections.cpp,v 1.4
4 2001/01/13 22:30:01
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 program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-687,7
+687,8
@@
Projections::convertPolar (ImageFile& rIF, int iInterpolationID)
calcArrayPolarCoordinates (nx, ny, ppdView, ppdDet);
std::complex<double>** ppcDetValue = new std::complex<double>* [m_nView];
calcArrayPolarCoordinates (nx, ny, ppdView, ppdDet);
std::complex<double>** ppcDetValue = new std::complex<double>* [m_nView];
- for (unsigned int iView = 0; iView < m_nView; iView++) {
+ unsigned int iView;
+ for (iView = 0; iView < m_nView; iView++) {
ppcDetValue[iView] = new std::complex<double> [m_nDet];
for (unsigned int iDet = 0; iDet < m_nDet; iDet++)
ppcDetValue[iView][iDet] = std::complex<double>(getDetectorArray (iView).detValues()[iDet], 0);
ppcDetValue[iView] = new std::complex<double> [m_nDet];
for (unsigned int iDet = 0; iDet < m_nDet; iDet++)
ppcDetValue[iView][iDet] = std::complex<double>(getDetectorArray (iView).detValues()[iDet], 0);