summaryrefslogtreecommitdiffstats
path: root/cuda/3d
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2019-03-29 21:21:29 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-09-25 14:10:08 +0200
commit3cf63d335ebe392a8c77f0c90395c18150647aeb (patch)
tree60a96bfe45c62aa9e57c1c5751e72d3794934845 /cuda/3d
parent87715885f3b4a80693493e37aa8293899a6b987e (diff)
downloadastra-3cf63d335ebe392a8c77f0c90395c18150647aeb.tar.gz
astra-3cf63d335ebe392a8c77f0c90395c18150647aeb.tar.bz2
astra-3cf63d335ebe392a8c77f0c90395c18150647aeb.tar.xz
astra-3cf63d335ebe392a8c77f0c90395c18150647aeb.zip
Adjust adjoint to line integral scaling
Diffstat (limited to 'cuda/3d')
-rw-r--r--cuda/3d/cone_bp.cu6
1 files changed, 4 insertions, 2 deletions
diff --git a/cuda/3d/cone_bp.cu b/cuda/3d/cone_bp.cu
index feebda2..2a7ec80 100644
--- a/cuda/3d/cone_bp.cu
+++ b/cuda/3d/cone_bp.cu
@@ -140,8 +140,10 @@ __global__ void dev_cone_BP(void* D_volData, unsigned int volPitch, int startAng
if (FDKWEIGHT) {
// The correct factor here is this one:
// Z[idx] += (fr*fCd.w)*(fr*fCd.w)*fVal;
- // This is the square of the inverse magnification factor
- // from fX,fY,fZ to the detector.
+ // This is the square of the magnification factor
+ // from fX,fY,fZ to the virtual detector, where the
+ // virtual detector is the plane through the origin
+ // parallel to the detector, so spanned by u,v.
// Since we are assuming we have a circular cone
// beam trajectory, fCd.w is constant, and we instead