22 #if defined(MRPT_IS_X86_AMD64)
48 float _this_z,
float _other_x,
float _other_y,
float _other_z)
68 #if defined(MRPT_IS_X86_AMD64)
110 std::vector<float>& ys)
const;
132 std::vector<float>& xs, std::vector<float>& ys)
const;
143 const size_t num_elements_this_map,
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
void filterUniqueRobustPairs(const size_t num_elements_this_map, TMatchingPairList &out_filtered_list) const
Creates a filtered list of pairings with those ones which have a single correspondence which coincide...
void saveAsMATLABScript(const std::string &filName) const
Saves the correspondences as a MATLAB script which draws them.
bool contains(const TMatchingPair &p) const
Test whether the given pair "p" is within the pairings.
void squareErrorVector(const mrpt::poses::CPose2D &q, std::vector< float > &out_sqErrs) const
Returns a vector with the square error between each pair of correspondences in the list,...
float overallSquareErrorAndPoints(const mrpt::poses::CPose2D &q, std::vector< float > &xs, std::vector< float > &ys) const
Computes the overall square error between the 2D points in the list of correspondences,...
float overallSquareError(const mrpt::poses::CPose2D &q) const
Computes the overall square error between the 2D points in the list of correspondences,...
void dumpToFile(const std::string &fileName) const
Saves the correspondences to a text file.
bool indexOtherMapHasCorrespondence(size_t idx) const
Checks if the given index from the "other" map appears in the list.
GLubyte GLubyte GLubyte a
GLsizei const GLchar ** string
GLdouble GLdouble GLdouble GLdouble q
Functions for estimating the optimal transformation between two frames of references given measuremen...
bool operator<(const TMatchingPair &a, const TMatchingPair &b)
A comparison operator, for sorting lists of TMatchingPair's, first order by this_idx,...
TMatchingPair const * TMatchingPairConstPtr
bool operator==(const TMatchingPair &a, const TMatchingPair &b)
A comparison operator
std::ostream & operator<<(std::ostream &o, const mrpt::tfest::TMatchingPair &pair)
unsigned __int32 uint32_t
A structure for holding correspondences between two sets of points or points-like entities in 2D or 3...
float errorSquareAfterTransformation
TMatchingPair(uint32_t _this_idx, uint32_t _other_idx, float _this_x, float _this_y, float _this_z, float _other_x, float _other_y, float _other_z)