QualityEvaluator_RangeImageSimilarity.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 #include <mrpt/img/TCamera.h>
16 #include <mrpt/math/CMatrixDynamic.h>
17 
18 namespace mp2p_icp
19 {
36 {
38 
39  public:
53  void initialize(const mrpt::containers::yaml& params) override;
54 
60  const metric_map_t& pcGlobal, const metric_map_t& pcLocal,
61  const mrpt::poses::CPose3D& localPose,
62  const Pairings& pairingsFromICP) const override;
63 
65  mrpt::img::TCamera rangeCamera;
66 
67  double sigma = 0.1;
68 
70  double penalty_not_visible = 2.0;
71 
74 
75  mrpt::math::CMatrixDouble projectPoints(
76  const mrpt::maps::CPointsMap& pts,
77  const std::optional<mrpt::poses::CPose3D>& relativePose =
78  std::nullopt) const;
79 
80  std::vector<double> scores(
81  const mrpt::math::CMatrixDouble& m1,
82  const mrpt::math::CMatrixDouble& m2) const;
83 };
84 
85 } // namespace mp2p_icp
mp2p_icp::QualityEvaluator_RangeImageSimilarity::evaluate
Result evaluate(const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const Pairings &pairingsFromICP) const override
Definition: QualityEvaluator_RangeImageSimilarity.cpp:41
mp2p_icp
Definition: covariance.h:17
mp2p_icp::QualityEvaluator_RangeImageSimilarity::initialize
void initialize(const mrpt::containers::yaml &params) override
Definition: QualityEvaluator_RangeImageSimilarity.cpp:23
mp2p_icp::QualityEvaluator::Result
Definition: QualityEvaluator.h:39
mp2p_icp::Pairings
Definition: Pairings.h:78
mp2p_icp::QualityEvaluator_RangeImageSimilarity::sigma
double sigma
Definition: QualityEvaluator_RangeImageSimilarity.h:67
mp2p_icp::QualityEvaluator_RangeImageSimilarity::projectPoints
mrpt::math::CMatrixDouble projectPoints(const mrpt::maps::CPointsMap &pts, const std::optional< mrpt::poses::CPose3D > &relativePose=std::nullopt) const
Definition: QualityEvaluator_RangeImageSimilarity.cpp:136
mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_show_all_in_window
bool debug_show_all_in_window
Definition: QualityEvaluator_RangeImageSimilarity.h:72
mp2p_icp::QualityEvaluator_RangeImageSimilarity::rangeCamera
mrpt::img::TCamera rangeCamera
Definition: QualityEvaluator_RangeImageSimilarity.h:65
mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_save_all_matrices
bool debug_save_all_matrices
Definition: QualityEvaluator_RangeImageSimilarity.h:73
mp2p_icp::QualityEvaluator_RangeImageSimilarity
Definition: QualityEvaluator_RangeImageSimilarity.h:35
mp2p_icp::QualityEvaluator_RangeImageSimilarity::penalty_not_visible
double penalty_not_visible
!< Uncertainty of depth ranges [meters]
Definition: QualityEvaluator_RangeImageSimilarity.h:70
QualityEvaluator.h
Matching quality evaluator (virtual base class)
mp2p_icp::metric_map_t
Generic container of pointcloud(s), extracted features and other maps.
Definition: metricmap.h:49
mp2p_icp::QualityEvaluator_RangeImageSimilarity::scores
std::vector< double > scores(const mrpt::math::CMatrixDouble &m1, const mrpt::math::CMatrixDouble &m2) const
Definition: QualityEvaluator_RangeImageSimilarity.cpp:187
mp2p_icp::QualityEvaluator
Definition: QualityEvaluator.h:28


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