19 #ifndef rtkUnwarpSequenceConjugateGradientOperator_h 20 #define rtkUnwarpSequenceConjugateGradientOperator_h 59 template <
typename TImageSequence,
60 typename TDVFImageSequence =
62 TImageSequence::ImageDimension>,
63 typename TImage =
itk::Image<
typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>,
66 TImageSequence::ImageDimension - 1>>
87 SetDisplacementField(
const TDVFImageSequence * DVFs);
90 typename TDVFImageSequence::Pointer
91 GetDisplacementField();
95 itkGetMacro(PhaseShift,
float);
98 itkSetMacro(UseNearestNeighborInterpolationInWarping,
bool);
99 itkGetMacro(UseNearestNeighborInterpolationInWarping,
bool);
103 itkGetMacro(UseCudaCyclicDeformation,
bool);
112 GenerateData()
override;
131 GenerateInputRequestedRegion()
override;
133 GenerateOutputInformation()
override;
141 #ifndef ITK_MANUAL_INSTANTIATION 142 # include "rtkUnwarpSequenceConjugateGradientOperator.hxx" bool m_UseCudaCyclicDeformation
Implements the operator A used in the conjugate gradient unwarp sequence filter.
Applies an N-D + time Motion Vector Field to an N-D + time sequence of images.
WarpSequenceFilterType::Pointer m_WarpSequenceForwardFilter
#define itkSetMacro(name, type)
void VerifyInputInformation() const override
bool m_UseNearestNeighborInterpolationInWarping
WarpSequenceFilterType::Pointer m_WarpSequenceBackwardFilter