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

Board of markers [詳解]

#include <aruco.hpp>

cv::aruco::CharucoBoard, cv::aruco::GridBoardに継承されています。

公開メンバ関数

CV_WRAP void setIds (InputArray ids)
 Set ids vector [詳解]
 

静的公開メンバ関数

static CV_WRAP Ptr< Boardcreate (InputArrayOfArrays objPoints, const Ptr< Dictionary > &dictionary, InputArray ids)
 Provide way to create Board by passing necessary data. Specially needed in Python. [詳解]
 

公開変数類

CV_PROP std::vector< std::vector< Point3f > > objPoints
 
CV_PROP Ptr< Dictionarydictionary
 the dictionary of markers employed for this board
 
CV_PROP_RW std::vector< int > ids
 

詳解

Board of markers

A board is a set of markers in the 3D space with a common coordinate system. The common form of a board of marker is a planar (2D) board, however any 3D layout can be used. A Board object is composed by:

関数詳解

◆ create()

static CV_WRAP Ptr< Board > cv::aruco::Board::create ( InputArrayOfArrays  objPoints,
const Ptr< Dictionary > &  dictionary,
InputArray  ids 
)
static

Provide way to create Board by passing necessary data. Specially needed in Python.

引数
objPointsarray of object points of all the marker corners in the board
dictionarythe dictionary of markers employed for this board
idsvector of the identifiers of the markers in the board

◆ setIds()

CV_WRAP void cv::aruco::Board::setIds ( InputArray  ids)

Set ids vector

引数
idsvector of the identifiers of the markers in the board (should be the same size as objPoints)

Recommended way to set ids vector, which will fail if the size of ids does not match size of objPoints.

メンバ詳解

◆ ids

CV_PROP_RW std::vector< int > cv::aruco::Board::ids

vector of the identifiers of the markers in the board (same size than objPoints) The identifiers refers to the board dictionary

◆ objPoints

CV_PROP std::vector< std::vector< Point3f > > cv::aruco::Board::objPoints

array of object points of all the marker corners in the board each marker include its 4 corners in CCW order. For M markers, the size is Mx4.


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