OpenCV453
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 全メンバ一覧
cv::aruco::Dictionary クラス

Dictionary/Set of markers. It contains the inner codification [詳解]

#include <dictionary.hpp>

公開メンバ関数

 Dictionary (const Mat &_bytesList=Mat(), int _markerSize=0, int _maxcorr=0)
 
 Dictionary (const Ptr< Dictionary > &_dictionary)
 
 CV_WRAP_AS (create) static Ptr< Dictionary > create(int nMarkers
 
 CV_WRAP_AS (create_from) static Ptr< Dictionary > create(int nMarkers
 
bool identify (const Mat &onlyBits, int &idx, int &rotation, double maxCorrectionRate) const
 Given a matrix of bits. Returns whether if marker is identified or not. It returns by reference the correct id (if any) and the correct rotation
 
int getDistanceToId (InputArray bits, int id, bool allRotations=true) const
 Returns the distance of the input bits to the specific id. If allRotations is true, the four posible bits rotation are considered
 
CV_WRAP void drawMarker (int id, int sidePixels, OutputArray _img, int borderBits=1) const
 Draw a canonical marker image
 

静的公開メンバ関数

static CV_WRAP Ptr< Dictionaryget (int dict)
 
static CV_WRAP Mat getByteListFromBits (const Mat &bits)
 Transform matrix of bits to list of bytes in the 4 rotations
 
static CV_WRAP Mat getBitsFromByteList (const Mat &byteList, int markerSize)
 Transform list of bytes to matrix of bits
 

公開変数類

CV_PROP_RW Mat bytesList
 
CV_PROP_RW int markerSize
 
CV_PROP_RW int maxCorrectionBits
 
int markerSize
 
int int randomSeed =0)
 
int const Ptr< Dictionary > & baseDictionary
 
int const Ptr< Dictionary > int randomSeed =0)
 

詳解

Dictionary/Set of markers. It contains the inner codification

bytesList contains the marker codewords where

bytesList.ptr(i)[k*nbytes + j] is then the j-th byte of i-th marker, in its k-th rotation.

構築子と解体子

◆ Dictionary()

cv::aruco::Dictionary::Dictionary ( const Ptr< Dictionary > &  _dictionary)

Dictionary(const Dictionary &_dictionary);

関数詳解

◆ CV_WRAP_AS() [1/2]

cv::aruco::Dictionary::CV_WRAP_AS ( create  )
参照
generateCustomDictionary

◆ CV_WRAP_AS() [2/2]

cv::aruco::Dictionary::CV_WRAP_AS ( create_from  )
参照
generateCustomDictionary

◆ get()

static CV_WRAP Ptr< Dictionary > cv::aruco::Dictionary::get ( int  dict)
static
参照
getPredefinedDictionary

このクラス詳解は次のファイルから抽出されました: