マーカーをグリッド状に配置した平面ボード。 続き...
#include <opencv2/objdetect/aruco_board.hpp>
|
| | GridBoard () |
| |
| | GridBoard (const Size &size, float markerLength, float markerSeparation, const Dictionary &dictionary, InputArray ids=noArray()) |
| | GridBoard コンストラクタ。
|
| |
| Size | getGridSize () const |
| |
| float | getMarkerLength () const |
| |
| float | getMarkerSeparation () const |
| |
| | Board () |
| |
| | Board (InputArrayOfArrays objPoints, const Dictionary &dictionary, InputArray ids) |
| | 共通の Board コンストラクタ。
|
| |
| void | generateImage (Size outSize, OutputArray img, int marginSize=0, int borderBits=1) const |
| | 平面ボードを描画する。
|
| |
| const Dictionary & | getDictionary () const |
| | このボードに使用されるマーカーの Dictionary を返す
|
| |
| const std::vector< int > & | getIds () const |
| | ボード内のマーカーの識別子ベクトル(objPoints と同じサイズであるべき)
|
| |
| const std::vector< std::vector< Point3f > > & | getObjPoints () const |
| | ボード内のすべてのマーカーコーナーのオブジェクト点の配列を返す。
|
| |
| const Point3f & | getRightBottomCorner () const |
| | ボードの右下コーナーの座標を取得する。create() 関数の呼び出し時に設定される
|
| |
| void | matchImagePoints (InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints) const |
| | ボードの構成と検出されたマーカーの集合が与えられると、対応する画像点とオブジェクト点を返す。これはsolvePnP()で利用できる。
|
| |
マーカーをグリッド状に配置した平面ボード。
より一般的なタイプのボード。すべてのマーカーが同一平面上にグリッド状に配置される。ボード画像は generateImage() メソッドを使って描画できる。
◆ GridBoard() [1/2]
| cv::aruco::GridBoard::GridBoard |
( |
const Size & | size, |
|
|
float | markerLength, |
|
|
float | markerSeparation, |
|
|
const Dictionary & | dictionary, |
|
|
InputArray | ids = noArray() ) |
| Python: |
|---|
| cv.aruco.GridBoard( | size, markerLength, markerSeparation, dictionary[, ids] | ) -> | <aruco_GridBoard object> |
GridBoard コンストラクタ。
- 引数
-
| size | x方向とy方向のマーカー数 |
| markerLength | マーカーの一辺の長さ(通常はメートル単位) |
| markerSeparation | 2つのマーカー間の間隔(markerLengthと同じ単位) |
| dictionary | マーカーの種類を示すマーカー辞書 |
| ids | ボードで使用する、辞書内のマーカーIDの集合。 |
◆ GridBoard() [2/2]
| cv::aruco::GridBoard::GridBoard |
( |
| ) |
|
| Python: |
|---|
| cv.aruco.GridBoard( | size, markerLength, markerSeparation, dictionary[, ids] | ) -> | <aruco_GridBoard object> |
◆ getGridSize()
| Size cv::aruco::GridBoard::getGridSize |
( |
| ) |
const |
| Python: |
|---|
| cv.aruco.GridBoard.getGridSize( | | ) -> | retval |
◆ getMarkerLength()
| float cv::aruco::GridBoard::getMarkerLength |
( |
| ) |
const |
| Python: |
|---|
| cv.aruco.GridBoard.getMarkerLength( | | ) -> | retval |
◆ getMarkerSeparation()
| float cv::aruco::GridBoard::getMarkerSeparation |
( |
| ) |
const |
| Python: |
|---|
| cv.aruco.GridBoard.getMarkerSeparation( | | ) -> | retval |
このクラス詳解は次のファイルから抽出されました: