Go to the documentation of this file.
9 #ifndef CGridMapAligner_H
10 #define CGridMapAligner_H
51 float* runningTime =
nullptr,
void* info =
nullptr);
59 float* runningTime =
nullptr,
void* info =
nullptr);
88 std::ostream& out)
const override;
234 float* runningTime =
nullptr,
236 void* info =
nullptr);
242 float* runningTime =
nullptr,
void* info =
nullptr);
mrpt::poses::CPose2D noRobustEstimation
The "brute" estimation from using all the available correspondences, provided just for comparison pur...
A base class for any algorithm able of maps alignment.
Declares a class that represents a Probability Density function (PDF) of a 3D pose .
#define MRPT_ENUM_TYPE_END()
double ransac_prob_good_inliers
Probability of having a good inliers (def:0,9999), used for automatic number of iterations.
TDescriptorType
The bitwise OR combination of values of TDescriptorType are used in CFeatureExtraction::computeDescri...
double max_ICP_mahadist
The maximum Mahalanobis distance between the initial and final poses in the ICP not to discard the hy...
TPairPlusDistance(size_t i1, size_t i2, float d)
bool debug_show_corrs
DEBUG - Show graphs with the details of each feature correspondences.
mrpt::vision::CFeatureExtraction::TOptions feature_detector_options
All the parameters for the feature detector.
std::shared_ptr< CLandmarksMap > Ptr
float threshold_max
Correspondences are considered if their distances are below this threshold (in the range [0,...
mrpt::poses::CPosePDF::Ptr AlignPDF(const mrpt::maps::CMetricMap *m1, const mrpt::maps::CMetricMap *m2, const mrpt::poses::CPosePDFGaussian &initialEstimationPDF, float *runningTime=nullptr, void *info=nullptr)
The method for aligning a pair of 2D points map.
mrpt::poses::CPosePDF::Ptr AlignPDF_correlation(const mrpt::maps::CMetricMap *m1, const mrpt::maps::CMetricMap *m2, const mrpt::poses::CPosePDFGaussian &initialEstimationPDF, float *runningTime=nullptr, void *info=nullptr)
Private member, implements one the algorithms.
mrpt::poses::CPose3DPDF::Ptr Align3DPDF(const mrpt::maps::CMetricMap *m1, const mrpt::maps::CMetricMap *m2, const mrpt::poses::CPose3DPDFGaussian &initialEstimationPDF, float *runningTime=nullptr, void *info=nullptr)
Not applicable in this class, will launch an exception.
mrpt::slam::CGridMapAligner::TConfigParams options
float ransac_SOG_sigma_m
The square root of the uncertainty normalization variance var_m (see papers...)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
MRPT_FILL_ENUM_MEMBER(CGridMapAligner, amRobustMatch)
mrpt::containers::deepcopy_poly_ptr< mrpt::poses::CPosePDFSOG::Ptr > sog2
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form,...
#define MRPT_ENUM_TYPE_BEGIN(_ENUM_TYPE_WITH_NS)
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
std::vector< double > icp_goodness_all_sog_modes
The ICP goodness of all potential SOG modes at the stage "sog2", thus before the removing of "bad" IC...
TConfigParams()
Initializer for default values:
double ransac_chi2_quantile
[amModifiedRANSAC method only] The quantile used for chi-square thresholding (default=0....
GLsizei GLsizei GLchar * source
Declares a virtual base class for all metric maps storage classes.
mrpt::tfest::TMatchingPairList correspondences
All the found correspondences (not consistent)
The ICP algorithm configuration data.
float featsPerSquareMeter
Features extraction from grid map: How many features to extract.
This class allows loading and storing values and vectors of different types from a configuration text...
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle.
mrpt::containers::deepcopy_poly_ptr< mrpt::poses::CPosePDFSOG::Ptr > sog1
The different SOG densities at different steps of the algorithm:
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
float goodness
A goodness measure for the alignment, it is a [0,1] range indicator of percentage of correspondences.
bool debug_save_map_pairs
DEBUG - Save the pair of maps with all the pairings.
float threshold_delta
Correspondences are considered if their distances to the best match are below this threshold (in the ...
float ransac_mahalanobisDistanceThreshold
[amRobustMatch method only] RANSAC-step options:
COccupancyGridMapFeatureExtractor m_grid_feat_extr
Grid map features extractor.
float ransac_minSetSizeRatio
RANSAC-step options:
A class for aligning two multi-metric maps (with an occupancy grid maps and a points map,...
float min_ICP_goodness
The minimum goodness (0-1) of the post-matching ICP to accept a hypothesis as good (default=0....
mrpt::containers::deepcopy_poly_ptr< mrpt::poses::CPosePDFSOG::Ptr > sog3
TAlignerMethod methodSelection
The aligner method:
double maxKLd_for_merge
Maximum KL-divergence for merging modes of the SOG (default=0.9)
The ICP algorithm return information.
mrpt::poses::CPosePDF::Ptr AlignPDF_robustMatch(const mrpt::maps::CMetricMap *m1, const mrpt::maps::CMetricMap *m2, const mrpt::poses::CPosePDFGaussian &initialEstimationPDF, float *runningTime=nullptr, void *info=nullptr)
Private member, implements both, the "robustMatch" and the newer "modifiedRANSAC" algorithms.
std::shared_ptr< CPose3DPDF > Ptr
GLsizei const GLchar ** string
mrpt::maps::CLandmarksMap::Ptr landmarks_map1
The landmarks of each map (the indices of these landmarks correspond to those in "correspondences")
std::vector< TPairPlusDistance > correspondences_dists_maha
Mahalanobis distance for each potential correspondence.
Declares a class that represents a Probability Density function (PDF) of a 2D pose .
std::shared_ptr< CPosePDF > Ptr
mrpt::maps::CLandmarksMap::Ptr landmarks_map2
mrpt::vision::TDescriptorType feature_descriptor
The feature descriptor to use: 0=detector already has descriptor, 1= SIFT, 2=SURF,...
TAlignerMethod
The type for selecting the grid-map alignment algorithm.
bool save_feat_coors
DEBUG - Dump all feature correspondences in a directory "grid_feats".
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |