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
140 #ifdef itkOverrideGetNameOfClassMacro 153 itkGetMacro(NumberOfIterations,
unsigned int);
158 itkGetMacro(CudaConjugateGradient,
bool);
164 SetInputVolumeSeries(
const VolumeSeriesType * VolumeSeries);
165 typename VolumeSeriesType::ConstPointer
166 GetInputVolumeSeries();
171 SetInputProjectionStack(
const ProjectionStackType * Projections);
172 typename ProjectionStackType::ConstPointer
173 GetInputProjectionStack();
182 SetSignal(
const std::vector<double> signal);
186 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
195 VerifyPreconditions()
const override;
198 GenerateOutputInformation()
override;
201 GenerateInputRequestedRegion()
override;
204 GenerateData()
override;
243 #ifndef ITK_MANUAL_INSTANTIATION 244 # 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