summaryrefslogtreecommitdiffstats
path: root/cuda/3d/astra3d.cu
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2016-05-20 15:10:03 +0200
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2016-05-20 15:10:03 +0200
commit399422985fd27a1e6a1f8cea3642402128b050fa (patch)
tree4898e3470bbd2b81bc378df1c3b8c14654eb3ba5 /cuda/3d/astra3d.cu
parent844a9f71fba18c76d6b3566b78908877a0a1a9c8 (diff)
downloadastra-399422985fd27a1e6a1f8cea3642402128b050fa.tar.gz
astra-399422985fd27a1e6a1f8cea3642402128b050fa.tar.bz2
astra-399422985fd27a1e6a1f8cea3642402128b050fa.tar.xz
astra-399422985fd27a1e6a1f8cea3642402128b050fa.zip
Add option to specify custom filter for FDK
Diffstat (limited to 'cuda/3d/astra3d.cu')
-rw-r--r--cuda/3d/astra3d.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/cuda/3d/astra3d.cu b/cuda/3d/astra3d.cu
index 5670873..35e3cd4 100644
--- a/cuda/3d/astra3d.cu
+++ b/cuda/3d/astra3d.cu
@@ -1311,7 +1311,7 @@ bool astraCudaFDK(float* pfVolume, const float* pfProjections,
const CVolumeGeometry3D* pVolGeom,
const CConeProjectionGeometry3D* pProjGeom,
bool bShortScan,
- int iGPUIndex, int iVoxelSuperSampling)
+ int iGPUIndex, int iVoxelSuperSampling, const float* filter)
{
SDimensions3D dims;
@@ -1369,7 +1369,7 @@ bool astraCudaFDK(float* pfVolume, const float* pfProjections,
// TODO: Offer interface for SrcZ, DetZ
ok &= FDK(D_volumeData, D_projData, fOriginSourceDistance,
fOriginDetectorDistance, 0, 0, fDetUSize, fDetVSize,
- dims, pfAngles, bShortScan);
+ dims, pfAngles, bShortScan, filter);
ok &= copyVolumeFromDevice(pfVolume, D_volumeData, dims, dims.iVolX);