Adaptive fusion method based on laser radar and binocular vision

Through the adaptive fusion method of lidar and binocular vision, combined with deep learning technology, the problem of low accuracy and lack of detail texture in 3D modeling in coal mines is solved, and high-precision 3D modeling and detail display are achieved, which is suitable for underground coal mines. Harsh environment.

CN118711024APending Publication Date: 2024-09-27GUODIAN JIANTOU INNER MONGOLIA ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410761271.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Traditional single sensor technology in coal mines is difficult to achieve high-precision three-dimensional modeling, and it is severely affected by environmental interference and cannot display the detailed texture information of the tunnel in detail.

Method used

An adaptive fusion method based on lidar and binocular vision is used to obtain point cloud data through lidar and perform feature matching with visual images. It combines deep learning technology to enhance detection performance, achieve effective fusion of lidar and visual data, and overcome sparseness. Defects in radar feature maps and improve 3D modeling accuracy and anti-interference ability.

Benefits of technology

It achieves high-precision three-dimensional modeling in coal mines, displays the detailed texture of tunnels in detail, improves the accuracy of target recognition, and is suitable for harsh environments, especially working conditions with low illumination and high dust.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711024A
    Figure CN118711024A
Patent Text Reader

Abstract

The invention discloses an adaptive fusion method based on a laser radar and binocular vision. The method comprises the following steps: S01, acquiring point cloud data; s02, fitting the preliminary three-dimensional surface to obtain an enhanced point cloud data set; s03, obtaining a plurality of groups of enhanced point cloud data groups; shooting a visual image; s04, projecting the three-dimensional point cloud data to an image pixel plane of the visual image; s05, obtaining an image pixel expansion image; s06, obtaining a point cloud feature calibration graph; s07, obtaining a roadway binocular vision image set; s08, obtaining a filtered image set; s09, obtaining a de-noised image set; s10, obtaining an enhanced image set; s11, obtaining an image feature map of the visual image; s12, calculating a feature matching degree; s13, calculating a feature weight; s14, obtaining optimal matching point cloud feature data and an image feature map; and S15, obtaining a radar vision final fusion image. According to the invention, the accuracy of target identification is improved, and the three-dimensional modeling precision of the roadway is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional modeling and automatic navigation in coal mines, and focuses on automatic driving and three-dimensional reconstruction in coal mines. Specifically, the present invention relates to a method for adaptive fusion based on laser radar and binocular vision. Background Art

[0002] In the harsh environment of coal mines, there are often problems such as high dust, high humidity, and low illumination in the tunnels. The traditional method of using a single sensor is seriously affected by environmental interference. The traditional method of using a single sensor to collect underground data has a modeling accuracy and geographic information that is difficult to meet production needs.

[0003] LiDAR has the characteristics of strong anti-interference ability. When working in coal mines, it can penetrate the dust in the coal mine tunnels, bypass the moisture in the tunnels, and autonomously emit lasers without being affected by low illumination in the environment. It can adapt to the harsh environment of coal mines. However, the scanning accuracy of LiDAR is low, and it is impossible to see the detailed texture information of objects such as grain and color. The visual system can record the texture information of objects very well, but it is often affected by dust and moisture underground, resulting in poor visual scanning effect. In addition, the lighting in coal mines is insufficient. When encountering dark light or strong light, the image scanned by the visual system is not clear, and the use effect is not significant. To this end, taking advantage of the strong anti-interference ability of LiDAR and the ability of the visual system to clearly record the texture details of objects, LiDAR and the visual system are effectively integrated to form a LiDAR fusion system, which can obtain a clearer three-dimensional model of the coal mine in the coal mine environment and realize rapid target recognition.

[0004] With the development of transparent geology in coal mines, it is required to quickly build a 3D model of the entire tunnel and clearly display the specific details. The low accuracy of traditional single sensor modeling, susceptibility to environmental influences, and lack of texture information have seriously restricted the development of transparent geology in coal mines. Therefore, it is urgent to carry out research on multi-sensor fusion technology to achieve a high-precision, anti-interference ability, and tunnel 3D modeling target recognition system that can display detailed texture information in detail.

[0005] The current technical method fuses the data of LiDAR and binocular vision, which can be divided into three types: target level, data level and feature level fusion. Feature level fusion is a fusion method between data level and decision level. In recent years, the rapid development of deep learning technology has led to the rapid development of feature level fusion technology. It can make full use of the relevant information on the point cloud data side obtained by LiDAR and develop rapidly, such as the speed, distance and other modal information of the point cloud.

