19 #ifndef rtkADMMTotalVariationConeBeamReconstructionFilter_h 20 #define rtkADMMTotalVariationConeBeamReconstructionFilter_h 133 template <
typename TOutputImage,
134 typename TGradientOutputImage =
136 TOutputImage::ImageDimension>>
155 #ifdef itkOverrideGetNameOfClassMacro 168 typename TOutputImage::ValueType,
169 typename TOutputImage::ValueType,
170 TGradientOutputImage>;
187 SetBetaForCurrentIteration(
int iter);
191 SetGatingWeights(std::vector<float> weights);
194 itkGetMacro(Alpha,
float);
197 itkGetMacro(Beta,
float);
200 itkGetMacro(AL_iterations,
float);
203 itkGetMacro(CG_iterations,
float);
207 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
216 VerifyPreconditions() ITKv5_CONST override;
220 GenerateData() override;
246 VerifyInputInformation()
const override 252 GenerateInputRequestedRegion()
override;
254 GenerateOutputInformation()
override;
274 #ifndef ITK_MANUAL_INSTANTIATION 275 # include "rtkADMMTotalVariationConeBeamReconstructionFilter.hxx" ThreeDCircularProjectionGeometry::Pointer m_Geometry
rtk::SoftThresholdTVImageFilter< TGradientOutputImage > SoftThresholdTVFilterType
Weigting for displaced detectors.
unsigned int m_AL_iterations
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)
typename ForwardProjectionFilterType::Pointer ForwardProjectionFilterPointer
typename Superclass::ForwardProjectionType ForwardProjectionType
Computes the gradient of an image using forward difference.
std::vector< float > m_GatingWeights
itk::AddImageFilter< TGradientOutputImage > AddGradientsFilterType
Implements the operator A used in the conjugate gradient step of ADMM reconstruction with total varia...
Multiplies each (n-1) dimension image by the corresponding element in a vector.
unsigned int m_CG_iterations
bool m_DisableDisplacedDetectorFilter
typename BackProjectionFilterType::Pointer BackProjectionFilterPointer
Mother class for cone beam reconstruction filters which need runtime selection of their forward and b...
Computes the Total Variation from a gradient input image (pixels are vectors), soft thresholds it...
Computes the backward differences divergence (adjoint of the forward differences gradient) of the inp...
Implements the ADMM reconstruction with total variation regularization.
Solves AX = B by conjugate gradient.
typename Superclass::BackProjectionType BackProjectionType