diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-07-13 16:20:07 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-07-17 11:30:05 +0200 |
commit | bc65a0395e6c3930bac0440cc894990dd04cb704 (patch) | |
tree | 645a9c1fac6417066df19172fa8d4920a68cdeb5 /include/astra | |
parent | da434892133fe0979c5e8ef8be277673452e7728 (diff) | |
download | astra-bc65a0395e6c3930bac0440cc894990dd04cb704.tar.gz astra-bc65a0395e6c3930bac0440cc894990dd04cb704.tar.bz2 astra-bc65a0395e6c3930bac0440cc894990dd04cb704.tar.xz astra-bc65a0395e6c3930bac0440cc894990dd04cb704.zip |
Reorganize more filter size functions
Diffstat (limited to 'include/astra')
-rw-r--r-- | include/astra/Filters.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/astra/Filters.h b/include/astra/Filters.h index bf0fb48..a1dec97 100644 --- a/include/astra/Filters.h +++ b/include/astra/Filters.h @@ -77,7 +77,7 @@ struct SFilterConfig { }; // Generate filter of given size and parameters. Returns newly allocated array. -float *genFilter(const SFilterConfig &_cfg, int _iProjectionCount, +float *genFilter(const SFilterConfig &_cfg, int _iFFTRealDetectorCount, int _iFFTFourierDetectorCount); @@ -88,6 +88,8 @@ SFilterConfig getFilterConfigForAlgorithm(const Config& _cfg, CAlgorithm *_alg); bool checkCustomFilterSize(const SFilterConfig &_cfg, const CProjectionGeometry2D &_geom); + +int calcNextPowerOfTwo(int _iValue); int calcFFTFourierSize(int _iFFTRealSize); |