GeneratorEdgesFromRangeImage.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  * ------------------------------------------------------------------------- */
13 #pragma once
14 
16 
17 namespace mp2p_icp_filters
18 {
26 {
28 
29  public:
30  GeneratorEdgesFromRangeImage() = default;
31 
35  // See derived class docs
36  void initialize(const mrpt::containers::yaml& cfg_block) override;
37 
39  {
40  void load_from_yaml(const mrpt::containers::yaml& c);
41 
45 
46  int32_t score_threshold = 10;
47  };
48 
50 
53  protected:
54  // To be overrided in derived classes, if implemented:
55  bool filterRotatingScan(
56  const mrpt::obs::CObservationRotatingScan& pc,
58  const std::optional<mrpt::poses::CPose3D>& robotPose) const override;
59 
60  bool filterScan3D(
61  const mrpt::obs::CObservation3DRangeScan& pc,
63  const std::optional<mrpt::poses::CPose3D>& robotPose) const override;
64 };
65 
68 } // namespace mp2p_icp_filters
mp2p_icp_filters::GeneratorEdgesFromRangeImage::paramsEdges_
ParametersEdges paramsEdges_
Definition: GeneratorEdgesFromRangeImage.h:49
mp2p_icp_filters::GeneratorEdgesFromRangeImage::ParametersEdges::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c)
Definition: GeneratorEdgesFromRangeImage.cpp:55
mp2p_icp_filters::Generator
Definition: Generator.h:71
mp2p_icp_filters::GeneratorEdgesFromRangeImage::filterScan3D
bool filterScan3D(const mrpt::obs::CObservation3DRangeScan &pc, mp2p_icp::metric_map_t &out, const std::optional< mrpt::poses::CPose3D > &robotPose) const override
Definition: GeneratorEdgesFromRangeImage.cpp:143
mp2p_icp_filters::GeneratorEdgesFromRangeImage::initialize
void initialize(const mrpt::containers::yaml &cfg_block) override
Definition: GeneratorEdgesFromRangeImage.cpp:62
testing::internal::string
::std::string string
Definition: gtest.h:1979
Generator.h
Base virtual class for point cloud filters.
mp2p_icp_filters::GeneratorEdgesFromRangeImage
Definition: GeneratorEdgesFromRangeImage.h:25
mp2p_icp_filters::GeneratorEdgesFromRangeImage::ParametersEdges::planes_target_layer
std::string planes_target_layer
Definition: GeneratorEdgesFromRangeImage.h:44
mp2p_icp_filters::GeneratorEdgesFromRangeImage::filterRotatingScan
bool filterRotatingScan(const mrpt::obs::CObservationRotatingScan &pc, mp2p_icp::metric_map_t &out, const std::optional< mrpt::poses::CPose3D > &robotPose) const override
Definition: GeneratorEdgesFromRangeImage.cpp:70
kitti-batch-convert.out
string out
Definition: kitti-batch-convert.py:7
mp2p_icp_filters::GeneratorEdgesFromRangeImage::GeneratorEdgesFromRangeImage
GeneratorEdgesFromRangeImage()=default
mp2p_icp_filters::GeneratorEdgesFromRangeImage::ParametersEdges
Definition: GeneratorEdgesFromRangeImage.h:38
mp2p_icp::metric_map_t
Generic container of pointcloud(s), extracted features and other maps.
Definition: metricmap.h:49
mp2p_icp_filters::GeneratorEdgesFromRangeImage::ParametersEdges::score_threshold
int32_t score_threshold
Definition: GeneratorEdgesFromRangeImage.h:46
mp2p_icp_filters
Definition: FilterAdjustTimestamps.h:19


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:58