18#ifndef elxCorrespondingPointsEuclideanDistanceMetric_h
19#define elxCorrespondingPointsEuclideanDistanceMetric_h
39template <
class TElastix>
42 typename MetricBase<TElastix>::MovingPointSetType>
88 using typename Superclass1::MeasureType;
89 using typename Superclass1::DerivativeType;
90 using typename Superclass1::ParametersType;
135 typename PointSetType::Pointer & pointSet,
136 const typename ImageType::ConstPointer image);
155#ifndef ITK_MANUAL_INSTANTIATION
156# include "elxCorrespondingPointsEuclideanDistanceMetric.hxx"
An metric based on the itk::CorrespondingPointsEuclideanDistancePointMetric.
void SelectNewSamples() override
unsigned int ReadLandmarks(const std::string &landmarkFileName, typename PointSetType::Pointer &pointSet, const typename ImageType::ConstPointer image)
itk::SmartPointer< Self > Pointer
itkStaticConstMacro(FixedImageDimension, unsigned int, FixedImageType::ImageDimension)
CorrespondingPointsEuclideanDistanceMetric()=default
void Initialize() override
int BeforeAllBase() override
itk::SmartPointer< const Self > ConstPointer
typename ElastixType::FixedImageType FixedImageType
~CorrespondingPointsEuclideanDistanceMetric() override=default
void BeforeRegistration() override
itkStaticConstMacro(MovingImageDimension, unsigned int, MovingImageType::ImageDimension)
FixedPointSetType PointSetType
ITK_DISALLOW_COPY_AND_MOVE(CorrespondingPointsEuclideanDistanceMetric)
typename Superclass2::ITKBaseType ITKBaseType
elxClassNameMacro("CorrespondingPointsEuclideanDistanceMetric")
This class is the elastix base class for all Metrics.
itk::PointSet< CoordinateRepresentationType, MovingImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, MovingImageDimension, MovingImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > MovingPointSetType
itk::PointSet< CoordinateRepresentationType, FixedImageDimension, itk::DefaultStaticMeshTraits< CoordinateRepresentationType, FixedImageDimension, FixedImageDimension, CoordinateRepresentationType, CoordinateRepresentationType, CoordinateRepresentationType > > FixedPointSetType
itk::SingleValuedCostFunction ITKBaseType
typename ElastixType::FixedImageType FixedImageType
typename ElastixType::MovingImageType MovingImageType
typename ElastixType::RegistrationBaseType RegistrationType
Computes the Euclidean distance between a moving point-set and a fixed point-set. Correspondence is n...
typename TransformType::InputPointType InputPointType
typename TransformType::Pointer TransformPointer
typename MovingPointSetType::ConstPointer MovingPointSetConstPointer
typename FixedPointSetType::ConstPointer FixedPointSetConstPointer
TMovingPointSet MovingPointSetType
typename TransformType::ParametersType TransformParametersType
typename TransformType::JacobianType TransformJacobianType
TFixedPointSet FixedPointSetType
typename TransformType::OutputPointType OutputPointType
typename FixedImageMaskType::Pointer FixedImageMaskPointer
typename MovingImageMaskType::Pointer MovingImageMaskPointer
ImageMaskSpatialObject< Self::MovingPointSetDimension > MovingImageMaskType
Superclass::ParametersValueType CoordinateRepresentationType
ImageMaskSpatialObject< Self::FixedPointSetDimension > FixedImageMaskType