[0006] The feature fusion method is based on deep learning technology to achieve automatic matching of lidar point cloud feature maps, maximize the use of multimodal information contained in the point cloud, and thus enhance detection performance. However, radar point clouds are naturally sparse, especially after filtering, the number of point clouds is far less than the number of images. Due to the lack of technology to enhance the semantic information of radar features, radar noise may interfere with detection results. Therefore, how to effectively integrate sparse radar feature maps has become a key strategy to improve detection results. In addition, when building and using detection networks, it is necessary to balance computational efficiency and prediction accuracy. Most of the current research directly inputs radar feature maps into visual detection networks, and there is a lack of research on detection networks that integrate radar features. Summary of the invention

[0007] The purpose of the present invention is to provide a method for adaptive fusion based on laser radar and binocular vision to solve the problems of low modeling accuracy, missing texture detail information and weak anti-interference ability in the prior art.

[0008] In order to achieve the above research objectives, the detailed technical scheme of the present invention is as follows:

[0009] A method for adaptive fusion based on laser radar and binocular vision, comprising the following steps:

[0010] S01, use laser radar to perform three-dimensional scanning in the tunnel, obtain point cloud data of the spatial distance of a circle of laser radar, and filter it to obtain point cloud data after filtering of the current circle of laser radar;

[0011] S02, repeatedly executing S01 to obtain point cloud data after multiple-circle laser radar filtering processing, superimposing them in the same coordinate system, and fitting a preliminary three-dimensional solid surface;

[0012] Calculate the vertical distance between each point in the preliminary three-dimensional solid surface and the preliminary three-dimensional solid surface, remove the points in the three-dimensional solid surface whose vertical distance is greater than a set threshold, and obtain an enhanced point cloud data set;

[0013] S03, repeatedly executing S01-S02 to obtain multiple sets of enhanced point cloud data sets as three-dimensional point cloud data sets of the lane; the binocular vision camera synchronously captures binocular vision images;

[0014] S04, calibrating the three-dimensional point cloud data obtained in S03 and the binocular vision image captured by the binocular vision camera, converting based on the unit space coordinates, and projecting the three-dimensional point cloud data onto the image pixel plane of the visual image;

[0015] S05, performing plane expansion on the image pixel plane obtained in S04 in the horizontal and vertical directions, and then projecting it in the height direction to obtain an image pixel expansion map;

[0016] S06, extracting point cloud feature information of four channels, namely, distance, relative speed, reflectivity, and relative acceleration, from the image pixel expansion map obtained in S05, and obtaining a radar point cloud feature calibration map;

[0017] S07, the visual binocular camera continuously shoots at the same position to obtain a binocular visual image set of the lane space;

[0018] S08, filtering the images in the binocular vision image set obtained in S07 to obtain a filtered image set;

[0019] S09, performing dust removal and noise reduction on the images in the filtered image set obtained in S08 to obtain a noise-reduced image set;

[0020] S10, performing image enhancement on the images in the denoised image set obtained in S08 to obtain an enhanced image set;

[0021] S11, establishing a feature extraction network for visual images, using the feature extraction network to extract image features from the images in the enhanced image set obtained in S10, and obtaining an image feature map of the visual image;

[0022] S12, based on the laser radar point cloud feature calibration map obtained by S06 and the image feature map of the visual image obtained by S11, calculate the area of ​​the intersection of the laser radar point cloud feature and the image feature map of the visual image and the area of ​​the area after the two are fused, and then calculate the feature matching degree of each feature;

[0023] S13, calculating the weight of each feature according to the area of ​​the intersection of the laser radar point cloud feature obtained in S12 and the image feature map of the visual image, the area of ​​the fused area, and the feature matching degree of each feature;

[0024] S14, in the laser radar point cloud feature calibration map obtained in S06 and the image feature map of the visual image obtained in S11, select 2 / 3 of the point cloud data features and image features as a combination, calculate the average value of the weights of all features in all combinations, and select the combination with the largest average value, that is, obtain the best matching point cloud feature data and image feature map;

[0025] S15, the optimal matching point cloud feature data and image feature map obtained in S14 are adaptively fused using an adaptive fusion algorithm to achieve alignment of the radar point cloud coordinates and the visual coordinate system, and the point cloud feature data and image feature map after coordinate alignment are obtained, that is, a preliminary radar vision fusion map is obtained; then the three-dimensional point cloud data set obtained in S03 and the visual enhanced image set obtained in S10 are fused into the preliminary radar vision fusion map to obtain a final radar vision fusion map.

[0026] Furthermore, it also includes S16: regressing the final fusion image of the radar vision after adaptive fusion obtained in S15 to obtain fused three-dimensional model data.

[0027] Furthermore, it also includes: reproducing the fused three-dimensional structure through a BOX box.

[0028] Furthermore, in S01, both the laser radar and the binocular camera are fixed on the roof of the sub-tunnel, the binocular camera is located above the radar, and the symmetry center line of the radar and the symmetry center line of the binocular vision camera are not on the same central section.

