18 #ifndef itkPointSetToImageRegistrationMethod_h 19 #define itkPointSetToImageRegistrationMethod_h 63 template<
typename TFixedPo
intSet,
typename TMovingImage >
116 itkSetConstObjectMacro(FixedPointSet, FixedPointSetType);
117 itkGetConstObjectMacro(FixedPointSet, FixedPointSetType);
121 itkSetConstObjectMacro(MovingImage, MovingImageType);
122 itkGetConstObjectMacro(MovingImage, MovingImageType);
126 itkSetObjectMacro(
Optimizer, OptimizerType);
127 itkGetModifiableObjectMacro(
Optimizer, OptimizerType);
131 itkSetObjectMacro(Metric, MetricType);
132 itkGetModifiableObjectMacro(Metric, MetricType);
136 itkSetObjectMacro(
Transform, TransformType);
137 itkGetModifiableObjectMacro(
Transform, TransformType);
141 itkSetObjectMacro(Interpolator, InterpolatorType);
142 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
148 itkGetConstReferenceMacro(InitialTransformParameters, ParametersType);
152 itkGetConstReferenceMacro(LastTransformParameters, ParametersType);
159 const TransformOutputType *
GetOutput() const;
165 virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
171 #ifdef ITKV3_COMPATIBILITY 184 void StartRegistration(
void) { this->
Update(); }
190 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
198 void operator=(
const Self &) ITK_DELETE_FUNCTION;
214 #ifndef ITK_MANUAL_INSTANTIATION 215 #include "itkPointSetToImageRegistrationMethod.hxx" virtual void Update()
Bring this filter up-to-date.
virtual ModifiedTimeType GetMTime() const override
ParametersType m_InitialTransformParameters
SmartPointer< Self > Pointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
ParametersType m_LastTransformParameters
virtual void SetInitialTransformParameters(const ParametersType ¶m)
SingleValuedNonLinearOptimizer OptimizerType
TransformOutputType::ConstPointer TransformOutputConstPointer
virtual ~PointSetToImageRegistrationMethod()
void operator=(const Self &) ITK_DELETE_FUNCTION
unsigned long ModifiedTimeType
This class is a base for the Optimization methods that optimize a single valued function.
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...
DataObject::Pointer DataObjectPointer
OptimizerType::Pointer m_Optimizer
FixedPointSetType::ConstPointer FixedPointSetConstPointer
DataObjectDecorator< TransformType > TransformOutputType
Computes similarity between a point set and an image.
TransformOutputType::Pointer TransformOutputPointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
MetricType::Pointer MetricPointer
PointSetToImageMetric< FixedPointSetType, MovingImageType > MetricType
Class to hold and manage different parameter types used during optimization.
InterpolatorPointer m_Interpolator
Decorates any subclass of itkObject with a DataObject API.
Standard exception handling object.
Generic representation for an optimization method.
MetricType::TransformParametersType ParametersType
const TransformOutputType * GetOutput() const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
MetricType::InterpolatorType InterpolatorType
Base class for all image interpolaters.
TFixedPointSet FixedPointSetType
MovingImageType::ConstPointer MovingImageConstPointer
MovingImageConstPointer m_MovingImage
PointSetToImageRegistrationMethod Self
TMovingImage MovingImageType
Control indentation during Print() invocation.
FixedPointSetConstPointer m_FixedPointSet
TransformPointer m_Transform
SmartPointer< const Self > ConstPointer
MetricType::TransformType TransformType
virtual void GenerateData() override
Base class for PointSet to Image Registration Methods.
InterpolatorType::Pointer InterpolatorPointer
TransformType::Pointer TransformPointer
PointSetToImageRegistrationMethod()