diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-03-23 15:50:24 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-03-23 16:03:21 +0100 |
commit | 16430239d04ff738a21146c410918c285552543f (patch) | |
tree | 4a4e894d6ece87888b71bb69c32e53721fb7e2a9 /cuda/3d/sirt3d.h | |
parent | 5edb35edc2c721b458334a65512b534912c2c542 (diff) | |
download | astra-16430239d04ff738a21146c410918c285552543f.tar.gz astra-16430239d04ff738a21146c410918c285552543f.tar.bz2 astra-16430239d04ff738a21146c410918c285552543f.tar.xz astra-16430239d04ff738a21146c410918c285552543f.zip |
Add relaxation parameters to SIRT3D
Diffstat (limited to 'cuda/3d/sirt3d.h')
-rw-r--r-- | cuda/3d/sirt3d.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cuda/3d/sirt3d.h b/cuda/3d/sirt3d.h index bb3864a..5e93deb 100644 --- a/cuda/3d/sirt3d.h +++ b/cuda/3d/sirt3d.h @@ -48,6 +48,9 @@ public: // init should be called after setting all geometry bool init(); + // Set relaxation factor. This may be called after init and before iterate. + void setRelaxation(float r) { fRelaxation = r; } + // setVolumeMask should be called after init and before iterate, // but only if enableVolumeMask was called before init. // It may be called again after iterate. @@ -91,6 +94,8 @@ protected: float fMinConstraint; float fMaxConstraint; + float fRelaxation; + cudaPitchedPtr D_maskData; cudaPitchedPtr D_smaskData; |