summaryrefslogtreecommitdiffstats
path: root/cuda/2d/sirt.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-10-02 13:50:59 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-01-19 11:15:56 +0100
commit3eb6f61e48f7ab6ddaa0e78d9140a4322dbb92fb (patch)
tree0e247879bc97dfc8427fd965aa7c3d3d47f7c935 /cuda/2d/sirt.h
parent9715fadb1511277add807fc033c32d417fa6ffe0 (diff)
downloadastra-3eb6f61e48f7ab6ddaa0e78d9140a4322dbb92fb.tar.gz
astra-3eb6f61e48f7ab6ddaa0e78d9140a4322dbb92fb.tar.bz2
astra-3eb6f61e48f7ab6ddaa0e78d9140a4322dbb92fb.tar.xz
astra-3eb6f61e48f7ab6ddaa0e78d9140a4322dbb92fb.zip
Add CUDA SIRT::doSlabCorrections() function
This function optionally compensates for effectively infinitely large slab-like objects of finite thickness 1.
Diffstat (limited to 'cuda/2d/sirt.h')
-rw-r--r--cuda/2d/sirt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cuda/2d/sirt.h b/cuda/2d/sirt.h
index 1dbf675..0edddab 100644
--- a/cuda/2d/sirt.h
+++ b/cuda/2d/sirt.h
@@ -41,6 +41,10 @@ public:
virtual bool init();
+ // Do optional long-object compensation. See the comments in sirt.cu.
+ // Call this after init(). It can not be used in combination with masks.
+ bool doSlabCorrections();
+
// Set min/max masks to existing GPU memory buffers
bool setMinMaxMasks(float* D_minMaskData, float* D_maxMaskData,
unsigned int pitch);