Go to the documentation of this file.
20 const mrpt::containers::yaml& params)
30 mrpt::containers::yaml p = params;
31 if (!p.has(
"allowMatchAlreadyMatchedGlobalPoints"))
32 p[
"allowMatchAlreadyMatchedGlobalPoints"] =
true;
40 const mrpt::poses::CPose3D& localPose,
41 const Pairings& pairingsFromICP)
const
49 pairings = &pairingsFromICP;
54 matcher_.
match(pcGlobal, pcLocal, localPose, {}, ms, newPairings);
56 pairings = &newPairings;
62 r.
quality = nEffectiveLocalPoints
63 ? pairings->
size() / double(nEffectiveLocalPoints)
void initialize(const mrpt::containers::yaml ¶ms) override
Matching quality evaluator: simple ratio [0,1] of paired entities.
double absolute_minimum_pairing_ratio
virtual bool match(const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const MatchContext &mc, MatchState &ms, Pairings &out) const
Matcher_Points_DistanceThreshold matcher_
uint64_t potential_pairings
void initialize(const mrpt::containers::yaml ¶ms) override
double quality
The resulting quality measure, in the range [0,1].
virtual size_t size() const
IMPLEMENTS_MRPT_OBJECT(QualityEvaluator_RangeImageSimilarity, QualityEvaluator, mp2p_icp) using namespace mp2p_icp
Generic container of pointcloud(s), extracted features and other maps.
Result evaluate(const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &localPose, const Pairings &pairingsFromICP) const override
mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40