18 #ifndef itkImageRegistrationMethod_h 19 #define itkImageRegistrationMethod_h 69 template<
typename TFixedImage,
typename TMovingImage >
124 itkGetConstObjectMacro(FixedImage, FixedImageType);
129 itkGetConstObjectMacro(MovingImage, MovingImageType);
133 itkSetObjectMacro(
Optimizer, OptimizerType);
134 itkGetModifiableObjectMacro(
Optimizer, OptimizerType);
138 itkSetObjectMacro(Metric, MetricType);
139 itkGetModifiableObjectMacro(Metric, MetricType);
143 itkSetObjectMacro(
Transform, TransformType);
144 itkGetModifiableObjectMacro(
Transform, TransformType);
148 itkSetObjectMacro(Interpolator, InterpolatorType);
149 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
155 itkGetConstReferenceMacro(InitialTransformParameters, ParametersType);
159 itkGetConstReferenceMacro(LastTransformParameters, ParametersType);
174 itkGetConstReferenceMacro(FixedImageRegion, FixedImageRegionType);
178 itkGetConstMacro(FixedImageRegionDefined,
bool);
184 itkSetMacro(FixedImageRegionDefined,
bool);
191 const TransformOutputType *
GetOutput() const;
197 virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
203 #ifdef ITKV3_COMPATIBILITY 219 void StartRegistration(
void) { this->
Update(); }
225 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
231 itkSetMacro(LastTransformParameters, ParametersType);
238 void operator=(
const Self &) ITK_DELETE_FUNCTION;
257 #ifndef ITK_MANUAL_INSTANTIATION 258 #include "itkImageRegistrationMethod.hxx" virtual void Update()
Bring this filter up-to-date.
void SetMovingImage(const MovingImageType *movingImage)
FixedImageType::ConstPointer FixedImageConstPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
MetricType::FixedImageRegionType FixedImageRegionType
void operator=(const Self &) ITK_DELETE_FUNCTION
unsigned long ModifiedTimeType
TMovingImage MovingImageType
TransformType::Pointer TransformPointer
This class is a base for the Optimization methods that optimize a single valued function.
MetricType::Pointer MetricPointer
TransformOutputType::ConstPointer TransformOutputConstPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
DataObjectDecorator< TransformType > TransformOutputType
MovingImageConstPointer m_MovingImage
virtual void Initialize()
virtual void GenerateData() override
const TransformOutputType * GetOutput() const
bool m_FixedImageRegionDefined
virtual ~ImageRegistrationMethod()
ImageToImageMetric< FixedImageType, MovingImageType > MetricType
TransformOutputType::Pointer TransformOutputPointer
InterpolatorPointer m_Interpolator
MetricType::TransformType TransformType
TransformPointer m_Transform
Base class for Image Registration Methods.
ParametersType m_InitialTransformParameters
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ImageRegistrationMethod Self
Class to hold and manage different parameter types used during optimization.
virtual void SetInitialTransformParameters(const ParametersType ¶m)
ImageRegistrationMethod()
Decorates any subclass of itkObject with a DataObject API.
MovingImageType::ConstPointer MovingImageConstPointer
OptimizerType::Pointer m_Optimizer
void SetFixedImage(const FixedImageType *fixedImage)
Standard exception handling object.
Generic representation for an optimization method.
FixedImageConstPointer m_FixedImage
FixedImageRegionType m_FixedImageRegion
DataObject::Pointer DataObjectPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
void SetFixedImageRegion(const FixedImageRegionType ®ion)
virtual ModifiedTimeType GetMTime() const override
Base class for all image interpolaters.
ParametersType m_LastTransformParameters
SingleValuedNonLinearOptimizer OptimizerType
MetricType::TransformParametersType ParametersType
MetricType::InterpolatorType InterpolatorType
Control indentation during Print() invocation.
InterpolatorType::Pointer InterpolatorPointer
TFixedImage FixedImageType
Computes similarity between regions of two images.
SmartPointer< const Self > ConstPointer
FixedImageType::RegionType FixedImageRegionType