diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2018-12-07 15:14:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 15:14:12 +0100 |
commit | 6f4b855f45248cb072abca453af523760f68bd62 (patch) | |
tree | 682d56a92ddacf4a31c2f3f2fa1179a7ef245540 /include/astra | |
parent | e8be82070824fa370285142550c1e708561bd63d (diff) | |
parent | 662dfcfc37bd7658e61a3b2f6bbc815472a16786 (diff) | |
download | astra-6f4b855f45248cb072abca453af523760f68bd62.tar.gz astra-6f4b855f45248cb072abca453af523760f68bd62.tar.bz2 astra-6f4b855f45248cb072abca453af523760f68bd62.tar.xz astra-6f4b855f45248cb072abca453af523760f68bd62.zip |
Merge pull request #180 from wjp/filter_config
Read filter config for FBP from cfg.options
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 a1dec97..2e229b9 100644 --- a/include/astra/Filters.h +++ b/include/astra/Filters.h @@ -28,6 +28,8 @@ along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>. #ifndef _INC_ASTRA_FILTERS_H #define _INC_ASTRA_FILTERS_H +#include <string> + namespace astra { struct Config; @@ -82,7 +84,7 @@ float *genFilter(const SFilterConfig &_cfg, int _iFFTFourierDetectorCount); // Convert string to filter type. Returns FILTER_ERROR if unrecognized. -E_FBPFILTER convertStringToFilter(const char * _filterType); +E_FBPFILTER convertStringToFilter(const std::string &_filterType); SFilterConfig getFilterConfigForAlgorithm(const Config& _cfg, CAlgorithm *_alg); |