[0029] Furthermore, S04 specifically includes the following sub-steps:

[0030] S041, transforming the coordinates of the three-dimensional point cloud into the world coordinates centered on the binocular vision camera;

[0031] S042, converting the coordinates of the point cloud data obtained in S041 in the world coordinate system into visual coordinates under the binocular vision camera through the coordinate system transformation, then converting the visual coordinates under the binocular vision camera into two-dimensional image coordinates, and finally converting the two-dimensional image coordinates into the pixel coordinate system of the image pixels to obtain the image pixel plane of the point cloud data, thereby realizing the projection of the point cloud data onto the image pixel plane of the visual image.

[0032] Furthermore, S05 specifically includes the following sub-steps:

[0033] S051, scaling in horizontal and vertical directions, specifically:

[0034] First, the image pixel plane obtained by S04 is taken as the processing object, and the distance parameter, relative speed parameter, reflectivity parameter, and relative acceleration parameter of the radar are taken as four channel information, and the image pixel plane obtained by S04 is scaled in these four channels until it reaches the size of the binocular vision image obtained by S03; then the point cloud data set obtained by S03 is filled on an initial feature map according to the output of the four channels respectively, and placed at the corresponding position point. The initial feature map has the same size as the binocular vision image obtained by S03, and the image pixel expansion map in the X direction is obtained;

[0035] At the same time, based on the X-direction image pixel expansion map, the point cloud data set obtained by S03 is scaled in the vertical direction. Assuming that all points in the point cloud data conform to the Gaussian distribution, the azimuth of each point is taken as the average value, the detection accuracy of the laser radar is taken as the allowable error range, and the horizontal scaling line of each laser radar point is scaled vertically to represent the vertical uncertainty of the point; finally, the Y-direction image pixel expansion map is obtained;

[0036] S052, projecting in the height direction, specifically: projecting the result of S03 three-dimensional point cloud data S051 in the height direction, projecting it onto the initial feature map, connecting the point and the projection point, uniformly filling the pixel size of the point between the two points, and making each point on the connecting line have the same value, to obtain a Z-direction image pixel expansion map, and merging the Z-direction image pixel expansion map, the Y-direction image pixel expansion map, and the X-direction image pixel expansion map according to the Cartesian coordinate system to form a final image pixel expansion map.

[0037] Furthermore, in S09, the dust removal and noise reduction process is based on an image dust removal algorithm and an image dehumidification and defogging algorithm.

[0038] Furthermore, the specific operation of S10 is as follows: first, the object targets in the denoised image set obtained in S08 are compared, and the object targets in each image whose moving speed exceeds a preset speed are removed to form a static background atlas; then, based on the feature matching method, all the static background images in the static background atlas are fused to obtain an enhanced image set.

[0039] Furthermore, the specific operation of S12 is as follows: according to the radar point cloud feature and the visual image feature of the i-th feature, the feature matching degree P corresponding to the i-th feature is calculated. i , the calculation formula is as follows:

[0040] P i =S i交 / S i总 , i=1,2,…,N;

[0041] S i交 =S i视觉特征 ∩S i雷达特征

[0042] S i并 =S i视觉特征 ∪S i雷达特征

[0043] In the formula, S i交 , S i并 are the area of ​​the intersection of the laser radar point cloud features and the image feature map of the visual image, and the area of ​​the fused area; S i雷达特征 is the radar point cloud feature calibration map; S i视觉特征 It is the image feature map of the visual image.

[0044] Furthermore, S13 specifically includes the following sub-steps:

[0045] S131, Si obtained from S12 for all features 交 Sort from small to large to get the radar visual feature intersection order K of each feature 特征交集; Calculate the sum of the areas of all feature intersections S 交总 ,

[0046] S132, S obtained according to S12 for all features i并 Sort from small to large to get the radar visual feature union order K of each feature 特征并集 ; Calculate the sum of the areas of all feature unions S 并总 ,

[0047] S133, calculate the weight a of the i-th feature according to the sum of the feature intersection areas i交 ,

[0048] Then the weighted average calculation formula of the i-th feature is obtained based on the sum of the feature intersection areas:

[0049]

[0050] Calculate the weight a of the i-th feature based on the sum of the feature union areas i并 ,

[0051] The weight calculation formula for the i-th feature is obtained based on the area of ​​the feature union:

[0052] S134, calculate the weight of each feature:

[0053] ηi=b×η i交 +c×η i并

[0054] In the formula, ηi is the weight of the i-th feature; b is the weighted average penalty coefficient of the feature intersection; c is the weighted average penalty coefficient of the feature union;

[0055] When ɑ≦0.1, b=0.8, c=0.2; when 0.1<ɑ<≦, b=0.5, c=0.5; when 0.5<ɑ≦1, b=0.8, c=0.2.

