15 #ifndef itkPointSetToPointSetSingleValuedMetric_h
16 #define itkPointSetToPointSetSingleValuedMetric_h
18 #include <itkImageBase.h>
19 #include <itkTransform.h>
20 #include <itkSingleValuedCostFunction.h>
21 #include <itkExceptionObject.h>
41 template <
class TFixedPo
intSet,
class TMovingPo
intSet>
69 itkStaticConstMacro(MovingPointSetDimension,
unsigned int,
70 TMovingPointSet::PointDimension);
71 itkStaticConstMacro(FixedPointSetDimension,
unsigned int,
72 TFixedPointSet::PointDimension);
74 typedef typename FixedPointSetType::PointsContainer::ConstIterator
PointIterator;
78 typedef Transform<CoordinateRepresentationType,
79 itkGetStaticConstMacro(MovingPointSetDimension),
98 itkSetConstObjectMacro( FixedPointSet, FixedPointSetType );
101 itkGetConstObjectMacro( FixedPointSet, FixedPointSetType );
104 itkSetConstObjectMacro( MovingPointSet, MovingPointSetType );
107 itkGetConstObjectMacro( MovingPointSet, MovingPointSetType );
116 void SetTransformParameters(
const ParametersType & parameters )
const;
120 {
return m_Transform->GetNumberOfParameters(); }
124 virtual void Initialize(
void) throw ( ExceptionObject );
128 virtual ~PointSetToPointSetSingleValuedMetric() {};
129 void PrintSelf(std::ostream& os, Indent indent)
const override;
138 void operator=(
const Self&);
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "itkPointSetToPointSetSingleValuedMetric.txx"
Superclass::MeasureType MeasureType
Definition: itkPointSetToPointSetSingleValuedMetric.h:89
TMovingPointSet MovingPointSetType
Definition: itkPointSetToPointSetSingleValuedMetric.h:56
Superclass::ParametersValueType CoordinateRepresentationType
Definition: itkPointSetToPointSetSingleValuedMetric.h:53
MovingPointSetType::PixelType MovingPointSetPixelType
Definition: itkPointSetToPointSetSingleValuedMetric.h:60
SmartPointer< Self > Pointer
Definition: itkPointSetToPointSetSingleValuedMetric.h:49
Superclass::ParametersType ParametersType
Definition: itkPointSetToPointSetSingleValuedMetric.h:95
FixedPointSetType::PointsContainer::ConstIterator PointIterator
Definition: itkPointSetToPointSetSingleValuedMetric.h:74
MovingPointSetConstPointer m_MovingPointSet
Definition: itkPointSetToPointSetSingleValuedMetric.h:132
Definition: niftkITKAffineResampleImage.cxx:74
TransformPointer m_Transform
Definition: itkPointSetToPointSetSingleValuedMetric.h:134
Superclass::DerivativeType DerivativeType
Definition: itkPointSetToPointSetSingleValuedMetric.h:92
unsigned int GetNumberOfParameters(void) const override
Definition: itkPointSetToPointSetSingleValuedMetric.h:119
TransformType::Pointer TransformPointer
Definition: itkPointSetToPointSetSingleValuedMetric.h:82
SingleValuedCostFunction Superclass
Definition: itkPointSetToPointSetSingleValuedMetric.h:48
FixedPointSetConstPointer m_FixedPointSet
Definition: itkPointSetToPointSetSingleValuedMetric.h:131
FixedPointSetType::ConstPointer FixedPointSetConstPointer
Definition: itkPointSetToPointSetSingleValuedMetric.h:66
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
TransformType::ParametersType TransformParametersType
Definition: itkPointSetToPointSetSingleValuedMetric.h:85
FixedPointSetType::PointDataContainer::ConstIterator PointDataIterator
Definition: itkPointSetToPointSetSingleValuedMetric.h:75
Computes similarity between two point sets, but sums it up to a single value.
Definition: itkPointSetToPointSetSingleValuedMetric.h:42
SmartPointer< const Self > ConstPointer
Definition: itkPointSetToPointSetSingleValuedMetric.h:50
PointSetToPointSetSingleValuedMetric Self
Definition: itkPointSetToPointSetSingleValuedMetric.h:47
FixedPointSetType::PixelType FixedPointSetPixelType
Definition: itkPointSetToPointSetSingleValuedMetric.h:65
TFixedPointSet FixedPointSetType
Definition: itkPointSetToPointSetSingleValuedMetric.h:64
MovingPointSetType::ConstPointer MovingPointSetConstPointer
Definition: itkPointSetToPointSetSingleValuedMetric.h:61
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingPointSetDimension), itkGetStaticConstMacro(FixedPointSetDimension)> TransformType
Definition: itkPointSetToPointSetSingleValuedMetric.h:80
TransformType::JacobianType TransformJacobianType
Definition: itkPointSetToPointSetSingleValuedMetric.h:86
TransformType::OutputPointType OutputPointType
Definition: itkPointSetToPointSetSingleValuedMetric.h:84
TransformType::InputPointType InputPointType
Definition: itkPointSetToPointSetSingleValuedMetric.h:83