summaryrefslogtreecommitdiffstats
path: root/cuda/3d/sirt3d.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 12:30:47 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-03-12 12:30:47 +0100
commita70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd (patch)
tree09e13e27b69c254b5bd36d510ca700077bfb8c77 /cuda/3d/sirt3d.cu
parent57ee6b85884b8226b26b7415ef151b4a6e63337c (diff)
downloadastra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.gz
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.bz2
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.xz
astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.zip
Add outputScale argument to 3D CUDA BP
Diffstat (limited to 'cuda/3d/sirt3d.cu')
-rw-r--r--cuda/3d/sirt3d.cu6
1 files changed, 3 insertions, 3 deletions
diff --git a/cuda/3d/sirt3d.cu b/cuda/3d/sirt3d.cu
index 389ee6b..0e6630a 100644
--- a/cuda/3d/sirt3d.cu
+++ b/cuda/3d/sirt3d.cu
@@ -160,10 +160,10 @@ bool SIRT::precomputeWeights()
zeroVolumeData(D_pixelWeight, dims);
if (useSinogramMask) {
- callBP(D_pixelWeight, D_smaskData);
+ callBP(D_pixelWeight, D_smaskData, 1.0f);
} else {
processSino3D<opSet>(D_projData, 1.0f, dims);
- callBP(D_pixelWeight, D_projData);
+ callBP(D_pixelWeight, D_projData, 1.0f);
}
#if 0
float* bufp = new float[512*512];
@@ -293,7 +293,7 @@ bool SIRT::iterate(unsigned int iterations)
#endif
- callBP(D_tmpData, D_projData);
+ callBP(D_tmpData, D_projData, 1.0f);
#if 0
printf("Dumping tmpData: %p\n", (void*)D_tmpData.ptr);
float* buf = new float[256*256];