18 #ifndef rtkWarpProjectionStackToFourDImageFilter_h 19 #define rtkWarpProjectionStackToFourDImageFilter_h 84 template <
typename VolumeSeriesType,
typename ProjectionStackType>
104 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
106 itk::CudaImage<VectorForDVF, VolumeSeriesType::ImageDimension>>::type
109 typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
112 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
116 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
131 #ifdef itkOverrideGetNameOfClassMacro 144 itkExceptionMacro(<<
"BackProjection cannot be changed");
149 SetDisplacementField(
const DVFSequenceImageType * DisplacementField);
150 typename DVFSequenceImageType::ConstPointer
151 GetDisplacementField();
155 SetSignal(
const std::vector<double> signal)
override;
159 itkGetMacro(UseCudaCyclicDeformation,
bool);
168 GenerateData()
override;
171 GenerateOutputInformation()
override;
187 #ifndef ITK_MANUAL_INSTANTIATION 188 # include "rtkWarpProjectionStackToFourDImageFilter.hxx"
std::vector< double > m_Signal
CPUDVFInterpolatorType::Pointer m_DVFInterpolatorFilter
void SetBackProjectionFilter(const typename Superclass::BackProjectionFilterType::Pointer)
#define itkSetMacro(name, type)
Implements part of the 4D reconstruction by conjugate gradient.
std::vector< double > SignalVectorType
bool m_UseCudaCyclicDeformation
void VerifyInputInformation() const override
Back projection part for motion compensated iterative 4D reconstruction.
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
ProjectionStackType VolumeType