Binocular camera external parameter correction method and device, equipment and storage medium

CN122473287BActive Publication Date: 2026-08-28DEXFORCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610953756.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-08-28
Estimated Expiration
2046-06-30

AI Technical Summary

Technical Problem

[0005]基于此,有必要针对上述现有技术存在的操作复杂、耗时长、精度低以及稳定性差等缺陷,提出了一种的双目相机外参校正方法、装置、设备和存储介质

Benefits of technology

[0010]从上述本申请提供的技术方案可知:一方面,通过在一张同时包含预设标定板和自然场景的左右原始图像中,同步提取标定板角点和场景特征匹配点,将标定板提供的绝对几何约束与自然场景提供的丰富匹配信息相结合,这使得本申请在理论上仅需输入最少一组(一张)满足条件的图像,即可完成外参的校正计算,从而免除了传统方法中需要多次变换标定板位姿并拍摄多组图像的繁琐操作,大大简化了现场标定流程,缩短了部署与维护时间;另一方面,利用从标定板角点精确计算出的对极矩阵,对深度学习模型提取的自然场景特征匹配点进行动态一致性评估与筛选,能够有效剔除误匹配点,从而确保了用于后续优化计算的特征点集(即优化后的特征匹配点集)的几何一致性,此外,本申请并非完全抛弃标定板,而是将标定板位姿估计提供的旋转矩阵作为强先验知识引入优化模型,为优化过程提供了可靠的初始方向和约束,有效避免了因初始值不佳或场景特征匹配点几何约束不足而导致的优化失败或结果发散问题,增强了在复杂或弱纹理场景下的校正稳定性;第三方面,本申请的技术方案在构建非线性优化模型时,不仅引入了旋转参数的先验约束,还创新性地将双目相机的基线长度(即平移向量的模长)作为固定约束,即,通过将平移向量的优化变量从三个自由度参数化为两个方向角参数并固定其模长,极大地降低了优化问题的解空间维度与不确定性,这种固定基线、优化姿态的策略,使得优化过程能够更快速、更稳定地收敛到正确的解上,从而高效、可靠地完成对旋转矩阵与平移向量的联合优化计算。综上,本申请的技术方案通过融合单张图片中的标定板几何约束与深度学习场景特征匹配,并固定基线优化姿态,实现了便捷、稳定、快速的双目相机外参校正。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122473287B_ABST
    Figure CN122473287B_ABST
Patent Text Reader

Abstract

The application relates to the field of image processing, and provides a binocular camera external parameter correction method and device based on deep learning feature matching, equipment and a storage medium. The method comprises the following steps: acquiring left and right original images containing a preset calibration board which are synchronously collected by a binocular camera; processing the left and right original images, extracting a calibration board corner point and acquiring a scene feature matching point; performing dynamic consistency evaluation and screening on the scene feature matching point by using epipolar geometry constraints to obtain an optimized feature matching point set; based on the optimized feature matching point set, using a rotation matrix obtained in calibration board pose estimation as a prior constraint of a rotation parameter, and using a fixed baseline length of the binocular camera as a length constraint of a translation parameter, a nonlinear optimization model is constructed by fusing the prior constraint and the length constraint; and by minimizing the three-dimensional re-projection error of the optimized feature matching point set, the rotation matrix and the translation vector of the binocular camera are jointly optimized and calculated, and the correction of the external parameter matrix is completed.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A method for extrinsic parameter correction of a binocular camera, characterized in that, The method includes: Acquire the original left and right images, including the preset calibration plate, simultaneously captured by the binocular cameras; The original left and right images are processed to extract the calibration board corner points and obtain scene feature matching points; The epipolar matrix is ​​calculated based on the extracted calibration board corner points, and the epipolar matrix is ​​used to perform dynamic consistency evaluation and screening of the scene feature matching points to obtain an optimized feature matching point set. Based on the optimized feature matching point set, the rotation matrix obtained in the calibration board pose estimation is used as a prior constraint for the rotation parameter, and the baseline length of the fixed binocular camera is used as a module length constraint for the translation parameter to construct a nonlinear optimization model that integrates the prior constraint and the module length constraint. The nonlinear optimization model is solved by minimizing the 3D reprojection error of the optimized feature matching point set, and the rotation matrix and translation vector of the binocular camera are jointly optimized to complete the correction of the extrinsic parameter matrix.

