diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-07-12 12:11:52 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-07-17 11:30:05 +0200 |
commit | d32df3bcd1910f56195e828a0f7fba8fc04b90ab (patch) | |
tree | 56963d80f825af10639dee0e1c7c439bbffd1f76 /cuda/2d/fft.cu | |
parent | d58f6b51493c7931cbc02feb3ffeb0eca6ea3a4e (diff) | |
download | astra-d32df3bcd1910f56195e828a0f7fba8fc04b90ab.tar.gz astra-d32df3bcd1910f56195e828a0f7fba8fc04b90ab.tar.bz2 astra-d32df3bcd1910f56195e828a0f7fba8fc04b90ab.tar.xz astra-d32df3bcd1910f56195e828a0f7fba8fc04b90ab.zip |
Refactor filter config
Diffstat (limited to 'cuda/2d/fft.cu')
-rw-r--r-- | cuda/2d/fft.cu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cuda/2d/fft.cu b/cuda/2d/fft.cu index 4454746..864e325 100644 --- a/cuda/2d/fft.cu +++ b/cuda/2d/fft.cu @@ -300,13 +300,13 @@ void genIdenFilter(int _iProjectionCount, cufftComplex * _pFilter, } } -void genCuFFTFilter(E_FBPFILTER _eFilter, float _fD, int _iProjectionCount, +void genCuFFTFilter(const SFilterConfig &_cfg, int _iProjectionCount, cufftComplex * _pFilter, int _iFFTRealDetectorCount, - int _iFFTFourierDetectorCount, float _fParameter /* = -1.0f */) + int _iFFTFourierDetectorCount) { - float * pfFilt = astra::genFilter(_eFilter, _fD, _iProjectionCount, + float * pfFilt = astra::genFilter(_cfg, _iProjectionCount, _iFFTRealDetectorCount, - _iFFTFourierDetectorCount, _fParameter); + _iFFTFourierDetectorCount); for(int iDetectorIndex = 0; iDetectorIndex < _iFFTFourierDetectorCount; iDetectorIndex++) { |