19 #ifndef rtkFFTRampImageFilter_h 20 #define rtkFFTRampImageFilter_h 23 #include "rtkConfiguration.h" 30 #define itkSetMacro(name, type) \ 31 virtual void Set##name(const type _arg) \ 33 itkDebugMacro("setting " #name " to " << _arg); \ 35 CLANG_SUPPRESS_Wfloat_equal if (this->m_##name != _arg) \ 37 this->m_##name = _arg; \ 39 this->m_KernelFFT = nullptr; \ 60 template <
class TInputImage,
class TOutputImage = TInputImage,
class TFFTPrecision =
double>
65 #if ITK_VERSION_MAJOR == 5 && ITK_VERSION_MINOR == 1 81 using IndexType =
typename InputImageType::IndexType;
82 using SizeType =
typename InputImageType::SizeType;
96 itkGetConstMacro(HannCutFrequency,
double);
101 itkGetConstMacro(CosineCutFrequency,
double);
106 itkGetConstMacro(HammingFrequency,
double);
111 itkGetConstMacro(HannCutFrequencyY,
double);
122 itkGetConstMacro(RamLakCutFrequency,
double);
133 itkGetConstMacro(SheppLoganCutFrequency,
double);
142 GenerateInputRequestedRegion()
override;
147 UpdateFFTProjectionsConvolutionKernel(
const SizeType s)
override;
154 double m_HannCutFrequency{ 0. };
155 double m_CosineCutFrequency{ 0. };
156 double m_HammingFrequency{ 0. };
157 double m_HannCutFrequencyY{ 0. };
161 double m_RamLakCutFrequency{ 0. };
162 double m_SheppLoganCutFrequency{ 0. };
169 #ifndef ITK_MANUAL_INSTANTIATION 170 # include "rtkFFTRampImageFilter.hxx" 175 #define itkSetMacro(name, type) \ 176 virtual void Set##name(const type _arg) \ 178 itkDebugMacro("setting " #name " to " << _arg); \ 180 CLANG_SUPPRESS_Wfloat_equal if (this->m_##name != _arg) \ 182 this->m_##name = _arg; \ Base class for 1D or 2D FFT based convolution of projections.
TFFTPrecision FFTPrecisionType
SizeType m_PreviousKernelUpdateSize
typename InputImageType::SizeType SizeType
TInputImage InputImageType
#define itkSetMacro(name, type)
typename FFTInputImageType::Pointer FFTInputImagePointer
TOutputImage OutputImageType
typename InputImageType::IndexType IndexType
typename itk::Image< TFFTPrecision, TInputImage::ImageDimension > FFTInputImageType
Implements the ramp image filter of the filtered backprojection algorithm.
typename FFTOutputImageType::Pointer FFTOutputImagePointer
typename itk::Image< std::complex< TFFTPrecision >, TInputImage::ImageDimension > FFTOutputImageType