Monocular visual odometry scale recovery method based on optimization of corner point screening road points

By combining a semantic segmentation model to filter corner points and road surface points in monocular visual odometry and using an adaptive filter to process the scale queue, the accuracy and generalization problems of scale recovery in monocular visual odometry are solved, achieving higher accuracy and greater applicability in scale recovery.

CN117557592BActive Publication Date: 2026-11-27SHANGHAI NORMAL UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311513005.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2026-11-27
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

Existing monocular visual odometry cannot accurately recover scale, especially under changing lighting or complex scenes. Traditional methods are prone to errors, while deep learning methods have insufficient generalization ability and long training time.

Method used

By combining a semantic segmentation model to filter corner points and road surface points, and using a hybrid filter to improve the accuracy of scale recovery, stable corner points and road surface feature points are selected through the semantic segmentation model, and the scale queue is processed by an adaptive filter to achieve accurate scale recovery.

Benefits of technology

This method improves the scale recovery accuracy and generalization performance of monocular visual odometry, reduces sensitivity to illumination changes, and enhances the applicability of the method, making it suitable for traditional algorithms such as ORB-SLAM3 and VISO2.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117557592B_ABST
    Figure CN117557592B_ABST
Patent Text Reader

Abstract

The application discloses a monocular visual odometer scale recovery method based on optimized corner point screening road surface points, which comprises the following steps: a corner point extraction algorithm is used to extract a corner point of a previous frame image, a semantic segmentation model is used to obtain a semantic graph of the previous frame image, and the corner point located in a dynamic object category is deleted according to the type of the semantic graph, so that the corner point screening is realized; motion estimation is performed on the coarsely screened corner point to obtain an initial motion estimation, and triangulation processing is performed to obtain a scale-free feature point and a three-dimensional coordinate thereof; the feature point and the three-dimensional coordinate thereof in a ground type are coarsely screened according to the type of the semantic graph, a constraint voting method is used to finely screen the coarsely screened feature point and the three-dimensional coordinate thereof, then a plane fitting is performed on the finely screened feature point and the three-dimensional coordinate thereof to obtain a road surface model, a scale parameter is calculated by using an actual height of a camera and a camera height of the road surface model, and the real motion estimation is calculated by combining the initial motion estimation in the second step.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical field of artificial intelligence and relates to a monocular visual odometry scale recovery method based on optimized corner point screening of road surface points. Background Technology

[0002] Monocular visual odometry is a technology that estimates camera motion based on images captured by a single camera. It is of great significance in autonomous driving, scene reconstruction, and other fields. Due to its low cost and simple installation, it is currently widely used in service robots and vehicles. However, the motion estimated by monocular visual odometry has no scale (unit) and cannot reflect the real motion. Scale recovery operations are required before it can be used for actual mileage measurement.

[0003] The existing scale recovery algorithms mainly include the following:

[0004] 1. Geometry-based methods: These include road point selection based on road surface constraints and depth constraints, followed by scale recovery based on road feature points and camera height. The advantage is that they can be applied to general scenes, but they are easily affected by corner point extraction. For example, when there are problems with lighting, corner points cannot be extracted accurately, leading to scale recovery errors.

[0005] 2. Model-based end-to-end approach: This approach uses deep learning for end-to-end motion estimation, which is then applied to motion estimation in general cases. Its advantages are that it is end-to-end, requiring no intermediate processing and is easy to use. Its disadvantages are that it requires a large amount of data, has a long training time, poor generalization ability, and its performance drops significantly to the point of being unusable when faced with new scenarios not covered in the training.

[0006] 3. Hybrid Approach Based on Deep Models: This approach uses deep learning for monocular depth estimation, then transforms monocular motion estimation into motion estimation with a depth map, directly employing retrieval scales such as ICP. Its advantages include ease of use, integration with traditional models, and less reliance on deep learning, resulting in stronger generalization ability compared to end-to-end methods. Disadvantages include the need for large amounts of data for depth estimation, long training times, and the significant impact of depth estimation results on motion performance. Furthermore, the algorithm exhibits poor generalization when there are significant differences between the real-world and training scenarios. Summary of the Invention

[0007] The purpose of this invention is to solve the scale problem in existing monocular visual odometry. It adds a semantic segmentation model to the traditional scale recovery algorithm, which is applied to both corner point extraction and road surface point extraction. This provides an accurate data foundation for building a more accurate road surface model, and a hybrid adaptive filter is used to improve the accuracy of scale recovery.

[0008] This invention can be achieved through the following technical solutions:

[0009] A monocular visual odometry scale recovery method based on optimized corner point screening of road surface points includes the following steps:

[0010] Step 1: Use a corner extraction algorithm to extract the corners of the previous frame image, and use a semantic segmentation model to obtain the semantic map of the previous frame image. Then, based on the type of the semantic map, delete the corners located in the dynamic object category to achieve corner filtering.

[0011] Step 2: Perform motion estimation on the selected corner points to obtain the initial motion estimate, and perform triangulation to obtain scale-free feature points and their three-dimensional coordinates;

[0012] Step 3: Based on the type of semantic graph, coarsely screen out feature points and their 3D coordinates in the ground type. Then, use the constrained voting method to finely screen the feature points and their 3D coordinates after coarse screening. Then, use the finely screened feature points and their 3D coordinates to perform plane fitting to obtain the road surface model. Use the actual camera height and the camera height of the road surface model to calculate the scale parameters. Then, combine the initial motion estimation in Step 2 to calculate the true motion estimation.

[0013] Furthermore, in step three, the scale parameters corresponding to each frame image are placed into a scale queue, the variance of the scale queue is calculated, and a variance threshold is set. When the variance is greater than the threshold, a mixed filtering of Gaussian filtering with sigma=3 and median filtering is used to obtain the optimal scale parameters; when the variance is less than the threshold, a mixed filtering of Gaussian filtering with sigma=2 and median filtering is used to obtain the optimal scale parameters.

[0014] Furthermore, when calculating the variance of the scale queue, five size parameters are selected sequentially from the size parameter corresponding to the current frame image to calculate the variance.

[0015] Furthermore, during the fine screening process, the Delaunay triangulation method is used to divide the feature points into connected triangular regions. For each of the three feature points within a triangular region, the following constraint is applied to each pair of points for scoring: for feature points that do not satisfy the constraint, their score is decremented by one; otherwise, it is incremented by one. Finally, feature points with scores greater than a threshold are retained, thus achieving fine screening.

[0016] Based on the pinhole camera projection model, feature points located on the ground are subject to the following constraints:

[0017]

[0018] Among them, v i v j These are the ordinate values ​​of the i-th and j-th feature points in the image coordinate system, respectively. Let be the depth values ​​of the i-th and j-th feature points, respectively. If the two feature points used for calculation satisfy this constraint, then both feature points are located on the road surface.

[0019] Furthermore, the LK optical flow tracking algorithm is used to calculate the position of the corner points in the next frame image based on the coarsely screened corner points. Based on this correspondence, the initial motion estimate is obtained by decomposing the essential matrix. The initial motion estimate is then triangulated using the triangulation method to obtain scale-free feature points and their three-dimensional coordinates.

[0020] Beneficial effects:

[0021] 1. High accuracy: Traditional methods select road points based on feature points. Feature points depend on information such as illumination, and the depth of triangulation is greatly affected by them. However, the method of this invention uses a semantic segmentation model to perform semantic analysis on the previous frame image to obtain the corresponding semantic map. Based on the semantic information, corner points and road points are selected. The former obtains more accurate initial motion estimation, and the latter provides a more robust prior for fine selection of feature points, thus achieving higher scale recovery accuracy.

[0022] Meanwhile, traditional filtering methods often employ a single design, which cannot meet the needs of scale variations. The adaptive hybrid filtering method proposed in this invention has stronger versatility and can effectively improve the accuracy of motion estimation.

[0023] 2. Strong generalization performance: Current monocular motion estimation methods based on deep learning entrust motion estimation or important parts such as the length unit of motion and the distance of key points to deep learning. Due to the problem of the generalization performance of deep learning, the proposed methods cannot be applied in practice. However, the method of this invention integrates the semantic segmentation model as a module into the traditional motion estimation. The motion estimation results do not completely depend on the model results. At the same time, in the selection of road feature points, compared with the traditional method, this method proposes two selection strategies to select corner points on the road surface, which effectively reduces the possibility of erroneous estimation caused by the poor generalization performance of deep learning, and provides a good data foundation for building an accurate road surface model.

[0024] 3. Easy to port: The method proposed in this invention can be integrated into the traditional monocular vision odometry method as two independent modules: corner selection based on semantic segmentation model (for motion estimation) and feature point selection based on semantic segmentation model and constraint voting method (for road surface model establishment). It can be seamlessly integrated with the traditional method and has good compatibility. Both methods can improve the traditional algorithm. For example, the algorithm proposed in this invention has a significant improvement on ORB-SLAM3 and VISO2. Attached Figure Description

[0025] Figure 1 This is a schematic diagram of the overall process of the present invention;

[0026] Figure 2 This is a schematic diagram of the experimental results of the method of the present invention on the KITTI dataset 00 sequence. Detailed Implementation

