diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-10-02 13:50:59 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-10-02 13:51:54 +0200 |
commit | 12fd6925502d3ead9b73498f44f9b2f9abbc9bea (patch) | |
tree | 10970caff57e8f6b127dc223f73270eb3a490dc8 /cuda/2d/sirt.h | |
parent | 8188b0697751d7c7ec6fe3069d0fceb50ebd0c9e (diff) | |
download | astra-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.h | 4 |
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); |