具有標記網格排列的平面標定板。 更多...
#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 | 兩個標記之間的距離(與 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 |
此類的文件生成自以下檔案