diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2019-03-30 21:12:01 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-09-25 14:10:09 +0200 |
commit | 11114e33fb504b0b74f3d239e77fe248a027cc23 (patch) | |
tree | 60be0df745bbe2c9df5defe63565ef2420e9db85 /cuda/2d/sart.cu | |
parent | 48f4e7b165404a0375db300b9fe59da92edf1cce (diff) | |
download | astra-11114e33fb504b0b74f3d239e77fe248a027cc23.tar.gz astra-11114e33fb504b0b74f3d239e77fe248a027cc23.tar.bz2 astra-11114e33fb504b0b74f3d239e77fe248a027cc23.tar.xz astra-11114e33fb504b0b74f3d239e77fe248a027cc23.zip |
Clean up outputscale naming confusion in cuda::algo
Diffstat (limited to 'cuda/2d/sart.cu')
-rw-r--r-- | cuda/2d/sart.cu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cuda/2d/sart.cu b/cuda/2d/sart.cu index 64973ba..aff77a3 100644 --- a/cuda/2d/sart.cu +++ b/cuda/2d/sart.cu @@ -254,11 +254,11 @@ bool SART::callFP_SART(float* D_volumeData, unsigned int volumePitch, if (parProjs) { assert(!fanProjs); return FP(D_volumeData, volumePitch, D_projData, projPitch, - d, &parProjs[angle], outputScale); + d, &parProjs[angle], outputScale * fProjectorScale); } else { assert(fanProjs); return FanFP(D_volumeData, volumePitch, D_projData, projPitch, - d, &fanProjs[angle], outputScale); + d, &fanProjs[angle], outputScale * fProjectorScale); } } @@ -269,11 +269,11 @@ bool SART::callBP_SART(float* D_volumeData, unsigned int volumePitch, if (parProjs) { assert(!fanProjs); return BP_SART(D_volumeData, volumePitch, D_projData, projPitch, - angle, dims, parProjs, outputScale); + angle, dims, parProjs, outputScale * fProjectorScale); } else { assert(fanProjs); return FanBP_SART(D_volumeData, volumePitch, D_projData, projPitch, - angle, dims, fanProjs, outputScale); + angle, dims, fanProjs, outputScale * fProjectorScale); } } |