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>
77 using IndexType =
typename InputImageType::IndexType;
78 using SizeType =
typename InputImageType::SizeType;
92 itkGetConstMacro(HannCutFrequency,
double);
97 itkGetConstMacro(CosineCutFrequency,
double);
102 itkGetConstMacro(HammingFrequency,
double);
107 itkGetConstMacro(HannCutFrequencyY,
double);
118 itkGetConstMacro(RamLakCutFrequency,
double);
129 itkGetConstMacro(SheppLoganCutFrequency,
double);
138 GenerateInputRequestedRegion()
override;
143 UpdateFFTProjectionsConvolutionKernel(
const SizeType s)
override;
150 double m_HannCutFrequency{ 0. };
151 double m_CosineCutFrequency{ 0. };
152 double m_HammingFrequency{ 0. };
153 double m_HannCutFrequencyY{ 0. };
157 double m_RamLakCutFrequency{ 0. };
158 double m_SheppLoganCutFrequency{ 0. };
165 #ifndef ITK_MANUAL_INSTANTIATION 166 # include "rtkFFTRampImageFilter.hxx" 171 #define itkSetMacro(name, type) \ 172 virtual void Set##name(const type _arg) \ 174 itkDebugMacro("setting " #name " to " << _arg); \ 176 CLANG_SUPPRESS_Wfloat_equal if (this->m_##name != _arg) \ 178 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