[0056] Compared with the prior art, the present invention has the following technical effects:

[0057] (1) The present invention aims at the special working conditions of low illumination and narrow tunnels in coal mines. The laser radar enhancement algorithm is performed through S03, and the visual enhancement is performed through S10. By overlapping multiple consecutive images and multiple circles of point cloud data, the laser radar and visual images are enhanced respectively, so as to solve the technical problems of poor visual effects caused by insufficient illumination in the tunnel and poor imaging of sparse point cloud data, and effectively improve the imaging effects of the laser radar and visual images.

[0058] (2) In S05, the laser radar point cloud information is aligned with the visual image size. The image size of the visual image and the laser radar is aligned by scaling the size in the X direction and the Y direction at the same time, laying the foundation for the subsequent laser radar and visual fusion.

[0059] (3) Through S14 and S15, the laser radar and visual images are fused and matched. By extracting features from the laser radar and visual images, calculating the feature matching degree and weight calculation, an effective optimal 2 / 3 high-precision matching feature is obtained. Based on these high-precision matching features, an adaptive fusion algorithm is used to first perform feature fusion and then fuse the entire image and radar point cloud information.

[0060] In summary, the present invention establishes an adaptive mechanism for the fusion of laser radar and camera, first calculates the matching degree, then calculates the weights of laser radar and camera, and establishes the fusion mechanism of radar and vision according to the control strategy, realizes the effective fusion of laser radar and vision, and realizes the effective complementarity of laser radar point cloud data and binocular vision image data through the effective fusion of laser radar point cloud feature map and visual image feature map, which can effectively overcome the problems of unclear target texture, easy visual influence by dust, and weak anti-interference ability caused by the sparse laser radar point cloud, improve the accuracy of target recognition, thereby improving the three-dimensional modeling accuracy of the tunnel, and showing detailed texture information in detail. It can be applied to special working conditions and harsh environments such as narrow space, high dust, high humidity, and low illumination in underground coal mine tunnels. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flow chart of the method of the present invention.

[0062] Figure 2 It is a test scene diagram of the method of the present invention.

[0063] Figure 3 This is a fusion result graph after being processed by the method of the present invention.

[0064] The content of the present invention is further explained below based on the drawings and specific embodiments. DETAILED DESCRIPTION

[0065] The present invention provides a method for adaptive fusion based on laser radar and binocular vision, which specifically includes the following steps:

[0066] S01, use laser radar to perform three-dimensional scanning in the tunnel, obtain point cloud data of the spatial distance of a circle of laser radar, use Gaussian filtering to process the obtained point cloud data, and obtain the point cloud data after filtering of the current circle of laser radar to ensure the quality of the point cloud data of the laser radar. Preferably, the laser radar and the binocular camera are both fixed on the top plate of the sub-tunnel, the binocular camera is located above the radar, and the radar symmetry center line and the binocular vision camera symmetry center line are not on the same central section.

[0067] S02, repeat S01 to obtain point cloud data after multiple (preferably 20) laser radar filtering processes, superimpose all the laser radar filtering processes on the same coordinate system, and fit a preliminary three-dimensional surface. In this step, multiple radar point cloud data are fused to form denser point cloud data, ensuring the quality and quantity of the point cloud data;

[0068] By calculating the vertical distance di between each point in the preliminary three-dimensional solid surface and the preliminary three-dimensional solid surface, setting a determination threshold M, removing the points in the three-dimensional solid surface whose vertical distance di is greater than the threshold M, the point cloud data group obtained is the enhanced point cloud data group;

[0069] S03, repeatedly executing S01-S02 to obtain multiple sets of enhanced point cloud data sets as three-dimensional point cloud data sets of the lane; in this process, the binocular vision camera synchronously captures binocular vision images;

[0070] S04, calibrating the three-dimensional point cloud data obtained in S03 and the binocular vision image captured by the binocular vision camera, converting based on the unit space coordinates, and projecting the three-dimensional point cloud data onto the image pixel plane of the visual image. Specifically, the following operations are included:

[0071] S041, transform the coordinates of the 3D point cloud into the world coordinates centered on the binocular vision camera. The transformation formula is as follows:

[0072]

[0073] Where Xs, Ys, and Zs are the coordinates of the three-dimensional point cloud in the world coordinate system. L , Y L , Z L is the 3D point cloud coordinate, H LS The origin of the laser radar coordinate system and the origin of the world coordinate system are in Y L Distance in direction; Z LS The origin of the laser radar coordinate system and the origin of the world coordinate system are at Z L Distance in direction;

[0074] S042, convert the coordinates of the point cloud data obtained in S041 in the world coordinate system into visual coordinates under the binocular vision camera through the coordinate system conversion, then convert the visual coordinates under the binocular vision camera into two-dimensional image coordinates, and finally convert the two-dimensional image coordinates into the pixel coordinate system of the image pixel to obtain the image pixel plane of the point cloud data, so as to realize the projection of the point cloud data onto the image pixel plane of the visual image. The specific calculation formula is as follows:

[0075]

[0076] In the formula, Z x is the coordinate in the visual coordinate system of the binocular vision camera, x and y are the horizontal and vertical coordinates of the object in the image pixel coordinate system, H n is the internal parameter of the binocular vision camera, H w is the external parameter of the binocular vision camera;

[0077] S05, expanding the image pixel plane obtained in S04 in the horizontal and vertical directions (i.e., the X direction and the Y direction), and then projecting it in the height direction to obtain an image pixel expansion map. Specifically, the following operations are included:

[0078] S051, scaling in the horizontal and vertical directions (i.e., X direction and Y direction). Specifically:

[0079] First, the image pixel plane obtained by S04 is taken as the processing object, and the distance parameter, relative speed parameter, reflectivity parameter and relative acceleration parameter of the radar are taken as four channel information. The image pixel plane obtained by S04 is scaled in these four channels until it reaches the size of the binocular vision image obtained by S03. Then, the point cloud data set obtained by S03 is filled on an initial feature map according to the output of the four channels and placed at the corresponding position point. The initial feature map has the same size as the binocular vision image obtained by S03, and the image pixel expansion map in the X direction is obtained.

[0080] At the same time, based on the X-direction image pixel expansion map, the point cloud data set obtained by S03 is scaled vertically. Assuming that all points in the point cloud data conform to the Gaussian distribution, the azimuth of each point is taken as the average value, the detection accuracy of the laser radar is taken as the allowable error range, and the horizontal scaling line of each laser radar point is scaled vertically to represent the vertical uncertainty of the point. Finally, the Y-direction image pixel expansion map is obtained.

[0081] S052, projecting in the height direction (i.e., Z direction). Specifically, the result obtained from S03 three-dimensional point cloud data S051 is projected in the height direction, projected onto the initial feature map, connected between the point and the projection point, and the pixel size of the point is evenly filled between the two points, and the value of each point on the connecting line is the same, and a Z-direction image pixel expansion map is obtained, and the Z-direction image pixel expansion map, the Y-direction image pixel expansion map, and the X-direction image pixel expansion map are fused according to the Cartesian coordinate system to form a final image pixel expansion map.

[0082] S06, extracting point cloud feature information of four channels, namely, distance, relative speed, reflectivity, and relative acceleration, from the image pixel expansion map obtained in S05, and obtaining a radar point cloud feature calibration map.

[0083] S07, the visual binocular camera continuously shoots at the same position to obtain a set of visual images of the lane space;

[0084] S08, filtering the images in the binocular vision image set obtained in S07 to obtain a filtered image set. This step can remove impurity information in the image and ensure the quality of the visual information.

[0085] S09, performing dust removal and noise reduction on the images in the filtered image set obtained in S08 to obtain a noise-reduced image set. This step is used to improve the ability of binocular vision to resist interference from dust and moisture.

[0086] Among them, the dust removal and noise reduction processing adopts an image dust removal algorithm and an image dehumidification and fog removal algorithm.

[0087] S10, performing image enhancement on the images in the denoised image set obtained in S08 to obtain an enhanced image set.

[0088] Specifically, firstly, the objects in the denoised image set obtained in S08 are compared, and the objects whose moving speed exceeds the preset speed in each image are removed to form a static background atlas; then, based on the feature matching method, all the static background images in the static background atlas are fused to obtain an enhanced image set. This step realizes the image enhancement of static objects in the visual information of the lane.

[0089] S11, establishing a feature extraction network for visual images, using the feature extraction network to extract image features from the images in the enhanced image set obtained in S10, and obtaining an image feature map of the visual image;

[0090] S12, based on the laser radar point cloud feature calibration map obtained by calculating S06 and the image feature map of the visual image obtained by calculating S11, calculate the area of ​​the intersection of the laser radar point cloud feature and the image feature map of the visual image and the area of ​​the area after the two are fused, and then calculate the feature matching degree of each feature.

[0091] The specific operations are as follows:

[0092] Calculate the feature matching degree P corresponding to the i-th feature according to the radar point cloud feature and visual image feature of the i-th feature i , the calculation formula is as follows:

[0093] P i =S i交 / S i总 , i=1,2,…,N;

[0094] S i交 =S i视觉特征 ∩S i雷达特征

[0095] S i并 =S i视觉特征 ∪S i雷达特征

[0096] In the formula, S i交 , S i并 are the area of ​​the intersection of the laser radar point cloud features and the image feature map of the visual image, and the area of ​​the fused area; S i雷达特征 is the radar point cloud feature calibration map; S i视觉特征 It is the image feature map of the visual image.

[0097] S13, according to the area of ​​the intersection of the laser radar point cloud feature obtained in S12 and the image feature map of the visual image, the area of ​​the fused area, and the feature matching degree of each feature, calculate the weight of each feature. Specifically, it includes the following sub-steps:

[0098] S131, Si obtained from S12 for all features 交 Sort from small to large to get the radar visual feature intersection order K of each feature 特征交集 ; Calculate the sum of the areas of all feature intersections S 交总 ,

[0099] S132, S obtained according to S12 for all features i并 Sort from small to large to get the radar visual feature union order K of each feature 特征并集 ; Calculate the sum of the areas of all feature unions S 并总 ,

[0100] S133, calculate the weight a of the i-th feature according to the sum of the feature intersection areas i交 ,

[0101] Then the weighted average calculation formula of the i-th feature is obtained based on the sum of the feature intersection areas:

[0102]

[0103] Calculate the weight a of the i-th feature based on the sum of the areas of the feature union i并 ,

[0104] The weighted average (i.e., weight) of the i-th feature is calculated based on the area of ​​the feature union as follows:

[0105]

[0106] S134, theoretically K 特征交集 The order of the K feature union should be consistent, but in fact, due to the interference of dust, light and other factors in different radar and visual areas, the radar is not clear in some areas, or the vision is not clear, resulting in inconsistent features. Therefore, it is necessary to select the features with better matching between radar features and visual features for fusion calculation, and at the same time increase the penalty coefficient of the features with better matching, and enhance the weighted average (weight) of the features with better matching to improve accuracy. The specific weight enhancement method is as follows:

[0107] The closer the intersection area of ​​each visual feature and radar feature is to the union area, the better the overlap between the visual feature and the radar feature. The closer the visual feature and the radar feature are, the more accurate the coordinate alignment is. The weight ratio should be increased for radar features and visual features with good matching. In order to ensure the accuracy of the overall features, the present invention increases the penalty coefficients b and c:

[0108] ηi=b×η i交 +c×η i并

[0109] Where ηi is the weighted average (weight) of the i-th feature; b is the weighted average penalty coefficient of the feature intersection; and c is the weighted average penalty coefficient of the feature union.

[0110] Specifically, the coefficient values ​​of b and c are determined according to the value of ɑ, which is the ratio of the difference between the intersection area and the union area of ​​each feature to the sum of the intersection area and the union area corresponding to the feature. When ɑ≦0.1, b=0.8, c=0.2; when 0.1<ɑ<≦, b=0.5, c=0.5; when 0.5<ɑ≦1, b=0.8, c=0.2.

[0111] S14, in the laser radar point cloud feature calibration map obtained in S06 and the image feature map of the visual image obtained in S11, select 2 / 3 of the point cloud data features and image features as a combination, calculate the average value of the weights of all features in all combinations, and select the combination with the largest average value, that is, obtain the best matching point cloud feature data and image feature map. This step is based on the selected 2 / 3 point cloud feature data and image features to prepare for the subsequent adaptive fusion matching work.

[0112] S15, the optimal matching point cloud feature data and image feature map obtained in S14 are adaptively fused using an adaptive fusion algorithm to achieve alignment of the radar point cloud coordinates and the visual coordinate system, and the point cloud feature data and image feature map after coordinate alignment are obtained, that is, a preliminary radar vision fusion map is obtained; then the three-dimensional point cloud data set obtained in S03 and the visual enhanced image set obtained in S10 are fused into the preliminary radar vision fusion map to obtain a final radar vision fusion map.

[0113] Through the fusion strategy of this step, 2 / 3 of the features selected from the total features by the final fusion method are used as the basic data for fusion. The adaptive fusion method is used to first align the coordinates of the fused radar point cloud calibration map and the image feature map as a whole, and then adaptively fuse them. Then all images are fused as a whole to form the final fused image, which can reflect both the radar point cloud information and the final machine vision effect map.

[0114] S16, target display module.

[0115] The final fusion image of radar vision after adaptive fusion obtained by S15 is regressed to obtain the fused 3D model data. The fused 3D structure is reproduced by the BOX box to show the actual 3D effect of the space after data fusion.

[0116] Figure 2 It is a test scene diagram of the method of the present invention. Figure 3 is a fusion graph obtained by processing the method of the present invention. Figure 3 It can be seen that the LiDAR point cloud and visual image are effectively fused. The size, shape and details of the surrounding environment in the room can be clearly observed in the picture. This fusion provides a high-resolution reconstruction of the space, which can accurately capture various features inside and around the space. The LiDAR provides high-precision distance measurement data, which can accurately capture the unevenness inside the room and the position and shape of various obstacles. The visual image provides rich texture and color information, making the reconstructed 3D model more realistic and visual. By fusing these two data sources, we can not only obtain accurate spatial information, but also add more semantic information to the model to improve our understanding and analysis of coal mine tunnels.

