Vehicle bottom multi-view image splicing method for running vehicle

By combining multi-camera and three-dimensional spatial information, the problem of low accuracy in vehicle chassis image stitching is solved, high-precision panoramic image stitching is achieved, and the imaging quality of vehicle chassis detection is improved.

CN118628345APending Publication Date: 2024-09-10DALIAN MARITIME UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410770693.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When processing vehicle chassis images, the existing technology faces problems such as low stitching accuracy and unsatisfactory imaging quality due to complex texture structures, illumination changes, and depth differences. In particular, it is difficult for a single camera to capture a complete vehicle bottom image.

Method used

A multi-camera camera is used to collect vehicle chassis images, and the three-dimensional spatial information of the vehicle bottom is introduced. Combined with the splicing algorithm, the global three-dimensional point cloud and camera pose are derived through feature extraction, motion recovery structure, beam adjustment and other technologies to achieve a panoramic view. Image stitching.

Benefits of technology

It effectively solves the problem of low imaging accuracy caused by depth differences and texture complexity, achieves high-precision splicing of vehicle chassis images, and improves the splicing quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628345A
    Figure CN118628345A
Patent Text Reader

Abstract

The invention provides a running vehicle-oriented vehicle bottom multi-view image splicing method. The method comprises the following steps: acquiring a vehicle bottom local image; reasonably grouping the collected vehicle bottom local images according to the overlapping ratio; utilizing a feature extraction algorithm to respectively calculate a feature matching relationship of all images in a single group and a feature matching relationship of images between every two groups with overlapped areas, and utilizing a mismatching filtering algorithm to filter mismatching point pairs; estimating a vehicle bottom local sparse point cloud and a camera pose; solving the local point cloud scaling of the vehicle bottom; estimating a vehicle bottom global sparse point cloud and a camera pose; fitting a vehicle bottom two-dimensional projection plane; mapping the to-be-spliced image sequence to a vehicle bottom two-dimensional projection plane to obtain a registered global vehicle bottom image; and performing fusion processing on the global vehicle bottom image by using an image fusion method to obtain a final spliced image. According to the method, the problem that the splicing quality is affected due to different perspective effects of the chassis and the tires due to the existence of depth difference between the vehicle chassis is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing and computer vision technology, and in particular to a method for stitching multi-view images of a vehicle bottom surface facing a moving vehicle. Background Art

[0002] At present, the global security situation is turbulent, terrorism and criminal activities are frequent, and the use of automobile chassis to hide explosives or contraband has occurred repeatedly, seriously threatening the safety of people's lives and property. On the other hand, the chassis is a key component of the car, and its structural damage directly affects the safety of passengers. In order to control risks in a timely manner and eliminate hidden dangers, it is urgent to effectively monitor the chassis of moving vehicles.

[0003] At present, underground security inspection systems are used in most cases to inspect the underbody. However, due to the complexity of the underbody structure, changes in lighting conditions, and the existence of vehicle chassis depth differences, it is difficult for a single camera to capture a complete underbody image. Therefore, image stitching technology is needed to solve this problem. When processing underbody images, traditional image stitching methods often face challenges brought by complex texture structures, lighting and shadow effects, and depth differences. These problems lead to reduced stitching accuracy and unsatisfactory imaging quality. Summary of the invention

[0004] According to the technical problem in the prior art proposed above that the chassis of the vehicle is difficult to accurately align and splice as the amount of image data increases, a multi-eye image stitching method for the bottom of a moving vehicle is provided. The present invention uses a multi-eye camera to collect images of the chassis of the car, and then introduces the three-dimensional spatial information of the bottom of the car, combined with a stitching algorithm, to obtain a panoramic image of the bottom of the car. With the help of the two-dimensional image of the bottom of the car, it can assist in the detection of foreign objects under the car, and solve the problem that the chassis and tires present different perspective effects due to the depth difference between the vehicle chassis, thereby affecting the stitching quality.

[0005] The technical means adopted by the present invention are as follows:

[0006] A method for stitching multi-view images of a vehicle bottom of a moving vehicle, comprising:

