具有标记网格排列的平面标定板。 更多...
#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 |
此类的文档生成自以下文件