[0117] In general, Figure 3 The advantages of high precision and high detail in 3D reconstruction of the method of the present invention are clearly demonstrated. Such high-precision reconstruction results are of great significance for improving the geological transparency and underground safety of coal mines, and can provide reliable support and basis for coal mine production and management.

[0118] In summary, the present invention can solve the technical problem of poor accuracy of three-dimensional modeling of tunnels under special working conditions of narrow space and low illumination in coal mines. By taking advantage of the strong anti-interference ability of lidar and the ability of vision to clearly display detailed textures, a lidar and vision fusion method is developed to realize multi-sensor fusion, thereby improving the accuracy of three-dimensional modeling of tunnels in coal mines.

Claims

1. An adaptive fusion method based on LiDAR and binocular vision. It is characterized in that The specific steps include: S01, use laser radar to perform three-dimensional scanning in the tunnel, obtain point cloud data of the spatial distance of a circle of laser radar, and filter it to obtain point cloud data after filtering of the current circle of laser radar; S02, repeatedly executing S01 to obtain point cloud data after multiple-cycle laser radar filtering processing, superimposing them in the same coordinate system, and fitting a preliminary three-dimensional solid surface; calculating the vertical distance between each point in the preliminary three-dimensional solid surface and the preliminary three-dimensional solid surface, removing the points in the three-dimensional solid surface whose vertical distance is greater than a set threshold, and obtaining an enhanced point cloud data group; S03, repeatedly executing S01-S02 to obtain multiple sets of enhanced point cloud data sets as three-dimensional point cloud data sets of the lane; the binocular vision camera synchronously captures binocular vision images; S04, calibrating the three-dimensional point cloud data obtained in S03 and the binocular vision image captured by the binocular vision camera, converting based on the unit space coordinates, and projecting the three-dimensional point cloud data onto the image pixel plane of the visual image; S05, performing plane expansion on the image pixel plane obtained in S04 in the horizontal and vertical directions, and then projecting it in the height direction to obtain an image pixel expansion map; S06, extracting point cloud feature information of four channels, namely, distance, relative speed, reflectivity, and relative acceleration, from the image pixel expansion map obtained in S05, and obtaining a radar point cloud feature calibration map; S07, the visual binocular camera continuously shoots at the same position to obtain a binocular visual image set of the lane space; S08, filtering the images in the binocular vision image set obtained in S07 to obtain a filtered image set; S09, performing dust removal and noise reduction on the images in the filtered image set obtained in S08 to obtain a noise-reduced image set; S10, performing image enhancement on the images in the denoised image set obtained in S08 to obtain an enhanced image set; S11, establishing a feature extraction network for visual images, using the feature extraction network to extract image features from the images in the enhanced image set obtained in S10, and obtaining an image feature map of the visual image; S12, based on the laser radar point cloud feature calibration map obtained by S06 and the image feature map of the visual image obtained by S11, calculate the area of ​​the intersection of the laser radar point cloud feature and the image feature map of the visual image and the area of ​​the area after the two are fused, and then calculate the feature matching degree of each feature; S13, calculating the weight of each feature according to the area of ​​the intersection of the laser radar point cloud feature obtained in S12 and the image feature map of the visual image, the area of ​​the fused area, and the feature matching degree of each feature; S14, in the laser radar point cloud feature calibration map obtained in S06 and the image feature map of the visual image obtained in S11, select 2 / 3 of the point cloud data features and image features as a combination, calculate the average value of the weights of all features in all combinations, and select the combination with the largest average value, that is, obtain the best matching point cloud feature data and image feature map; S15, the optimal matching point cloud feature data and image feature map obtained in S14 are adaptively fused using an adaptive fusion algorithm to achieve alignment of the radar point cloud coordinates and the visual coordinate system, and the point cloud feature data and image feature map after coordinate alignment are obtained, that is, a preliminary radar vision fusion map is obtained; then the three-dimensional point cloud data set obtained in S03 and the visual enhanced image set obtained in S10 are fused into the preliminary radar vision fusion map to obtain a final radar vision fusion map.

2. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 1, It is characterized in that It also includes S16: regressing the final fusion image of the radar vision after adaptive fusion obtained in S15 to obtain fused three-dimensional model data.

3. The adaptive fusion method based on laser radar and binocular vision as claimed in claim 2, It is characterized in that Also includes: Recreate the fusion three-dimensional structure through the BOX box.

4. The adaptive fusion method based on laser radar and binocular vision as claimed in claim 1, It is characterized in that In S01, the laser radar and the binocular camera are both fixed on the roof of the sub-tunnel, the binocular camera is located above the radar, and the symmetry center line of the radar and the symmetry center line of the binocular vision camera are not on the same central section.

