diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-03-23 15:03:01 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-03-23 15:10:02 +0100 |
commit | 138aab6a3760c504d032717dfd2b64fd321418e8 (patch) | |
tree | 7d47b8fbd162f85ba85e10c281ae40f7ffc55122 /include/astra | |
parent | 4b9bc545e0b22188fb2c39f5981935a96a0bbfe9 (diff) | |
download | astra-138aab6a3760c504d032717dfd2b64fd321418e8.tar.gz astra-138aab6a3760c504d032717dfd2b64fd321418e8.tar.bz2 astra-138aab6a3760c504d032717dfd2b64fd321418e8.tar.xz astra-138aab6a3760c504d032717dfd2b64fd321418e8.zip |
Flip wrong detector orientation for fan2d_strip
There are still some remaining fan2d_strip unit test failures, with
suspicious slightly too large numerical deviations around 45 degree
projections.
Diffstat (limited to 'include/astra')
-rw-r--r-- | include/astra/FanFlatBeamStripKernelProjector2D.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/astra/FanFlatBeamStripKernelProjector2D.inl b/include/astra/FanFlatBeamStripKernelProjector2D.inl index bbd45cf..732c302 100644 --- a/include/astra/FanFlatBeamStripKernelProjector2D.inl +++ b/include/astra/FanFlatBeamStripKernelProjector2D.inl @@ -87,11 +87,11 @@ void CFanFlatBeamStripKernelProjector2D::projectBlock_internal(int _iProjFrom, i // get values theta = m_pProjectionGeometry->getProjectionAngle(iAngle); - bool switch_t = false; + bool switch_t = true; if (theta >= 7*PIdiv4) theta -= 2*PI; if (theta >= 3*PIdiv4) { theta -= PI; - switch_t = true; + switch_t = false; } // Precalculate sin, cos, 1/cos |