summaryrefslogtreecommitdiffstats
path: root/cuda/3d/cone_bp.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-05-20 13:27:56 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-09-25 14:10:10 +0200
commit64729b45a73cd17c85c57cd71dc277ae84a4b471 (patch)
tree7fb0147738de7b631a999d4f0adf3d454adf3cfa /cuda/3d/cone_bp.cu
parent9d7e93d57183d5a1e1efd113067bdcc8d388bc50 (diff)
downloadastra-64729b45a73cd17c85c57cd71dc277ae84a4b471.tar.gz
astra-64729b45a73cd17c85c57cd71dc277ae84a4b471.tar.bz2
astra-64729b45a73cd17c85c57cd71dc277ae84a4b471.tar.xz
astra-64729b45a73cd17c85c57cd71dc277ae84a4b471.zip
Add note
Diffstat (limited to 'cuda/3d/cone_bp.cu')
-rw-r--r--cuda/3d/cone_bp.cu3
1 files changed, 3 insertions, 0 deletions
diff --git a/cuda/3d/cone_bp.cu b/cuda/3d/cone_bp.cu
index 6b2c8a1..7312bbc 100644
--- a/cuda/3d/cone_bp.cu
+++ b/cuda/3d/cone_bp.cu
@@ -253,6 +253,9 @@ bool transferConstants(const SConeProjection* angles, unsigned int iProjAngles,
// FDK weighting factor
// ( || u v s || / || u v (s-x) || ) ^ 2
+ // Since u and v are ratios with the same denominator, we have
+ // a degree of freedom to scale the denominator. We use that to make
+ // the square of the denominator equal to the relevant weighting factor.
for (unsigned int i = 0; i < iProjAngles; ++i) {