5. The adaptive fusion method based on laser radar and binocular vision as claimed in claim 1, It is characterized in that S04 specifically includes the following sub-steps: S041, transform the coordinates of the three-dimensional point cloud into the world coordinates centered on the binocular vision camera; S042, converting the coordinates of the point cloud data obtained in S041 in the world coordinate system into visual coordinates under the binocular vision camera through the coordinate system transformation, then converting the visual coordinates under the binocular vision camera into two-dimensional image coordinates, and finally converting the two-dimensional image coordinates into the pixel coordinate system of the image pixels to obtain the image pixel plane of the point cloud data, thereby realizing the projection of the point cloud data onto the image pixel plane of the visual image.

6. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 1, It is characterized in that S05 specifically includes the following sub-steps: S051, scaling in horizontal and vertical directions, specifically: First, the image pixel plane obtained by S04 is taken as the processing object, and the distance parameter, relative speed parameter, reflectivity parameter, and relative acceleration parameter of the radar are taken as four channel information, and the image pixel plane obtained by S04 is scaled in these four channels until it reaches the size of the binocular vision image obtained by S03; then the point cloud data set obtained by S03 is filled on an initial feature map according to the output of the four channels respectively, and placed at the corresponding position point. The initial feature map has the same size as the binocular vision image obtained by S03, and the image pixel expansion map in the X direction is obtained; At the same time, based on the X-direction image pixel expansion map, the point cloud data set obtained by S03 is scaled in the vertical direction. Assuming that all points in the point cloud data conform to the Gaussian distribution, the azimuth of each point is taken as the average value, the detection accuracy of the laser radar is taken as the allowable error range, and the horizontal scaling line of each laser radar point is scaled vertically to represent the vertical uncertainty of the point; finally, the Y-direction image pixel expansion map is obtained; S052, projecting in the height direction, specifically: projecting the result of S03 three-dimensional point cloud data S051 in the height direction, projecting it onto the initial feature map, connecting the point and the projection point, uniformly filling the pixel size of the point between the two points, and making each point on the connecting line have the same value, to obtain a Z-direction image pixel expansion map, and merging the Z-direction image pixel expansion map, the Y-direction image pixel expansion map, and the X-direction image pixel expansion map according to the Cartesian coordinate system to form a final image pixel expansion map.

7. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 1, It is characterized in that In S09, the dust removal and noise reduction process is based on an image dust removal algorithm and an image dehumidification and defogging algorithm.

8. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 1, It is characterized in that The specific operation of S10 is as follows: first, the object targets in the denoised image set obtained in S08 are compared, and the object targets whose moving speed exceeds the preset speed in each image are removed to form a static background atlas; then, based on the feature matching method, all the static background images in the static background atlas are fused to obtain an enhanced image set.

9. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 1, It is characterized in that The specific operation of S12 is as follows: Calculate the feature matching degree P corresponding to the i-th feature according to the radar point cloud feature and the visual image feature of the i-th feature i , the calculation formula is as follows: P i =S i交 / S i总 ,i=1,2,…,N; S i交 =S i视觉特征 ∩S i雷达特征 S i并 =S i视觉特征 ∪S i雷达特征 In the formula, S i交 , S i并 are the area of ​​the intersection of the laser radar point cloud features and the image feature map of the visual image, and the area of ​​the fused area; S i雷达特征 It is the radar point cloud feature calibration map; S i视觉特征 It is the image feature map of the visual image.

10. The method for adaptive fusion based on laser radar and binocular vision as claimed in claim 9, It is characterized in that S13 specifically includes the following sub-steps: S131, Si obtained from S12 for all features 交 Sort from small to large to get the radar visual feature intersection order K of each feature 特征交集 ; Calculate the sum of the areas of all feature intersections S 交总 , S132, S obtained according to S12 for all features i并 Sort from small to large to get the radar visual feature union order K of each feature 特征并集 ; Calculate the sum of the areas of all feature unions S 并总 , S133, calculate the weight a of the i-th feature according to the sum of the feature intersection areas i交 , Then the weighted average calculation formula of the i-th feature is obtained based on the sum of the feature intersection areas: Calculate the weight a of the i-th feature based on the sum of the areas of the feature union i并 , The weight calculation formula for the i-th feature is obtained based on the area of ​​the feature union: S134, calculate the weight of each feature: ηi=b×η i交 +c×η i并 In the formula, ηi is the weight of the i-th feature; b is the weighted average penalty coefficient of the feature intersection; c is the weighted average penalty coefficient of the feature union; When ɑ≦0.1, b=0.8, c=0.2; when 0.1<ɑ<≦, b=0.5, c=0.5; when 0.5<ɑ≦1, b=0.8, c=0.2.