19 #ifndef rtkADMMTotalVariationConeBeamReconstructionFilter_h 20 #define rtkADMMTotalVariationConeBeamReconstructionFilter_h 133 template <
typename TOutputImage,
134 typename TGradientOutputImage =
136 TOutputImage::ImageDimension>>
163 typename TOutputImage::ValueType,
164 typename TOutputImage::ValueType,
165 TGradientOutputImage>;
182 SetBetaForCurrentIteration(
int iter);
186 SetGatingWeights(std::vector<float> weights);
189 itkGetMacro(Alpha,
float);
192 itkGetMacro(Beta,
float);
195 itkGetMacro(AL_iterations,
float);
198 itkGetMacro(CG_iterations,
float);
202 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
211 VerifyPreconditions() ITKv5_CONST override;
215 GenerateData() override;
241 VerifyInputInformation()
const override 247 GenerateInputRequestedRegion()
override;
249 GenerateOutputInformation()
override;
269 #ifndef ITK_MANUAL_INSTANTIATION 270 # 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