OpenCV 4.11.0
开源计算机视觉
|
类 | |
类 | ArucoDetector |
ArucoDetector 类的主要功能是使用detectMarkers()方法检测图像中的标记。更多… | |
类 | Board |
Board ArUco 标记板。更多… | |
类 | CharucoBoard |
ChArUco 板是一个平面棋盘,其中标记放置在棋盘的白色方格内。更多… | |
类 | CharucoDetector |
结构体 | CharucoParameters |
结构体 | DetectorParameters |
结构体 DetectorParameters 由 ArucoDetector 使用 更多… | |
类 | Dictionary |
Dictionary 是相同大小的一组独特的 ArUco 标记。更多… | |
结构体 | EstimateParameters |
姿态估计参数。更多… | |
类 | GridBoard |
具有网格排列标记的平面板。更多… | |
结构体 | RefineParameters |
结构体 RefineParameters 由 ArucoDetector 使用 更多… | |
枚举 | |
枚举 | CornerRefineMethod { CORNER_REFINE_NONE , CORNER_REFINE_SUBPIX , CORNER_REFINE_CONTOUR , CORNER_REFINE_APRILTAG } |
枚举 | PatternPositionType { ARUCO_CCW_CENTER , ARUCO_CW_TOP_LEFT_CORNER } |
rvec/tvec 定义标记的右手坐标系。更多… | |
枚举 | PredefinedDictionaryType { DICT_4X4_50 = 0 , DICT_4X4_100 , DICT_4X4_250 , DICT_4X4_1000 , DICT_5X5_50 , DICT_5X5_100 , DICT_5X5_250 , DICT_5X5_1000 , DICT_6X6_50 , DICT_6X6_100 , DICT_6X6_250 , DICT_6X6_1000 , DICT_7X7_50 , DICT_7X7_100 , DICT_7X7_250 , DICT_7X7_1000 , DICT_ARUCO_ORIGINAL , DICT_APRILTAG_16h5 , DICT_APRILTAG_25h9 , DICT_APRILTAG_36h10 , DICT_APRILTAG_36h11 , DICT_ARUCO_MIP_36h12 } |
预定义标记字典/集。更多… | |
函数 | |
double | calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr< Board > &board, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray stdDeviationsIntrinsics, OutputArray stdDeviationsExtrinsics, OutputArray perViewErrors, int flags=0, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON)) |
使用 Aruco 标记标定相机。 | |
double | calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr< Board > &board, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs=noArray(), OutputArrayOfArrays tvecs=noArray(), int flags=0, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON)) |
它与 calibrateCameraAruco 函数相同,但不进行标定误差估计。 | |
double | calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds, const Ptr< CharucoBoard > &board, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray stdDeviationsIntrinsics, OutputArray stdDeviationsExtrinsics, OutputArray perViewErrors, int flags=0, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON)) |
使用Charuco角点标定相机。 | |
double | calibrateCameraCharuco (InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds, const Ptr< CharucoBoard > &board, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs=noArray(), OutputArrayOfArrays tvecs=noArray(), int flags=0, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON)) |
此函数与calibrateCameraCharuco相同,但不进行标定误差估计。 | |
void | detectCharucoDiamond (InputArray image, InputArrayOfArrays markerCorners, InputArray markerIds, float squareMarkerLengthRate, OutputArrayOfArrays diamondCorners, OutputArray diamondIds, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), Ptr< Dictionary > dictionary=makePtr< Dictionary >(getPredefinedDictionary(PredefinedDictionaryType::DICT_4X4_50))) |
检测ChArUco菱形标记。 | |
void | detectMarkers (InputArray image, const Ptr< Dictionary > &dictionary, OutputArrayOfArrays corners, OutputArray ids, const Ptr< DetectorParameters > ¶meters=makePtr< DetectorParameters >(), OutputArrayOfArrays rejectedImgPoints=noArray()) |
检测标记 | |
void | drawCharucoDiamond (const Ptr< Dictionary > &dictionary, Vec4i ids, int squareLength, int markerLength, OutputArray img, int marginSize=0, int borderBits=1) |
绘制ChArUco菱形标记。 | |
void | drawDetectedCornersCharuco (InputOutputArray image, InputArray charucoCorners, InputArray charucoIds=noArray(), Scalar cornerColor=Scalar(255, 0, 0)) |
绘制一组Charuco角点。 | |
void | drawDetectedDiamonds (InputOutputArray image, InputArrayOfArrays diamondCorners, InputArray diamondIds=noArray(), Scalar borderColor=Scalar(0, 0, 255)) |
绘制一组检测到的ChArUco菱形标记。 | |
void | drawDetectedMarkers (InputOutputArray image, InputArrayOfArrays corners, InputArray ids=noArray(), Scalar borderColor=Scalar(0, 255, 0)) |
在图像中绘制检测到的标记。 | |
void | drawPlanarBoard (const Ptr< Board > &board, Size outSize, OutputArray img, int marginSize, int borderBits) |
绘制平面棋盘 | |
int | estimatePoseBoard (InputArrayOfArrays corners, InputArray ids, const Ptr< Board > &board, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false) |
bool | estimatePoseCharucoBoard (InputArray charucoCorners, InputArray charucoIds, const Ptr< CharucoBoard > &board, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false) |
根据一些角点估计ChArUco棋盘的位姿。 | |
void | estimatePoseSingleMarkers (InputArrayOfArrays corners, float markerLength, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvecs, OutputArray tvecs, OutputArray objPoints=noArray(), const Ptr< EstimateParameters > &estimateParameters=makePtr< EstimateParameters >()) |
字典 | extendDictionary (int nMarkers, int markerSize, const Dictionary &baseDictionary=Dictionary(), int randomSeed=0) |
用新的nMarkers扩展基础字典。 | |
void | generateImageMarker (const Dictionary &dictionary, int id, int sidePixels, OutputArray img, int borderBits=1) |
生成规范的标记图像。 | |
void | getBoardObjectAndImagePoints (const Ptr< Board > &board, InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints) |
获取棋盘对象点和图像点 | |
字典 | getPredefinedDictionary (int dict) |
返回DICT_*引用的预定义字典之一。 | |
字典 | getPredefinedDictionary (PredefinedDictionaryType name) |
返回在PredefinedDictionaryType中定义的预定义字典之一。 | |
int | interpolateCornersCharuco (InputArrayOfArrays markerCorners, InputArray markerIds, InputArray image, const Ptr< CharucoBoard > &board, OutputArray charucoCorners, OutputArray charucoIds, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), int minMarkers=2) |
插值ChArUco棋盘角点的位姿。 | |
void | refineDetectedMarkers (InputArray image, const Ptr< Board > &board, InputOutputArrayOfArrays detectedCorners, InputOutputArray detectedIds, InputOutputArrayOfArrays rejectedCorners, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), float minRepDistance=10.f, float errorCorrectionRate=3.f, bool checkAllOrders=true, OutputArray recoveredIdxs=noArray(), const Ptr< DetectorParameters > ¶meters=makePtr< DetectorParameters >()) |
细化检测到的标记。 | |
bool | testCharucoCornersCollinear (const Ptr< CharucoBoard > &board, InputArray charucoIds) |