summaryrefslogtreecommitdiffstats
path: root/cuda/2d
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be>2014-02-26 10:53:49 +0000
committerwpalenst <WillemJan.Palenstijn@uantwerpen.be>2014-02-26 10:53:49 +0000
commitd947345c84919828977a02bfae3982fdd2c7a651 (patch)
tree4efcc30b78838bab7071d4ff0da7b8b3fe5dbc7b /cuda/2d
parentca005e761452b967c16a5ac073c29e952bf0c4a8 (diff)
downloadastra-d947345c84919828977a02bfae3982fdd2c7a651.tar.gz
astra-d947345c84919828977a02bfae3982fdd2c7a651.tar.bz2
astra-d947345c84919828977a02bfae3982fdd2c7a651.tar.xz
astra-d947345c84919828977a02bfae3982fdd2c7a651.zip
Fix missing Parzen filter
Diffstat (limited to 'cuda/2d')
-rw-r--r--cuda/2d/astra.cu3
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;
}