2. The binocular camera extrinsic parameter correction method according to claim 1, characterized in that, The method of using the rotation matrix obtained in the calibration board pose estimation as a prior constraint for the rotation parameters includes: parameterizing the rotation matrix as a unit quaternion or rotation vector; adding a regularization term about the parameterized unit quaternion or rotation vector in the nonlinear optimization model, wherein the regularization objective is the centered calibration board pose rotation matrix, and the regularization weight is dynamically adjusted according to the confidence level extracted from the calibration board corner points; The method further includes: using the translation vector obtained in the calibration plate pose estimation to determine the optimized initial value of the translation parameter.

3. The binocular camera extrinsic parameter correction method according to claim 1, characterized in that, The method of calculating the epipolar matrix based on the extracted calibration board corner points includes: using the correspondence between the calibration board corner points in the left and right images, as well as the known physical dimensions and three-dimensional structure of the calibration board, to calculate the fundamental matrix or the essential matrix, wherein the epipolar matrix is ​​defined by the fundamental matrix or the essential matrix.

4. The binocular camera extrinsic parameter correction method according to claim 3, characterized in that, The step of using the epipolar matrix to perform dynamic consistency evaluation and filtering of the scene feature matching points to obtain an optimized feature matching point set includes: For each pair of scene feature matching points, calculate the geometric error that satisfies the epipolar matrix; The consistency error threshold is dynamically determined based on the geometric error distribution of all scene feature matching point pairs. Matching point pairs with geometric errors greater than the consistency error threshold are discarded as mismatched point pairs, while matching point pairs with geometric errors less than or equal to the consistency error threshold are retained to form the optimized feature matching point set.

5. The binocular camera extrinsic parameter correction method according to claim 1, characterized in that, The modulus constraint, which uses the baseline length of the fixed binocular camera as the translation parameter, includes: The magnitude of the translation vector is read as a fixed value from the factory calibration parameters of the binocular camera or the last valid calibration result; During the optimization process, the translation vector t is parameterized as follows: ,in, and The direction angle parameter to be optimized is... This is the fixed value.

6. The binocular camera extrinsic parameter correction method according to claim 1, characterized in that, After the extrinsic parameter matrix is ​​corrected, if the size information of the calibration plate in the image is available, the method further includes the following scale recovery process: The scale factor is calculated based on the proportional relationship between the known physical dimensions of the calibration plate and the three-dimensional dimensions of the calibration plate reconstructed from the corrected extrinsic parameters. The optimized translation vector is scaled using the scale factor to restore the true scale of the stereo camera's extrinsic parameters.

7. The binocular camera extrinsic parameter correction method according to claim 6, characterized in that, If valid calibration plate size information cannot be obtained from the current image, the scale recovery process includes: Read the translation vector magnitude stored in the factory calibration file or historical calibration file of the stereo camera and use it as the true scale; The optimized, unscaled translation vector is normalized and then multiplied by the true scale to obtain a translation vector with the true scale.

8. A binocular camera extrinsic parameter correction device, characterized in that, The device includes: The acquisition module is used to acquire the original left and right images, including the preset calibration plate, synchronously acquired by the binocular camera; The extraction module is used to process the left and right original images, extract the corner points of the calibration board, and obtain scene feature matching points; The optimization module is used to calculate the epipolar matrix based on the extracted calibration board corner points, and to use the epipolar matrix to perform dynamic consistency evaluation and screening of the scene feature matching points to obtain an optimized feature matching point set. The modeling module is used to construct a nonlinear optimization model that integrates the prior constraints and the module length constraints based on the optimized feature matching point set, using the rotation matrix obtained in the calibration plate pose estimation as the prior constraint for the rotation parameter, and the baseline length of the fixed binocular camera as the translation parameter for the module length constraint. The correction module is used to solve the nonlinear optimization model. By minimizing the 3D reprojection error of the optimized feature matching point set, it jointly optimizes and calculates the rotation matrix and translation vector of the binocular camera to complete the correction of the extrinsic parameter matrix.

9. A computer device, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Camera self-calibration method and device, apparatus and medium

    CN113781583A

  • Building height measurement method and system based on binocular vision

    CN114663486A