19 #ifndef rtkFourDConjugateGradientConeBeamReconstructionFilter_h 20 #define rtkFourDConjugateGradientConeBeamReconstructionFilter_h 95 template <
typename VolumeSeriesType,
typename ProjectionStackType>
128 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
130 CudaConjugateGradientImageFilter<VolumeSeriesType>>::type
148 itkGetMacro(NumberOfIterations,
unsigned int);
153 itkGetMacro(CudaConjugateGradient,
bool);
159 SetInputVolumeSeries(
const VolumeSeriesType * VolumeSeries);
160 typename VolumeSeriesType::ConstPointer
161 GetInputVolumeSeries();
166 SetInputProjectionStack(
const ProjectionStackType * Projections);
167 typename ProjectionStackType::ConstPointer
168 GetInputProjectionStack();
177 SetSignal(
const std::vector<double> signal);
181 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
190 VerifyPreconditions()
const override;
193 GenerateOutputInformation()
override;
196 GenerateInputRequestedRegion()
override;
199 GenerateData()
override;
238 #ifndef ITK_MANUAL_INSTANTIATION 239 # include "rtkFourDConjugateGradientConeBeamReconstructionFilter.hxx" ProjStackToFourDFilterType::Pointer m_ProjStackToFourDFilter
ConjugateGradientFilterType::Pointer m_ConjugateGradientFilter
ProjectionStackType VolumeType
bool m_DisableDisplacedDetectorFilter
Base class for forward projection, i.e. accumulation along x-ray lines.
itk::IterationReporter m_IterationReporter
Weigting for displaced detectors.
ThreeDCircularProjectionGeometry::ConstPointer m_Geometry
CGOperatorFilterType::Pointer m_CGOperator
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)
DisplacedDetectorFilterType::Pointer m_DisplacedDetectorFilter
typename Superclass::BackProjectionType BackProjectionType
Implements part of the 4D reconstruction by conjugate gradient.
std::vector< double > m_Signal
TOutputImage OutputImageType
bool m_CudaConjugateGradient
BackProjectionFilterType::Pointer m_BackProjectionFilter
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
typename Superclass::ForwardProjectionType ForwardProjectionType
Mother class for cone beam reconstruction filters which need runtime selection of their forward and b...
BackProjectionFilterType::Pointer m_BackProjectionFilterForB
VolumeSeriesType InputImageType
Solves AX = B by conjugate gradient.
Implements part of the 4D reconstruction by conjugate gradient.
void VerifyInputInformation() const override
unsigned int m_NumberOfIterations