Class FractalMarkerLabeler

Inheritance Relationships

Base Type

Class Documentation

class FractalMarkerLabeler : public aruco::MarkerLabeler

Public Functions

void setConfiguration(const FractalMarkerSet &fractMarkerSet)
inline virtual ~FractalMarkerLabeler()
bool load(const std::string &path)
virtual std::string getName() const
virtual bool detect(const cv::Mat &in, int &marker_id, int &nRotations, std::string &additionalInfo)

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

inline virtual 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.

Returns:

Public Members

FractalMarkerSet _fractalMarkerSet

Public Static Functions

static inline cv::Ptr<FractalMarkerLabeler> create(std::string params)
static inline cv::Ptr<FractalMarkerLabeler> create(FractalMarkerSet::CONF_TYPES conf)
static bool isFractalDictionaryFile(const std::string &path)