20 #ifndef MIRTK_SpectralMatch_H 21 #define MIRTK_SpectralMatch_H 23 #include "mirtk/PointCorrespondence.h" 25 #include "mirtk/PointSet.h" 86 virtual bool Set(
const char *,
const char *);
120 #endif // MIRTK_SpectralMatch_H TypeId
Enumeration of available point correspondence maps.
virtual bool Set(const char *, const char *)
Set parameter value from string.
virtual bool GetTargetPoint(int, Point &) const
Get (transformed) target point corresponding to i-th source (sample) point.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual TypeId Type() const
Type enumeration value.
virtual PointCorrespondence * NewInstance() const
Copy construct a new instance.
virtual void Update()
Update correspondence map.
virtual bool GetInputSourcePoint(int, Point &) const
Get untransformed source point corresponding to i-th target (sample) point.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
mirtkAttributeMacro(PointSet, TargetPoints)
Target points corresponding to source points.
virtual void Initialize()
Initialize correspondence map.
virtual bool GetInputTargetPoint(int, Point &) const
Get untransformed target point corresponding to i-th source (sample) point.
virtual bool GetSourcePoint(int, Point &) const
Get (transformed) source point corresponding to i-th target (sample) point.
virtual bool Upgrade()
Update correspondence map after convergence.
mirtkPublicAttributeMacro(int, NumberOfNeighbors)
Number of spectral nearest neighbors to consider.
virtual ~SpectralMatch()
Destructor.
SpectralMatch()
Constructor.