From 12fd6925502d3ead9b73498f44f9b2f9abbc9bea Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 2 Oct 2014 13:50:59 +0200 Subject: Add CUDA SIRT::doSlabCorrections() function This function optionally compensates for effectively infinitely large slab-like objects of finite thickness 1. --- cuda/2d/sirt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cuda/2d/sirt.h') 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); -- cgit v1.2.3