19#ifndef rtkFFTProjectionsConvolutionImageFilter_h
20#define rtkFFTProjectionsConvolutionImageFilter_h
25#include "rtkConfiguration.h"
44template <
class TInputImage,
class TOutputImage,
class TFFTPrecision>
61 using IndexType =
typename InputImageType::IndexType;
62 using SizeType =
typename InputImageType::SizeType;
95 itkGetConstMacro(TruncationCorrection,
double);
197#ifndef ITK_MANUAL_INSTANTIATION
198# include "rtkFFTProjectionsConvolutionImageFilter.hxx"
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
virtual void Modified() const
Implements transparent reference counting.
A templated class holding a n-Dimensional vector.
std::vector< TFFTPrecision > m_TruncationMirrorWeights
typename InputImageType::SizeType SizeType
FFTProjectionsConvolutionImageFilter Self
ZeroPadFactorsType m_ZeroPadFactors
TInputImage InputImageType
virtual void UpdateFFTProjectionsConvolutionKernel(SizeType size)=0
int GreatestPrimeFactor(int n) const
bool IsPrime(int n) const
RegionType GetPaddedImageRegion(const RegionType &inputRegion)
typename FFTInputImageType::Pointer FFTInputImagePointer
void AfterThreadedGenerateData() override
typename FFTOutputImageType::Pointer FFTOutputImagePointer
void PrintSelf(std::ostream &os, itk::Indent indent) const override
~FFTProjectionsConvolutionImageFilter() override=default
typename InputImageType::IndexType IndexType
typename InputImageType::RegionType RegionType
int m_GreatestPrimeFactor
int GetTruncationCorrectionExtent()
itk::SmartPointer< const Self > ConstPointer
virtual void UpdateTruncationMirrorWeights()
void GenerateInputRequestedRegion() override
FFTOutputImagePointer m_KernelFFT
int m_BackupNumberOfThreads
typename itk::Image< TFFTPrecision, TInputImage::ImageDimension > FFTInputImageType
itk::Vector< int, 2 > ZeroPadFactorsType
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
virtual FFTInputImagePointer PadInputImageRegion(const RegionType &inputRegion)
typename itk::Image< std::complex< TFFTPrecision >, TInputImage::ImageDimension > FFTOutputImageType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
itk::SmartPointer< Self > Pointer
TOutputImage OutputImageType
static constexpr unsigned int ImageDimension
FFTProjectionsConvolutionImageFilter()
double m_TruncationCorrection
void BeforeThreadedGenerateData() override
virtual void SetZeroPadFactors(ZeroPadFactorsType _arg)
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
unsigned int ThreadIdType
#define itkSetMacro(name, type)