diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 12:30:47 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 12:30:47 +0100 |
commit | a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd (patch) | |
tree | 09e13e27b69c254b5bd36d510ca700077bfb8c77 /cuda/3d/algo3d.cu | |
parent | 57ee6b85884b8226b26b7415ef151b4a6e63337c (diff) | |
download | astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.gz astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.bz2 astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.tar.xz astra-a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd.zip |
Add outputScale argument to 3D CUDA BP
Diffstat (limited to 'cuda/3d/algo3d.cu')
-rw-r--r-- | cuda/3d/algo3d.cu | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cuda/3d/algo3d.cu b/cuda/3d/algo3d.cu index 7f61280..b775438 100644 --- a/cuda/3d/algo3d.cu +++ b/cuda/3d/algo3d.cu @@ -94,12 +94,13 @@ bool ReconAlgo3D::callFP(cudaPitchedPtr& D_volumeData, } bool ReconAlgo3D::callBP(cudaPitchedPtr& D_volumeData, - cudaPitchedPtr& D_projData) + cudaPitchedPtr& D_projData, + float outputScale) { if (coneProjs) { - return ConeBP(D_volumeData, D_projData, dims, coneProjs); + return ConeBP(D_volumeData, D_projData, dims, coneProjs, outputScale); } else { - return Par3DBP(D_volumeData, D_projData, dims, par3DProjs); + return Par3DBP(D_volumeData, D_projData, dims, par3DProjs, outputScale); } } |