#include <dictionary_based.h>
|
bool | getInnerCode (const cv::Mat &thres_img, int total_nbits, vector< uint64_t > &ids) |
|
cv::Mat | rotate (const cv::Mat &in) |
|
void | toMat (uint64_t code, int nbits_sq, cv::Mat &out) |
|
uint64_t | touulong (const cv::Mat &code) |
|
Labeler using a dictionary
Definition at line 40 of file dictionary_based.h.
◆ ~DictionaryBased()
virtual aruco::DictionaryBased::~DictionaryBased |
( |
| ) |
|
|
inlinevirtual |
◆ detect()
bool aruco::DictionaryBased::detect |
( |
const cv::Mat & |
in, |
|
|
int & |
marker_id, |
|
|
int & |
nRotations |
|
) |
| |
|
virtual |
function that identifies a marker.
- Parameters
-
in | input image to analyze |
marker_id | id of the marker (if valid) |
nRotations | : output parameter nRotations must indicate how many times the marker must be rotated clockwise 90 deg to be in its ideal position. (The way you would see it when you print it). This is employed to know always which is the corner that acts as reference system. |
- Returns
- true marker valid, false otherwise
Implements aruco::MarkerLabeler.
Definition at line 43 of file dictionary_based.cpp.
◆ getInnerCode()
bool aruco::DictionaryBased::getInnerCode |
( |
const cv::Mat & |
thres_img, |
|
|
int |
total_nbits, |
|
|
vector< uint64_t > & |
ids |
|
) |
| |
|
private |
◆ getName()
std::string aruco::DictionaryBased::getName |
( |
| ) |
const |
|
virtual |
◆ rotate()
cv::Mat aruco::DictionaryBased::rotate |
( |
const cv::Mat & |
in | ) |
|
|
private |
◆ setParams()
void aruco::DictionaryBased::setParams |
( |
const Dictionary & |
dic, |
|
|
float |
max_correction_rate |
|
) |
| |
◆ toMat()
void aruco::DictionaryBased::toMat |
( |
uint64_t |
code, |
|
|
int |
nbits_sq, |
|
|
cv::Mat & |
out |
|
) |
| |
|
private |
◆ touulong()
uint64_t aruco::DictionaryBased::touulong |
( |
const cv::Mat & |
code | ) |
|
|
private |
◆ _dic
◆ _maxCorrectionAllowed
int aruco::DictionaryBased::_maxCorrectionAllowed |
|
private |
The documentation for this class was generated from the following files: