18 #ifndef itkMultiResolutionPDEDeformableRegistration_h
19 #define itkMultiResolutionPDEDeformableRegistration_h
80 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField,
typename TRealType =
float >
116 static constexpr
unsigned int ImageDimension = FixedImageType::ImageDimension;
158 this->m_InitialDisplacementField = ptr;
171 {
return this->GetOutput(); }
179 std::vector< SmartPointer< DataObject > >::size_type GetNumberOfValidRequiredInputs()
const override;
182 itkSetObjectMacro(RegistrationFilter, RegistrationType);
183 itkGetModifiableObjectMacro(RegistrationFilter, RegistrationType);
187 itkSetObjectMacro(FixedImagePyramid, FixedImagePyramidType);
188 itkGetModifiableObjectMacro(FixedImagePyramid, FixedImagePyramidType);
192 itkSetObjectMacro(MovingImagePyramid, MovingImagePyramidType);
193 itkGetModifiableObjectMacro(MovingImagePyramid, MovingImagePyramidType);
197 virtual void SetNumberOfLevels(
unsigned int num);
200 itkGetConstReferenceMacro(NumberOfLevels,
unsigned int);
203 itkGetConstReferenceMacro(CurrentLevel,
unsigned int);
206 itkSetObjectMacro(FieldExpander, FieldExpanderType);
207 itkGetModifiableObjectMacro(FieldExpander, FieldExpanderType);
211 itkSetMacro(NumberOfIterations, NumberOfIterationsType);
212 itkSetVectorMacro(NumberOfIterations,
unsigned int, m_NumberOfLevels);
216 itkGetConstReferenceMacro(NumberOfIterations, NumberOfIterationsType);
219 virtual void StopRegistration();
225 void PrintSelf(std::ostream & os,
Indent indent)
const override;
229 void GenerateData()
override;
234 void GenerateInputRequestedRegion()
override;
242 void GenerateOutputInformation()
override;
247 void EnlargeOutputRequestedRegion(
DataObject *ptr)
override;
276 #ifndef ITK_MANUAL_INSTANTIATION
277 #include "itkMultiResolutionPDEDeformableRegistration.hxx"
Resample an image via a coordinate transform.
Deformably register two images using the demons algorithm.
Light weight base class for most itk classes.
Framework for creating images in a multi-resolution pyramid.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Base class for all data objects in ITK.
Templated n-dimensional image class.