#include <highlyreliablemarkers.h>
Public Member Functions | |
bool | findId (unsigned int id, unsigned int &orgPos) |
void | loadDictionary (Dictionary *D) |
Private Attributes | |
std::vector< std::pair< int, int > > | _binaryTree |
std::vector< std::pair < unsigned int, unsigned int > > | _orderD |
unsigned int | _root |
Balanced Binary Tree for a marker dictionary
Definition at line 223 of file highlyreliablemarkers.h.
bool aruco::HighlyReliableMarkers::BalancedBinaryTree::findId | ( | unsigned int | id, |
unsigned int & | orgPos | ||
) |
Search a id in the dictionary. Return true if found, false otherwise.
Definition at line 465 of file highlyreliablemarkers.cpp.
Create the tree for dictionary D
Definition at line 380 of file highlyreliablemarkers.cpp.
std::vector< std::pair<int, int> > aruco::HighlyReliableMarkers::BalancedBinaryTree::_binaryTree [private] |
Definition at line 242 of file highlyreliablemarkers.h.
std::vector< std::pair<unsigned int,unsigned int> > aruco::HighlyReliableMarkers::BalancedBinaryTree::_orderD [private] |
Definition at line 239 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::BalancedBinaryTree::_root [private] |
Definition at line 246 of file highlyreliablemarkers.h.