19 #ifndef rtkFFTRampImageFilter_h 20 #define rtkFFTRampImageFilter_h 23 #include "rtkConfiguration.h" 31 #define itkSetMacro(name, type) \ 32 virtual void Set##name(type _arg) \ 34 itkDebugMacro("setting " #name " to " << _arg); \ 36 CLANG_SUPPRESS_Wfloat_equal \ 37 if (this->m_##name != _arg) \ 39 this->m_##name = std::move(_arg); \ 41 this->m_KernelFFT = nullptr; \ 45 ITK_MACROEND_NOOP_STATEMENT 64 template <
class TInputImage,
class TOutputImage = TInputImage,
class TFFTPrecision =
double>
81 using IndexType =
typename InputImageType::IndexType;
82 using SizeType =
typename InputImageType::SizeType;
93 #ifdef itkOverrideGetNameOfClassMacro 101 itkGetConstMacro(HannCutFrequency,
double);
106 itkGetConstMacro(CosineCutFrequency,
double);
111 itkGetConstMacro(HammingFrequency,
double);
116 itkGetConstMacro(HannCutFrequencyY,
double);
127 itkGetConstMacro(RamLakCutFrequency,
double);
138 itkGetConstMacro(SheppLoganCutFrequency,
double);
147 GenerateInputRequestedRegion()
override;
152 UpdateFFTProjectionsConvolutionKernel(
const SizeType s)
override;
159 double m_HannCutFrequency{ 0. };
160 double m_CosineCutFrequency{ 0. };
161 double m_HammingFrequency{ 0. };
162 double m_HannCutFrequencyY{ 0. };
166 double m_RamLakCutFrequency{ 0. };
167 double m_SheppLoganCutFrequency{ 0. };
174 #ifndef ITK_MANUAL_INSTANTIATION 175 # include "rtkFFTRampImageFilter.hxx" 181 #define itkSetMacro(name, type) \ 182 virtual void Set##name(type _arg) \ 184 itkDebugMacro("setting " #name " to " << _arg); \ 186 CLANG_SUPPRESS_Wfloat_equal \ 187 if (this->m_##name != _arg) \ 189 this->m_##name = std::move(_arg); \ 194 ITK_MACROEND_NOOP_STATEMENT 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