- // double to scale for imaginary detector that passes through origin
- // of phantom, see Kak-Slaney Figure 3.22. This assumes that the detector is also
- // located focal-length away from the origin.
- dDetPos *= 2;
+ // Scale for imaginary detector that passes through origin of phantom, see Kak-Slaney Figure 3.22.
+ dDetPos *= m_dSourceDetectorLength / m_dFocalLength;