A visual SLAM method and system based on interpolation network
By introducing the interpolation network and image quality detection module into vehicle positioning, predicting intermediate frames and starting interpolation processing when turning, the problem of positioning accuracy and tracking failure in complex scenes is solved, high-quality vehicle positioning and mapping are achieved, and improved performance of autonomous driving technology.
Patent Information
- Application Number
- CN202210354322.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-06
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-04-06
AI Technical Summary
Existing vehicle positioning methods are prone to tracking failures in complex scenarios, and it is difficult to ensure high-quality positioning accuracy while reducing sensor costs.
The visual SLAM method based on the interpolation network is adopted. The interpolation network is trained through deep learning to predict the middle frame of two consecutive images. The interpolation network is started when turning. The image quality detection module is used to determine whether to retain the middle frame. The feature point method and the direct method are combined. Solve the rotation matrix and translation vector to complete global positioning and mapping.
It improves the accuracy and robustness of the visual SLAM system, reduces the field of view changes between front and rear frames, enhances the accuracy and reliability of vehicle positioning, is suitable for direct methods and feature point methods, and assists the development of autonomous driving technology.
Smart Images

Figure CN114897975B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving and vehicle technology, and in particular to a visual SLAM method and system based on an interpolation network. Background Art
[0002] With the development of science and technology, the relationship between vehicles, robots and other technological products and people's lives is becoming closer and closer. Autonomous driving technology is also becoming more and more mature. Nowadays, the main challenge of autonomous driving comes from complex scenes, such as how to ensure good positioning and navigation performance of the vehicle when the illumination changes and rotates rapidly. Therefore, the SLAM system in complex scenes has become an important research direction in the field of SLAM. As an important part of SLAM, visual SLAM (VSLAM) can be mainly divided into direct method and feature point method. In recent years, both methods have made great progress, and some methods combining direct method and feature point method have been proposed, but these two methods have always remained relatively independent. Although there are differences between them, the accuracy and reliability of both methods will be reduced when faced with complex scenes.
[0003] The Chinese patent "Loop closure detection and visual SLAM method based on optical flow tracking and feature matching" (publication number: CN113888603A) uses a binocular camera, uses the optical flow method to collect point features, and the LSD algorithm to extract line features, achieving better results than ORB-SLAM2. The method of using the direct method plus the feature point method is more complicated overall.
[0004] The Chinese patent "A direct visual positioning method based on semantic segmentation in dynamic scenes" (publication number: CN111340881A) uses a direct method based on semantic segmentation in dynamic scenes as a visual positioning method. This method can only be applied to the direct method and cannot be applied to the feature point method.
[0005] The Chinese patent "A method and related device for realizing SLAM positioning based on vision" (publication number: CN111928842A) extracts the feature points of each frame of at least two frames through the brisk operator, and then matches the feature points of adjacent images to further realize subsequent positioning and mapping work. This method can only be applied to the feature point method and cannot be applied to the direct method.
[0006] Therefore, the problems that still exist in the current vehicle positioning method are as follows:
[0007] 1) How to ensure high-quality positioning accuracy while reducing sensor costs;
[0008] 2) In complex scenes, the field of view or illumination changes between adjacent frames are large, which may easily lead to tracking failure. Summary of the invention
[0009] In order to solve the above technical problems, the present invention provides a visual SLAM method and system based on an interpolation network.
[0010] The technical solution of the present invention is: a visual SLAM method based on an interpolation network, comprising:
[0011] Step S1: collect image data sets, use deep learning methods to train the interpolation network in the visual SLAM system, and predict the intermediate frame between two consecutive frames of images;
[0012] Step S2: according to the turning detection module, the rotation matrix R and the translation vector t corresponding to the adjacent front and rear frame images are solved by using feature extraction and matching based on the feature point method, or by minimizing the photometric error based on the direct method, and at the same time, it is determined whether the vehicle is turning;
[0013] Step S3: When the vehicle is turning, the interpolation network is started, and the intermediate frame is inserted according to the front and rear frame images. The image quality detection module is used to determine whether to retain the intermediate frame. If the detection is passed, the S2 operation is performed on the front and rear frames and the intermediate frame respectively. Otherwise, the S2 operation is performed on the front and rear frames to solve R, t, and complete global positioning and subsequent mapping.
[0014] Compared with the prior art, the present invention has the following advantages:
[0015] The present invention discloses a visual SLAM method based on an interpolation network. By introducing the interpolation network method, a high-quality intermediate frame between the current frame and the next frame can be predicted, thereby reducing the field of view change between the front and rear frames of the visual SLAM system, making the mapping and positioning process more accurate and robust. At the same time, the present invention provides an image quality detection module to ensure the quality of the interpolated image; in order to improve the efficiency of the system, the present invention provides a turning detection module, which only starts the interpolation network when turning. The present invention is effective for both direct visual SLAM and feature point visual SLAM, and can greatly contribute to the development of autonomous driving technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Flow chart of a visual SLAM method based on an interpolation network in an embodiment of the present invention;
[0017] Figure 2 Schematic diagram of the training process of the interpolation network in the visual SLAM system in an embodiment of the present invention;
[0018] Figure 3 Schematic diagram of the structure of a visual SLAM system using a feature point method in an embodiment of the present invention;
[0019] Figure 4It is a trajectory comparison diagram of ORB-EDSC-SLAM and ORB-SLAM2 using the feature point method on the KITTI02 sequence of the data set in an embodiment of the present invention;
[0020] Figure 5A It is a trajectory comparison diagram of ORB-EDSC-SLAM and ORB-SLAM2 using the feature point method on the KITTI10 sequence of the data set in an embodiment of the present invention;
[0021] Figure 5B This is a comparison diagram of the errors caused by the ORB-EDSC-SLAM and ORB-SLAM2 using the feature point method at the turning point on the KITTI10 sequence of the data set in an embodiment of the present invention;
[0022] Fig. 6A It is a comparison diagram of trajectory 1 of DSO-EDSC and DSO using the direct method on the KITTI dataset in an embodiment of the present invention;
[0023] Figure 6B It is a comparison diagram of trajectory 2 of DSO-EDSC and DSO using the direct method on the KITTI dataset in an embodiment of the present invention;
[0024] Figure 7 The figure is a structural block diagram of a visual SLAM system based on an interpolation network in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The present invention provides a visual SLAM method based on an interpolation network, which fully considers the requirements of cost and accuracy, and provides a vehicle positioning method with strong robustness, low cost and high accuracy based on the interpolation network.
[0026] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below through specific implementations and in conjunction with the accompanying drawings.
[0027] Embodiment 1
[0028] like Figure 1 As shown, a visual SLAM method based on an interpolation network provided by an embodiment of the present invention comprises the following steps:
[0029] Step S1: collect image data sets, use deep learning methods to train the interpolation network in the visual SLAM system, and predict the intermediate frame between two consecutive frames of images;
[0030] Step S2: according to the turning detection module, the rotation matrix R and the translation vector t corresponding to the adjacent front and rear frame images are solved by using feature extraction and matching based on the feature point method, or by minimizing the photometric error based on the direct method, and at the same time, it is determined whether the vehicle is turning;
[0031] Step S3: When the vehicle is turning, the interpolation network is started, and the intermediate frame is inserted according to the front and rear frame images. The image quality detection module is used to determine whether to retain the intermediate frame. If the detection is passed, the S2 operation is performed on the front and rear frames and the intermediate frame respectively. Otherwise, the S2 operation is performed on the front and rear frames to solve R,t, and complete the global positioning and subsequent mapping.
[0032] In one embodiment, the above step S1: collecting an image data set, using a deep learning method to train an interpolation network in a visual SLAM system, and predicting an intermediate frame between two consecutive frames of images, specifically includes:
[0033] Step S11: Use the camera installed on the vehicle to collect RGB image sequences, construct an image data set, calibrate the internal and external parameters of the camera according to the checkerboard calibration method, obtain the camera's essential matrix K and distortion coefficient vector d, where K is a 3×3 matrix and d is a 4×1 vector, and store the camera's calibration parameters; based on the preset calibration plate corner point coordinates, calibrate and solve the transformation from the camera's coordinate system to the vehicle's coordinate system;
[0034] The embodiment of the present invention can use a monocular camera or an RGB-D camera to collect photos of the vehicle's surrounding environment to obtain an RGB image sequence for constructing an image data set;
[0035] Step S12: Select an interpolation network EDSC, input two consecutive frames of images in the image data set, and train EDSC to predict an image of an intermediate frame between the two consecutive frames of images.
[0036] The embodiment of the present invention uses the KITTI dataset for training EDSC. Figure 2 As shown in the figure, EDSC applies heterogeneous convolution (HetCon) in the codec architecture to reduce the amount of computation and parameters. It also uses deformable convolution to force the use of smaller kernels to learn additional offsets and masks. An additional bias estimator is introduced to learn residual values to compensate for the results predicted by deformable convolution. During training, I1 and I3 of three consecutive frames of images (I1, I2, I3) are input into the EDSC network for training to obtain the predicted intermediate frame. use The error between the true value I2 and the training of the network is used to supervise the training of the network until a trained interpolation network is obtained.
[0037] In one embodiment, in step S2, the turning detection module uses the feature point method to extract and match feature points to solve the rotation matrix R and the translation vector t corresponding to the adjacent front and back frame images, which specifically includes:
[0038] Step S201: Let P be the target object in the world coordinate system, O1 and O2 be the optical center positions of the camera in the previous frame image I1 and the next frame image I2 respectively; p1 and p2 are the projections of P on I1 and I2 respectively, that is, a pair of points successfully matched in the two frames I1 and I2; wherein, the projection of O1P on I2 is e2p2, denoted as l2, and the projection of O2P on I1 is e1p1, denoted as l1, l1 and l2 are called epipolar lines, and e1 and e2 are called poles; according to the camera's intrinsic parameter matrix K, the above two projection relationships can be expressed as formula (1):
[0039]
[0040] in, Indicates equality in the sense of scale; R is the rotation matrix, t is the translation vector;
[0041] Step S202: Let x1 = K -1 p1,x2=K -1 Substituting p2 into formula (1), we get formula (2):
[0042]
[0043] Multiply both sides by the antisymmetric matrix t^ of t on the left, and we get formula (3):
[0044]
[0045] Then multiply both sides by left We get formula (4):
[0046]
[0047] Obviously, the left-hand side is zero, and we get formula (5):
[0048]
[0049] Substituting p1 and p2, we get formula (6):
[0050]
[0051] Formulas (5) and (6) are called epipolar constraints. Let the essential matrix E be t^R and the fundamental matrix F be K -T t^R -1 , then the epipolar constraint can be simplified to formula (7):
[0052]
[0053] Step S203: Solve the essential matrix E by the eight-point method. According to a pair of matching points, its normalized coordinates are x1 = [u1, v1, 1] T,x2=[u2,v2,1] T , according to the epipolar constraint, we get formula (8):
[0054]
[0055] Expand the essential matrix E to obtain the vector form: e = [e1, e2, e3, e4, e5, e6, e7, e8, e9] T ;
[0056] The epipolar constraint can be written in a linear form related to e: [u2u1,u2v1,u2,v2u1,v2v1,v2,u1,v1,1]·e=0;
[0057] Substituting into formula (8), we get formula (9):
[0058]
[0059] The essential matrix E is solved by the above linear equations, and the singular value decomposition of E is performed to obtain four groups of t and R values, as shown in formulas (10) to (11):
[0060]
[0061]
[0062] Since point P has positive depth in both I1 and I2, by substituting any point into the above four solutions and checking the depth of point P in I1 and I2, the correct solution can be screened out, thereby solving R and t and obtaining the pose between the previous frame image and the next frame image;
[0063] Step S204: Calculate the corresponding Euler angle θ according to the rotation matrix R. If it is greater than the threshold, it is considered that the vehicle is turning, as shown in formula (12):
[0064]
[0065] Where tr(R) represents the trace of the rotation matrix R.
[0066] Alternatively, the turn detection module uses a direct method to determine whether the vehicle is turning.
[0067] In one embodiment, in the above step S2, the rotation matrix R and the translation vector t corresponding to the adjacent front and back frame images are solved by minimizing the photometric error based on the direct method according to the turn detection module, specifically including:
[0068] Step S211: The photometric error is defined as shown in formula (13):
[0069] e=I1(x1)-I2(x2) (13)
[0070] Where, I1(x1) represents the brightness at x1 on the previous frame image I1, and I2(x2) represents the brightness at x2 on the next frame image I2;
[0071] Step S212: Substitute formula (13) into formula (2) to calculate the rotation matrix R and the translation vector t, and use formula (12) to calculate the corresponding Euler angle, and compare it with the set threshold to determine whether the vehicle is turning.
[0072] The turning detection module in the embodiment of the present invention is used to detect whether the visual SLAM system is turning, and the turning angle is determined according to the Euler angle θ. If θ exceeds the threshold, it is considered that the vehicle is turning, and the interpolation network starts to interpolate between the current image and the next image. The present invention does not interpolate the predicted intermediate image. When the turning speed is less than the threshold, the interpolation process ends. The interpolation generated image has the same format as the original image.
[0073] In one embodiment, the above step S3: when the vehicle is turning, the interpolation network is started, and the intermediate frame is inserted according to the front and rear frame images, and the image quality detection module is used to determine whether to retain the intermediate frame. If the detection is passed, the front and rear frames and the intermediate frame are respectively subjected to the S2 operation, otherwise the front and rear frames are subjected to the S2 operation, and R, t is solved to complete the global positioning and subsequent mapping, which specifically includes:
[0074] Step S31: if it is determined according to step S2 that the vehicle is turning, the trained interpolation network is started to insert an intermediate frame I' between the previous frame image I1 and the next frame image I2;
[0075] Step S32: using the image quality detection module to determine the quality of the intermediate frame, calculating the structural similarity index S1 of I1 and I', and the structural similarity index S2 of I' and I2; when S1 and S2 are both greater than or equal to a preset threshold, I' is considered valid and retained, otherwise, I' is discarded;
[0076] The image quality detection module in the embodiment of the present invention uses the SSIM (structural similarity) indicator to calculate the structural similarity index.
[0077] Step S33: When I' is retained, the pose between I1 and I' and the pose between I' and I2 are calculated according to the feature point method or the direct method in step S2 to perform global positioning and mapping.
[0078] When the feature point method is used, the vehicle is positioned according to the pose between I1 and I' and the pose between I' and I2, and the position of the object point in the world coordinate system and the position of the feature point in the world coordinate system are obtained by triangulation to complete the mapping task;
[0079] When the direct method is used, the vehicle is positioned based on the pose between I1 and I' and the pose between I' and I2, and the position of the object point in the world coordinate system and the world coordinates of the pixel point are obtained by triangulation to complete the mapping task.
[0080] Step S34: Reduce the cumulative errors of positioning and mapping through loop detection and global bundle adjustment.
[0081] The accuracy of the visual SLAM system can be further improved through loop detection and global bundle adjustment.
[0082] like Figure 3 As shown, a schematic diagram of the structure of a visual SLAM system using a feature point method in an embodiment of the present invention is shown.
[0083] like Figure 4 As shown, ORB-EDSC-SLAM is a visual SLAM system based on the feature point method provided by the present invention. By comparing the trajectory of the existing ORB-SLAM2 on the KITTI02 sequence of the data set, it can be clearly found that the method of the present invention has achieved significant accuracy improvement at multiple turns.
[0084] like Figure 5A As shown, the comparison of the trajectories of ORB-EDSC-SLAM using the feature point method of the present invention and the existing ORB-SLAM2 on the KITTI10 sequence is shown. The trajectory of ORB-SLAM2 has a large deviation from the true value, while the trajectory obtained using the method of the present invention is almost the same as the true value.
[0085] Figure 5B The error comparison between ORB-EDSC-SLAM based on the feature point method of the present invention and the existing ORB-SLAM2 at turns on the KITTI10 sequence is shown.
[0086] Fig. 6A and Figure 6B The comparison between the trajectories 1 and 2 of the direct method-based visual SLAM system DSO-EDSC provided by the present invention and the existing DSO on the KITTI dataset is shown respectively. It is not difficult to see that the visual SLAM system provided by the present invention is more effective.
[0087] The present invention discloses a visual SLAM method based on an interpolation network. By introducing the interpolation network method, a high-quality intermediate frame between the current frame and the next frame can be predicted, thereby reducing the field of view change between the front and rear frames of the visual SLAM system, making the mapping and positioning process more accurate and robust. At the same time, the present invention provides an image quality detection module to ensure the quality of the interpolated image; in order to improve the efficiency of the system, the present invention provides a turning detection module, which only starts the interpolation network when turning. The present invention is effective for both direct visual SLAM and feature point visual SLAM, and can greatly contribute to the development of autonomous driving technology.
[0088] Embodiment 2
[0089] like Figure 7 As shown, an embodiment of the present invention provides a visual SLAM system based on an interpolation network, comprising the following modules:
[0090] An interpolation network training module 41 is used to collect an image data set, train an interpolation network in a visual SLAM system using a deep learning method, and predict an intermediate frame between two consecutive frames of images;
[0091] A turning detection module 42 is used to extract and match feature points based on a feature point method or to minimize photometric errors based on a direct method to solve the rotation matrix R and the translation vector t corresponding to adjacent front and rear frame images, and to determine whether the vehicle is turning;
[0092] The global positioning and mapping module 43 is used to start the interpolation network when the vehicle is turning, insert the intermediate frame according to the front and rear frame images, and use the image quality detection module to determine whether to retain the intermediate frame. If the detection is passed, the S2 operation is performed on the front and rear frames and the intermediate frame respectively. Otherwise, the S2 operation is performed on the front and rear frames to solve R,t, and complete the global positioning and subsequent mapping.
[0093] The above embodiments are provided only for the purpose of describing the present invention, and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims. Various equivalent substitutions and modifications made without departing from the spirit and principles of the present invention should all be included within the scope of the present invention.
Claims
1. A visual SLAM method based on an interpolation network, characterized in that: include: Step S1: collect image data sets, use deep learning methods to train the interpolation network in the visual SLAM system, and predict the intermediate frame of two consecutive frames of images; the interpolation network applies heterogeneous convolution in the codec architecture to reduce the amount of calculation and parameters; deformable convolution is also used to force the use of smaller kernels to learn additional offsets and masks; an additional bias estimator is introduced to learn residual values to compensate for the results predicted by the deformable convolution; Step S2: According to the turning detection module, the rotation matrix corresponding to the adjacent front and back frame images is solved by extracting and matching feature points based on the feature point method, or by minimizing the photometric error based on the direct method. and translation vectors , and at the same time determine whether the vehicle is turning; Step S3: When the vehicle is turning, the interpolation network is started, and the intermediate frame is inserted according to the front and rear frame images, and the image quality detection module is used to determine whether to retain the intermediate frame. If the detection is passed, the front and rear frames and the intermediate frame are respectively subjected to the S2 operation, otherwise the front and rear frames are subjected to the S2 operation to solve R, t, and complete the global positioning and subsequent mapping, which specifically includes: Step S31: If it is determined according to step S2 that the vehicle is turning, the trained interpolation network is started and the image in the previous frame is and the next frame Insert in-between frames ; Step S32: Use the image quality detection module to determine the quality of the intermediate frame and calculate and The structural similarity index ,as well as and The structural similarity index ;when and are greater than or equal to the preset threshold, it is considered Is effective, keep Otherwise, abandon ; Step S33: When the reserved When , according to the feature point method or direct method in step S2, calculate and The position between and The poses between them are used for global positioning and mapping; Step S34: Reduce the cumulative errors of positioning and mapping through loop detection and global bundle adjustment.
2. The visual SLAM method based on interpolation network according to claim 1, characterized in that: The step S1: collecting an image data set, using a deep learning method to train an interpolation network in a visual SLAM system, and predicting an intermediate frame between two consecutive frames of images, specifically includes: Step S11: Use the camera installed on the vehicle to collect RGB image sequences, construct an image data set, calibrate the internal and external parameters of the camera according to the checkerboard calibration method, and obtain the intrinsic matrix of the camera and the distortion coefficient vector ,in for matrix, for vector, and store the calibration parameters of the camera; based on the preset coordinates of the corner points of the calibration plate, calibrate and solve the transformation from the camera's coordinate system to the vehicle coordinate system; Step S12: selecting an interpolation network EDSC, inputting two consecutive frames of images in the image data set, and training EDSC to predict an image of an intermediate frame between the two consecutive frames of images.
3. The visual SLAM method based on interpolation network according to claim 1, characterized in that: In step S2, the turning detection module uses the feature point method to extract and match feature points to solve the rotation matrix corresponding to the adjacent front and back frame images. and translation vectors , specifically including: Step S201: Set is the target object in the world coordinate system, , The previous frame image and the next frame The optical center position of the camera at ; , They are exist and The projection on A pair of points successfully matched in two frames; among them, exist The projection in is , denoted as , exist The projection in is , denoted as ,Will , is called the polar line, , is called the pole; according to the intrinsic parameter matrix of the camera , the above two projection relations can be expressed as formula (1): (1) in, Indicates equality in the sense of scale; is the rotation matrix, is the translation vector; Step S202: , substituting into formula (1), we get formula (2): (2) Multiply both sides by the left The antisymmetric matrix , we get formula (3): (3) Then multiply both sides by left , we get formula (4): (4) Obviously, the left-hand side is zero, and we get formula (5): (5) Substitution , we get formula (6): (6) Formulas (5) and (6) are called epipolar constraints. Let the essential matrix for , the fundamental matrix for , then the epipolar constraint can be simplified to formula (7): (7) Step S203: Solve the essential matrix by eight-point method , according to a pair of matching points, its normalized coordinates are , according to the epipolar constraint, we get formula (8): (8) The essential matrix Expand it to get the vector form: ; The epipolar constraint can be written as The relevant linear form is: ; Substituting into formula (8), we get formula (9): (9) Solve the essential matrix through the above linear equations ,right Perform singular value decomposition and get 4 groups , The values are shown in formulas (10) to (11): (10) (11) because Point and All of them have positive depths. Substitute any point into the above four solutions and check Point and The depth of , then the correct solution can be screened out, thus solving and , get the pose between the previous frame image and the next frame image; Step S204: According to the rotation matrix , calculate the corresponding Euler angle , if it is greater than the threshold, the vehicle is considered to be turning, as shown in formula (12): (12) in, Represents the rotation matrix Trace of.
4. The visual SLAM method based on interpolation network according to claim 1, characterized in that: In step S2, the turn detection module uses the direct method to minimize the photometric error to solve the rotation matrix corresponding to the adjacent front and back frame images. and translation vectors , specifically including: Step S211: The photometric error is defined as shown in formula (13): (13) in, Indicates the previous frame image superior The brightness at Indicates the next frame image superior The brightness at Step S212: Substitute formula (13) into formula (2) to calculate the rotation matrix and translation vectors , and use formula (12) to calculate the corresponding Euler angle, which is compared with the set threshold to determine whether the vehicle is turning.
5. A visual SLAM system based on an interpolation network, characterized in that: Includes the following modules: The interpolation network training module is used to collect image data sets, use deep learning methods to train the interpolation network in the visual SLAM system, and predict the intermediate frame between two consecutive frames of images; the interpolation network applies heterogeneous convolution in the codec architecture to reduce the amount of calculation and parameters; deformable convolution is also used to force the use of smaller kernels to learn additional offsets and masks; an additional bias estimator is introduced to learn residual values to compensate for the results predicted by the deformable convolution; The turning detection module is used to extract and match feature points based on the feature point method, or to minimize the photometric error based on the direct method to solve the rotation matrix corresponding to the adjacent front and back frame images. and translation vectors , and at the same time determine whether the vehicle is turning; The global positioning and mapping module is used to start the interpolation network when the vehicle is turning, insert the intermediate frame according to the front and rear frame images, and use the image quality detection module to determine whether to retain the intermediate frame. If the detection is passed, the front and rear frames and the intermediate frame are respectively solved by the turning detection module. R, t, otherwise, the front and rear frames are solved by the turning detection module to complete global positioning and subsequent mapping, which specifically includes: Step S31: If the vehicle is determined to be turning according to the turning detection module, the trained interpolation network is started to detect the vehicle turning in the previous frame. and the next frame Insert in-between frames ; Step S32: Use the image quality detection module to determine the quality of the intermediate frame and calculate and The structural similarity index ,as well as and The structural similarity index ;when and are greater than or equal to the preset threshold, it is considered Is effective, keep Otherwise, abandon ; Step S33: When the reserved When , according to the feature point method or direct method in the turning detection module, calculate and The position between and The poses between them are used for global positioning and mapping; Step S34: Reduce the cumulative errors of positioning and mapping through loop detection and global bundle adjustment.
