#include <QualityEvaluator_RangeImageSimilarity.h>
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 ¶ms) 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 | |
ParameterSource * | attachedSource () |
const ParameterSource * | attachedSource () 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... | |
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.
|
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.
|
overridevirtual |
See base class. Parameters:
Implements mp2p_icp::QualityEvaluator.
Definition at line 23 of file QualityEvaluator_RangeImageSimilarity.cpp.
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.
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.
bool mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_save_all_matrices = false |
Definition at line 73 of file QualityEvaluator_RangeImageSimilarity.h.
bool mp2p_icp::QualityEvaluator_RangeImageSimilarity::debug_show_all_in_window = false |
Definition at line 72 of file QualityEvaluator_RangeImageSimilarity.h.
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.
mrpt::img::TCamera mp2p_icp::QualityEvaluator_RangeImageSimilarity::rangeCamera |
Parameters for the simulated camera
Definition at line 65 of file QualityEvaluator_RangeImageSimilarity.h.
double mp2p_icp::QualityEvaluator_RangeImageSimilarity::sigma = 0.1 |
Definition at line 67 of file QualityEvaluator_RangeImageSimilarity.h.