20 #ifndef MIRTK_FiducialMatch_H 21 #define MIRTK_FiducialMatch_H 23 #include "mirtk/PointCorrespondence.h" 25 #include "mirtk/Array.h" 39 mirtkPublicAttributeMacro(Array<int>, TargetIndex);
42 mirtkPublicAttributeMacro(Array<int>, SourceIndex);
45 mirtkPublicAttributeMacro(
string, CorrespondenceMap);
73 virtual bool Set(
const char *,
const char *);
86 const char * = NULL)
const;
91 const Array<int> &, Array<int> &)
const;
127 #endif // MIRTK_FiducialMatch_H TypeId
Enumeration of available point correspondence maps.
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.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
void ValidateCorrespondenceMap(const RegisteredPointSet *, const RegisteredPointSet *, const Array< int > &, const char *=NULL) const
Check if correspondence map has a valid entry for every target point.
virtual int GetTargetIndex(int) const
virtual void Initialize()
Initialize correspondence map.
virtual TypeId Type() const
Type enumeration value.
virtual bool GetInputSourcePoint(int, Point &) const
Get untransformed source point corresponding to i-th target (sample) point.
virtual bool Set(const char *, const char *)
Set parameter value from string.
FiducialMatch()
Constructor.
virtual bool GetInputTargetPoint(int, Point &) const
Get untransformed target point corresponding to i-th source (sample) point.
virtual PointCorrespondence * NewInstance() const
Copy construct a new instance.
void InvertCorrespondenceMap(const RegisteredPointSet *, const RegisteredPointSet *, const Array< int > &, Array< int > &) const
Compute inverse correspondence map.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual bool GetSourcePoint(int, Point &) const
Get (transformed) source point corresponding to i-th target (sample) point.
virtual int GetSourceIndex(int) const
virtual ~FiducialMatch()
Destructor.