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:
36  Matcher_Points_InlierRatio(const double ratio)
38  {
39  inliersRatio = ratio;
40  }
41 
45  void initialize(const mrpt::containers::yaml& params) override;
46 
47  private:
49  double inliersRatio = 0.80;
50 
51  void implMatchOneLayer(
52  const mrpt::maps::CMetricMap& pcGlobal,
53  const mrpt::maps::CPointsMap& pcLocal,
54  const mrpt::poses::CPose3D& localPose, MatchState& ms,
55  const layer_name_t& globalName, const layer_name_t& localName,
56  Pairings& out) const override;
57 };
58 
59 } // 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:49
mp2p_icp::Pairings
Definition: Pairings.h:78
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:35


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40