18#ifndef itkImageToSpatialObjectMetric_h
19#define itkImageToSpatialObjectMetric_h
24#include "vnl/vnl_vector_fixed.h"
59template <
typename TFixedImage,
typename TMovingSpatialObject>
80 static constexpr unsigned int ImageDimension = FixedImageType::ImageDimension;
83 static constexpr unsigned int ObjectDimension = MovingSpatialObjectType::ObjectDimension;
100 using VectorType = vnl_vector_fixed<double, Self::ObjectDimension>;
182#ifndef ITK_MANUAL_INSTANTIATION
183# include "itkImageToSpatialObjectMetric.hxx"
Array2D class representing a 2D array.
Array class with size defined at construction time.
Computes similarity between a moving spatial object and an Image to be registered.
unsigned int GetNumberOfParameters() const override
typename FixedImageType::Pointer FixedImagePointer
typename TransformType::InputPointType InputPointType
typename MovingSpatialObjectType::Pointer MovingSpatialObjectPointer
Superclass::ParametersValueType CoordinateRepresentationType
typename MovingSpatialObjectType::ConstPointer MovingSpatialObjectConstPointer
typename TransformType::JacobianType TransformJacobianType
ImageToSpatialObjectMetric()
typename TransformType::Pointer TransformPointer
vnl_vector_fixed< double, Self::ObjectDimension > VectorType
void PrintSelf(std::ostream &os, Indent indent) const override
typename TransformType::ParametersType TransformParametersType
typename InterpolatorType::Pointer InterpolatorPointer
virtual void Initialize()
~ImageToSpatialObjectMetric() override=default
TMovingSpatialObject MovingSpatialObjectType
typename FixedImageType::ConstPointer FixedImageConstPointer
void GetValueAndDerivative(const ParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override=0
typename TransformType::OutputPointType OutputPointType
TFixedImage FixedImageType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Linearly interpolate an image at specified positions.
Class to hold and manage different parameter types used during optimization.
A templated class holding a geometric point in n-Dimensional space.
This class is a base for the CostFunctions returning a single value.
Superclass::ParametersType ParametersType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....