34#ifndef __itkSingleValuedPointSetToPointSetMetric_h
35#define __itkSingleValuedPointSetToPointSetMetric_h
37#include "itkImageBase.h"
39#include "itkSingleValuedCostFunction.h"
41#include "itkSpatialObject.h"
42#include "itkPointSet.h"
61template<
class TFixedPo
intSet,
class TMovingPo
intSet >
63 public SingleValuedCostFunction
86 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
91 TFixedPointSet::PointDimension );
93 TMovingPointSet::PointDimension );
97 itkGetStaticConstMacro( FixedPointSetDimension ),
105 typedef SpatialObject<
109 typedef SpatialObject<
146 {
return this->
m_Transform->GetNumberOfParameters(); }
170 itkSetMacro( UseMetricSingleThreaded,
bool );
171 itkGetConstReferenceMacro( UseMetricSingleThreaded,
bool );
172 itkBooleanMacro( UseMetricSingleThreaded );
180 void PrintSelf( std::ostream & os, Indent indent )
const override;
203#ifndef ITK_MANUAL_INSTANTIATION
204#include "itkSingleValuedPointSetToPointSetMetric.hxx"
Computes similarity between two point sets.
SingleValuedPointSetToPointSetMetric()
unsigned int GetNumberOfParameters(void) const override
virtual void Initialize(void)
SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
MovingImageMaskType::Pointer MovingImageMaskPointer
~SingleValuedPointSetToPointSetMetric() override
TransformType::InputPointType InputPointType
SingleValuedPointSetToPointSetMetric(const Self &)
Superclass::DerivativeType DerivativeType
TransformType::OutputPointType OutputPointType
TMovingPointSet MovingPointSetType
itkStaticConstMacro(FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
Superclass::ParametersValueType CoordinateRepresentationType
DerivativeType::ValueType DerivativeValueType
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
Superclass::MeasureType MeasureType
FixedPointSetType::PixelType FixedPointSetPixelType
Superclass::ParametersType ParametersType
MovingPointSetConstPointer m_MovingPointSet
SingleValuedPointSetToPointSetMetric Self
itkStaticConstMacro(MovingPointSetDimension, unsigned int, TMovingPointSet::PointDimension)
TFixedPointSet FixedPointSetType
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
FixedPointSetType::PointsContainer::ConstIterator PointIterator
void PrintSelf(std::ostream &os, Indent indent) const override
unsigned int m_NumberOfPointsCounted
FixedPointSetConstPointer m_FixedPointSet
TransformType::ParametersType TransformParametersType
SmartPointer< const Self > ConstPointer
SingleValuedCostFunction Superclass
TransformType::JacobianType TransformJacobianType
SmartPointer< Self > Pointer
void operator=(const Self &)
TransformPointer m_Transform
virtual void BeforeThreadedGetValueAndDerivative(const TransformParametersType ¶meters) const
FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
MovingPointSetType::ConstPointer MovingPointSetConstPointer
TransformType::Pointer TransformPointer
bool m_UseMetricSingleThreaded
FixedPointSetType::ConstPointer FixedPointSetConstPointer
MovingPointSetType::PixelType MovingPointSetPixelType
MovingImageMaskConstPointer m_MovingImageMask
void SetTransformParameters(const ParametersType ¶meters) const
FixedImageMaskConstPointer m_FixedImageMask
FixedImageMaskType::Pointer FixedImageMaskPointer
SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType