diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-09-20 16:45:41 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-09-20 16:45:41 +0200 |
commit | e1a3f0ba1fe7455d0c9183ad07f106aebc1c821f (patch) | |
tree | 28909128e04a5249096b677e8e3e4524481a3c7b /include/astra/ParallelBeamBlobKernelProjector2D.inl | |
parent | 5fba1c8c07a8dc99351edc7c3d3784e01ddf583f (diff) | |
download | astra-e1a3f0ba1fe7455d0c9183ad07f106aebc1c821f.tar.gz astra-e1a3f0ba1fe7455d0c9183ad07f106aebc1c821f.tar.bz2 astra-e1a3f0ba1fe7455d0c9183ad07f106aebc1c821f.tar.xz astra-e1a3f0ba1fe7455d0c9183ad07f106aebc1c821f.zip |
Fix non-square window for CPU projectors
Diffstat (limited to 'include/astra/ParallelBeamBlobKernelProjector2D.inl')
-rw-r--r-- | include/astra/ParallelBeamBlobKernelProjector2D.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/astra/ParallelBeamBlobKernelProjector2D.inl b/include/astra/ParallelBeamBlobKernelProjector2D.inl index a4045dc..67662ad 100644 --- a/include/astra/ParallelBeamBlobKernelProjector2D.inl +++ b/include/astra/ParallelBeamBlobKernelProjector2D.inl @@ -147,7 +147,7 @@ void CParallelBeamBlobKernelProjector2D::projectBlock_internal(int _iProjFrom, i invBlobExtent = m_pVolumeGeometry->getPixelLengthX() / abs(m_fBlobSize * sqrt(proj->fRayY*proj->fRayY + proj->fRayX*proj->fRayX) / proj->fRayX); } - Ex = m_pVolumeGeometry->getWindowMinY() + pixelLengthX*0.5f; + Ex = m_pVolumeGeometry->getWindowMinX() + pixelLengthX*0.5f; Ey = m_pVolumeGeometry->getWindowMaxY() - pixelLengthY*0.5f; // loop detectors |