[0027] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0028] In the description of this invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0029] To improve the motion estimation performance of monocular visual odometry, extensive research has been conducted both domestically and internationally on how to recover scale. Segmentation models, as an important branch of the visual field, have not yet been effectively combined with traditional visual odometry scale recovery methods. This invention performs scale recovery by combining a pre-trained model with a camera height criterion, eliminating the need for complex data acquisition and model training, thus enhancing ease of use. Furthermore, common scale recovery methods employ a single filtering approach, which cannot simultaneously meet the needs of both scale-flat and scale-steep periods, amplifying the scale recovery error. This invention adopts a composite filtering approach and selects filtering parameters based on the variance of the scale queue, resulting in greater accuracy and versatility.

[0030] like Figure 1 As shown, this invention proposes a monocular visual odometry scale recovery method based on optimized corner point screening of road surface points, specifically including the following steps:

[0031] Step 1: Extract corner points from the previous frame image using a corner extraction algorithm, such as the Fast corner extraction algorithm. Then, use a semantic segmentation model to obtain the semantic map of the previous frame image. Based on the type of the semantic map, delete corner points located in the dynamic object category to achieve corner point filtering. The semantic segmentation model can refer to the SegNext model proposed by M.-H. Guo, C.-Z. Lu, Q. Hou, Z. Liu, M.-M. Cheng, and S.-M. Hu, “SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation.” 2022.

[0032] Since feature points located on dynamic objects such as moving vehicles or in low-texture areas of the sky cannot be guaranteed to be stationary or still extractable in subsequent images, the method proposed in this invention uses a semantic segmentation model to obtain the semantic map of the previous frame image. Based on the type of semantic map, corner points located in the category of dynamic objects are deleted to remove some unstable feature points, reduce the subsequent computational pressure, and prepare for improving the accuracy of subsequent motion estimation.

[0033] Step 2: Perform motion estimation on the selected corner points to obtain the initial motion estimate, and perform triangulation to obtain scale-free feature points and their three-dimensional coordinates;

[0034] LK optical flow tracking is used to obtain the position of the selected corner points in the next frame. Based on this correspondence, the camera projection model is used to obtain the constraint condition called the essential matrix. Then, SVD is used to decompose the essential matrix to obtain the corresponding displacement and rotation information, and complete the initial motion estimation. Finally, the triangulation method is used to obtain these successfully tracked corner points, i.e. feature points, and their three-dimensional coordinates.

[0035] Step 3: Based on the type of semantic graph, coarsely screen out feature points and their 3D coordinates in the ground type, and then use the constrained voting method to finely screen the coarsely screened feature points and their 3D coordinates. Then, use the finely screened feature points and their 3D coordinates to perform plane fitting to obtain the road surface model. Use the actual camera height and the camera height of the road surface model to calculate the scale parameters, and then combine them with the initial motion estimation in Step 2 to calculate the true motion estimation.

[0036] To establish a more accurate road surface model, the method of this invention performs a two-step screening of the feature points obtained in step two. The first step is to obtain the feature points of the ground type in the semantic map of step one and their three-dimensional coordinates. The second step is to further screen the feature points using a constraint voting method. Then, the screened feature points are enhanced using traditional methods such as depth constraints to obtain the screened road surface points. The RANSAC method is then used for plane fitting to obtain the road surface model. The ratio of the camera height parameter implied in the road surface model to the actual measured camera height parameter is used as the scale parameter. The RANSAC method can be the one disclosed by MAFischler and RCBolles, “Random sample consensus: AParadigm for Model Fitting with Applications to Image Analysis and Automated Cartography,” Commun ACM, vol.24, no.6, 1981, doi:10.1145 / 358669.358692.

[0037] During the fine screening process, the Delaunay triangulation method is used to divide the feature points into connected triangular regions. The following constraints are applied to the pairwise scores of the three feature points in each triangular region. For feature points that do not meet the constraints, their scores are reduced by one, and vice versa. Finally, feature points with scores greater than the threshold are retained to achieve fine screening.

[0038] Based on the pinhole camera projection model, feature points located on the ground are subject to the following constraints:

[0039]

[0040] Among them, v i v j These are the ordinate values ​​of the i-th and j-th feature points in the image coordinate system, respectively. Let be the depth values ​​of the i-th and j-th feature points, respectively. The former can be obtained from feature extraction, and the latter can be obtained from triangulation. If the two feature points used for calculation satisfy this constraint, then both feature points are located on the road surface.

[0041] Finally, the scales obtained from each frame of the image are stored in a sliding window. Different parameters are selected for scale filtering based on the variance of the scales within the sliding window. The filtering method is a mixture of Gaussian and median filtering. That is, Gaussian filtering is first applied to the elements within the sliding window, and then the median is taken as the optimal scale parameter for subsequent scale recovery. This achieves adaptive mixture filtering, making the whole method more versatile and effectively improving the accuracy of motion estimation.

