diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-11-30 17:54:15 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-12-20 17:25:47 +0100 |
commit | a9ee92fa1f5d72cf5fa178fbf6a6a547c95f7cc8 (patch) | |
tree | e70c20a9418fb4e460dac8ab7552d8ffdc8eaef2 /cuda/3d | |
parent | d61ce8cb50cee2145d66a209cbeb2b07ae645355 (diff) | |
download | astra-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.cu | 2 |
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) { |