diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 14:28:03 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 14:28:03 +0100 |
commit | 9458268a8b9192af98fc1b88bf0a5fbbc7696a77 (patch) | |
tree | e0f4dc2bfa82ee9770958de4a39b586de0b5e4ef /cuda/2d/sirt.cu | |
parent | 1a7dfb0964fa7686aa01f0d836f95910dc4dc07f (diff) | |
download | astra-9458268a8b9192af98fc1b88bf0a5fbbc7696a77.tar.gz astra-9458268a8b9192af98fc1b88bf0a5fbbc7696a77.tar.bz2 astra-9458268a8b9192af98fc1b88bf0a5fbbc7696a77.tar.xz astra-9458268a8b9192af98fc1b88bf0a5fbbc7696a77.zip |
Add outputScale argument to 2D CUDA BP
Diffstat (limited to 'cuda/2d/sirt.cu')
-rw-r--r-- | cuda/2d/sirt.cu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cuda/2d/sirt.cu b/cuda/2d/sirt.cu index a6194a5..162ee77 100644 --- a/cuda/2d/sirt.cu +++ b/cuda/2d/sirt.cu @@ -127,10 +127,10 @@ bool SIRT::precomputeWeights() zeroVolumeData(D_pixelWeight, pixelPitch, dims); if (useSinogramMask) { - callBP(D_pixelWeight, pixelPitch, D_smaskData, smaskPitch); + callBP(D_pixelWeight, pixelPitch, D_smaskData, smaskPitch, 1.0f); } else { processSino<opSet>(D_projData, 1.0f, projPitch, dims); - callBP(D_pixelWeight, pixelPitch, D_projData, projPitch); + callBP(D_pixelWeight, pixelPitch, D_projData, projPitch, 1.0f); } processVol<opInvert>(D_pixelWeight, pixelPitch, dims); @@ -251,7 +251,7 @@ bool SIRT::iterate(unsigned int iterations) zeroVolumeData(D_tmpData, tmpPitch, dims); - callBP(D_tmpData, tmpPitch, D_projData, projPitch); + callBP(D_tmpData, tmpPitch, D_projData, projPitch, 1.0f); processVol<opAddMul>(D_volumeData, D_pixelWeight, D_tmpData, volumePitch, dims); |