-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STIR projector ignores the xy-offset #381
Comments
tested with main offending code is STIR/src/recon_buildblock/ProjMatrixByBinUsingRayTracing.cxx Lines 461 to 466 in 46625f7
This might be fixed in #260, see STIR/src/recon_buildblock/ProjMatrixByBinUsingRayTracing.cxx Lines 485 to 488 in 04a2357
STIR/src/recon_buildblock/ProjMatrixByBinUsingRayTracing.cxx Lines 391 to 402 in 04a2357
However, the use of relative_coordinates there seems to ignore origin as well. In any case, I cannot remember what the status of that PR is. @ashgillman, do you?
Also, the lines above where This is not going to be an easy fix I suppose. Other projectors would need to be checked as well. If #260 isn't ready, we should add a temporary safeguard to throw an error if |
provides basic safe-guard for UCL#381
9ce9940 introduced the safety checks. Now we just need to fix this... |
There seems to be no difference in the sinogram obtained by forward projecting an image when "first pixel offset (mm) [1]" and "first pixel offset (mm) [2]" are set to different values in the image header file.
Only first pixel offset (mm) [3] seems to affect the result.
The text was updated successfully, but these errors were encountered: