#include <fractallabeler.h>
|
bool | detect (const cv::Mat &in, int &marker_id, int &nRotations, std::string &additionalInfo) |
|
std::string | getName () const |
|
int | getNSubdivisions () const |
| getNSubdivisions returns the number of subdivisions in each axis that the iamge will be subject to. This is in dictionary based labelers, equals to the number of bits in each dimension plus the border bits. More...
|
|
bool | load (const std::string &path) |
|
void | setConfiguration (const FractalMarkerSet &fractMarkerSet) |
|
virtual | ~FractalMarkerLabeler () |
|
virtual int | getBestInputSize () |
| getBestInputSize if desired, you can set the desired input size to the detect function More...
|
|
virtual | ~MarkerLabeler () |
|
|
bool | getInnerCode (const cv::Mat &thres_img, int total_nbits, std::vector< cv::Mat > &ids) |
|
cv::Mat | rotate (const cv::Mat &in) |
|
Definition at line 6 of file fractallabeler.h.
◆ ~FractalMarkerLabeler()
virtual aruco::FractalMarkerLabeler::~FractalMarkerLabeler |
( |
| ) |
|
|
inlinevirtual |
◆ create() [1/2]
◆ create() [2/2]
◆ detect()
bool aruco::FractalMarkerLabeler::detect |
( |
const cv::Mat & |
in, |
|
|
int & |
marker_id, |
|
|
int & |
nRotations, |
|
|
std::string & |
additionalInfo |
|
) |
| |
|
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 12 of file fractallabeler.cpp.
◆ getInnerCode()
bool aruco::FractalMarkerLabeler::getInnerCode |
( |
const cv::Mat & |
thres_img, |
|
|
int |
total_nbits, |
|
|
std::vector< cv::Mat > & |
ids |
|
) |
| |
|
private |
◆ getName()
std::string aruco::FractalMarkerLabeler::getName |
( |
| ) |
const |
|
virtual |
◆ getNSubdivisions()
int aruco::FractalMarkerLabeler::getNSubdivisions |
( |
| ) |
const |
|
inlinevirtual |
getNSubdivisions returns the number of subdivisions in each axis that the iamge will be subject to. This is in dictionary based labelers, equals to the number of bits in each dimension plus the border bits.
- Returns
Reimplemented from aruco::MarkerLabeler.
Definition at line 41 of file fractallabeler.h.
◆ isFractalDictionaryFile()
static bool aruco::FractalMarkerLabeler::isFractalDictionaryFile |
( |
const std::string & |
path | ) |
|
|
static |
◆ load()
bool aruco::FractalMarkerLabeler::load |
( |
const std::string & |
path | ) |
|
◆ rotate()
cv::Mat aruco::FractalMarkerLabeler::rotate |
( |
const cv::Mat & |
in | ) |
|
|
private |
◆ setConfiguration()
void aruco::FractalMarkerLabeler::setConfiguration |
( |
const FractalMarkerSet & |
fractMarkerSet | ) |
|
◆ _fractalMarkerSet
The documentation for this class was generated from the following files: