18#ifndef itkComposeDisplacementFieldsImageFilter_h
19#define itkComposeDisplacementFieldsImageFilter_h
39template <
typename TInputImage,
typename TOutputImage = TInputImage>
60 using PixelType =
typename OutputFieldType::PixelType;
63 using IndexType =
typename OutputFieldType::IndexType;
65 using PointType =
typename OutputFieldType::PointType;
68 using SizeType =
typename OutputFieldType::SizeType;
72 using RealType =
typename VectorType::ComponentType;
82 itkDebugMacro(
"setting displacement field to " << field);
98 const InputFieldType *
108 itkDebugMacro(
"setting warping field to " << field);
119 const InputFieldType *
156#ifndef ITK_MANUAL_INSTANTIATION
157# include "itkComposeDisplacementFieldsImageFilter.hxx"
virtual void SetInterpolator(InterpolatorType *interpolator)
typename OutputFieldType::IndexType IndexType
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const override
VectorInterpolateImageFunction< InputFieldType, RealType > InterpolatorType
ComposeDisplacementFieldsImageFilter()
void BeforeThreadedGenerateData() override
const InputFieldType * GetWarpingField() const
typename OutputFieldType::SizeType SizeType
typename VectorType::ComponentType RealType
static constexpr unsigned int ImageDimension
typename OutputFieldType::PointType PointType
void DynamicThreadedGenerateData(const RegionType &) override
typename OutputFieldType::RegionType RegionType
const InputFieldType * GetDisplacementField() const
TInputImage InputFieldType
typename OutputFieldType::PixelType PixelType
ComposeDisplacementFieldsImageFilter Self
typename OutputFieldType::PointType OriginType
typename OutputFieldType::DirectionType DirectionType
typename OutputFieldType::SpacingType SpacingType
InterpolatorType::Pointer m_Interpolator
~ComposeDisplacementFieldsImageFilter() override=default
void SetDisplacementField(const InputFieldType *field)
void SetWarpingField(const InputFieldType *field)
SmartPointer< const Self > ConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
typename OutputFieldType::PixelType VectorType
TOutputImage OutputFieldType
virtual void SetInput(const InputImageType *input)
const InputImageType * GetInput() const
Control indentation during Print() invocation.
virtual void Modified() const
Implements transparent reference counting.
Base class for all vector image interpolators.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....