[0007] S1, collecting vehicle bottom images and grouping the collected vehicle bottom image data;

[0008] S2, based on the grouped vehicle bottom image data, using a feature extraction algorithm to calculate the feature point matching relationship of all images in a single group, as well as the feature matching relationship between images in pairs of groups with overlapping areas, using a false matching filtering algorithm to filter out false matching points, and obtaining feature points for image matching in each group;

[0009] S3, using a structure-from-motion algorithm, deriving the local three-dimensional coordinates of the vehicle bottom and the camera posture from the feature points matched in the images in each group in step S2, and obtaining multiple groups of sparse three-dimensional point clouds;

[0010] S4, selecting one of the groups of point clouds as the quasi-point cloud, using the feature matching relationship between the grouped images with overlapping areas in step S2 and the local three-dimensional coordinate information obtained in step S3, combined with the point cloud similarity transformation, solving the scaling ratio of each group of three-dimensional space coordinates relative to the basic point cloud, and unifying the scale information of each group of point clouds;

[0011] S5, iteratively register all grouped point clouds to the coordinate system of the base point cloud, obtain the global 3D point cloud coordinates and the global camera pose, use the bundle adjustment method to optimize the registration results, reduce the global registration error, and estimate the global 3D structure of the vehicle bottom;

[0012] S6, performing plane fitting on the global three-dimensional point cloud coordinates in step S5 to obtain a two-dimensional projection plane of the vehicle bottom;

[0013] S7, according to the matching relationship of the image feature points in step S2 and the global camera pose in step S5, the image sequence to be stitched is mapped to the two-dimensional projection plane of the vehicle bottom in step S6 to obtain the registered global vehicle bottom image;

[0014] S8. Use an image fusion method to fuse the global vehicle bottom image of step S7 to obtain a final spliced ​​image.

[0015] Furthermore, step S1 specifically includes:

[0016] S11, using multiple cameras to synchronously collect local images of the vehicle bottom, ensuring that there are sufficient overlapping areas and texture information between the images;

[0017] S12. According to the acquisition mechanism of the multi-camera array, the images collected at the same time are divided into a subset, and the cameras corresponding to the images in each subset are defined as camera A, camera B, ..., and the position of camera A is defined as the world coordinate system;

[0018] S13. Assign a unique identifier to each image subset based on the acquisition order for tracking when the groups are subsequently integrated.

[0019] Furthermore, step S2 specifically includes:

[0020] S21, using a feature extraction algorithm to detect and match feature points of adjacent images in each subset and images captured by camera A at adjacent times;

[0021] S22, using a mismatch filtering algorithm to filter out mismatched points, and obtaining feature points of image matching in each subset.

[0022] Furthermore, step S3 specifically includes:

[0023] S31. Estimate the initial camera pose:

[0024] According to the feature matching pairs in each image subset in step S2, the corresponding images of camera A and camera B in each subset are selected as a set of initial images, the essential matrix corresponding to the initial image is solved using the epipolar geometry constraint relationship, and the essential matrix is ​​decomposed to obtain the initial camera pose relationship;

[0025] S32. Solve the three-dimensional coordinates of the initial image:

[0026] According to the pixel coordinates of the feature points between the initial images obtained in step S31 and the initial camera posture, a triangulation method is used to solve the three-dimensional space coordinates corresponding to the initial image to obtain a set of initial three-dimensional point clouds;

[0027] S33, incremental estimation of subset image pose and 3D coordinates:

[0028] Add the image corresponding to camera C in this subset, use the PnP (Perspective-n-Point) method to get the position and posture relationship of camera C relative to the initial camera, use the triangulation method to get the 3D coordinates under the perspective of camera C, and add the coordinates under the new perspective to the initial point cloud; gradually derive the local 3D point cloud and camera posture of all image subsets;

[0029] S34, bundle adjustment optimization posture and 3D coordinates:

[0030] After the three-dimensional spatial information and pose estimation of each set of images are completed, the bundle adjustment method is used to minimize the reprojection error between the feature points observed in the set of images and the three-dimensional points, and optimize the position of the set of camera parameters and three-dimensional coordinates.

