Public Member Functions | Public Attributes | List of all members
mp2p_icp::QualityEvaluator_RangeImageSimilarity Class Reference

#include <QualityEvaluator_RangeImageSimilarity.h>

Inheritance diagram for mp2p_icp::QualityEvaluator_RangeImageSimilarity:
Inheritance graph
[legend]

Public Member Functions

Result evaluate (const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const Pairings &pairingsFromICP) const override
 
void initialize (const mrpt::containers::yaml &params) override
 
mrpt::math::CMatrixDouble projectPoints (const mrpt::maps::CPointsMap &pts, const std::optional< mrpt::poses::CPose3D > &relativePose=std::nullopt) const
 
std::vector< double > scores (const mrpt::math::CMatrixDouble &m1, const mrpt::math::CMatrixDouble &m2) const
 
- Public Member Functions inherited from mp2p_icp::Parameterizable
ParameterSourceattachedSource ()
 
const ParameterSourceattachedSource () const
 
virtual void attachToParameterSource (ParameterSource &source)
 
void checkAllParametersAreRealized () const
 
auto & declaredParameters ()
 
const auto & declaredParameters () const
 
void unrealizeParameters ()
 Mark all non-constant parameters as non-evaluated again. More...
 

Public Attributes

bool debug_save_all_matrices = false
 
bool debug_show_all_in_window = false
 
double penalty_not_visible = 2.0
 !< Uncertainty of depth ranges [meters] More...
 
mrpt::img::TCamera rangeCamera
 
double sigma = 0.1
 

Additional Inherited Members

- Protected Member Functions inherited from mp2p_icp::Parameterizable
void parseAndDeclareParameter (const std::string &value, double &target)
 
void parseAndDeclareParameter (const std::string &value, float &target)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void parseAndDeclareParameter (const std::string &value, uint32_t &target)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Matching quality evaluator: simple ratio [0,1] of paired entities.

Implementation of the method in the papper:

This implementation reprojects points into range images with the resolution defined in parameters and compares the likelihood of both range images to be generated from the same point clouds.

At present, the PT_LAYER_RAW layer of points is the only one that is used to evaluate the depth images.

Definition at line 35 of file QualityEvaluator_RangeImageSimilarity.h.

Member Function Documentation

◆ evaluate()

QualityEvaluator::Result QualityEvaluator_RangeImageSimilarity::evaluate ( const metric_map_t pcGlobal,
const metric_map_t pcLocal,
const mrpt::poses::CPose3D &  localPose,
const Pairings pairingsFromICP 
) const
overridevirtual

See base class. This implementation does NOT use pairingsFromICP at all, it can be empty.

Implements mp2p_icp::QualityEvaluator.

Definition at line 41 of file QualityEvaluator_RangeImageSimilarity.cpp.

◆ initialize()

void QualityEvaluator_RangeImageSimilarity::initialize ( const mrpt::containers::yaml &  params)
overridevirtual

See base class. Parameters:

ncols: 200
nrows: 100
cx: 100
cy: 50
fx: 50
fy: 50
sigma: 0.1

Implements mp2p_icp::QualityEvaluator.

Definition at line 23 of file QualityEvaluator_RangeImageSimilarity.cpp.

◆ projectPoints()

mrpt::math::CMatrixDouble QualityEvaluator_RangeImageSimilarity::projectPoints ( const mrpt::maps::CPointsMap &  pts,
const std::optional< mrpt::poses::CPose3D > &  relativePose = std::nullopt 
) const

Definition at line 136 of file QualityEvaluator_RangeImageSimilarity.cpp.

◆ scores()

std::vector< double > QualityEvaluator_RangeImageSimilarity::scores ( const mrpt::math::CMatrixDouble &  m1,
const mrpt::math::CMatrixDouble &  m2 
) const

Definition at line 187 of file QualityEvaluator_RangeImageSimilarity.cpp.

Member Data Documentation

◆ debug_save_all_matrices

bool mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_save_all_matrices = false

Definition at line 73 of file QualityEvaluator_RangeImageSimilarity.h.

◆ debug_show_all_in_window

bool mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_show_all_in_window = false

Definition at line 72 of file QualityEvaluator_RangeImageSimilarity.h.

◆ penalty_not_visible

double mp2p_icp::QualityEvaluator_RangeImageSimilarity::penalty_not_visible = 2.0

!< Uncertainty of depth ranges [meters]

Penalty for pixels only visible from one view point [in "sigmas"]

Definition at line 70 of file QualityEvaluator_RangeImageSimilarity.h.

◆ rangeCamera

mrpt::img::TCamera mp2p_icp::QualityEvaluator_RangeImageSimilarity::rangeCamera

Parameters for the simulated camera

Definition at line 65 of file QualityEvaluator_RangeImageSimilarity.h.

◆ sigma

double mp2p_icp::QualityEvaluator_RangeImageSimilarity::sigma = 0.1

Definition at line 67 of file QualityEvaluator_RangeImageSimilarity.h.


The documentation for this class was generated from the following files:
mp2p_icp::QualityEvaluator_RangeImageSimilarity::sigma
double sigma
Definition: QualityEvaluator_RangeImageSimilarity.h:67
mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_show_all_in_window
bool debug_show_all_in_window
Definition: QualityEvaluator_RangeImageSimilarity.h:72


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