18 #ifndef __itkImageToSpatialObjectMetric_h
19 #define __itkImageToSpatialObjectMetric_h
24 #include "vnl/vnl_vector_fixed.h"
60 template<
typename TFixedImage,
typename TMovingSpatialObject >
81 FixedImageType::ImageDimension);
85 MovingSpatialObjectType::ObjectDimension);
106 typedef vnl_vector_fixed< double,
119 typedef typename MovingSpatialObjectType::Pointer
162 itkGetConstReferenceMacro(LastTransformParameters,
ParametersType);
170 virtual ~ImageToSpatialObjectMetric() {}
173 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkImageToSpatialObjectMetric.hxx"
Array class with size defined at construction time.
static const unsigned int ImageDimension
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
virtual void GetValueAndDerivative(const ParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const =0
vnl_vector_fixed< double, itkGetStaticConstMacro(ObjectDimension) > VectorType
InterpolatorType::Pointer InterpolatorPointer
void operator=(const Self &)
virtual void Initialize(void)
TransformType::JacobianType TransformJacobianType
TFixedImage FixedImageType
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(ObjectDimension), itkGetStaticConstMacro(ImageDimension) > TransformType
FixedImageConstPointer m_FixedImage
DerivativeType m_MatchMeasureDerivatives
LinearInterpolateImageFunction< TFixedImage, CoordinateRepresentationType > InterpolatorType
static const unsigned int ObjectDimension
SmartPointer< const Self > ConstPointer
TMovingSpatialObject MovingSpatialObjectType
TransformType::Pointer TransformPointer
ParametersType m_LastTransformParameters
Array< ParametersValueType > DerivativeType
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
Standard exception handling object.
FixedImageType::ConstPointer FixedImageConstPointer
Linearly interpolate an image at specified positions.
TransformPointer m_Transform
FixedImageType::Pointer FixedImagePointer
Superclass::ParametersType ParametersType
Superclass::ParametersType ParametersType
Superclass::DerivativeType DerivativeType
Superclass::MeasureType MeasureType
Superclass::ParametersValueType ParametersValueType
Control indentation during Print() invocation.
MeasureType m_MatchMeasure
ImageToSpatialObjectMetric Self
Base class for most ITK classes.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
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