[0031] Further, step S4 specifically includes:

[0032] S41. For two groups of point clouds P and Q with common three-dimensional points, according to the camera imaging model and the principle of similarity transformation, a cost function is defined with the translation vector t, the rotation matrix R and the scale factor λ as the parameters to be optimized, as follows:

[0033]

[0034] Among them, p i and q i are the projection points of the actual three-dimensional points of the vehicle bottom in the two sets of point clouds, and n is the number of feature points in the overlapping area of ​​the two sets of point clouds;

[0035] S42. Calculate the scaling ratio between point clouds. The calculation formula is as follows:

[0036]

[0037] The de-centroided coordinates of the two sets of point clouds are compared, and the point cloud similarity transformation is converted into a rigid transformation based on the calculated scaling ratio between the point clouds.

[0038] Furthermore, step S5 specifically includes:

[0039] S51, taking the first group of point clouds as a reference, directly integrating other groups that have matching points with the reference point cloud into the reference coordinate system by using the point cloud rigid transformation;

[0040] S52, for the group lacking effective transformation parameters with the reference point cloud, a rigid transformation and scale transfer method are combined to gradually iterate and align to the reference coordinate system;

[0041] S53. After completing the global point cloud registration, the bundle adjustment method is used again to perform global optimization based on the geometric constraints of all grouped three-dimensional spaces and the image feature relationship constraints, and the optimal global scale transformation parameters are calculated to reduce the accumulation of errors.

[0042] Further, step S6 specifically includes:

[0043] S61, centering all point cloud coordinates;

[0044] S62, calculating the covariance and covariance matrix of all coordinate points in the X, Y, and Z directions after centralization;

[0045] S63, using eigendecomposition to calculate the eigenvalues ​​and eigenvectors corresponding to the covariance matrix;

[0046] S64, taking the eigenvector corresponding to the minimum eigenvalue as the normal vector of the desired projection plane, and obtaining the plane where the global vehicle bottom image is finally located.

[0047] Further, step S7 specifically includes:

[0048] S71, for the partial images to be stitched, using the camera internal and external parameters obtained in step S3 and the initial mapping relationship between the images as optimization variables, and using the bundle adjustment method for optimization;

[0049] S72. Map the image to be stitched onto the projection plane based on the optimized camera parameters and image mapping parameters.

[0050] Further, step S8 specifically includes:

[0051] The Laplace pyramid fusion method is used to fuse the registered underbody images. By fusing image information of different resolutions layer by layer, the stitching traces after image registration are smoothed while the local details of the complex structure of the chassis are restored to the greatest extent to obtain the final panoramic underbody image.

[0052] Compared with the prior art, the present invention has the following advantages:

[0053] 1. The present invention aims to solve the problems in existing underbody security inspection technology, such as complex underbody texture structure and significant depth difference between the chassis and the tire, which leads to low stitching accuracy and unsatisfactory imaging quality. The present invention provides a novel underbody multi-view image stitching method, which effectively solves the problem of low imaging accuracy caused by depth difference and texture complexity by introducing three-dimensional spatial information of the underbody.

[0054] 2. The multi-view image stitching method for the underbody of a moving vehicle provided by the present invention introduces the three-dimensional spatial information of the underbody scene and combines it with an image stitching algorithm to achieve high-precision stitching of the underbody images.

[0055] Based on the above reasons, the present invention can be widely promoted in the fields of image processing and computer vision. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 The figure is a flow chart of the method of the present invention.

[0058] Figure 2 A schematic diagram of multi-camera system acquisition provided in an embodiment of the present invention.

[0059] Figure 3 A schematic diagram of vehicle bottom data grouping provided by an embodiment of the present invention.

[0060] Figure 4 These are some images to be stitched provided by the embodiment of the present invention.

[0061] Figure 5 This is the result of stitching multiple images of the vehicle bottom.

[0062] Figure 6 This is a working module diagram of the multi-view image stitching system under the vehicle. DETAILED DESCRIPTION

