A list of TMatchingPair.
Definition at line 66 of file TMatchingPair.h.
#include <mrpt/utils/TMatchingPair.h>

Public Member Functions | |
| bool | indexOtherMapHasCorrespondence (size_t idx) const |
| Checks if the given index from the "other" map appears in the list. | |
| void | dumpToFile (const std::string &fileName) const |
| Saves the correspondences to a text file. | |
| void | saveAsMATLABScript (const std::string &filName) const |
| Saves the correspondences as a MATLAB script which draws them. | |
| float | overallSquareError (const mrpt::poses::CPose2D &q) const |
| Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q". | |
| 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, given the 2D transformation "q", and return the transformed points as well. | |
| 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, given the 2D transformation "q" Each element ![]() | |
| void | squareErrorVector (const mrpt::poses::CPose2D &q, std::vector< float > &out_sqErrs, std::vector< float > &xs, std::vector< float > &ys) const |
Returns a vector with the square error between each pair of correspondences in the list and the transformed "other" (local) points, given the 2D transformation "q" Each element ![]() | |
| bool | contains (const TMatchingPair &p) const |
| Test whether the given pair "p" is within the pairings. | |
Public Attributes | |
| T | elements |
| STL member. | |
| bool mrpt::utils::TMatchingPairList::contains | ( | const TMatchingPair & | p | ) | const |
Test whether the given pair "p" is within the pairings.
| void mrpt::utils::TMatchingPairList::dumpToFile | ( | const std::string & | fileName | ) | const |
Saves the correspondences to a text file.
| bool mrpt::utils::TMatchingPairList::indexOtherMapHasCorrespondence | ( | size_t | idx | ) | const |
Checks if the given index from the "other" map appears in the list.
| float mrpt::utils::TMatchingPairList::overallSquareError | ( | const mrpt::poses::CPose2D & | q | ) | const |
Computes the overall square error between the 2D points in the list of correspondences, given the 2D transformation "q".
![\[ \sum\limits_i e_i \]](form_86.png)
Where 
| float mrpt::utils::TMatchingPairList::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, given the 2D transformation "q", and return the transformed points as well.
![\[ \sum\limits_i e_i \]](form_86.png)
Where 
| void mrpt::utils::TMatchingPairList::saveAsMATLABScript | ( | const std::string & | filName | ) | const |
Saves the correspondences as a MATLAB script which draws them.
| void mrpt::utils::TMatchingPairList::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, given the 2D transformation "q" Each element 
![\[ e_i = | x_{this} - q \oplus x_{other} |^2 \]](form_88.png)
| void mrpt::utils::TMatchingPairList::squareErrorVector | ( | const mrpt::poses::CPose2D & | q, |
| std::vector< float > & | out_sqErrs, | ||
| std::vector< float > & | xs, | ||
| std::vector< float > & | ys | ||
| ) | const |
Returns a vector with the square error between each pair of correspondences in the list and the transformed "other" (local) points, given the 2D transformation "q" Each element 
![\[ e_i = | x_{this} - q \oplus x_{other} |^2 \]](form_88.png)
|
inherited |
STL member.
| Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Thu Dec 14 16:54:58 UTC 2023 |