summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/astra/Filters.h4
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);