[0063] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0064] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0065] like Figure 1 As shown, the present invention provides a method for stitching multi-eye images of a vehicle bottom of a moving vehicle, comprising:

[0066] S1, collecting vehicle bottom images and grouping the collected vehicle bottom image data;

[0067] S2, based on the grouped vehicle bottom image data, using a feature extraction algorithm to calculate the feature point matching relationship of all images in a single group, as well as the feature matching relationship between images in pairs of groups with overlapping areas, using a false matching filtering algorithm to filter out false matching points, and obtaining feature points for image matching in each group;

[0068] S3, using a structure-from-motion algorithm, deriving the local three-dimensional coordinates of the vehicle bottom and the camera posture from the feature points matched in the images in each group in step S2, and obtaining multiple groups of sparse three-dimensional point clouds;

[0069] S4. Select one of the groups of point clouds as the quasi-point cloud, use the feature matching relationship between the grouped images with overlapping areas in step S2 and the local three-dimensional coordinate information obtained in step S3, and combine the point cloud similarity transformation to solve the scaling ratio of each group of three-dimensional space coordinates relative to the basic point cloud, and unify the scale information of each grouped point cloud; in this embodiment, in order to unify the scale information of each subset point cloud, the point cloud similarity transformation is introduced to solve the problem of inconsistent scales between different subsets.

[0070] S5, iteratively register all grouped point clouds to the coordinate system of the base point cloud, obtain the global 3D point cloud coordinates and the global camera pose, use the bundle adjustment method to optimize the registration results, reduce the global registration error, and estimate the global 3D structure of the vehicle bottom;

[0071] S6, performing plane fitting on the global three-dimensional point cloud coordinates in step S5 to obtain a two-dimensional projection plane of the vehicle bottom;

[0072] S7, according to the matching relationship of the image feature points in step S2 and the global camera pose in step S5, the image sequence to be stitched is mapped to the two-dimensional projection plane of the vehicle bottom in step S6 to obtain the registered global vehicle bottom image;

[0073] S8. Use an image fusion method to fuse the global vehicle bottom image of step S7 to obtain a final spliced ​​image.

[0074] In specific implementation, as a preferred embodiment of the present invention, step S1 specifically includes:

[0075] S11, using multiple cameras to synchronously collect local images of the vehicle bottom, ensuring that there are sufficient overlapping areas and texture information between the images;

[0076] S12. According to the acquisition mechanism of the multi-camera array, the images collected at the same time are divided into a subset, and the cameras corresponding to the images in each subset are defined as camera A, camera B, ..., and the position of camera A is defined as the world coordinate system;

[0077] S13. Assign a unique identifier to each image subset based on the acquisition order for tracking when the groups are subsequently integrated.

[0078] In specific implementation, as a preferred embodiment of the present invention, step S1 specifically includes:

[0079] S11, using multiple cameras to synchronously collect local images of the vehicle bottom, ensuring that there is sufficient overlapping area and texture information between the images; Figure 2 As shown, the three cameras of the three-eye camera acquisition system provided in this embodiment are recorded as camera A, camera B and camera C from left to right. The three cameras in the system are in a straight line, placed vertically and upwardly at equal intervals, and the adjacent camera fields of view have sufficient overlap. A fill light source perpendicular to the ground is installed between adjacent cameras. When a car passes above, the three cameras synchronously collect images of the bottom of the car from the front position to the rear of the car, and a total of 3n images (n≥2) are collected.

[0080] S12. According to the acquisition mechanism of the trinocular camera array, the three images acquired at the same time are divided into a subset, and the position of camera A in each subset is defined as a world coordinate system;

[0081] S13, assigning a unique identifier to each image subset based on the acquisition order, for tracking when the groups are subsequently integrated. Figure 3 The figure shows a schematic diagram of vehicle bottom data grouping.

[0082] In specific implementation, as a preferred embodiment of the present invention, step S2 specifically includes:

[0083] S21, using a feature extraction algorithm to detect and match feature points of adjacent images in each subset and images captured by camera A at adjacent moments; preferably, using the SURF method.

