diff options
author | Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-22 14:16:14 +0000 |
---|---|---|
committer | wpalenst <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-22 14:16:14 +0000 |
commit | bd81a64e91efaf5aabbd70ed42f22f49f8aabe32 (patch) | |
tree | 45f1658e0ed759d00e5a011def3dec0f8945e160 | |
parent | 09bc8812ac3695d2c9c4bf3dbbab17e117d6a6c6 (diff) | |
download | astra-bd81a64e91efaf5aabbd70ed42f22f49f8aabe32.tar.gz astra-bd81a64e91efaf5aabbd70ed42f22f49f8aabe32.tar.bz2 astra-bd81a64e91efaf5aabbd70ed42f22f49f8aabe32.tar.xz astra-bd81a64e91efaf5aabbd70ed42f22f49f8aabe32.zip |
Fix SART_CUDA
-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) { |