18 #ifndef itkImageToSpatialObjectMetric_h
19 #define itkImageToSpatialObjectMetric_h
24 #include "vnl/vnl_vector_fixed.h"
60 template<
typename TFixedImage,
typename TMovingSpatialObject >
82 static constexpr
unsigned int ImageDimension = FixedImageType::ImageDimension;
85 static constexpr
unsigned int ObjectDimension = MovingSpatialObjectType::ObjectDimension;
89 Self::ObjectDimension,
90 Self::ImageDimension >;
107 Self::ObjectDimension >;
156 unsigned int GetNumberOfParameters()
const override;
159 virtual void Initialize();
163 itkGetConstReferenceMacro(LastTransformParameters,
ParametersType);
173 void PrintSelf(std::ostream & os,
Indent indent)
const override;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkImageToSpatialObjectMetric.hxx"
Array class with size defined at construction time.
Computes similarity between a moving spatial obejct and an Image to be registered.
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
Superclass::ParametersValueType CoordinateRepresentationType
FixedImageConstPointer m_FixedImage
typename TransformType::Pointer TransformPointer
DerivativeType m_MatchMeasureDerivatives
typename MovingSpatialObjectType::ConstPointer MovingSpatialObjectConstPointer
typename TransformType::ParametersType TransformParametersType
typename FixedImageType::ConstPointer FixedImageConstPointer
typename TransformType::OutputPointType OutputPointType
ParametersType m_LastTransformParameters
TMovingSpatialObject MovingSpatialObjectType
typename FixedImageType::Pointer FixedImagePointer
Array2D class representing a 2D array with size defined at construction time.
typename InterpolatorType::Pointer InterpolatorPointer
Linearly interpolate an image at specified positions.
TransformPointer m_Transform
typename MovingSpatialObjectType::Pointer MovingSpatialObjectPointer
vnl_vector_fixed< double, Self::ObjectDimension > VectorType
TFixedImage FixedImageType
typename TransformType::JacobianType TransformJacobianType
Control indentation during Print() invocation.
Base class for most ITK classes.
A templated class holding a geometric point in n-Dimensional space.
MovingSpatialObjectConstPointer m_MovingSpatialObject
typename TransformType::InputPointType InputPointType
InterpolatorPointer m_Interpolator