mp2p_icp_filters
include
mp2p_icp_filters
FilterByIntensity.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
15
#include <
mp2p_icp/metricmap.h
>
16
#include <
mp2p_icp_filters/FilterBase.h
>
17
18
namespace
mp2p_icp_filters
19
{
24
class
FilterByIntensity
:
public
mp2p_icp_filters::FilterBase
25
{
26
DEFINE_MRPT_OBJECT(
FilterByIntensity
,
mp2p_icp_filters
)
27
public
:
28
FilterByIntensity
();
29
30
// See docs in base class.
31
void
initialize
(
const
mrpt::containers::yaml& c)
override
;
32
33
// See docs in FilterBase
34
void
filter
(
mp2p_icp::metric_map_t
& inOut)
const override
;
35
36
struct
Parameters
37
{
38
void
load_from_yaml
(
const
mrpt::containers::yaml& c);
39
40
std::string
input_pointcloud_layer
;
41
44
std::string
output_layer_low_intensity
;
45
48
std::string
output_layer_high_intensity
;
49
52
std::string
output_layer_mid_intensity
;
53
54
float
low_threshold
= 0.10f;
55
float
high_threshold
= 0.90f;
56
};
57
59
Parameters
params_
;
60
};
61
64
}
// namespace mp2p_icp_filters
mp2p_icp_filters::FilterByIntensity::Parameters::load_from_yaml
void load_from_yaml(const mrpt::containers::yaml &c)
Definition:
FilterByIntensity.cpp:22
mp2p_icp_filters::FilterByIntensity
Definition:
FilterByIntensity.h:24
mp2p_icp_filters::FilterByIntensity::Parameters::high_threshold
float high_threshold
Definition:
FilterByIntensity.h:55
mp2p_icp_filters::FilterByIntensity::Parameters::input_pointcloud_layer
std::string input_pointcloud_layer
Definition:
FilterByIntensity.h:40
mp2p_icp_filters::FilterByIntensity::initialize
void initialize(const mrpt::containers::yaml &c) override
Definition:
FilterByIntensity.cpp:45
testing::internal::string
::std::string string
Definition:
gtest.h:1979
mp2p_icp_filters::FilterByIntensity::Parameters
Definition:
FilterByIntensity.h:36
mp2p_icp_filters::FilterBase
Definition:
FilterBase.h:46
mp2p_icp_filters::FilterByIntensity::Parameters::output_layer_mid_intensity
std::string output_layer_mid_intensity
Definition:
FilterByIntensity.h:52
mp2p_icp_filters::FilterByIntensity::filter
void filter(mp2p_icp::metric_map_t &inOut) const override
Definition:
FilterByIntensity.cpp:51
mp2p_icp_filters::FilterByIntensity::params_
Parameters params_
Definition:
FilterByIntensity.h:59
mp2p_icp_filters::FilterByIntensity::Parameters::low_threshold
float low_threshold
Definition:
FilterByIntensity.h:54
FilterBase.h
Base virtual class for point cloud filters.
metricmap.h
Generic representation of pointcloud(s) and/or extracted features.
mp2p_icp::metric_map_t
Generic container of pointcloud(s), extracted features and other maps.
Definition:
metricmap.h:49
mp2p_icp_filters::FilterByIntensity::Parameters::output_layer_high_intensity
std::string output_layer_high_intensity
Definition:
FilterByIntensity.h:48
mp2p_icp_filters::FilterByIntensity::Parameters::output_layer_low_intensity
std::string output_layer_low_intensity
Definition:
FilterByIntensity.h:44
mp2p_icp_filters
Definition:
FilterAdjustTimestamps.h:19
mp2p_icp_filters::FilterByIntensity::FilterByIntensity
FilterByIntensity()
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10