19#ifndef itkLandmarkRegistrationEstimator_h
20#define itkLandmarkRegistrationEstimator_h
32template <
unsigned int Dimension,
typename TTransform>
45 using metric_t =
typename nanoflann::metric_L2::template traits<double, self_t>::distance_t;
46 using index_t = nanoflann::KDTreeSingleIndexAdaptor<metric_t, self_t, 3, size_t>;
73 unsigned int currentBest)
override;
82 double edgeLength)
override;
108#ifndef ITK_MANUAL_INSTANTIATION
109# include "itkLandmarkRegistrationEstimator.hxx"
virtual void SetDelta(double delta)
SmartPointer< Self > Pointer
std::vector< std::vector< double > > VectorofVectorsT
bool CheckCorresspondenceEdgeLength(std::vector< double > ¶meters, std::vector< Point< double, Dimension > * > &data, double edgeLength) override
void LeastSquaresEstimate(std::vector< Point< double, Dimension > * > &data, std::vector< double > ¶meters) override
PointsContainer::Pointer agreePoints
LandmarkRegistrationEstimator()
KDTreeVectorOfVectorsAdaptor< VectorofVectorsT, double > KdTreeT
LandmarkRegistrationEstimator Self
~LandmarkRegistrationEstimator() override=default
ParametersEstimator< itk::Point< double, Dimension >, double > Superclass
SmartPointer< const Self > ConstPointer
typename nanoflann::metric_L2::template traits< double, self_t >::distance_t metric_t
virtual double GetDelta()
PointsLocatorType::Pointer pointsLocator
itk::VectorContainer< itk::Point< double, 3 > > PointsContainer
bool Agree(std::vector< double > ¶meters, Point< double, Dimension > &data) override
std::unique_ptr< KdTreeT > mat_adaptor
void Estimate(std::vector< Point< double, Dimension > > &data, std::vector< double > ¶meters) override
void SetAgreeData(std::vector< Point< double, Dimension > > &data)
itk::PointsLocator< itk::VectorContainer< itk::Point< double, 3 > > > PointsLocatorType
void LeastSquaresEstimate(std::vector< Point< double, Dimension > > &data, std::vector< double > ¶meters) override
void Estimate(std::vector< Point< double, Dimension > * > &data, std::vector< double > ¶meters) override
nanoflann::KDTreeSingleIndexAdaptor< metric_t, self_t, 3, vcl_size_t > index_t
std::vector< double > AgreeMultiple(std::vector< double > ¶meters, std::vector< Point< double, Dimension > > &data, unsigned int currentBest) override
bool CheckCorresspondenceDistance(std::vector< double > ¶meters, std::vector< Point< double, Dimension > * > &data) override
KDTreeVectorOfVectorsAdaptor< VectorofVectorsT, double, 3, nanoflann::metric_L2 > self_t
A templated class holding a geometric point in n-Dimensional space.
Accelerate geometric searches for points.
SmartPointer< Self > Pointer
Implements transparent reference counting.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
detail::VectorContainer< std::conditional_t< std::is_void_v< T2 >, SizeValueType, T1 >, std::conditional_t< std::is_void_v< T2 >, T1, T2 > > VectorContainer