19 #ifndef rtkMotionCompensatedFourDConjugateGradientConeBeamReconstructionFilter_h 20 #define rtkMotionCompensatedFourDConjugateGradientConeBeamReconstructionFilter_h 69 template <
typename VolumeSeriesType,
typename ProjectionStackType>
95 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
97 itk::CudaImage<VectorForDVF, VolumeSeriesType::ImageDimension>>::type
100 typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
121 itkExceptionMacro(<<
"ForwardProjection cannot be changed");
126 itkExceptionMacro(<<
"BackProjection cannot be changed");
132 SetDisplacementField(
const DVFSequenceImageType * DisplacementField);
134 SetInverseDisplacementField(
const DVFSequenceImageType * InverseDisplacementField);
135 typename DVFSequenceImageType::ConstPointer
136 GetDisplacementField();
137 typename DVFSequenceImageType::ConstPointer
138 GetInverseDisplacementField();
143 SetSignal(
const std::vector<double> signal)
override;
152 itkGetMacro(UseCudaCyclicDeformation,
bool);
160 GenerateOutputInformation()
override;
162 GenerateInputRequestedRegion()
override;
170 #ifndef ITK_MANUAL_INSTANTIATION 171 # include "rtkMotionCompensatedFourDConjugateGradientConeBeamReconstructionFilter.hxx" ProjectionStackType VolumeType
bool m_UseCudaCyclicDeformation
void SetForwardProjectionFilter(ForwardProjectionType) override
void SetBackProjectionFilter(BackProjectionType) override
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
Implements motion compensated 4D reconstruction by conjugate gradient.
#define itkSetMacro(name, type)
typename Superclass::BackProjectionType BackProjectionType
TOutputImage OutputImageType
typename Superclass::ForwardProjectionType ForwardProjectionType
Like FourDReconstructionConjugateGradientOperator, but motion-compensated.
Back projection part for motion compensated iterative 4D reconstruction.
VolumeSeriesType InputImageType
Implements part of the 4D reconstruction by conjugate gradient.