Matcher_Points_InlierRatio.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3  * Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
12 #pragma once
13 
15 
16 namespace mp2p_icp
17 {
31 {
32  DEFINE_MRPT_OBJECT(Matcher_Points_InlierRatio, mp2p_icp)
33 
34  public:
37  {
38  inliersRatio = ratio;
39  }
40 
44  void initialize(const mrpt::containers::yaml& params) override;
45 
46  private:
48  double inliersRatio = 0.80;
49 
50  void implMatchOneLayer(
51  const mrpt::maps::CMetricMap& pcGlobal, const mrpt::maps::CPointsMap& pcLocal,
52  const mrpt::poses::CPose3D& localPose, MatchState& ms, const layer_name_t& globalName,
53  const layer_name_t& localName, Pairings& out) const override;
54 };
55 
56 } // namespace mp2p_icp
mp2p_icp::Matcher_Points_Base
Definition: Matcher_Points_Base.h:31
mp2p_icp
Definition: covariance.h:17
mp2p_icp::Matcher_Points_InlierRatio::initialize
void initialize(const mrpt::containers::yaml &params) override
Definition: Matcher_Points_InlierRatio.cpp:27
mp2p_icp::Matcher_Points_InlierRatio::Matcher_Points_InlierRatio
Matcher_Points_InlierRatio(const double ratio)
Definition: Matcher_Points_InlierRatio.h:36
mp2p_icp::Matcher_Points_InlierRatio::inliersRatio
double inliersRatio
Definition: Matcher_Points_InlierRatio.h:48
mp2p_icp::Pairings
Definition: Pairings.h:76
mp2p_icp::layer_name_t
std::string layer_name_t
Definition: layer_name_t.h:22
mp2p_icp::Matcher_Points_InlierRatio::Matcher_Points_InlierRatio
Matcher_Points_InlierRatio()
Definition: Matcher_Points_InlierRatio.cpp:22
mp2p_icp::Matcher_Points_InlierRatio
Definition: Matcher_Points_InlierRatio.h:30
mp2p_icp::MatchState
Definition: Matcher.h:37
kitti-batch-convert.out
string out
Definition: kitti-batch-convert.py:7
Matcher_Points_Base.h
Pointcloud matcher auxiliary class for iterating over point layers.
mp2p_icp::Matcher_Points_InlierRatio::implMatchOneLayer
void implMatchOneLayer(const mrpt::maps::CMetricMap &pcGlobal, const mrpt::maps::CPointsMap &pcLocal, const mrpt::poses::CPose3D &localPose, MatchState &ms, const layer_name_t &globalName, const layer_name_t &localName, Pairings &out) const override
Definition: Matcher_Points_InlierRatio.cpp:34


mp2p_icp
Author(s):
autogenerated on Mon May 26 2025 02:45:49