diff options
author | Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be> | 2014-02-26 10:53:49 +0000 |
---|---|---|
committer | wpalenst <WillemJan.Palenstijn@uantwerpen.be> | 2014-02-26 10:53:49 +0000 |
commit | d947345c84919828977a02bfae3982fdd2c7a651 (patch) | |
tree | 4efcc30b78838bab7071d4ff0da7b8b3fe5dbc7b /cuda | |
parent | ca005e761452b967c16a5ac073c29e952bf0c4a8 (diff) | |
download | astra-d947345c84919828977a02bfae3982fdd2c7a651.tar.gz astra-d947345c84919828977a02bfae3982fdd2c7a651.tar.bz2 astra-d947345c84919828977a02bfae3982fdd2c7a651.tar.xz astra-d947345c84919828977a02bfae3982fdd2c7a651.zip |
Fix missing Parzen filter
Diffstat (limited to 'cuda')
-rw-r--r-- | cuda/2d/astra.cu | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cuda/2d/astra.cu b/cuda/2d/astra.cu index 71ed025..5d53da0 100644 --- a/cuda/2d/astra.cu +++ b/cuda/2d/astra.cu @@ -369,6 +369,7 @@ bool AstraFBP::setFilter(E_FBPFILTER _eFilter, const float * _pfHostFilter /* = case FILTER_BLACKMANHARRIS: case FILTER_BLACKMANNUTTALL: case FILTER_FLATTOP: + case FILTER_PARZEN: { genFilter(_eFilter, _fD, pData->dims.iProjAngles, pHostFilter, iFFTRealDetCount, iFreqBinCount, _fFilterParameter); uploadComplexArrayToDevice(pData->dims.iProjAngles, iFreqBinCount, pHostFilter, pData->m_pDevFilter); @@ -483,7 +484,7 @@ bool AstraFBP::setFilter(E_FBPFILTER _eFilter, const float * _pfHostFilter /* = } default: { - fprintf(stderr, "AstraFBP::setFilter: Weird filter type requested"); + fprintf(stderr, "AstraFBP::setFilter: Unknown filter type requested"); delete [] pHostFilter; return false; } |