[0084] S22, using a mismatch filtering algorithm to filter out mismatched points, and obtaining feature points of image matching in each subset, preferably using a RANSAC algorithm.

[0085] In specific implementation, as a preferred embodiment of the present invention, step S3 specifically includes:

[0086] S31. Estimate the initial camera pose:

[0087] According to the feature matching pairs in each image subset in step S2, the corresponding images of camera A and camera B in each subset are selected as a group of initial images, the essential matrix corresponding to the matching images is solved using the epipolar geometry constraint relationship, and the essential matrix is ​​decomposed to obtain the initial camera pose relationship;

[0088] S32. Solve the three-dimensional coordinates of the initial image:

[0089] According to the position and posture between the cameras obtained in step S31 and the pixel coordinates of the feature points between the initial images, a triangulation method is used to solve the three-dimensional space coordinates corresponding to the initial image to obtain a set of initial three-dimensional point clouds;

[0090] S33, incremental estimation of the three-dimensional coordinates of the subset image:

[0091] Add the image corresponding to camera C in this subset, use the PnP (Perspective-n-Point) method to get the position and posture relationship of camera C relative to the initial camera, use the triangulation method to get the 3D coordinates under the perspective of camera C, and add the coordinates under the new perspective to the initial point cloud; gradually derive the local 3D point cloud and camera posture of all image subsets;

[0092] S34, bundle adjustment optimization posture and 3D coordinates:

[0093] After the three-dimensional spatial information and pose estimation of each set of images are completed, the bundle adjustment method is used to minimize the reprojection error between the feature points observed in the set of images and the three-dimensional points, and optimize the position of the set of camera parameters and three-dimensional coordinates.

[0094] In specific implementation, as a preferred embodiment of the present invention, step S4 specifically includes:

[0095] S41. For two groups of point clouds P and Q with common three-dimensional points, according to the camera imaging model and the principle of similarity transformation, a cost function is defined with the translation vector t, the rotation matrix R and the scale factor λ as the parameters to be optimized, as follows:

[0096]

[0097] Among them, p i and q i are the projection points of the actual three-dimensional points of the vehicle bottom in the two sets of point clouds, and n is the number of feature points in the overlapping area of ​​the two sets of point clouds;

[0098] S42. Calculate the scaling ratio between point clouds. The calculation formula is as follows:

[0099]

[0100] The de-centroided coordinates of the two sets of point clouds are compared, and the point cloud similarity transformation is converted into a rigid transformation based on the calculated scaling ratio between the point clouds.

[0101] In specific implementation, as a preferred embodiment of the present invention, step S5 specifically includes:

[0102] S51, taking the first group of point clouds as a reference, directly integrating other groups that have matching points with the reference point cloud into the reference coordinate system by using the point cloud rigid transformation;

[0103] S52, for the group lacking effective transformation parameters with the reference point cloud, a rigid transformation and scale transfer method are combined to gradually iterate and align to the reference coordinate system;

[0104] S53. After completing the global point cloud registration, the bundle adjustment method is used again to perform global optimization based on the geometric constraints of all grouped three-dimensional spaces and the image feature relationship constraints, and the optimal global scale transformation parameters are calculated to reduce the accumulation of errors.

[0105] In specific implementation, as a preferred embodiment of the present invention, step S6 specifically includes:

[0106] S61. Use principal component analysis to center all point cloud coordinates.

[0107] S62, calculating the covariance and covariance matrix of all coordinate points in the X, Y, and Z directions after centralization;

[0108] S63, using eigendecomposition to calculate the eigenvalues ​​and eigenvectors corresponding to the covariance matrix;

[0109] S64, taking the eigenvector corresponding to the minimum eigenvalue as the normal vector of the desired projection plane, and obtaining the plane where the global vehicle bottom image is finally located.

[0110] In specific implementation, as a preferred embodiment of the present invention, step S7 specifically includes:

[0111] S71, such as Figure 4 As shown, some images to be stitched are shown. For the partial images to be stitched, the camera internal and external parameters obtained in step S3 and the initial mapping relationship between images are used as optimization variables, and preferably the Levenberg-Marquardt algorithm is used to perform bundle adjustment optimization;

