18 #ifndef rtkMotionCompensatedFourDReconstructionConjugateGradientOperator_h 19 #define rtkMotionCompensatedFourDReconstructionConjugateGradientOperator_h 99 template <
typename VolumeSeriesType,
typename ProjectionStackType>
119 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
121 itk::CudaImage<VectorForDVF, VolumeSeriesType::ImageDimension>>::type
124 typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
127 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
130 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
142 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
159 itkExceptionMacro(<<
"ForwardProjection cannot be changed");
164 itkExceptionMacro(<<
"BackProjection cannot be changed");
170 SetDisplacementField(
const DVFSequenceImageType * DisplacementField);
172 SetInverseDisplacementField(
const DVFSequenceImageType * InverseDisplacementField);
173 typename DVFSequenceImageType::ConstPointer
174 GetInverseDisplacementField();
175 typename DVFSequenceImageType::ConstPointer
176 GetDisplacementField();
181 SetSignal(
const std::vector<double> signal)
override;
185 itkGetMacro(UseCudaCyclicDeformation,
bool);
194 GenerateOutputInformation()
override;
203 GenerateData()
override;
214 #ifndef ITK_MANUAL_INSTANTIATION 215 # include "rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.hxx" void VerifyInputInformation() const override
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
CPUDVFInterpolatorType::Pointer m_InverseDVFInterpolatorFilter
void SetForwardProjectionFilter(typename Superclass::ForwardProjectionFilterType *)
#define itkSetMacro(name, type)
Implements part of the 4D reconstruction by conjugate gradient.
std::vector< double > m_Signal
Like FourDReconstructionConjugateGradientOperator, but motion-compensated.
Joseph forward projection.
ProjectionStackType VolumeType
CPUDVFInterpolatorType::Pointer m_DVFInterpolatorFilter
bool m_UseCudaCyclicDeformation
void SetBackProjectionFilter(typename Superclass::BackProjectionFilterType *)