OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項

具有標記網格排列的平面標定板。 更多...

#include <opencv2/objdetect/aruco_board.hpp>

cv::aruco::GridBoard 協作圖

公有成員函式

 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
 
- 繼承自 cv::aruco::Board 的公有成員函式
 Board ()
 
 Board (InputArrayOfArrays objPoints, const Dictionary &dictionary, InputArray ids)
 通用 Board 建構函式。
 
void generateImage (Size outSize, OutputArray img, int marginSize=0, int borderBits=1) const
 繪製一個平面板。
 
const DictionarygetDictionary () const
 返回此標定板使用的標記 Dictionary
 
const std::vector< int > & getIds () const
 標定板中標記識別符號的向量(應與 objPoints 的大小相同)
 
const std::vector< std::vector< Point3f > > & getObjPoints () const
 返回標定板中所有標記角的物體點陣列。
 
const Point3fgetRightBottomCorner () const
 獲取標定板右下角的座標,在呼叫 create() 函式時設定
 
void matchImagePoints (InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints) const
 給定標定板配置和一組檢測到的標記,返回相應的影像點和物體點,可用於 solvePnP()
 

額外繼承成員

- 繼承自 cv::aruco::Board 的保護成員函式
 Board (const Ptr< Impl > &impl)
 
- 繼承自 cv::aruco::Board 的保護屬性
Ptr< Impl > impl
 

詳細描述

具有標記網格排列的平面標定板。

更常見的標定板型別。所有標記都以網格排列方式放置在同一平面上。標定板影像可以使用 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 建構函式。

引數
sizex 和 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

此類的文件生成自以下檔案