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,
114 #ifdef itkOverrideGetNameOfClassMacro 126 itkExceptionMacro(<<
"ForwardProjection cannot be changed");
131 itkExceptionMacro(<<
"BackProjection cannot be changed");
137 SetDisplacementField(
const DVFSequenceImageType * DisplacementField);
139 SetInverseDisplacementField(
const DVFSequenceImageType * InverseDisplacementField);
140 typename DVFSequenceImageType::ConstPointer
141 GetDisplacementField();
142 typename DVFSequenceImageType::ConstPointer
143 GetInverseDisplacementField();
148 SetSignal(
const std::vector<double> signal)
override;
157 itkGetMacro(UseCudaCyclicDeformation,
bool);
165 GenerateOutputInformation()
override;
167 GenerateInputRequestedRegion()
override;
175 #ifndef ITK_MANUAL_INSTANTIATION 176 # 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.