18 #ifndef itkImageToSpatialObjectMetric_h
19 #define itkImageToSpatialObjectMetric_h
24 #include "vnl/vnl_vector_fixed.h"
60 template<
typename TFixedImage,
typename TMovingSpatialObject >
80 itkStaticConstMacro(ImageDimension,
unsigned int,
81 FixedImageType::ImageDimension);
84 itkStaticConstMacro(ObjectDimension,
unsigned int,
85 MovingSpatialObjectType::ObjectDimension);
89 itkGetStaticConstMacro(ObjectDimension),
106 typedef vnl_vector_fixed< double,
119 typedef typename MovingSpatialObjectType::Pointer
152 virtual void GetValueAndDerivative(
const ParametersType & parameters,
157 virtual unsigned int GetNumberOfParameters(
void ) const ITK_OVERRIDE;
160 virtual
void Initialize(
void);
164 itkGetConstReferenceMacro(LastTransformParameters,
ParametersType);
172 virtual ~ImageToSpatialObjectMetric() ITK_OVERRIDE {}
175 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #include "itkImageToSpatialObjectMetric.hxx"
Array class with size defined at construction time.
TransformType::OutputPointType OutputPointType
Computes similarity between a moving spatial obejct and an Image to be registered.
Superclass::ParametersValueType CoordinateRepresentationType
This class is a base for the CostFunctions returning a single value.
TransformType::InputPointType InputPointType
Light weight base class for most itk classes.
TransformType::ParametersType TransformParametersType
vnl_vector_fixed< double, itkGetStaticConstMacro(ObjectDimension) > VectorType
InterpolatorType::Pointer InterpolatorPointer
void operator=(const Self &)
TransformType::JacobianType TransformJacobianType
TFixedImage FixedImageType
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(ObjectDimension), itkGetStaticConstMacro(ImageDimension) > TransformType
FixedImageConstPointer m_FixedImage
DerivativeType m_MatchMeasureDerivatives
LinearInterpolateImageFunction< TFixedImage, CoordinateRepresentationType > InterpolatorType
SmartPointer< const Self > ConstPointer
TMovingSpatialObject MovingSpatialObjectType
TransformType::Pointer TransformPointer
ParametersType m_LastTransformParameters
SmartPointer< Self > Pointer
Array2D class representing a 2D array with size defined at construction time.
Class to hold and manage different parameter types used during optimization.
SingleValuedCostFunction Superclass
FixedImageType::ConstPointer FixedImageConstPointer
Linearly interpolate an image at specified positions.
TransformPointer m_Transform
FixedImageType::Pointer FixedImagePointer
Superclass::ParametersType ParametersType
Superclass::DerivativeType DerivativeType
Superclass::MeasureType MeasureType
Control indentation during Print() invocation.
MeasureType m_MatchMeasure
ImageToSpatialObjectMetric Self
Base class for most ITK classes.
ImageToSpatialObjectMetric(const Self &)
A templated class holding a geometric point in n-Dimensional space.
MovingSpatialObjectType::Pointer MovingSpatialObjectPointer
MovingSpatialObjectConstPointer m_MovingSpatialObject
InterpolatorPointer m_Interpolator
MovingSpatialObjectType::ConstPointer MovingSpatialObjectConstPointer