#include <highlyreliablemarkers.h>
Classes | |
class | BalancedBinaryTree |
Static Public Member Functions | |
static int | detect (const cv::Mat &in, int &nRotations) |
static Dictionary & | getDictionary () |
static bool | loadDictionary (Dictionary D, float correctionDistance=1) |
static bool | loadDictionary (std::string filename, float correctionDistance=1) |
Static Private Member Functions | |
static bool | checkBorders (cv::Mat grey) |
static MarkerCode | getMarkerCode (const cv::Mat &grey) |
Static Private Attributes | |
static BalancedBinaryTree | _binaryTree |
static unsigned int | _correctionDistance |
static Dictionary | _D |
static unsigned int | _n |
static unsigned int | _ncellsBorder |
static int | _swidth |
Highly Reliable Marker Detector Class
Definition at line 211 of file highlyreliablemarkers.h.
bool aruco::HighlyReliableMarkers::checkBorders | ( | cv::Mat | grey | ) | [static, private] |
Check marker borders cell in the canonical image are black
Definition at line 352 of file highlyreliablemarkers.cpp.
int aruco::HighlyReliableMarkers::detect | ( | const cv::Mat & | in, |
int & | nRotations | ||
) | [static] |
Detect marker in a canonical image. Perform detection and error correction Return marker id in 0 rotation, or -1 if not found Assign the detected rotation of the marker to nRotation
Definition at line 299 of file highlyreliablemarkers.cpp.
static Dictionary& aruco::HighlyReliableMarkers::getDictionary | ( | ) | [inline, static] |
Definition at line 247 of file highlyreliablemarkers.h.
MarkerCode aruco::HighlyReliableMarkers::getMarkerCode | ( | const cv::Mat & | grey | ) | [static, private] |
Return binary MarkerCode from a canonical image, it ignores borders
Definition at line 372 of file highlyreliablemarkers.cpp.
bool aruco::HighlyReliableMarkers::loadDictionary | ( | Dictionary | D, |
float | correctionDistance = 1 |
||
) | [static] |
Load the dictionary that will be detected or read it directly from file
Definition at line 278 of file highlyreliablemarkers.cpp.
bool aruco::HighlyReliableMarkers::loadDictionary | ( | std::string | filename, |
float | correctionDistance = 1 |
||
) | [static] |
Definition at line 290 of file highlyreliablemarkers.cpp.
HighlyReliableMarkers::BalancedBinaryTree aruco::HighlyReliableMarkers::_binaryTree [static, private] |
Definition at line 260 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_correctionDistance [static, private] |
Definition at line 264 of file highlyreliablemarkers.h.
Dictionary aruco::HighlyReliableMarkers::_D [static, private] |
Definition at line 259 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_n [static, private] |
Definition at line 262 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_ncellsBorder [static, private] |
Definition at line 263 of file highlyreliablemarkers.h.
int aruco::HighlyReliableMarkers::_swidth [static, private] |
Definition at line 265 of file highlyreliablemarkers.h.