summaryrefslogtreecommitdiffstats
path: root/cuda/3d
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-11-30 17:54:15 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-12-20 17:25:47 +0100
commita9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8 (patch)
treee70c20a9418fb4e460dac8ab7552d8ffdc8eaef2 /cuda/3d
parentd61ce8cb50cee2145d66a209cbeb2b07ae645355 (diff)
downloadastra-a9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8.tar.gz
astra-a9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8.tar.bz2
astra-a9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8.tar.xz
astra-a9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8.zip
Fix shortscan (FBP/FDK) scaling factor
Diffstat (limited to 'cuda/3d')
-rw-r--r--cuda/3d/fdk.cu2
1 files changed, 2 insertions, 0 deletions
diff --git a/cuda/3d/fdk.cu b/cuda/3d/fdk.cu
index 11c68e1..08e1ebf 100644
--- a/cuda/3d/fdk.cu
+++ b/cuda/3d/fdk.cu
@@ -150,6 +150,8 @@ __global__ void devFDK_ParkerWeight(void* D_projData, unsigned int projPitch, un
fWeight = 0.0f;
}
+ fWeight *= 2; // adjust to effectively halved angular range
+
for (int detectorV = startDetectorV; detectorV < endDetectorV; ++detectorV)
{