34 #ifndef __itkSingleValuedPointSetToPointSetMetric_h 35 #define __itkSingleValuedPointSetToPointSetMetric_h 37 #include "itkImageBase.h" 39 #include "itkSingleValuedCostFunction.h" 40 #include "itkExceptionObject.h" 41 #include "itkSpatialObject.h" 42 #include "itkPointSet.h" 61 template<
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<
124 itkSetConstObjectMacro( FixedPointSet, FixedPointSetType );
127 itkGetConstObjectMacro( FixedPointSet, FixedPointSetType );
130 itkSetConstObjectMacro( MovingPointSet, MovingPointSetType );
133 itkGetConstObjectMacro( MovingPointSet, MovingPointSetType );
146 {
return this->
m_Transform->GetNumberOfParameters(); }
151 virtual void Initialize(
void )
throw ( ExceptionObject );
170 itkSetMacro( UseMetricSingleThreaded,
bool );
171 itkGetConstReferenceMacro( UseMetricSingleThreaded,
bool );
172 itkBooleanMacro( UseMetricSingleThreaded );
180 void PrintSelf( std::ostream & os, Indent indent )
const;
203 #ifndef ITK_MANUAL_INSTANTIATION 204 #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
virtual ~SingleValuedPointSetToPointSetMetric()
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