Matcher_Points_DistanceThreshold.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_DistanceThreshold, mp2p_icp)
33 
34  public:
36 
37  Matcher_Points_DistanceThreshold(double distThreshold)
39  {
40  threshold = distThreshold;
41  }
42 
51  void initialize(const mrpt::containers::yaml& params) override;
52 
53  double threshold = 0.50; // m
54  double thresholdAngularDeg = 0.50; // deg
55  uint32_t pairingsPerPoint = 1;
56 
57  private:
58  void implMatchOneLayer(
59  const mrpt::maps::CMetricMap& pcGlobal,
60  const mrpt::maps::CPointsMap& pcLocal,
61  const mrpt::poses::CPose3D& localPose, MatchState& ms,
62  const layer_name_t& globalName, const layer_name_t& localName,
63  Pairings& out) const override;
64 };
65 
66 } // namespace mp2p_icp
mp2p_icp::Matcher_Points_DistanceThreshold::initialize
void initialize(const mrpt::containers::yaml &params) override
Definition: Matcher_Points_DistanceThreshold.cpp:33
mp2p_icp::Matcher_Points_Base
Definition: Matcher_Points_Base.h:31
mp2p_icp
Definition: covariance.h:17
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_DistanceThreshold::Matcher_Points_DistanceThreshold
Matcher_Points_DistanceThreshold()
Definition: Matcher_Points_DistanceThreshold.cpp:27
mp2p_icp::Matcher_Points_DistanceThreshold::pairingsPerPoint
uint32_t pairingsPerPoint
Definition: Matcher_Points_DistanceThreshold.h:55
mp2p_icp::Matcher_Points_DistanceThreshold::thresholdAngularDeg
double thresholdAngularDeg
Definition: Matcher_Points_DistanceThreshold.h:54
mp2p_icp::Matcher_Points_DistanceThreshold
Definition: Matcher_Points_DistanceThreshold.h:30
mp2p_icp::Matcher_Points_DistanceThreshold::threshold
double threshold
Definition: Matcher_Points_DistanceThreshold.h:53
mp2p_icp::Matcher_Points_DistanceThreshold::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_DistanceThreshold.cpp:43
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_DistanceThreshold::Matcher_Points_DistanceThreshold
Matcher_Points_DistanceThreshold(double distThreshold)
Definition: Matcher_Points_DistanceThreshold.h:37


mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:12