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>2014-10-02 13:51:54 +0200
commit12fd6925502d3ead9b73498f44f9b2f9abbc9bea (patch)
tree10970caff57e8f6b127dc223f73270eb3a490dc8 /cuda/2d/sirt.h
parent8188b0697751d7c7ec6fe3069d0fceb50ebd0c9e (diff)
downloadastra-12fd6925502d3ead9b73498f44f9b2f9abbc9bea.tar.gz
astra-12fd6925502d3ead9b73498f44f9b2f9abbc9bea.tar.bz2
astra-12fd6925502d3ead9b73498f44f9b2f9abbc9bea.tar.xz
astra-12fd6925502d3ead9b73498f44f9b2f9abbc9bea.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 5592616..d44a20a 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);