19#ifndef rtkFourDConjugateGradientConeBeamReconstructionFilter_h
20#define rtkFourDConjugateGradientConeBeamReconstructionFilter_h
95template <
typename VolumeSeriesType,
typename ProjectionStackType>
129 typename std::conditional_t<std::is_same_v<VolumeSeriesType, CPUVolumeSeriesType>,
131 CudaConjugateGradientImageFilter<VolumeSeriesType>>;
147 itkGetMacro(NumberOfIterations,
unsigned int);
151 itkGetMacro(CudaConjugateGradient,
bool);
157 typename VolumeSeriesType::ConstPointer
163 typename ProjectionStackType::ConstPointer
176 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
232#ifndef ITK_MANUAL_INSTANTIATION
233# include "rtkFourDConjugateGradientConeBeamReconstructionFilter.hxx"
Array2D class representing a 2D array.
Abstraction of the Events used to communicating among filters and with GUIs.
Templated n-dimensional image class.
Implements iterations tracking for a filter.
Base class for most ITK classes.
Implements transparent reference counting.
itk::SmartPointer< Self > Pointer
Solves AX = B by conjugate gradient.
itk::SmartPointer< Self > Pointer
Weigting for displaced detectors.
itk::SmartPointer< Self > Pointer
Base class for forward projection, i.e. accumulation along x-ray lines.
itk::SmartPointer< Self > Pointer
BackProjectionImageFilter< ProjectionStackType, VolumeType > BackProjectionFilterType
ProjectionStackToFourDImageFilter< VolumeSeriesType, ProjectionStackType > ProjStackToFourDFilterType
void SetInputVolumeSeries(const VolumeSeriesType *VolumeSeries)
void GenerateOutputInformation() override
DisplacedDetectorFilterType::Pointer m_DisplacedDetectorFilter
virtual void SetSignal(const std::vector< double > &signal)
void VerifyInputInformation() const override
BackProjectionFilterType::Pointer m_BackProjectionFilterForB
ConjugateGradientImageFilter< VolumeSeriesType > CudaConjugateGradientImageFilterType
itk::SmartPointer< const Self > ConstPointer
unsigned int m_NumberOfIterations
void SetWeights(itk::Array2D< float > _arg)
void ReportProgress(itk::Object *, const itk::EventObject &)
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
FourDConjugateGradientConeBeamReconstructionFilter Self
FourDConjugateGradientConeBeamReconstructionFilter()
bool m_CudaConjugateGradient
typename Superclass::BackProjectionType BackProjectionType
ProjStackToFourDFilterType::Pointer m_ProjStackToFourDFilter
ProjectionStackType VolumeType
BackProjectionFilterType::Pointer m_BackProjectionFilter
void SetInputProjectionStack(const ProjectionStackType *Projections)
void VerifyPreconditions() const override
ConjugateGradientFilterType::Pointer m_ConjugateGradientFilter
ForwardProjectionImageFilter< VolumeType, ProjectionStackType > ForwardProjectionFilterType
itk::SmartPointer< Self > Pointer
itk::IterationReporter m_IterationReporter
~FourDConjugateGradientConeBeamReconstructionFilter() override=default
FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType > CGOperatorFilterType
ConjugateGradientImageFilter< VolumeSeriesType > ConjugateGradientFilterType
ThreeDCircularProjectionGeometry::ConstPointer m_Geometry
VolumeSeriesType OutputImageType
VolumeSeriesType InputImageType
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
VolumeSeriesType::ConstPointer GetInputVolumeSeries()
bool m_DisableDisplacedDetectorFilter
std::vector< double > m_Signal
ProjectionStackType::ConstPointer GetInputProjectionStack()
typename Superclass::ForwardProjectionType ForwardProjectionType
CGOperatorFilterType::Pointer m_CGOperator
DisplacedDetectorImageFilter< ProjectionStackType > DisplacedDetectorFilterType
IterativeConeBeamReconstructionFilter< VolumeSeriesType, ProjectionStackType > Superclass
void GenerateData() override
void GenerateInputRequestedRegion() override
Implements part of the 4D reconstruction by conjugate gradient.
itk::SmartPointer< Self > Pointer
Mother class for cone beam reconstruction filters which need runtime selection of their forward and b...
IterativeConeBeamReconstructionFilter()
enum { FP_JOSEPH=0, FP_CUDARAYCAST=2, FP_JOSEPHATTENUATED=3, FP_ZENG=4, FP_CUDAWARP=5, FP_CUDAZENG=6 } ForwardProjectionType
enum { BP_VOXELBASED=0, BP_JOSEPH=1, BP_CUDAVOXELBASED=2, BP_CUDARAYCAST=4, BP_JOSEPHATTENUATED=5, BP_ZENG=6, BP_CUDAWARP=7, BP_CUDAZENG=8 } BackProjectionType
Implements part of the 4D reconstruction by conjugate gradient.
itk::SmartPointer< Self > Pointer
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< const Self > ConstPointer
#define itkSetMacro(name, type)