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"
45 template <
class TFixedPo
intSet,
class TMovingPo
intSet>
47 :
public SingleValuedCostFunction
70 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
74 itkStaticConstMacro( FixedPointSetDimension,
unsigned int,
75 TFixedPointSet::PointDimension );
76 itkStaticConstMacro( MovingPointSetDimension,
unsigned int,
77 TMovingPointSet::PointDimension );
81 itkGetStaticConstMacro( FixedPointSetDimension ),
89 typedef SpatialObject<
93 typedef SpatialObject<
126 void SetTransformParameters(
const ParametersType & parameters )
const;
130 {
return this->m_Transform->GetNumberOfParameters(); }
135 virtual void Initialize(
void ) throw ( ExceptionObject );
139 itkSetConstObjectMacro( FixedImageMask, FixedImageMaskType );
142 itkGetConstObjectMacro( FixedImageMask, FixedImageMaskType );
145 itkSetConstObjectMacro( MovingImageMask, MovingImageMaskType );
148 itkGetConstObjectMacro( MovingImageMask, MovingImageMaskType );
152 virtual ~SingleValuedPointSetToPointSetMetric() {};
155 void PrintSelf( std::ostream & os, Indent indent )
const;
168 void operator=(
const Self&);
174 #ifndef ITK_MANUAL_INSTANTIATION
175 #include "itkSingleValuedPointSetToPointSetMetric.txx"
Superclass::DerivativeType DerivativeType
MovingImageMaskConstPointer m_MovingImageMask
TransformPointer m_Transform
SpatialObject< itkGetStaticConstMacro(MovingPointSetDimension)> MovingImageMaskType
MovingImageMaskType::Pointer MovingImageMaskPointer
TransformType::Pointer TransformPointer
TransformType::ParametersType TransformParametersType
FixedPointSetConstPointer m_FixedPointSet
SmartPointer< Self > Pointer
FixedPointSetType::PointsContainer::ConstIterator PointIterator
Superclass::ParametersValueType CoordinateRepresentationType
TransformType::OutputPointType OutputPointType
Superclass::ParametersType ParametersType
MovingImageMaskType::ConstPointer MovingImageMaskConstPointer
TransformType::InputPointType InputPointType
MovingPointSetConstPointer m_MovingPointSet
MovingPointSetType::ConstPointer MovingPointSetConstPointer
SmartPointer< const Self > ConstPointer
FixedImageMaskType::ConstPointer FixedImageMaskConstPointer
FixedImageMaskType::Pointer FixedImageMaskPointer
SingleValuedCostFunction Superclass
TransformType::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
MovingPointSetType::PixelType MovingPointSetPixelType
Superclass::MeasureType MeasureType
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
SingleValuedPointSetToPointSetMetric Self
FixedPointSetType::ConstPointer FixedPointSetConstPointer
TFixedPointSet FixedPointSetType
Computes similarity between two point sets.
DerivativeType::ValueType DerivativeValueType
SpatialObject< itkGetStaticConstMacro(FixedPointSetDimension)> FixedImageMaskType
TMovingPointSet MovingPointSetType
unsigned int m_NumberOfPointsCounted
FixedPointSetType::PixelType FixedPointSetPixelType
unsigned int GetNumberOfParameters(void) const
FixedImageMaskConstPointer m_FixedImageMask
AdvancedTransform< CoordinateRepresentationType, itkGetStaticConstMacro(FixedPointSetDimension), itkGetStaticConstMacro(MovingPointSetDimension) > TransformType
TransformType::JacobianType TransformJacobianType