19#ifndef rtkADMMTotalVariationConeBeamReconstructionFilter_h
20#define rtkADMMTotalVariationConeBeamReconstructionFilter_h
134template <
typename TOutputImage>
162 typename TOutputImage::template RebindImageType<VectorPixelType, TOutputImage::ImageDimension>;
164 typename TOutputImage::ValueType,
165 typename TOutputImage::ValueType,
190 itkGetMacro(Alpha,
float);
193 itkGetMacro(Beta,
float);
196 itkGetMacro(AL_iterations,
float);
199 itkGetMacro(CG_iterations,
float);
203 itkGetMacro(DisableDisplacedDetectorFilter,
bool);
268#ifndef ITK_MANUAL_INSTANTIATION
269# include "rtkADMMTotalVariationConeBeamReconstructionFilter.hxx"
Pixel-wise addition of two images.
SmartPointer< Self > Pointer
A templated class holding a n-Dimensional covariant vector.
Pixel-wise multiplication of two images.
SmartPointer< Self > Pointer
Implements transparent reference counting.
Pixel-wise subtraction of two images.
SmartPointer< Self > Pointer
rtk::MultiplyByVectorImageFilter< TOutputImage > GatingWeightsFilterType
SoftThresholdTVFilterType::Pointer m_SoftThresholdFilter
itk::SmartPointer< Self > Pointer
~ADMMTotalVariationConeBeamReconstructionFilter() override=default
itk::AddImageFilter< GradientImageType > AddGradientsFilterType
std::vector< float > m_GatingWeights
ImageGradientFilterType::Pointer m_GradientFilter1
void GenerateOutputInformation() override
ForwardDifferenceGradientImageFilter< TOutputImage, typename TOutputImage::ValueType, typename TOutputImage::ValueType, GradientImageType > ImageGradientFilterType
unsigned int m_CG_iterations
DisplacedDetectorFilterType::Pointer m_DisplacedDetectorFilter
void SetBetaForCurrentIteration(int iter)
IterativeConeBeamReconstructionFilter< TOutputImage, TOutputImage > Superclass
BackProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_BackProjectionFilterForConjugateGradient
ThreeDCircularProjectionGeometry::Pointer m_Geometry
itk::SubtractImageFilter< GradientImageType > SubtractGradientsFilterType
SubtractGradientsFilterType::Pointer m_SubtractFilter1
rtk::DisplacedDetectorImageFilter< TOutputImage > DisplacedDetectorFilterType
ConjugateGradientFilterType::Pointer m_ConjugateGradientFilter
void VerifyPreconditions() const override
SubtractGradientsFilterType::Pointer m_SubtractFilter2
rtk::BackwardDifferenceDivergenceImageFilter< GradientImageType, TOutputImage > ImageDivergenceFilterType
rtk::ConjugateGradientImageFilter< TOutputImage > ConjugateGradientFilterType
MultiplyVolumeFilterType::Pointer m_MultiplyFilter
ADMMTotalVariationConeBeamReconstructionFilter Self
unsigned int m_AL_iterations
MultiplyGradientFilterType::Pointer m_ZeroMultiplyGradientFilter
GatingWeightsFilterType::Pointer m_GatingWeightsFilter
void VerifyInputInformation() const override
SubtractVolumeFilterType::Pointer m_SubtractVolumeFilter
typename Superclass::BackProjectionType BackProjectionType
typename ForwardProjectionFilterType::Pointer ForwardProjectionFilterPointer
itk::SubtractImageFilter< TOutputImage > SubtractVolumeFilterType
void SetGatingWeights(std::vector< float > weights)
CGOperatorFilterType::Pointer m_CGOperator
itk::MultiplyImageFilter< GradientImageType > MultiplyGradientFilterType
rtk::BackProjectionImageFilter< TOutputImage, TOutputImage > BackProjectionFilterType
rtk::ADMMTotalVariationConjugateGradientOperator< TOutputImage > CGOperatorFilterType
BackProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_BackProjectionFilter
itk::CovariantVector< typename TOutputImage::ValueType, TOutputImage::ImageDimension > VectorPixelType
rtk::SoftThresholdTVImageFilter< GradientImageType > SoftThresholdTVFilterType
MultiplyVolumeFilterType::Pointer m_ZeroMultiplyVolumeFilter
ForwardProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_ForwardProjectionFilter
ImageDivergenceFilterType::Pointer m_DivergenceFilter
typename BackProjectionFilterType::Pointer BackProjectionFilterPointer
rtk::ForwardProjectionImageFilter< TOutputImage, TOutputImage > ForwardProjectionFilterType
bool m_DisableDisplacedDetectorFilter
ADMMTotalVariationConeBeamReconstructionFilter()
itk::MultiplyImageFilter< TOutputImage > MultiplyVolumeFilterType
void GenerateData() override
AddGradientsFilterType::Pointer m_AddGradientsFilter
typename TOutputImage::template RebindImageType< VectorPixelType, TOutputImage::ImageDimension > GradientImageType
ImageGradientFilterType::Pointer m_GradientFilter2
typename Superclass::ForwardProjectionType ForwardProjectionType
void GenerateInputRequestedRegion() override
Implements the operator A used in the conjugate gradient step of ADMM reconstruction with total varia...
itk::SmartPointer< Self > Pointer
itk::SmartPointer< Self > Pointer
Computes the backward differences divergence (adjoint of the forward differences gradient) of the inp...
itk::SmartPointer< Self > Pointer
Solves AX = B by conjugate gradient.
itk::SmartPointer< Self > Pointer
Weigting for displaced detectors.
itk::SmartPointer< Self > Pointer
Computes the gradient of an image using forward difference.
itk::SmartPointer< Self > Pointer
Base class for forward projection, i.e. accumulation along x-ray lines.
itk::SmartPointer< Self > Pointer
Mother class for cone beam reconstruction filters which need runtime selection of their forward and b...
IterativeConeBeamReconstructionFilter()
enum { FP_JOSEPH=0, FP_CUDARAYCAST=2, FP_JOSEPHATTENUATED=3, FP_ZENG=4, FP_CUDAWARP=5, FP_CUDAZENG=6 } ForwardProjectionType
enum { BP_VOXELBASED=0, BP_JOSEPH=1, BP_CUDAVOXELBASED=2, BP_CUDARAYCAST=4, BP_JOSEPHATTENUATED=5, BP_ZENG=6, BP_CUDAWARP=7, BP_CUDAZENG=8 } BackProjectionType
Multiplies each (n-1) dimension image by the corresponding element in a vector.
itk::SmartPointer< Self > Pointer
Computes the Total Variation from a gradient input image (pixels are vectors), soft thresholds it,...
itk::SmartPointer< Self > Pointer
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< Self > Pointer
#define itkSetMacro(name, type)