|
OpenCV 4.5.3(日本語機械翻訳)
|
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 |
| ビットの行列が与えられると マーカーが識別されたかどうかを返します。この関数は、正しい ID(もしあれば)と正しい回転を参照して返します。 |
|
| int | getDistanceToId (InputArray bits, int id, bool allRotations=true) const |
| 入力されたビットの、特定のidまでの距離を返します。allRotations が true の場合、4 つの可能なビット回転が考慮されます。 |
|
| CV_WRAP void | drawMarker (int id, int sidePixels, OutputArray _img, int borderBits=1) const |
| 正準化されたマーカー画像を描画する |
|
静的公開メンバ関数 |
|
| static CV_WRAP Ptr< Dictionary > | get (int dict) |
| static CV_WRAP Mat | getByteListFromBits (const Mat &bits) |
| 4つの回転で、ビットの行列をバイトのリストに変換する |
|
| static CV_WRAP Mat | getBitsFromByteList (const Mat &byteList, int markerSize) |
| バイトのリストをビットの行列に変換 |
|
公開変数類 |
|
| 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) |
マーカーの辞書/セットです。内部のコード化を含みます
bytesListには、マーカーのコードワードが含まれています。
nbytes = ceil(markerSize*markerSize/8.)
4*nbytes
bytesList.ptr(i)[k*nbytes + j]は、i番目のマーカーのk番目の回転におけるj番目のバイトを表します。
| cv::aruco::Dictionary::Dictionary | ( | const Ptr< Dictionary > & | _dictionary | ) |
辞書(const Dictionary &_dictionary);
| cv::aruco::Dictionary::CV_WRAP_AS | ( | create | ) |
| cv::aruco::Dictionary::CV_WRAP_AS | ( | create_from | ) |
|
static |