![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/CliqueLookupTable.h>
Compute a clique lookup table to identify point constellations in bigger pointclouds. More...
Inheritance diagram for CliqueLookupTable:Compute a clique lookup table to identify point constellations in bigger pointclouds.
This class computes lookup table based on the pair-wise distances of points in a reference point constellation (m_refPts)
Public Member Functions | |
| CliqueLookupTable (const std::vector< vec3 > &refPts) | |
| MatchingResult | findMaxClique (const std::vector< vec3 > &pts) |
Searches for a constellation similar to m_refPts in pts. | |
Public Attributes | |
| Parameter< double > | p_thresholdFactor = {"thresholdFactor", 0.5, this} |
| Points will be rejected if, w.r.t. | |
| Parameter< double > | p_distanceThreshold = {"distanceThreshold", 0.1, this} |
| Distance threshold in mm. | |
| Parameter< int > | p_distanceThresholdBins = {"numBins", 12, this} |
Each bin will have a size p_distanceThreshold / p_sigmaBins mm. | |
| MatchingResult findMaxClique | ( | const std::vector< vec3 > & | pts | ) |
Searches for a constellation similar to m_refPts in pts.
pts which got matched | Parameter<double> p_thresholdFactor = {"thresholdFactor", 0.5, this} |
Points will be rejected if, w.r.t.
the clt, we find less than p_thresholdFactor * (double)(m_refPts.size() - 1) connection counts Parameter need to be <= 1.0 and > 0
| Parameter<double> p_distanceThreshold = {"distanceThreshold", 0.1, this} |
Distance threshold in mm.
The algorithm will build a lookup table for all pair-wise distances. This parameter defines how much tolerance is allowed w.r.t. the distances