8 #ifndef META_OCEAN_TRACKING_MAPBUILDING_UNIFIED_H
9 #define META_OCEAN_TRACKING_MAPBUILDING_UNIFIED_H
162 static bool initialize(
const Tracking::Database& database,
const UnifiedDescriptorMap& descriptorMap,
RandomGenerator& randomGenerator,
Vectors3& objectPoints,
Indices32& objectPointIds,
BinaryDescriptors256& objectPointDescriptors,
Indices32& objectPointIndices,
BinaryVocabularyForest& objectPointDescriptorsForest,
Geometry::Octree& objectPointOctree, std::unique_ptr<UnifiedUnguidedMatchingFreakMultiFeatures256Group>& unifiedUnguidedMatching, std::unique_ptr<UnifiedGuidedMatchingFreakMultiDescriptor256Group>& unifiedGuidedMatching);
This class implements the abstract base class for all AnyCamera objects.
Definition: AnyCamera.h:130
This class implements a frame pyramid.
Definition: FramePyramid.h:37
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements a database for 3D object points, 2D image points and 6DOF camera poses.
Definition: Database.h:67
This class implements functions necessary when handling descriptors.
Definition: DescriptorHandling.h:32
std::vector< FloatDescriptor< tNumberElements > > FloatDescriptors
Definition of a vector holding float descriptors.
Definition: UnifiedDescriptor.h:147
std::vector< BinaryDescriptor< tNumberBits > > BinaryDescriptors
Definition of a vector holding binary descriptors.
Definition: UnifiedDescriptor.h:133
std::vector< ByteDescriptor< tNumberBytes > > ByteDescriptors
Definition of a vector holding byte descriptors.
Definition: UnifiedDescriptor.h:119
ByteDescriptor< tNumberBits/8u > BinaryDescriptor
Definition of a binary descriptor.
Definition: UnifiedDescriptor.h:126
This class implements the base class for all unified descriptor maps in which ids are mapped to descr...
Definition: UnifiedDescriptorMap.h:38
This class implements a helper class for float descriptors.
Definition: Unified.h:181
static bool extractVocabularyDescriptorsFromMap(const UnifiedDescriptorMap &descriptorMap, Vectors3 &objectPoints, Indices32 &objectPointIds, Indices32 &objectPointIndices, UnifiedDescriptor::FloatDescriptors< 128u > &vocabularyDescriptors)
Extracts vocabulary descriptors from a descriptor feature map.
This class implements a helper class for FREAK Multi descriptors with 32 bytes or 256 bits.
Definition: Unified.h:97
CV::Detector::FREAKDescriptors32 ObjectPointDescriptor
Definition of a descriptor for object points.
Definition: Unified.h:116
BinaryVocabularyForest::TVocabularyTree BinaryVocabularyTree
Definition of a vocabulary tree.
Definition: Unified.h:113
Tracking::VocabularyForest< BinaryDescriptor256, BinaryDescriptorDistance, UnifiedDescriptorT< BinaryDescriptor256 >::determineDistance > BinaryVocabularyForest
Definition of a vocabulary forest.
Definition: Unified.h:110
static bool initialize(Vectors3 &objectPoints, Indices32 &objectPointIds, const UnifiedDescriptorMap &descriptorMap, RandomGenerator &randomGenerator, BinaryDescriptors256 &objectPointDescriptors, Indices32 &objectPointIndices, BinaryVocabularyForest &objectPointDescriptorsForest, Geometry::Octree &objectPointOctree)
Initializes the data structures for guided and unguided matching.
UnifiedDescriptor::BinaryDescriptors< 256u > BinaryDescriptors256
The binary descriptors.
Definition: Unified.h:104
static bool initialize(const Tracking::Database &database, const UnifiedDescriptorMap &descriptorMap, RandomGenerator &randomGenerator, Vectors3 &objectPoints, Indices32 &objectPointIds, BinaryDescriptors256 &objectPointDescriptors, Indices32 &objectPointIndices, BinaryVocabularyForest &objectPointDescriptorsForest, Geometry::Octree &objectPointOctree)
Initializes the data structures for guided and unguided matching.
static bool extractVocabularyDescriptorsFromMap(const UnifiedDescriptorMap &descriptorMap, Vectors3 &objectPoints, Indices32 &objectPointIds, Indices32 &objectPointIndices, UnifiedDescriptor::ByteDescriptors< 32u > &vocabularyDescriptors)
Extracts vocabulary descriptors from a descriptor feature map.
static bool initialize(const Tracking::Database &database, const UnifiedDescriptorMap &descriptorMap, RandomGenerator &randomGenerator, Vectors3 &objectPoints, Indices32 &objectPointIds, BinaryDescriptors256 &objectPointDescriptors, Indices32 &objectPointIndices, BinaryVocabularyForest &objectPointDescriptorsForest, Geometry::Octree &objectPointOctree, std::unique_ptr< UnifiedUnguidedMatchingFreakMultiFeatures256Group > &unifiedUnguidedMatching, std::unique_ptr< UnifiedGuidedMatchingFreakMultiDescriptor256Group > &unifiedGuidedMatching)
Initializes the data structures for guided and unguided matching.
UnifiedDescriptor::BinaryDescriptor< 256u > BinaryDescriptor256
The binary descriptor.
Definition: Unified.h:101
unsigned int BinaryDescriptorDistance
Definition of the distance value.
Definition: Unified.h:107
This class implements a Vocabulary Forest holding several Vocabulary Trees.
Definition: VocabularyTree.h:766
This class implements a Vocabulary Tree for feature descriptors.
Definition: VocabularyTree.h:223
std::vector< Index32 > Indices32
Definition of a vector holding 32 bit index values.
Definition: Base.h:96
uint32_t Index32
Definition of a 32 bit index value.
Definition: Base.h:84
OctreeT< Scalar > Octree
Definition of an Octree using Scalar as data type.
Definition: Octree.h:25
std::vector< Vector3 > Vectors3
Definition of a vector holding Vector3 objects.
Definition: Vector3.h:65
std::vector< FREAKDescriptor32 > FREAKDescriptors32
Vector of 32-bytes long FREAK descriptors.
Definition: FREAKDescriptor.h:69
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15