[0112] S72. Map the image to be stitched onto the projection plane based on the optimized camera parameters and image mapping parameters.

[0113] In specific implementation, as a preferred embodiment of the present invention, step S8 specifically includes:

[0114] The Laplace pyramid fusion method is used to fuse the registered underbody images. By fusing image information of different resolutions layer by layer, the local details of the complex structure of the chassis are restored to the greatest extent while smoothing the stitching traces after image registration, and the final panoramic underbody image is obtained. Figure 5 shown.

[0115] The embodiment of the present invention also provides a vehicle bottom multi-view image stitching system, such as Figure 6 As shown, first, in the image input module, the loaded image sequence to be stitched is grouped. In the image feature extraction and matching module, feature extraction algorithms (including but not limited to SIFT, SURF, corner detection algorithms) are used to detect and match feature points of local images in each group, and feature points of two groups with certain overlapping areas are also detected and matched. In the SfM module for solving the three-dimensional structure of the vehicle bottom, the epipolar geometry constraint is first used to solve the essential matrix of the image matching pair obtained in the previous module, and further decomposed to obtain the pose relationship of the corresponding camera; then, the three-dimensional space points of the corresponding scene are generated by the triangulation method through the known camera pose and the matched feature point pairs; the bundle adjustment method is used to optimize all the generated three-dimensional points and the estimated poses to reduce the error; the three-dimensional point cloud coordinates of all groups are integrated and registered to the same coordinate system to obtain the global three-dimensional point cloud of the vehicle bottom scene; the distance sum of the global three-dimensional coordinates to the plane is minimized to obtain a two-dimensional projection plane, and the bundle adjustment method is used again to project all the images to be stitched onto the fitting plane. In the image fusion module, a fusion algorithm is used to smooth the mapped image, eliminate stitching traces, and obtain the final panoramic underbody image.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for stitching multi-view images of a moving vehicle bottom, characterized in that: include: S1, collecting vehicle bottom images and grouping the collected vehicle bottom image data; S2, based on the grouped vehicle bottom image data, using a feature extraction algorithm to calculate the feature point matching relationship of all images in a single group, as well as the feature matching relationship between images in pairs of groups with overlapping areas, using a false matching filtering algorithm to filter out false matching points, and obtaining feature points for image matching in each group; S3, using a structure-from-motion algorithm, deriving the local three-dimensional coordinates of the vehicle bottom and the camera posture from the feature points matched in the images in each group in step S2, and obtaining multiple groups of sparse three-dimensional point clouds; S4, selecting one of the groups of point clouds as the basic quasi-point cloud, using the feature matching relationship between the grouped images with overlapping areas in step S2 and the local three-dimensional coordinate information obtained in step S3, combined with point cloud similarity transformation, solving the scaling ratio of each group of sparse point clouds relative to the basic point cloud, and unifying the scale information of each group of point clouds; S5, iteratively register all grouped point clouds to the coordinate system of the base point cloud, obtain the global 3D point cloud coordinates and the global camera pose, use the bundle adjustment method to optimize the registration results, reduce the global registration error, and estimate the global 3D structure of the vehicle bottom; S6, performing plane fitting on the global three-dimensional point cloud coordinates in step S5 to obtain a two-dimensional projection plane of the vehicle bottom; S7, according to the matching relationship of the image feature points in step S2 and the global camera pose in step S5, the image sequence to be stitched is mapped to the two-dimensional projection plane of the vehicle bottom in step S6 to obtain the registered global vehicle bottom image; S8. Use an image fusion method to fuse the global vehicle bottom image of step S7 to obtain a final spliced ​​image.

2. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S1 specifically includes: S11, using multiple cameras to synchronously collect local images of the vehicle bottom, ensuring that there are sufficient overlapping areas and texture information between the images; S12. According to the acquisition mechanism of the multi-camera array, the images collected at the same time are divided into a subset, and the cameras corresponding to the images in each subset are defined as camera A, camera B, ..., and the position of camera A is defined as the world coordinate system; S13. Assign a unique identifier to each image subset based on the acquisition order for tracking when the groups are subsequently integrated.

3. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S2 specifically includes: S21, using a feature extraction algorithm to detect and match feature points of adjacent images in each subset and images captured by camera A at adjacent times; S22, using a mismatch filtering algorithm to filter out mismatched points, and obtaining feature points of image matching in each subset.

4. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S3 specifically includes: S31. Estimate the initial camera pose: According to the feature matching pairs in each image subset in step S2, the corresponding images of camera A and camera B in each subset are selected as a set of initial images, the essential matrix corresponding to the initial image is solved using the epipolar geometry constraint relationship, and the essential matrix is ​​decomposed to obtain the initial camera pose relationship; S32. Solve the three-dimensional coordinates of the initial image: According to the pixel coordinates of the feature points between the initial images obtained in step S31 and the initial camera posture, a triangulation method is used to solve the three-dimensional space coordinates corresponding to the initial image to obtain a set of initial three-dimensional point clouds; S33, incremental estimation of subset image pose and 3D coordinates: Add the image corresponding to camera C in this subset, use the Perspective-n-Point method to get the position and posture relationship of camera C relative to the initial camera, use the triangulation method to get the 3D coordinates under the perspective of camera C, and add the coordinates under the new perspective to the initial point cloud; and so on, add the local 3D point clouds and camera postures of all image subsets in this subset and gradually derive them; S34, bundle adjustment optimization posture and 3D coordinates: After the three-dimensional spatial information and pose estimation of each set of images are completed, the bundle adjustment method is used to minimize the reprojection error between the feature points observed in the set of images and the three-dimensional points, and optimize the position of the set of camera parameters and three-dimensional coordinates.

5. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S4 specifically includes: S41. For two groups of point clouds P and Q with common three-dimensional points, according to the camera imaging model and the principle of similarity transformation, a cost function is defined with the translation vector t, the rotation matrix R and the scale factor λ as the parameters to be optimized, as follows: Among them, p i and q i are the projection points of the actual three-dimensional points of the vehicle bottom in the two sets of point clouds, and n is the number of feature points in the overlapping area of ​​the two sets of point clouds; S42. Calculate the scaling ratio between point clouds. The calculation formula is as follows: The de-centroided coordinates of the two sets of point clouds are compared, and the point cloud similarity transformation is converted into a rigid transformation based on the calculated scaling ratio between the point clouds.

6. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S5 specifically includes: S51, taking the first group of point clouds as a reference, directly integrating other groups that have matching points with the reference point cloud into the reference coordinate system by using the point cloud rigid transformation; S52, for the group lacking effective transformation parameters with the reference point cloud, a rigid transformation and scale transfer method are combined to gradually iterate and align to the reference coordinate system; S53. After completing the global point cloud registration, the bundle adjustment method is used again to perform global optimization based on the geometric constraints of all grouped three-dimensional spaces and the image feature relationship constraints, and the optimal global scale transformation parameters are calculated to reduce the accumulation of errors.

7. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S6 specifically includes: S61, centering all point cloud coordinates; S62, calculating the covariance and covariance matrix of all coordinate points in the X, Y, and Z directions after centralization; S63, using eigendecomposition to calculate the eigenvalues ​​and eigenvectors corresponding to the covariance matrix; S64, taking the eigenvector corresponding to the minimum eigenvalue as the normal vector of the desired projection plane, and obtaining the plane where the global vehicle bottom image is finally located.

8. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S7 specifically includes: S71, for the partial images to be stitched, using the camera internal and external parameters obtained in step S3 and the initial mapping relationship between the images as optimization variables, and using the bundle adjustment method for optimization; S72. Map the image to be stitched onto the projection plane based on the optimized camera parameters and image mapping parameters.

9. The method for stitching multi-view images of a moving vehicle bottom according to claim 1, characterized in that: Step S8 specifically includes: The Laplace pyramid fusion method is used to fuse the registered underbody images. By fusing image information of different resolutions layer by layer, the stitching traces after image registration are smoothed while the local details of the complex structure of the chassis are restored to the greatest extent to obtain the final panoramic underbody image.