18 #ifndef itkImageToSpatialObjectRegistrationMethod_h 19 #define itkImageToSpatialObjectRegistrationMethod_h 84 template<
typename TFixedImage,
typename TMovingSpatialObject >
106 typedef typename MovingSpatialObjectType::ConstPointer
139 itkSetConstObjectMacro(FixedImage, FixedImageType);
140 itkGetConstObjectMacro(FixedImage, FixedImageType);
144 itkSetConstObjectMacro(MovingSpatialObject, MovingSpatialObjectType);
145 itkGetConstObjectMacro(MovingSpatialObject, MovingSpatialObjectType);
149 itkSetObjectMacro(
Optimizer, OptimizerType);
150 itkGetModifiableObjectMacro(
Optimizer, OptimizerType);
154 itkSetObjectMacro(Metric, MetricType);
155 itkGetModifiableObjectMacro(Metric, MetricType);
159 itkSetObjectMacro(
Transform, TransformType);
160 itkGetModifiableObjectMacro(
Transform, TransformType);
164 itkSetObjectMacro(Interpolator, InterpolatorType);
165 itkGetModifiableObjectMacro(Interpolator, InterpolatorType);
169 itkSetMacro(InitialTransformParameters, ParametersType);
170 itkGetConstReferenceMacro(InitialTransformParameters, ParametersType);
175 itkGetConstReferenceMacro(LastTransformParameters, ParametersType);
178 const TransformOutputType *
GetOutput()
const;
184 virtual DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
190 #ifdef ITKV3_COMPATIBILITY 202 void StartRegistration(
void) { this->
Update(); }
208 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
223 void operator=(const Self &) ITK_DELETE_FUNCTION;
236 #ifndef ITK_MANUAL_INSTANTIATION 237 #include "itkImageToSpatialObjectRegistrationMethod.hxx" virtual void Update()
Bring this filter up-to-date.
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
TransformType::Pointer TransformPointer
ImageToSpatialObjectMetric< FixedImageType, MovingSpatialObjectType > MetricType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Computes similarity between a moving spatial obejct and an Image to be registered.
MetricType::TransformType TransformType
TFixedImage FixedImageType
virtual ModifiedTimeType GetMTime() const override
InterpolatorType::Pointer InterpolatorPointer
MovingSpatialObjectConstPointer m_MovingSpatialObject
TMovingSpatialObject MovingSpatialObjectType
ParametersType m_InitialTransformParameters
unsigned long ModifiedTimeType
MovingSpatialObjectType::ConstPointer MovingSpatialObjectConstPointer
This class is a base for the Optimization methods that optimize a single valued function.
ParametersType m_LastTransformParameters
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...
MetricType::InterpolatorType InterpolatorType
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
MetricType::TransformParametersType ParametersType
DataObjectDecorator< TransformType > TransformOutputType
FixedImageConstPointer m_FixedImage
Base class for Image Registration Methods.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
TransformOutputType::Pointer TransformOutputPointer
Class to hold and manage different parameter types used during optimization.
Decorates any subclass of itkObject with a DataObject API.
TransformPointer m_Transform
Standard exception handling object.
Generic representation for an optimization method.
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
SingleValuedNonLinearOptimizer OptimizerType
ImageToSpatialObjectRegistrationMethod Self
Linearly interpolate an image at specified positions.
InterpolatorPointer m_Interpolator
ImageToSpatialObjectRegistrationMethod()
DataObject::Pointer DataObjectPointer
const TransformOutputType * GetOutput() const
MetricType::Pointer MetricPointer
TransformOutputType::ConstPointer TransformOutputConstPointer
SmartPointer< const Self > ConstPointer
FixedImageType::ConstPointer FixedImageConstPointer
OptimizerType::Pointer m_Optimizer
virtual ~ImageToSpatialObjectRegistrationMethod()
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
virtual void GenerateData() override