17 #ifndef __itkSingleValuedPointSetToPointSetMetric_h
18 #define __itkSingleValuedPointSetToPointSetMetric_h
20 #include "itkImageBase.h"
22 #include "itkSingleValuedCostFunction.h"
23 #include "itkExceptionObject.h"
24 #include "itkSpatialObject.h"
25 #include "itkPointSet.h"
44 template<
class TFixedPo
intSet,
class TMovingPo
intSet >
46 public SingleValuedCostFunction
69 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
74 TFixedPointSet::PointDimension );
76 TMovingPointSet::PointDimension );
80 itkGetStaticConstMacro( FixedPointSetDimension ),
88 typedef SpatialObject<
92 typedef SpatialObject<
129 {
return this->
m_Transform->GetNumberOfParameters(); }
134 virtual void Initialize(
void ) throw ( ExceptionObject );
141 itkGetConstObjectMacro( FixedImageMask, FixedImageMaskType );
147 itkGetConstObjectMacro( MovingImageMask, MovingImageMaskType );
153 itkSetMacro( UseMetricSingleThreaded,
bool );
154 itkGetConstReferenceMacro( UseMetricSingleThreaded,
bool );
155 itkBooleanMacro( UseMetricSingleThreaded );
160 virtual ~SingleValuedPointSetToPointSetMetric() {}
163 void PrintSelf( std::ostream & os, Indent indent )
const;
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkSingleValuedPointSetToPointSetMetric.hxx"
Superclass::DerivativeType DerivativeType
bool m_UseMetricSingleThreaded
MovingImageMaskConstPointer m_MovingImageMask
TransformPointer m_Transform
MovingImageMaskType::Pointer MovingImageMaskPointer
void SetTransformParameters(const ParametersType ¶meters) const
TransformType::Pointer TransformPointer
void operator=(const Self &)
TransformType::ParametersType TransformParametersType
FixedPointSetConstPointer m_FixedPointSet
FixedPointSetType::PointsContainer::ConstIterator PointIterator
Superclass::ParametersValueType CoordinateRepresentationType
TransformType::OutputPointType OutputPointType
Superclass::ParametersType ParametersType
SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension) > MovingImageMaskType
MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
TransformType::InputPointType InputPointType
virtual void Initialize(void)
SingleValuedPointSetToPointSetMetric()
MovingPointSetConstPointer m_MovingPointSet
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
MovingPointSetType::ConstPointer MovingPointSetConstPointer
SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension) > FixedImageMaskType
FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
FixedImageMaskType::Pointer FixedImageMaskPointer
SingleValuedCostFunction Superclass
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
MovingPointSetType::PixelType MovingPointSetPixelType
Superclass::MeasureType MeasureType
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
SingleValuedPointSetToPointSetMetric Self
SmartPointer< const Self > ConstPointer
FixedPointSetType::ConstPointer FixedPointSetConstPointer
itkStaticConstMacro(FixedPointSetDimension, unsigned int, TFixedPointSet::PointDimension)
TFixedPointSet FixedPointSetType
Computes similarity between two point sets.
DerivativeType::ValueType DerivativeValueType
TMovingPointSet MovingPointSetType
unsigned int m_NumberOfPointsCounted
FixedPointSetType::PixelType FixedPointSetPixelType
virtual void BeforeThreadedGetValueAndDerivative(const TransformParametersType ¶meters) const
unsigned int GetNumberOfParameters(void) const
FixedImageMaskConstPointer m_FixedImageMask
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
TransformType::JacobianType TransformJacobianType