summaryrefslogtreecommitdiffstats
path: root/cuda/2d/em.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 14:28:03 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 14:28:03 +0100
commit9458268a8b9192af98fc1b88bf0a5fbbc7696a77 (patch)
treee0f4dc2bfa82ee9770958de4a39b586de0b5e4ef /cuda/2d/em.cu
parent1a7dfb0964fa7686aa01f0d836f95910dc4dc07f (diff)
downloadastra-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/em.cu')
-rw-r--r--cuda/2d/em.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/cuda/2d/em.cu b/cuda/2d/em.cu
index 00127c0..8593b08 100644
--- a/cuda/2d/em.cu
+++ b/cuda/2d/em.cu
@@ -102,7 +102,7 @@ bool EM::precomputeWeights()
#endif
{
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);
@@ -137,7 +137,7 @@ bool EM::iterate(unsigned int iterations)
// Do BP of projData into tmpData
zeroVolumeData(D_tmpData, tmpPitch, dims);
- callBP(D_tmpData, tmpPitch, D_projData, projPitch);
+ callBP(D_tmpData, tmpPitch, D_projData, projPitch, 1.0f);
// Multiply volumeData with tmpData divided by pixel weights
processVol<opMul2>(D_volumeData, D_tmpData, D_pixelWeight, pixelPitch, dims);