18 #ifndef itkTwoProjectionImageRegistrationMethod_h 19 #define itkTwoProjectionImageRegistrationMethod_h 64 template <
typename TFixedImage,
typename TMovingImage>
130 itkGetConstObjectMacro( FixedImage1, FixedImageType );
131 itkGetConstObjectMacro( FixedImage2, FixedImageType );
136 itkGetConstObjectMacro( MovingImage, MovingImageType );
140 itkSetObjectMacro(
Optimizer, OptimizerType );
145 itkSetObjectMacro( Metric, MetricType );
150 itkSetObjectMacro(
Transform, TransformType );
155 itkSetObjectMacro( Interpolator1, InterpolatorType );
156 itkSetObjectMacro( Interpolator2, InterpolatorType );
163 itkGetConstReferenceMacro( InitialTransformParameters, ParametersType );
168 itkGetConstReferenceMacro( LastTransformParameters, ParametersType );
184 itkGetConstReferenceMacro( FixedImageRegion1, FixedImageRegionType );
185 itkGetConstReferenceMacro( FixedImageRegion2, FixedImageRegionType );
189 itkGetMacro( FixedImageRegionDefined1,
bool );
190 itkGetMacro( FixedImageRegionDefined2,
bool );
196 itkSetMacro( FixedImageRegionDefined1,
bool );
197 itkSetMacro( FixedImageRegionDefined2,
bool );
204 const TransformOutputType *
GetOutput()
const;
218 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
225 itkSetMacro( LastTransformParameters, ParametersType );
256 #ifndef ITK_MANUAL_INSTANTIATION 257 #include "itkTwoProjectionImageRegistrationMethod.hxx" TwoProjectionImageRegistrationMethod()
TransformType::Pointer TransformPointer
ParametersType m_InitialTransformParameters
void SetMovingImage(const MovingImageType *movingImage)
void SetFixedImage1(const FixedImageType *fixedImage1)
TMovingImage MovingImageType
void SetFixedImageRegion2(const FixedImageRegionType ®ion2)
Computes similarity between two fixed images and one fixed image.
SmartPointer< Self > Pointer
virtual ~TwoProjectionImageRegistrationMethod()
MetricType::InterpolatorType InterpolatorType
void SetFixedImage2(const FixedImageType *fixedImage2)
DataObject::Pointer DataObjectPointer
MetricType::TransformParametersType ParametersType
MetricType::Pointer MetricPointer
This class is a base for the Optimization methods that optimize a single valued function.
Base class for Image Registration Methods.
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...
TFixedImage FixedImageType
TransformOutputType::Pointer TransformOutputPointer
MetricType::TransformType TransformType
FixedImageConstPointer m_FixedImage1
InterpolatorType::Pointer InterpolatorPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
OptimizerType::Pointer m_Optimizer
unsigned long GetMTime() const
virtual void GenerateData() override
MovingImageType::ConstPointer MovingImageConstPointer
TransformOutputType::ConstPointer TransformOutputConstPointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
ParametersType m_LastTransformParameters
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Class to hold and manage different parameter types used during optimization.
void SetFixedImageRegion1(const FixedImageRegionType ®ion1)
Decorates any subclass of itkObject with a DataObject API.
const TransformOutputType * GetOutput() const
bool m_FixedImageRegionDefined2
FixedImageRegionType m_FixedImageRegion1
Generic representation for an optimization method.
virtual void Initialize()
TwoProjectionImageRegistrationMethod Self
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
void operator=(const Self &)
FixedImageConstPointer m_FixedImage2
FixedImageType::ConstPointer FixedImageConstPointer
DataObjectDecorator< TransformType > TransformOutputType
Base class for all image interpolaters.
void StartOptimization(void)
SmartPointer< const Self > ConstPointer
SingleValuedNonLinearOptimizer OptimizerType
Control indentation during Print() invocation.
InterpolatorPointer m_Interpolator2
FixedImageType::RegionType FixedImageRegionType
FixedImageRegionType m_FixedImageRegion2
itkGetObjectMacro(Optimizer, OptimizerType)
virtual void SetInitialTransformParameters(const ParametersType ¶m)
void StartRegistration(void)
bool m_FixedImageRegionDefined1
TwoImageToOneImageMetric< FixedImageType, MovingImageType > MetricType
MetricType::FixedImageRegionType FixedImageRegionType
InterpolatorPointer m_Interpolator1
TransformPointer m_Transform
MovingImageConstPointer m_MovingImage