Closed oooo1114 closed 5 hours ago
Yep, you're absolutely correct, that is a bug. Thanks for the code to reproduce the issue. I found it and I am nearly done fixing it. I'll release a new version in the next 24 hours that resolves this.
This bug has been fixed and new code merged into the main branch. We also made a new release with this bug fix, v1.16.
When fixing this bug we also found that the scaling factor of the helical FBP algorithm was a little off and we fixed this.
Thanks for reporting this bug!
Thanks for your work!
Hi, I have tested LEAP with my geometry. When the voxel spacing (width or height) is smaller than the real pixel width or height in the isocenter, i.e. pixel width or height * sod / sdd, the forward projection goes wrong. Most views are all zeroes, except for tens of weird views near the center of angles. Here are the scripts which can reproduce the bug:
When voxelWidth is set to 0.7, the projection looks fine. See the No. 4161 view below.![image](https://github.com/LLNL/LEAP/assets/24436961/13441a23-3041-4742-9911-bb329ee4b03b)
When voxelWidth is set to 0.6, the projection looks weird. See the No. 4161 view below.![image](https://github.com/LLNL/LEAP/assets/24436961/f36e14ea-c879-4f0e-94ac-0e359c1b5390)