summaryrefslogtreecommitdiffstats
path: root/cuda/2d/fft.cu
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-07-13 14:48:19 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-07-17 11:30:05 +0200
commitda434892133fe0979c5e8ef8be277673452e7728 (patch)
tree067a82c2e5daa55fc49447599fc64b73132a6416 /cuda/2d/fft.cu
parentd32df3bcd1910f56195e828a0f7fba8fc04b90ab (diff)
downloadastra-da434892133fe0979c5e8ef8be277673452e7728.tar.gz
astra-da434892133fe0979c5e8ef8be277673452e7728.tar.bz2
astra-da434892133fe0979c5e8ef8be277673452e7728.tar.xz
astra-da434892133fe0979c5e8ef8be277673452e7728.zip
Add filter size error reporting
Diffstat (limited to 'cuda/2d/fft.cu')
-rw-r--r--cuda/2d/fft.cu11
1 files changed, 0 insertions, 11 deletions
diff --git a/cuda/2d/fft.cu b/cuda/2d/fft.cu
index 864e325..dc0edc3 100644
--- a/cuda/2d/fft.cu
+++ b/cuda/2d/fft.cu
@@ -275,17 +275,6 @@ bool runCudaIFFT(int _iProjectionCount, const cufftComplex* _pDevSourceComplex,
return true;
}
-
-// Because the input is real, the Fourier transform is symmetric.
-// CUFFT only outputs the first half (ignoring the redundant second half),
-// and expects the same as input for the IFFT.
-int calcFFTFourierSize(int _iFFTRealSize)
-{
- int iFFTFourierSize = _iFFTRealSize / 2 + 1;
-
- return iFFTFourierSize;
-}
-
void genIdenFilter(int _iProjectionCount, cufftComplex * _pFilter,
int _iFFTRealDetectorCount, int _iFFTFourierDetectorCount)
{