summaryrefslogtreecommitdiffstats
path: root/include/astra/ParallelBeamStripKernelProjector2D.inl
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:12:45 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-04-16 11:12:45 +0000
commit4dfb881ceb82b07630437e952dec62323977ab56 (patch)
treea9afbceda2ca069504cf07a34aeb80e88ce73e9b /include/astra/ParallelBeamStripKernelProjector2D.inl
parent86cf9a0f73ecd204a8b6783c9a2557a640619b2d (diff)
downloadastra-4dfb881ceb82b07630437e952dec62323977ab56.tar.gz
astra-4dfb881ceb82b07630437e952dec62323977ab56.tar.bz2
astra-4dfb881ceb82b07630437e952dec62323977ab56.tar.xz
astra-4dfb881ceb82b07630437e952dec62323977ab56.zip
Fix getting matrix from strip projectors
Diffstat (limited to 'include/astra/ParallelBeamStripKernelProjector2D.inl')
-rw-r--r--include/astra/ParallelBeamStripKernelProjector2D.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/astra/ParallelBeamStripKernelProjector2D.inl b/include/astra/ParallelBeamStripKernelProjector2D.inl
index a9168ee..11a1d54 100644
--- a/include/astra/ParallelBeamStripKernelProjector2D.inl
+++ b/include/astra/ParallelBeamStripKernelProjector2D.inl
@@ -208,7 +208,7 @@ void CParallelBeamStripKernelProjector2D::projectBlock_internal(int _iProjFrom,
updateX = cos_theta * inv_sin_theta;
// loop detectors
- for (iDetector = 0; iDetector < m_pProjectionGeometry->getDetectorCount(); ++iDetector) {
+ for (iDetector = _iDetFrom; iDetector < _iDetTo; ++iDetector) {
iRayIndex = iAngle * m_pProjectionGeometry->getDetectorCount() + iDetector;