diff options
-rw-r--r-- | cuda/2d/sart.cu | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cuda/2d/sart.cu b/cuda/2d/sart.cu index 64d6f28..ed763c9 100644 --- a/cuda/2d/sart.cu +++ b/cuda/2d/sart.cu @@ -180,7 +180,10 @@ bool SART::iterate(unsigned int iterations) } // copy one line of sinogram to projection data - duplicateProjectionData(D_projData, D_sinoData, sinoPitch, dims); + // NB: Non-standard dimensions + SDimensions linedims = dims; + linedims.iProjAngles = 1; + duplicateProjectionData(D_projData, D_sinoData + angle*sinoPitch, sinoPitch, linedims); // do FP, subtracting projection from sinogram if (useVolumeMask) { |