From d947345c84919828977a02bfae3982fdd2c7a651 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 26 Feb 2014 10:53:49 +0000 Subject: Fix missing Parzen filter --- cuda/2d/astra.cu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3