#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) |
static bool | loadDictionary (std::string filename) |
Static Private Member Functions | |
static bool | checkBorders (cv::Mat grey) |
static MarkerCode | getMarkerCode (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 215 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 339 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 287 of file highlyreliablemarkers.cpp.
static Dictionary& aruco::HighlyReliableMarkers::getDictionary | ( | ) | [inline, static] |
Definition at line 255 of file highlyreliablemarkers.h.
MarkerCode aruco::HighlyReliableMarkers::getMarkerCode | ( | cv::Mat | grey | ) | [static, private] |
Return binary MarkerCode from a canonical image, it ignores borders
Definition at line 360 of file highlyreliablemarkers.cpp.
bool aruco::HighlyReliableMarkers::loadDictionary | ( | Dictionary | D | ) | [static] |
Load the dictionary that will be detected or read it directly from file
Definition at line 265 of file highlyreliablemarkers.cpp.
bool aruco::HighlyReliableMarkers::loadDictionary | ( | std::string | filename | ) | [static] |
Definition at line 278 of file highlyreliablemarkers.cpp.
HighlyReliableMarkers::BalancedBinaryTree aruco::HighlyReliableMarkers::_binaryTree [static, private] |
Definition at line 268 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_correctionDistance [static, private] |
Definition at line 272 of file highlyreliablemarkers.h.
Dictionary aruco::HighlyReliableMarkers::_D [static, private] |
Definition at line 267 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_n [static, private] |
Definition at line 270 of file highlyreliablemarkers.h.
unsigned int aruco::HighlyReliableMarkers::_ncellsBorder [static, private] |
Definition at line 271 of file highlyreliablemarkers.h.
int aruco::HighlyReliableMarkers::_swidth [static, private] |
Definition at line 273 of file highlyreliablemarkers.h.