[0042] In other words, the scale parameters corresponding to each frame image are placed into a scale queue, the variance of the scale queue is calculated, and five scale parameters are selected sequentially backward from the scale parameter corresponding to the current frame image for variance calculation. A variance threshold is set, such as 0.1. When the variance is greater than the threshold, a mixed filtering of Gaussian filtering with sigma=3 and median filtering is used to obtain the optimal scale parameter; when the variance is less than the threshold, a mixed filtering of Gaussian filtering with sigma=2 and median filtering is used to obtain the optimal scale parameter.

[0043] To verify the feasibility of the method of the present invention, we compare the present invention with existing methods, as follows:

[0044] To quantitatively evaluate the scale recovery performance, the widely used KITTI dataset, comprising 22 sequences spanning different urban, rural, and highway environments, was used. Absolute trajectory error was employed as a comparison parameter. The method of this invention was compared with that published in IEEE Transactions on Intelligent Transportation Systems by J. Lee, M. Back, SSHwang et al., in 2023. This latter method is one of the current state-of-the-art algorithms. Unlike this method, J. Lee et al.'s approach relies entirely on semantic segmentation for scale recovery, further optimizing the scale estimation results using a keyframe strategy. The comparison results are shown in the table below. It can be seen that the absolute trajectory error of the method of this invention is smaller than that of existing methods in most sequences.

[0045]

[0046] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and various changes or modifications can be made to these embodiments without departing from the principles and essence of the present invention.

Claims

1. A monocular visual odometry scale recovery method based on optimized corner point screening of road surface points, characterized in that... Includes the following steps: Step 1: Use a corner extraction algorithm to extract the corners of the previous frame image, and use a semantic segmentation model to obtain the semantic map of the previous frame image. Then, based on the type of the semantic map, delete the corners located in the dynamic object category to achieve corner filtering. Step 2: Perform motion estimation on the selected corner points to obtain the initial motion estimate, and perform triangulation to obtain scale-free feature points and their three-dimensional coordinates; Step 3: Based on the type of semantic graph, the feature points and their three-dimensional coordinates of the ground type are coarsely screened out. Then, the constrained voting method is used to finely screen the feature points and their three-dimensional coordinates after coarse screening. Then, the road surface model is obtained by plane fitting using the finely screened feature points and their three-dimensional coordinates. The scale parameters are calculated using the actual camera height and the camera height of the road surface model. Combined with the initial motion estimation in Step 2, the true motion estimation is calculated. In step three, the scale parameters corresponding to each frame image are placed into a scale queue, the variance of the scale queue is calculated, and a variance threshold is set. When the variance is greater than the threshold, a mixed filtering of Gaussian filtering with sigma=3 and median filtering is used to obtain the optimal scale parameters; when the variance is less than the threshold, a mixed filtering of Gaussian filtering with sigma=2 and median filtering is used to obtain the optimal scale parameters.

2. The monocular visual odometry scale recovery method based on optimized corner point screening of road points according to claim 1, characterized in that: When calculating the variance of the scale queue, five scale parameters are selected sequentially from the scale parameter corresponding to the current frame image to calculate the variance.

3. The monocular visual odometry scale recovery method based on optimized corner point screening of road points according to claim 1, characterized in that: During the fine screening process, the Delaunay triangulation method is used to divide feature points into connected triangular regions. For each of the three feature points in each triangular region, the following constraint is applied for pairwise scoring: for feature points that do not satisfy the constraint, the score is decremented by one; otherwise, it is incremented by one. Finally, feature points with scores greater than a threshold are retained, thus achieving fine screening. Based on the pinhole camera projection model, feature points located on the ground are subject to the following constraints: in, , These are the ordinate values ​​of the i-th and j-th feature points in the image coordinate system, respectively. , and are the depth values ​​of the i-th and j-th feature points, respectively. If the two feature points used for calculation satisfy this constraint, then both feature points are located on the road surface.

4. The monocular visual odometry scale recovery method based on optimized corner point screening of road points according to claim 1, characterized in that: The LK optical flow tracking algorithm is used to calculate the position of the corner points in the next frame image based on the coarsely screened corner points. Based on this correspondence, the initial motion estimate is obtained by decomposing the essential matrix. The initial motion estimate is then triangulated using the triangulation method to obtain scale-free feature points and their three-dimensional coordinates.

Citation Information

Patent Citations

  • Large-scale part three-dimensional reconstruction method based on image sequence

    CN111815757A

  • Binocular visual odometer method based on ORB characteristics

    CN116878536A