19 #ifndef rtkADMMTotalVariationConjugateGradientOperator_h 20 #define rtkADMMTotalVariationConjugateGradientOperator_h 103 template <
typename TOutputImage,
104 typename TGradientOutputImage =
106 TOutputImage::ImageDimension>>
121 #ifdef itkOverrideGetNameOfClassMacro 137 typename TOutputImage::ValueType,
138 typename TOutputImage::ValueType,
139 TGradientOutputImage>;
160 SetGatingWeights(std::vector<float> weights);
164 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
173 VerifyPreconditions() ITKv5_CONST override;
177 GenerateData() override;
194 bool m_DisableDisplacedDetectorFilter;
199 std::vector<
float> m_GatingWeights;
205 VerifyInputInformation()
const override 211 GenerateInputRequestedRegion()
override;
213 GenerateOutputInformation()
override;
219 #ifndef ITK_MANUAL_INSTANTIATION 220 # include "rtkADMMTotalVariationConjugateGradientOperator.hxx"
Weigting for displaced detectors.
typename ForwardProjectionFilterType::Pointer ForwardProjectionFilterPointer
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)
Computes the gradient of an image using forward difference.
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.
typename BackProjectionFilterType::Pointer BackProjectionFilterPointer
Computes the backward differences divergence (adjoint of the forward differences gradient) of the inp...