![]() |
OpenCV 4.12.0
开源计算机视觉
|
类 | |
| 类 | ArucoDetector |
| 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 Diamond 标记。 | |
| 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 Diamond 标记。 | |
| 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 Diamond 标记。 | |
| 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 >()) |
| Dictionary | 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) |
| 获取板对象和图像点 | |
| Dictionary | getPredefinedDictionary (int dict) |
| 返回由 DICT_* 引用的预定义字典之一。 | |
| Dictionary | 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) |