In SART_TV.m, the voxel size used when calculating the W weights is geo.DSD-geo.DSO. This errors when the length of DSD or DSO is greater than 2, i.e. for varying DSD and DSO (e.g. tomosynthesis scans). This PR changes it to match the voxel size used in SART.m. The rest of the changes are typos/cleaning up a bit.
I will not change the voxel sizes used in SIRT or OS-SART yet, as alignment will come when https://github.com/CERN/TIGRE/issues/402 is implemented. This is purely to fix a bug in the short term.
In SART_TV.m, the voxel size used when calculating the W weights is
geo.DSD-geo.DSO
. This errors when the length ofDSD
orDSO
is greater than 2, i.e. for varyingDSD
andDSO
(e.g. tomosynthesis scans). This PR changes it to match the voxel size used in SART.m. The rest of the changes are typos/cleaning up a bit.I will not change the voxel sizes used in SIRT or OS-SART yet, as alignment will come when https://github.com/CERN/TIGRE/issues/402 is implemented. This is purely to fix a bug in the short term.