Vehicle wheel alignment segmentation method and system based on multi-information fusion
Through multi-information fusion technology, the fisheye robot pose is adjusted and depth image processing is performed, which solves the problems of automation and image quality in vehicle bottom safety inspection, achieves efficient and accurate wheel positioning and image collection, and improves detection accuracy.
Patent Information
- Application Number
- CN202411053043.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Among the existing vehicle bottom safety inspection methods, the robot has a low degree of automation and weak adaptive capabilities, and it is difficult for ordinary cameras to capture a complete vehicle bottom image at one time, resulting in increased hardware costs and reduced image quality, affecting detection accuracy.
A vehicle wheel positioning and segmentation method based on multi-information fusion is used to obtain the depth map and RGB image of the initial position of the fish-eye robot, perform dedistortion and fusion processing, determine the presence or absence of the vehicle, and adjust the robot pose according to the vehicle information to obtain the vehicle The deep fusion map is used for detail enhancement and semantic segmentation, wheel positioning, and vehicle orientation to determine the driving route.
It improves the robot's automation and adaptive capabilities, obtains high-quality vehicle bottom images, and enhances the accuracy and efficiency of vehicle safety detection.
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image analysis, and in particular to a vehicle wheel alignment segmentation method and system based on multi-information fusion. Background Art
[0002] With the improvement of vehicle safety awareness, undercar safety detection has gradually received more attention. In order to save manpower, existing methods often place a robot with a camera in front of the vehicle, control the robot to drive under the vehicle to obtain undercar images, and then perform undercar safety detection and analysis based on the images.
[0003] However, before obtaining the underbody image each time, the existing method requires manual intervention or supervision to place the robot in a suitable driving position before obtaining the underbody image. In this way, the robot has a low degree of automation and weak adaptability. In addition, the shooting angle of ordinary cameras is limited and it is impossible to capture the complete underbody image at one time. If multiple robots are used to obtain pictures of different parts of the underbody, and then the multiple images are stitched together as the underbody image, this not only increases the hardware cost, but also the stitching marks of the stitched image are more obvious, which is prone to ghosting or blurring, affecting the quality of the underbody image and the accuracy of subsequent underbody safety inspections. Summary of the invention
[0004] The purpose of the present invention is to provide a vehicle wheel alignment segmentation method and system based on multi-information fusion, which has high robot automation, strong adaptability, accurate wheel alignment segmentation results, and is conducive to the subsequent rapid acquisition of high-quality vehicle bottom images.
[0005] The technical solution of the present invention is as follows:
[0006] A vehicle wheel alignment segmentation method based on multi-information fusion includes the following operations:
[0007] S1, obtain the fisheye depth map and fisheye RGB map facing the fisheye robot at the initial position, perform fusion processing after dedistortion processing, and obtain the fisheye depth fusion map at the initial position; determine whether there is a vehicle in the fisheye depth fusion map at the initial position; if not, execute S2; if yes, execute S3;
[0008] S2, obtaining a fisheye depth map and a fisheye RGB map of the fisheye robot's initial position, respectively, and fusing the corresponding positions after dedistortion processing to obtain several depth fusion maps; performing feature stitching processing on the several depth fusion maps to obtain a depth fusion stitching map; performing vehicle detection processing on the depth fusion stitching map to obtain vehicle information; adjusting the posture of the fisheye robot according to the position of the vehicle in the depth fusion stitching map in the vehicle information, so that the fisheye robot faces the vehicle;
[0009] S3, determining whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executing S4; if not, executing S4;
[0010] S4. Obtain a vehicle depth fusion map. The vehicle depth fusion map is processed by detail enhancement to obtain a vehicle enhanced map. The vehicle enhanced map is processed by semantic segmentation to obtain a wheel segmentation result. Based on the wheel segmentation result and the vehicle orientation, the vehicle lateral center line is obtained. The projection line of the vehicle lateral center line on the ground is used as the driving route of the fisheye robot.
[0011] The operation of feature stitching processing in S2 is specifically as follows: obtain the edge density of each depth fusion image, and determine whether there is an edge density greater than the edge density threshold; if so, use a region-based method to perform correction processing on several depth fusion images at the stitching edges to obtain several first depth fusion correction images; perform stitching processing on several first depth fusion correction images based on stitching edge pixel mixing to obtain a depth fusion stitching image; if not, use a feature point-based method to perform correction processing on several depth fusion images to obtain several second depth fusion correction images; stitch several second depth fusion correction images to obtain a depth fusion stitching image.
[0012] The operation of obtaining the first depth fusion correction image is specifically as follows: sorting several depth fusion images according to the image acquisition time; determining the stitching edges of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image according to the connection position of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image, and obtaining the first stitching edge and the second stitching edge; obtaining the pixel offset based on the pixel value and pixel gradient of the first stitching edge and the pixel value of the second stitching edge; performing pixel correction on the second stitching edge based on the pixel offset to obtain the current first depth fusion correction image; the first depth fusion image and all the first depth fusion correction images form several first depth fusion correction images.
[0013] The operation of obtaining the second depth fusion correction image is specifically as follows: taking the pixel points in the image pixel value sequence of the current depth fusion image, which are all extreme points after Gaussian blur processing at different scales, as the initial feature points; deleting the pixel points in the initial feature points whose neighborhood contrast is less than the neighborhood contrast threshold, to obtain the selected feature points; taking the pixel points at the corresponding positions of the selected feature points in the corresponding standard depth fusion image as the standard feature points; constructing a pixel change matrix loss function based on the pixel values of the selected feature points and the pixel values of the standard feature points, and obtaining a pixel change matrix through least squares processing; based on the pixel change matrix, performing pixel correction processing on the current depth fusion image to obtain the current second depth fusion correction image; all second depth fusion correction images form a number of second depth fusion correction images.
[0014] The operations in the semantic segmentation processing in S4 are as follows: the vehicle enhancement map is processed by a deep convolutional network and residual learning to obtain a vehicle learning map; the vehicle learning map and the vehicle enhancement map are fused to obtain a vehicle learning fusion map; the vehicle learning fusion map is fused after downsampling and upsampling respectively to obtain a vehicle sampling fusion map; the vehicle sampling fusion map is weighted with the vehicle sampling fusion map after global average pooling, convolution and activation function processing to obtain a vehicle sampling feature map; the vehicle learning fusion map is fused after being processed by hole convolutions of different scales to obtain a vehicle feature convolution map; the spatial feature map of the vehicle feature convolution map is superimposed, convolved and upsampled with the vehicle sampling feature map to obtain the vehicle segmentation result.
[0015] In S1 or S2, the de-distortion processing operation is specifically as follows: based on the camera intrinsic parameters and the distortion coefficient, the correction mapping parameters are calculated; according to the correction mapping parameters, the fisheye depth map or the fisheye RGB map is mapped to the image plane to obtain a fisheye de-distortion map for performing the fusion processing operation.
[0016] In S1 or S2, the fusion processing operation is specifically as follows: converting the fisheye depth map after the dedistortion processing into a pseudo-color image to obtain a fisheye depth pseudo-color map; adjusting the transparency of the fisheye depth pseudo-color map to a preset transparency, and then superimposing it with the fisheye RGB map after the dedistortion processing to obtain a depth fusion map.
[0017] After the operation of obtaining the vehicle enhancement image in S4, the process further includes cropping the vehicle enhancement image according to the vehicle detection result of the vehicle enhancement image to obtain a vehicle cropped image for performing semantic segmentation processing.
[0018] If there are multiple vehicles in the vehicle detection results, the vehicle closest to the fisheye robot is used as the target cropped vehicle, and the vehicle enhancement image is cropped to obtain the target vehicle cropped image for performing semantic segmentation processing operations.
[0019] A vehicle wheel alignment segmentation system based on multi-information fusion, used to implement the above-mentioned vehicle wheel alignment segmentation method based on multi-information fusion, comprising:
[0020] Image acquisition module, used to obtain fisheye depth image and fisheye RGB image of the fisheye robot facing and around;
[0021] The image processing module is used to fuse the fisheye depth map and the fisheye RGB map of the fisheye robot at the initial position in the image acquisition module after dedistortion processing to obtain the fisheye depth fusion map of the initial position; determine whether there is a vehicle in the fisheye depth fusion map of the initial position; if not, execute the fisheye robot posture adjustment module; if so, execute the fisheye robot and vehicle distance adjustment module; for fusing the fisheye depth map and the fisheye RGB map of the fisheye robot at the initial position of the image acquisition module at the corresponding positions after dedistortion processing to obtain several depth fusion maps; perform feature splicing processing on several depth fusion maps to obtain a depth fusion splicing map; the depth fusion splicing map is subjected to vehicle detection processing to obtain vehicle information; for obtaining a vehicle depth fusion map, and the vehicle depth fusion map is subjected to detail enhancement processing to obtain a vehicle enhanced map;
[0022] The fisheye robot posture adjustment module is used to adjust the posture of the fisheye robot according to the position of the vehicle in the deep fusion mosaic image in the vehicle information in the image processing module, so that the fisheye robot faces the vehicle;
[0023] The fisheye robot and vehicle distance adjustment module is used to determine whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executes the wheel segmentation module; if not, executes the wheel segmentation module;
[0024] The wheel segmentation module is used to perform semantic segmentation on the vehicle enhanced image in the image processing module to obtain the wheel segmentation result; based on the wheel segmentation result and the vehicle orientation, the lateral center line of the vehicle is obtained; and the projection line of the lateral center line of the vehicle on the ground is used as the driving route of the fisheye robot.
[0025] The beneficial effects of the present invention are:
[0026] The present invention provides a vehicle wheel positioning and segmentation method based on multi-information fusion, which obtains a fisheye depth fusion image of the initial position of a fisheye robot, and judges whether there is a vehicle opposite to the fisheye robot at this time according to the fisheye depth fusion image of the initial position; if not, a plurality of depth fusion images of a circle of the initial position of the fisheye robot are feature spliced according to image characteristics to enhance the naturalness of the transition at the splicing seam, and the obtained depth fusion splicing image is used to detect vehicle information, and the posture of the fisheye robot is adjusted according to the vehicle information so that the fisheye robot faces the vehicle; if there is or the posture of the fisheye robot is adjusted, the distance between the fisheye robot and the vehicle is controlled to be appropriate, and then the vehicle is obtained. The vehicle depth fusion map with a wide field of view and rich image details is processed by semantic segmentation after detail enhancement to locate the wheels; the wheel information is combined with the vehicle orientation to obtain the vehicle's lateral center line, and the projection line of the vehicle's lateral center line on the ground is used as the fisheye robot's driving route; this method makes the robot highly automated and highly adaptable, and can select appropriate processing methods according to different situations to ensure that the acquired wheel positioning and segmentation information is accurate, so as to obtain a more accurate vehicle lateral center line, which is beneficial to improving the quality and efficiency of subsequent robot underbody image acquisition and can be used in underbody safety detection to improve detection accuracy. DETAILED DESCRIPTION
[0027] This embodiment provides a vehicle wheel alignment segmentation method based on multi-information fusion, including the following operations:
[0028] S1, obtain the fisheye depth map and fisheye RGB map facing the fisheye robot at the initial position, perform fusion processing after dedistortion processing, and obtain the fisheye depth fusion map at the initial position; determine whether there is a vehicle in the fisheye depth fusion map at the initial position; if not, execute S2; if yes, execute S3;
[0029] S2, obtaining a fisheye depth map and a fisheye RGB map of the fisheye robot's initial position, respectively, and fusing the corresponding positions after dedistortion processing to obtain several depth fusion maps; performing feature stitching processing on the several depth fusion maps to obtain a depth fusion stitching map; performing vehicle detection processing on the depth fusion stitching map to obtain vehicle information; adjusting the posture of the fisheye robot according to the position of the vehicle in the depth fusion stitching map in the vehicle information, so that the fisheye robot faces the vehicle;
[0030] S3, determining whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executing S4; if not, executing S4;
[0031] S4. Obtain a vehicle depth fusion map. The vehicle depth fusion map is processed by detail enhancement to obtain a vehicle enhanced map. The vehicle enhanced map is processed by semantic segmentation to obtain a wheel segmentation result. Based on the wheel segmentation result and the vehicle orientation, the vehicle lateral center line is obtained. The projection line of the vehicle lateral center line on the ground is used as the driving route of the fisheye robot.
[0032] S1. Obtain the fisheye depth map and fisheye RGB map facing the fisheye robot at the initial position, perform fusion processing after dedistortion processing, and obtain the fisheye depth fusion map at the initial position; determine whether there is a vehicle in the fisheye depth fusion map at the initial position; if not, execute S2; if yes, execute S3.
[0033] When the fisheye robot's initial position is obtained, the fisheye depth map and fisheye RGB map that are facing a wide viewing angle and can respectively reflect the depth information and texture information of the object are dedistorted and then fused to obtain the fisheye depth fusion map of the initial position containing the spatial features, color and texture features of the object, which is beneficial for quickly and accurately identifying and detecting the vehicle when the vehicle is blocked; then, based on the fisheye depth fusion map of the initial position, it is determined whether there is a vehicle opposite the fisheye robot at this time. If not, the operation of obtaining the vehicle position and adjusting the fisheye robot's posture in S2 is executed. If so, the operation of the position of the fisheye robot and the vehicle in S3 can be directly executed, thereby improving the flexibility of the fisheye robot in intelligently identifying vehicles and improving the robot's automation and adaptability.
[0034] Firstly, a fisheye robot equipped with an Intel RealSense fisheye camera is used to obtain the front image of its initial position as the fisheye image facing the initial position of the fisheye robot. The fisheye depth map and fisheye RGB map are extracted from the facing fisheye image as the source data to obtain the fisheye depth map and fisheye RGB map facing the initial position of the fisheye robot.
[0035] Then, the fisheye depth map and fisheye RGB map facing the initial position of the fisheye robot are dedistorted and fused to obtain the initial position fisheye depth fusion map containing both depth information and color pixel information.
[0036] Among them, the de-distortion processing operation is specifically as follows: based on the camera intrinsic parameters and the distortion coefficients, the correction mapping parameters are calculated; according to the correction mapping parameters, the fisheye depth map or fisheye RGB map facing the initial position of the fisheye robot is mapped onto the image plane to obtain the initial position fisheye de-distortion depth map or the initial position fisheye de-distortion RGB map, which is used to perform the fusion processing operation.
[0037] The specific operation of the fusion processing is: converting the fisheye depth map after the dedistortion processing (the fisheye dedistorted depth map at the initial position) into a pseudo-color image to obtain a fisheye depth pseudo-color map; after adjusting the transparency of the fisheye depth pseudo-color map to a preset transparency, superimposing it with the fisheye RGB map after the dedistortion processing (the fisheye dedistorted RGB map at the initial position) to obtain a depth fusion map (the fisheye depth fusion map at the initial position).
[0038] Finally, determine whether there is a vehicle in the fisheye depth fusion image at the initial position; if not, it proves that the fisheye robot is not facing the vehicle at this time, and the vehicle is not within the field of vision of the fisheye robot. Therefore, it is necessary to execute the fisheye robot posture adjustment operation in S2 to make the fisheye robot face the vehicle, which is convenient for subsequent wheel positioning and segmentation processing; if it exists, it proves that the fisheye robot is facing the vehicle at this time, and the vehicle is within the field of vision of the fisheye robot. Therefore, the operation of analyzing whether the distance between the fisheye robot and the vehicle is appropriate in S3 can be directly executed, thereby improving the automation and flexibility of the fisheye robot in wheel positioning and segmentation.
[0039] The operation of determining whether there is a vehicle in the fisheye depth fusion image at the initial position includes but is not limited to being realized by training a deep learning model. The specific deep learning model can be selected for use according to actual conditions.
[0040] S2. Obtain a fisheye depth map and a fisheye RGB map of the fisheye robot's initial position, perform fusion processing on the corresponding positions after dedistortion processing, and obtain several depth fusion maps; perform feature stitching processing on the several depth fusion maps to obtain a depth fusion stitching map; perform vehicle detection processing on the depth fusion stitching map to obtain vehicle information; according to the position of the vehicle in the depth fusion stitching map in the vehicle information, adjust the posture of the fisheye robot so that the fisheye robot faces the vehicle.
[0041] When the vehicle is not within the field of view of the fisheye robot, several depth fusion images are obtained based on the fisheye depth map and fisheye RGB image of a circle at the initial position of the fisheye robot. After splicing the several depth fusion images, the vehicle information is detected, and the position of the fisheye robot is adjusted according to the vehicle information so that the fisheye robot faces the vehicle, which facilitates the subsequent acquisition of more accurate wheel segmentation information, thereby improving the flexibility of the fisheye robot's intelligent recognition.
[0042] First, when the fisheye robot's initial position is not facing the vehicle and the vehicle is not within the fisheye robot's initial position's line of sight, in order to improve the fisheye robot's intelligence and flexibility in automatically finding the vehicle, the fisheye depth map and fisheye RGB map of the fisheye robot's initial position are obtained, and after de-distortion processing, the de-distorted fisheye depth map and the de-distorted fisheye RGB map are fused at the corresponding image acquisition time or image acquisition position according to the image acquisition time or image acquisition position to obtain several depth fusion images for subsequent acquisition of vehicle position information. Among them, the operations of de-distortion processing and fusion processing are similar to those in S1, and are not repeated here to save space.
[0043] Then, several depth fusion images are feature stitched to obtain a depth fusion stitching image containing a circle of object information of the fisheye robot.
[0044] Among them, the feature stitching processing can be achieved by connecting the images of corresponding positions of adjacent depth fusion images.
[0045] Preferably, the operation of feature stitching processing can also be: obtaining the edge density of each depth fusion image, and judging whether there is an edge density greater than the edge density threshold. By judging whether there is an edge density greater than the edge density threshold, it is judged whether the objects in the circle of the fisheye robot are complex, so as to select and execute a suitable stitching method according to the complexity of the objects in the circle of the fisheye robot to obtain a high-quality image. Among them, the method for obtaining the edge density is: the current depth fusion image is processed by edge detection (preferably Sobel operator) to obtain an edge image; the ratio of the total number of pixels in the edge image to the total number of pixels in the current depth fusion image is used as the edge density of the current depth fusion image.
[0046] If it exists, it means that there are many objects in a circle of the fisheye robot and the image is more complex. Therefore, a region-based method is used to correct the stitching edges of several depth fusion images to obtain several first depth fusion correction images; several first depth fusion correction images are stitched based on stitching edge pixel mixing (preferably achieved by gradient mixing) to make the transition at the image stitching smoother and more natural, and obtain a deep fusion stitching image. The stitching based on stitching edge pixel mixing can stitch adjacent first depth fusion correction images according to the image acquisition time or image acquisition position.
[0047] The operation of correcting the stitching edge of the current depth fusion image by using a region-based method to obtain the current first depth fusion correction image is as follows: sorting a plurality of depth fusion images according to the image acquisition time; determining the stitching edge of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image according to the connection position of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image, respectively, to obtain the first stitching edge and the second stitching edge; obtaining the pixel offset based on the pixel value and pixel gradient of the first stitching edge and the pixel value of the second stitching edge; performing pixel correction on the second stitching edge based on the pixel offset to obtain the current first depth fusion correction image; the first depth fusion image and all the first depth fusion correction images form a plurality of first depth fusion correction images.
[0048] If it does not exist, it means that there are fewer objects in a circle of the fisheye robot and they are not very complex, so the processing is not difficult. Therefore, the feature point-based method is used to correct several depth fusion images to improve the calculation efficiency and obtain several second depth fusion correction images; several second depth fusion correction images are spliced (adjacent second depth fusion correction images can be spliced according to the image acquisition time or image acquisition position) to obtain a depth fusion spliced image.
[0049] The current depth fusion image is corrected by a method based on feature points to obtain the current second depth fusion correction image. Specifically, the operation is as follows: the pixel points in the image pixel value sequence of the current depth fusion image, which are all extreme points after Gaussian blur processing at different scales, are used as initial feature points; the pixel points whose neighborhood contrast is less than the neighborhood contrast threshold in the initial feature points are deleted to obtain selected feature points; the pixel points at the corresponding positions of the selected feature points in the corresponding standard depth fusion image are used as standard feature points; a pixel change matrix loss function is constructed based on the pixel values of the selected feature points and the pixel values of the standard feature points, and a pixel change matrix is obtained by least squares processing; based on the pixel change matrix, the current depth fusion image is pixel corrected to obtain the current second depth fusion correction image; all second depth fusion correction images form a number of second depth fusion correction images.
[0050] In order to improve the quality of the deep fusion mosaic image, the deep fusion mosaic image is processed with content-aware filling to fill the blank areas at the mosaic seams, so that the image is more continuous at the seams, and an optimized deep fusion mosaic image is obtained for performing vehicle detection processing operations.
[0051] The specific operation of content-aware filling is as follows: a fixed-size slider is used to traverse the stitching area in the deep fusion stitching image. The stitching area can be circled at the stitching position according to actual needs. In the process of the slider traversing the stitching area, the pixel mean square error of each slider area is obtained to understand the uniformity of pixel distribution in each slider area. The slider area corresponding to the minimum difference between the pixel mean square error and the standard pixel mean square error is used as the optimal color transition area; the slider area in the deep fusion stitching image where the difference between the pixel mean square error and the standard pixel mean square error is greater than the error threshold is replaced with the optimal color transition area, so that the filled result looks consistent with the surrounding environment, and an optimized deep fusion stitching image is obtained.
[0052] Next, the deep fusion mosaic image or the optimized deep fusion mosaic image is processed by vehicle detection to obtain the vehicle and its corresponding position in the deep fusion mosaic image or the optimized deep fusion mosaic image, and obtain vehicle information. The operation of vehicle detection processing includes but is not limited to being realized by training a deep learning model, and the specific deep learning model can be selected and used according to actual conditions.
[0053] Finally, according to the position of the vehicle in the deep fusion mosaic image in the vehicle information, the fisheye robot is adjusted to face the vehicle. Specifically, the rotation angle of the fisheye robot is calculated according to the camera angle range of the fisheye robot, the position of the fisheye robot in the deep fusion mosaic image, the position of the vehicle in the deep fusion mosaic image, and the image scale of the deep fusion mosaic image; the fisheye robot rotates according to the preset rotation direction and the rotation angle of the fisheye robot to adjust the position of the fisheye robot so that the fisheye robot faces the vehicle and the vehicle appears within the camera range of the fisheye robot.
[0054] S3, determine whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then execute S4; if not, execute S4.
[0055] The distance between the fisheye robot and the vehicle is determined by judging whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if greater, it means that the fisheye robot is far away from the vehicle and it is not easy to obtain detailed features of the vehicle, which can easily reduce the subsequent semantic segmentation processing results. Therefore, after the fisheye robot drives to a position where the distance between it and the vehicle does not exceed the distance threshold, the target semantic segmentation processing in S4 is executed; if not greater, it means that the distance between the fisheye robot and the vehicle is moderate. In order to improve computing efficiency, S4 is directly executed.
[0056] S4. Obtain a vehicle depth fusion image. The vehicle depth fusion image is processed by detail enhancement to obtain a vehicle enhanced image. The vehicle enhanced image is processed by semantic segmentation to obtain a wheel segmentation result. Based on the wheel segmentation result and the vehicle orientation, the vehicle lateral center line is obtained. The projection line of the vehicle lateral center line on the ground is used as the driving route of the fisheye robot.
[0057] A deep fusion image of the vehicle facing the front with or without adjusted fisheye robot posture (position and posture) is obtained, and the vehicle depth fusion image is processed for detail enhancement and then semantic segmentation to obtain wheel segmentation results; the wheel segmentation results are combined with the vehicle orientation to obtain the lateral center line of the vehicle; the projection line of the lateral center line of the vehicle on the ground is used as the driving route of the fisheye robot in the field of under-vehicle image acquisition, which can improve the quality and efficiency of under-vehicle image acquisition.
[0058] First, when the distance between the fisheye robot and the vehicle is appropriate, the vehicle depth fusion image is obtained. The vehicle depth fusion image is obtained by fusing the fisheye depth image and the fisheye RGB image that the fisheye robot is facing at the moment after dedistortion processing. The operations of dedistortion processing and fusion processing have been described in the above content, so in order to save space, they will not be described in detail here.
[0059] Then, the vehicle depth fusion image is processed by detail enhancement to enhance the detail feature expression ability of the vehicle depth fusion image, and a vehicle enhanced image is obtained, which is conducive to improving the accuracy of subsequent semantic segmentation processing.
[0060] The operations of detail enhancement processing are as follows: the vehicle depth fusion image is subjected to Gaussian blur processing to obtain a vehicle smooth image; the vehicle depth fusion image is subtracted from the vehicle smooth image (the pixel difference of corresponding position points is subtracted) to obtain a detail image; the detail image and the vehicle depth fusion image are superimposed to achieve image detail enhancement and obtain a vehicle enhanced image.
[0061] In addition, to improve the computational efficiency, after obtaining the vehicle enhancement image, the process also includes cropping the vehicle enhancement image according to the vehicle detection result of the vehicle enhancement image to obtain a vehicle cropping image for performing subsequent semantic segmentation processing. If there are multiple vehicles in the vehicle detection result, the vehicle closest to the fisheye robot is used as the target cropping vehicle, and the vehicle enhancement image is cropped to obtain a target vehicle cropping image for performing semantic segmentation processing.
[0062] Next, the vehicle enhanced image or the vehicle cropped image is processed by semantic segmentation to obtain the wheel segmentation result.
[0063] Among them, semantic segmentation processing can be achieved by training the SAM network.
[0064] Preferably, the operations in the semantic segmentation processing can also be: the vehicle enhancement map or the vehicle cropping map or the target vehicle cropping map is processed by a deep convolutional network and residual learning to obtain a vehicle learning map with higher resolution; the vehicle learning map and the vehicle enhancement map or the vehicle cropping map or the target vehicle cropping map are fused to obtain a vehicle learning fusion map with high resolution and rich initial information; the vehicle learning fusion map is fused after downsampling and upsampling respectively to obtain a vehicle sampling fusion map with rich local details and global information; the vehicle sampling fusion map is weighted after global average pooling, convolution and activation function processing with the vehicle sampling fusion map to obtain a vehicle sampling feature map; the vehicle learning fusion map is fused after being processed by hole convolution of different scales to obtain a vehicle feature convolution map; the spatial feature map of the vehicle feature convolution map is superimposed, convolved and upsampled with the vehicle sampling feature map to obtain the wheel segmentation result. The spatial feature map of the vehicle feature convolution map can be obtained by subjecting the vehicle feature convolution map to spatial attention processing and / or channel attention processing.
[0065] Next, based on the wheel segmentation results and the vehicle orientation, the vehicle transverse centerline is obtained. Specifically, based on the wheel segmentation results, the vehicle head segmentation results, or / and the vehicle tail segmentation results (which can be extracted from the semantic segmentation processing results), the wheel segmentation results are further refined to determine the vehicle's left front wheel, or / and the vehicle's left rear wheel, or / and the vehicle's right front wheel, or / and the vehicle's right rear wheel, and obtain the front and rear wheel recognition results; the straight line passing through the midpoint between the vehicle's front wheels, or passing through the midpoint between the vehicle's rear wheels, and in the direction of the vehicle's orientation, is taken as the vehicle's transverse centerline.
[0066] Finally, using the projection line of the vehicle's transverse centerline on the ground as the fisheye robot's driving route can help the robot better avoid the complex structure under the vehicle and prevent potential collisions. It also makes it easier for the robot to quickly collect pictures and effectively stitch them together to form a complete image of the bottom of the vehicle, which can improve the accuracy of subsequent vehicle safety inspections.
[0067] This embodiment also provides a vehicle wheel alignment segmentation system based on multi-information fusion, which is used to implement the above-mentioned vehicle wheel alignment segmentation method based on multi-information fusion, including:
[0068] Image acquisition module, used to obtain fisheye depth image and fisheye RGB image of the fisheye robot facing and around;
[0069] The image processing module is used to fuse the fisheye depth map and the fisheye RGB map of the fisheye robot at the initial position in the image acquisition module after dedistortion processing to obtain the fisheye depth fusion map of the initial position; determine whether there is a vehicle in the fisheye depth fusion map of the initial position; if not, execute the fisheye robot posture adjustment module; if so, execute the fisheye robot and vehicle distance adjustment module; for fusing the fisheye depth map and the fisheye RGB map of the fisheye robot at the initial position of the image acquisition module at the corresponding positions after dedistortion processing to obtain several depth fusion maps; perform feature splicing processing on several depth fusion maps to obtain a depth fusion splicing map; the depth fusion splicing map is subjected to vehicle detection processing to obtain vehicle information; for obtaining a vehicle depth fusion map, and the vehicle depth fusion map is subjected to detail enhancement processing to obtain a vehicle enhanced map;
[0070] The fisheye robot posture adjustment module is used to adjust the posture of the fisheye robot according to the position of the vehicle in the deep fusion mosaic image in the vehicle information in the image processing module, so that the fisheye robot faces the vehicle;
[0071] The fisheye robot and vehicle distance adjustment module is used to determine whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executes the wheel segmentation module; if not, executes the wheel segmentation module;
[0072] The wheel segmentation module is used to perform semantic segmentation on the vehicle enhanced image in the image processing module to obtain the wheel segmentation result; based on the wheel segmentation result and the vehicle orientation, the lateral center line of the vehicle is obtained; and the projection line of the lateral center line of the vehicle on the ground is used as the driving route of the fisheye robot.
[0073] The present embodiment provides a vehicle wheel positioning and segmentation method based on multi-information fusion, which obtains a fisheye depth fusion image of the initial position of the fisheye robot, and determines whether there is a vehicle opposite to the fisheye robot at this time according to the fisheye depth fusion image of the initial position; if not, several depth fusion images of a circle of the fisheye robot's initial position are spliced according to image features to enhance the naturalness of the transition at the splicing seam, and the obtained depth fusion splicing image is used for vehicle detection of vehicle information, and the posture of the fisheye robot is adjusted according to the vehicle information, so that the fisheye robot faces the vehicle; if there is or the posture of the fisheye robot is adjusted, the distance between the fisheye robot and the vehicle is controlled to be appropriate, and then the vehicle is obtained. A vehicle depth fusion map with a wide field of view and rich image details is obtained, and the vehicle depth fusion map is processed for detail enhancement and then semantic segmentation to locate the wheels; the wheel segmentation result is combined with the vehicle orientation to obtain the vehicle's lateral centerline, and the projection line of the vehicle's lateral centerline on the ground is used as the fisheye robot's driving route; this method makes the robot highly automated and highly adaptive, and the appropriate processing method can be selected according to different situations to ensure that the acquired wheel positioning segmentation information is accurate, so as to obtain a more accurate vehicle lateral centerline, which is beneficial to improving the quality and efficiency of subsequent robot vehicle bottom image acquisition, and can be used in vehicle bottom safety detection to improve detection accuracy.
Claims
1. A vehicle wheel alignment segmentation method based on multi-information fusion, characterized in that: The following operations are included: S1. Obtain a fisheye depth map and a fisheye RGB map that the fisheye robot faces at the initial position, perform fusion processing after dedistortion processing, and obtain a fisheye depth fusion map at the initial position; determine whether there is a vehicle in the fisheye depth fusion map at the initial position; If it does not exist, execute S2; if it does exist, execute S3; S2. Obtain a fisheye depth map and a fisheye RGB map of the initial position of the fisheye robot, perform fusion processing on the corresponding positions after dedistortion processing, and obtain several depth fusion maps; perform feature stitching processing on several depth fusion maps to obtain a depth fusion stitching map; the operation of feature stitching processing is specifically as follows: obtain the edge density of each depth fusion map, and determine whether there is an edge density greater than the edge density threshold; if so, use a region-based method to perform correction processing on several depth fusion maps at the stitching edge to obtain several first depth fusion correction maps; perform stitching processing on several first depth fusion correction maps based on stitching edge pixel mixing to obtain a depth fusion stitching map; if not, use a feature point-based method to perform correction processing on several depth fusion maps to obtain several second depth fusion correction maps; stitching several second depth fusion correction maps to obtain a depth fusion stitching map; The deep fusion mosaic image is processed by vehicle detection to obtain vehicle information; according to the position of the vehicle in the deep fusion mosaic image in the vehicle information, the fisheye robot is adjusted in position so that the fisheye robot faces the vehicle; S3, determining whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executing S4; if not, executing S4; S4, obtaining a vehicle depth fusion image, the vehicle depth fusion image is processed by detail enhancement to obtain a vehicle enhanced image; the vehicle enhanced image is processed by semantic segmentation to obtain a wheel segmentation result; Based on the wheel segmentation results and the vehicle orientation, the lateral center line of the vehicle is obtained; the projection line of the lateral center line of the vehicle on the ground is used as the driving route of the fisheye robot.
2. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: The specific operation of obtaining the first deep fusion correction image is: Sort several depth fusion images according to image acquisition time; According to the connection position of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image, respectively determine the splicing edges of the first depth fusion image or the previous depth fusion correction image and the current depth fusion image to obtain a first splicing edge and a second splicing edge; Obtaining a pixel offset based on a pixel value and a pixel gradient of the first stitching edge and a pixel value of the second stitching edge; Based on the pixel offset, pixel correction is performed on the second stitching edge to obtain a current first depth fusion correction image; The first depth fusion image and all the first depth fusion correction images form a plurality of first depth fusion correction images.
3. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: The specific operation of obtaining the second deep fusion correction image is: In the image pixel value sequence of the current deep fusion image, the pixels that are all extreme points after Gaussian blur processing at different scales are used as initial feature points; the pixels whose neighborhood contrast is less than the neighborhood contrast threshold in the initial feature points are deleted to obtain selected feature points; The pixel points at the corresponding positions of the selected feature points in the corresponding standard depth fusion map are used as standard feature points; A pixel change matrix loss function is constructed based on the pixel values of the selected feature points and the standard feature points, and the pixel change matrix is obtained by least squares processing; Based on the pixel change matrix, pixel correction processing is performed on the current depth fusion image to obtain the current second depth fusion correction image; All the second depth fusion correction images form a plurality of second depth fusion correction images.
4. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: The operations in the semantic segmentation process in S4 are specifically as follows: The vehicle enhancement graph is processed by a deep convolutional network and residual learning to obtain a vehicle learning graph; the vehicle learning graph and the vehicle enhancement graph are fused to obtain a vehicle learning fusion graph; The vehicle learning fusion graph is fused after downsampling and upsampling respectively to obtain a vehicle sampling fusion graph; the vehicle sampling fusion graph is processed by global average pooling, convolution and activation function, and then weighted with the vehicle sampling fusion graph to obtain a vehicle sampling feature graph; The vehicle learning fusion map is fused after being processed by hole convolutions of different scales to obtain a vehicle feature convolution map; the spatial feature map of the vehicle feature convolution map is superimposed, convolved and up-sampled with the vehicle sampling feature map to obtain a vehicle segmentation result.
5. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: In S1 or S2, the operation of the de-distortion processing is specifically as follows: Based on the camera intrinsic parameters and the distortion coefficients, the correction mapping parameters are calculated; according to the correction mapping parameters, the fisheye depth map or the fisheye RGB map is mapped to the image plane to obtain a fisheye dedistorted map for performing fusion processing operations.
6. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: In S1 or S2, the fusion processing operation is specifically as follows: The fisheye depth map after the dedistortion processing is converted into a pseudo-color image to obtain a fisheye depth pseudo-color map; after the transparency of the fisheye depth pseudo-color map is adjusted to a preset transparency, it is superimposed with the fisheye RGB map after the dedistortion processing to obtain a depth fusion map.
7. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: After the operation of obtaining the vehicle enhancement image in S4, the method further includes cropping the vehicle enhancement image according to the vehicle detection result of the vehicle enhancement image to obtain a vehicle cropped image for performing the semantic segmentation processing.
8. The vehicle wheel alignment segmentation method based on multi-information fusion according to claim 7, characterized in that: If there are multiple vehicles in the vehicle detection result, the vehicle closest to the fisheye robot is used as the target cropping vehicle, and the vehicle enhancement image is cropped to obtain a target vehicle cropping image for performing the semantic segmentation processing operation.
9. A vehicle wheel alignment segmentation system based on multi-information fusion, used to implement the vehicle wheel alignment segmentation method based on multi-information fusion according to claim 1, characterized in that: include: Image acquisition module, used to obtain fisheye depth image and fisheye RGB image of the fisheye robot facing and around; An image processing module is used to fuse the fisheye depth image and the fisheye RGB image that the fisheye robot faces at the initial position in the image acquisition module after dedistortion, to obtain an initial position fisheye depth fusion image; and to determine whether there is a vehicle in the initial position fisheye depth fusion image; If it does not exist, execute the fisheye robot posture adjustment module; If it exists, the distance adjustment module between the fisheye robot and the vehicle is executed; the fisheye depth map and the fisheye RGB map of the fisheye robot's initial position in the image acquisition module are subjected to dedistortion processing and then fused at corresponding positions to obtain several depth fusion images; several depth fusion images are subjected to feature splicing processing to obtain a depth fusion splicing image; the depth fusion splicing image is subjected to vehicle detection processing to obtain vehicle information; the vehicle depth fusion image is obtained, and the vehicle depth fusion image is subjected to detail enhancement processing to obtain a vehicle enhanced image; A fisheye robot posture adjustment module, used to adjust the posture of the fisheye robot according to the position of the vehicle in the deep fusion mosaic image in the vehicle information in the image processing module, so that the fisheye robot faces the vehicle; The fisheye robot and vehicle distance adjustment module is used to determine whether the distance between the fisheye robot and the vehicle is greater than a distance threshold; if so, the fisheye robot drives to a position where the distance between the fisheye robot and the vehicle does not exceed the distance threshold, and then executes the wheel segmentation module; If not, execute the wheel segmentation module; A wheel segmentation module, used for performing semantic segmentation processing on the vehicle enhanced image in the image processing module to obtain a wheel segmentation result; Based on the wheel segmentation results and the vehicle orientation, the lateral center line of the vehicle is obtained; the projection line of the lateral center line of the vehicle on the ground is used as the driving route of the fisheye robot.
