summaryrefslogtreecommitdiffstats
path: root/cuda/2d/sart.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2019-03-30 21:21:16 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-09-25 14:10:09 +0200
commit12f86554bafb66e6afc6193f181527ba0749de92 (patch)
tree7d89d128c3011251d19be98333eefca450e99c5b /cuda/2d/sart.cu
parent11114e33fb504b0b74f3d239e77fe248a027cc23 (diff)
downloadastra-12f86554bafb66e6afc6193f181527ba0749de92.tar.gz
astra-12f86554bafb66e6afc6193f181527ba0749de92.tar.bz2
astra-12f86554bafb66e6afc6193f181527ba0749de92.tar.xz
astra-12f86554bafb66e6afc6193f181527ba0749de92.zip
Adjust SART to line integral scaling
Diffstat (limited to 'cuda/2d/sart.cu')
-rw-r--r--cuda/2d/sart.cu5
1 files changed, 3 insertions, 2 deletions
diff --git a/cuda/2d/sart.cu b/cuda/2d/sart.cu
index aff77a3..12ad6df 100644
--- a/cuda/2d/sart.cu
+++ b/cuda/2d/sart.cu
@@ -266,14 +266,15 @@ bool SART::callBP_SART(float* D_volumeData, unsigned int volumePitch,
float* D_projData, unsigned int projPitch,
unsigned int angle, float outputScale)
{
+ // NB: No fProjectorScale here, as that it is cancelled out in the SART weighting
if (parProjs) {
assert(!fanProjs);
return BP_SART(D_volumeData, volumePitch, D_projData, projPitch,
- angle, dims, parProjs, outputScale * fProjectorScale);
+ angle, dims, parProjs, outputScale);
} else {
assert(fanProjs);
return FanBP_SART(D_volumeData, volumePitch, D_projData, projPitch,
- angle, dims, fanProjs, outputScale * fProjectorScale);
+ angle, dims, fanProjs, outputScale);
}
}