This class implements the base class for all Vocabulary objects.
More...
#include <VocabularyTree.h>
|
static std::vector< uint8_t > | generateBitSeparationLookup8 () |
| Returns the lookup table which separates the bits of a byte into 8 individual bytes.
|
|
This class implements the base class for all Vocabulary objects.
◆ Matches
template<typename TDistance >
Definition of a vector holding matches.
, .., ' ', ''
◆ InitializationStrategy
Definition of individual strategies to initialize the clustering of each tree node.
Enumerator |
---|
IS_INVALID | An invalid strategy.
|
IS_PURE_RANDOM | All initial clusters are chosen randomly.
|
IS_LARGEST_DISTANCE | The initial first cluster is chosen randomly, the remaining clusters are chosen with largest distance to each other.
|
◆ MatchingMode
Definition of individual matching modes for descriptors.
Enumerator |
---|
MM_INVALID | An invalid matching mode.
|
MM_FIRST_BEST_LEAF | Only descriptor from the first best tree leaf are considered for matching (the second+ leaf with identical best distance is skipped).
|
MM_ALL_BEST_LEAFS | All descriptors from all best tree leafs are considered for matching (all leafs with identical best distances are considered).
|
MM_ALL_GOOD_LEAFS_1 | All descriptors from all tree leafs are considered for matching which are within a 1% distance to the best leaf.
|
MM_ALL_GOOD_LEAFS_2 | All descriptors from all tree leafs are considered for matching which are within a 2% distance to the best leaf.
|
◆ ~VocabularyStructure()
virtual Ocean::Tracking::VocabularyStructure::~VocabularyStructure |
( |
| ) |
|
|
virtualdefault |
◆ VocabularyStructure()
Ocean::Tracking::VocabularyStructure::VocabularyStructure |
( |
| ) |
|
|
protecteddefault |
◆ generateBitSeparationLookup8()
std::vector< uint8_t > Ocean::Tracking::VocabularyStructure::generateBitSeparationLookup8 |
( |
| ) |
|
|
inlinestaticprotected |
Returns the lookup table which separates the bits of a byte into 8 individual bytes.
The lookup table can be used e.g., during the calculation of the mean descriptor of several descriptors.
- Returns
- The lookup table with 256 * 8 entries
◆ invalidMatchIndex()
constexpr Index32 Ocean::Tracking::VocabularyStructure::invalidMatchIndex |
( |
| ) |
|
|
staticconstexpr |
Returns an invalid matching index.
- Returns
- The index of an invalid match
The documentation for this class was generated from the following file: