vocabtree  0.0.1
VocabTree::TreeNode Struct Reference

#include <vocab_tree.hpp>

Data Fields

uint32_t invertedFileLength
 
uint32_t level
 range from 0..maxLevel-1 More...
 
uint32_t levelIndex
 index for this level, ranging from 0..split^level-1 For example: the first level children will simply have indexes from 0..split-1 for the second level the children of the first child will have 0..split-1 while the children of the second child we have split..2*split-1 This will be used to identify the node and used to index into the vectors for images More...
 
uint32_t index
 index in a level order traversal of the tree More...
 
cv::Mat mean
 
uint32_t firstChildIndex
 index into the array of nodes of the first child, all children are next to eachother if this is = 0 then it is a leaf (because the root can never be a child) More...
 

Detailed Description

Definition at line 49 of file vocab_tree.hpp.

Field Documentation

uint32_t VocabTree::TreeNode::firstChildIndex

index into the array of nodes of the first child, all children are next to eachother if this is = 0 then it is a leaf (because the root can never be a child)

Definition at line 66 of file vocab_tree.hpp.

Referenced by VocabTree::save().

uint32_t VocabTree::TreeNode::index

index in a level order traversal of the tree

Definition at line 62 of file vocab_tree.hpp.

Referenced by VocabTree::save().

uint32_t VocabTree::TreeNode::invertedFileLength

Definition at line 50 of file vocab_tree.hpp.

Referenced by VocabTree::save().

uint32_t VocabTree::TreeNode::level

range from 0..maxLevel-1

Definition at line 53 of file vocab_tree.hpp.

Referenced by VocabTree::save().

uint32_t VocabTree::TreeNode::levelIndex

index for this level, ranging from 0..split^level-1 For example: the first level children will simply have indexes from 0..split-1 for the second level the children of the first child will have 0..split-1 while the children of the second child we have split..2*split-1 This will be used to identify the node and used to index into the vectors for images

Definition at line 59 of file vocab_tree.hpp.

Referenced by VocabTree::save().

cv::Mat VocabTree::TreeNode::mean

Definition at line 63 of file vocab_tree.hpp.

Referenced by VocabTree::save().


The documentation for this struct was generated from the following file: