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,
120 itkExceptionMacro(<<
"ForwardProjection cannot be changed");
125 itkExceptionMacro(<<
"BackProjection cannot be changed");
131 SetDisplacementField(
const DVFSequenceImageType * DisplacementField);
133 SetInverseDisplacementField(
const DVFSequenceImageType * InverseDisplacementField);
134 typename DVFSequenceImageType::ConstPointer
135 GetDisplacementField();
136 typename DVFSequenceImageType::ConstPointer
137 GetInverseDisplacementField();
142 SetSignal(
const std::vector<double> signal)
override;
151 itkGetMacro(UseCudaCyclicDeformation,
bool);
159 GenerateOutputInformation()
override;
161 GenerateInputRequestedRegion()
override;
169 #ifndef ITK_MANUAL_INSTANTIATION 170 # 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.