Road drivable area detection method, device, equipment, medium and system

Through the multi-cue fusion detection of lidar and vehicle cameras, a road fusion map is generated, which solves the problem of insufficient adaptability and computational complexity of single sensor detection, and improves the accuracy and simplicity of road detection.

CN114898321BActive Publication Date: 2024-10-08CHONGQING VOCATIONAL COLLEGE OF TRANSPORTATION +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210626448.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2024-10-08
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

Single-sensor road detection is difficult to adapt to complex weather changes and scene changes, and multi-sensor fusion detection calculations are complex and error-prone.

Method used

LiDAR is used to obtain radar point cloud data and vehicle-mounted cameras are used to obtain visible light images. Radar likelihood maps and visible light likelihood maps are generated through multi-cue processing and fused under a Bayesian framework to generate road fusion maps to achieve drivable area detection. .

Benefits of technology

It improves the accuracy of road detection, adapts to different weather and scene changes, simplifies the calculation process, and solves the shortcomings of single sensor detection and the complexity of traditional fusion detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114898321B_ABST
    Figure CN114898321B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method for detecting a drivable area of ​​a road, comprising: obtaining radar point cloud data through a laser radar, and processing the radar point cloud data to obtain a radar likelihood map; obtaining a visible light image through a vehicle-mounted camera, and performing multi-cue processing on the visible light image to obtain a visible light likelihood map; fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map; and performing recognition based on the road fusion map to obtain a drivable area detection result. The embodiment of the present invention fuses the laser radar point cloud data and the visible light image of the vehicle-mounted camera, thereby improving the accuracy of road detection and solving technical problems existing in single sensor road detection, such as being unable to adapt to complex weather changes and scene changes and being prone to errors. Moreover, the embodiment of the present invention is simpler to calculate than traditional fusion detection (neural network detection).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of traffic technology, and in particular to a method, device, equipment, medium and system for detecting a drivable area of ​​a road. Background Art

[0002] The road drivable area detection methods are generally divided into two types: single sensor detection and multi-sensor fusion detection.

[0003] As for single sensor detection, currently the most commonly used are vehicle-mounted cameras or LiDAR. However, there are some inevitable defects in single sensor road detection: for example, vehicle-mounted cameras cannot adapt to complex weather changes and scene changes, are easily disturbed by weather changes, and are not robust enough; for example, when LiDAR detects the edge of the road, if the height difference between the road area and the non-road area is not obvious, the detection of LiDAR is very easy to make mistakes.

[0004] Regarding multi-sensor fusion detection, the fusion of vehicle-mounted cameras and laser radar is currently more commonly used. Specifically, this type of fusion detection is mostly implemented using neural networks, and the calculation is relatively complex. Summary of the invention

[0005] In view of the technical defects existing in the prior art, the purpose of the embodiments of the present invention is to provide a method, device, computer equipment, storage medium and system for detecting a drivable area of ​​a road.

[0006] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a method for detecting a drivable area of ​​a road, which is applicable to multi-sensor multi-cue fusion road detection. The detection method comprises:

[0007] Acquire radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map;

[0008] Acquire a visible light image through a vehicle-mounted camera, and perform multi-cue processing on the visible light image to obtain a visible light likelihood map;

[0009] Fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map;

[0010] Identification is performed based on the road fusion graph to obtain a drivable area detection result.

[0011] As a specific implementation of the present application, the radar likelihood map is obtained as follows:

[0012] Obtain radar point cloud data through lidar;

[0013] Performing point cloud preprocessing on the radar point cloud data to obtain first data; the point cloud preprocessing includes road edge area extraction processing and ground plane segmentation processing;

[0014] Performing road point cloud detection on the first data to obtain second data; the road point cloud detection includes peak intensity detection and window search;

[0015] Extracting and processing the second data to obtain lane edge point cloud data;

[0016] A radar likelihood map is generated based on the lane edge point cloud data.

[0017] In certain preferred embodiments of the present application, the visible light likelihood map includes one or more of a road color likelihood map, a road texture likelihood map, a horizontal line likelihood map, and a three-dimensional scene likelihood map;

[0018] Wherein, the road color likelihood map is obtained by processing the visible light image using color clues;

[0019] The road texture likelihood map is obtained by processing the visible light image using texture clues;

[0020] The horizontal line likelihood map is obtained by processing the visible light image using horizontal line cues;

[0021] The three-dimensional scene likelihood map is obtained by processing the visible light image using three-dimensional scene layout clues.

[0022] As a specific implementation of the present application, the specific process of obtaining the road color likelihood map is:

[0023] Processing the visible light image based on color clues to obtain a shadow-free image, establishing a reference histogram based on the shadow-free image, and traversing the entire shadow-free image using the reference histogram based on the Bhattacharyya coefficient to obtain a road color likelihood map;

[0024] The specific process of obtaining the road texture likelihood map is as follows:

[0025] Determine the maximum direction of the road edge texture in the visible light image by using a filter, perform soft voting on the visible light image to locate the vanishing point, and obtain a road texture likelihood map according to the maximum direction of the road edge texture and the vanishing point position;

[0026] The specific process of obtaining the horizontal line likelihood graph is:

[0027] Determine a horizontal line according to the abscissa of the vanishing point, and obtain a horizontal line likelihood map according to the horizontal line;

[0028] The specific process of obtaining the three-dimensional scene likelihood graph is as follows:

[0029] The visible light image is divided into three scenes, and a three-dimensional scene likelihood map is obtained using the superpixel principle.

[0030] As a specific implementation of the present application, the specific process of obtaining the road fusion map includes:

[0031] The radar likelihood map and the visible light likelihood map are fused based on a Bayesian fusion formula to obtain a road fusion map;

[0032] Among them, the Bayesian fusion formula is:

[0033]

[0034] P(x|I) is the probability of finding the target position x in the input image I, which is the posterior probability in Bayesian. P(x|L) is the probability of finding the target position x in the input likelihood function L, which is the prior probability in Bayesian. P(L|I) is the probability of constructing the likelihood function L in the input image I, which is the likelihood probability in Bayesian. P(x|L i ) represents the aforementioned radar likelihood map and visible light likelihood map, w i is the weight of each likelihood graph, and the weight of each likelihood graph is selected as 1 / M, where M is the total number of likelihood graphs.

[0035] In a second aspect, an embodiment of the present invention provides a road drivable area detection device, which is suitable for multi-sensor multi-cue fusion road detection. The detection device includes:

[0036] The first unit is used to obtain radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map;

[0037] The second unit is used to obtain a visible light image through a vehicle-mounted camera, and perform multi-cue processing on the visible light image to obtain a visible light likelihood map;

[0038] A fusion unit, used for fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map;

[0039] The recognition unit is used to perform recognition based on the road fusion map to obtain a drivable area detection result.

[0040] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected via a bus, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method of the above-mentioned first aspect.

[0041] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method of the first aspect.

[0042] In a fifth aspect, an embodiment of the present invention provides a road drivable area detection system, comprising a laser radar, a vehicle-mounted camera and a computer device that communicate with each other, wherein the computer device is as described in the third aspect above.

[0043] The implementation of the road drivable area detection method, device and system of the embodiment of the present invention fuses the laser radar point cloud data and the visible light image of the vehicle camera, improves the accuracy of road detection, and solves the technical problems of single sensor road detection that cannot adapt to complex weather changes and scene changes and is prone to errors. In addition, the embodiment of the present invention is simpler to calculate than traditional fusion detection (neural network detection). BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the drawings required for use in the specific implementation or the description of the prior art are briefly introduced below.

[0045] Figure 1 is a flow chart of a method for detecting a drivable road area provided by an embodiment of the present invention;

[0046] Figure 2 is another flow chart of the method for detecting a drivable area of ​​a road provided by an embodiment of the present invention;

[0047] Figure 3 It is a flow chart of radar likelihood diagram;

[0048] Figure 4a It is a radar point cloud data map obtained from the laser radar;

[0049] Figure 4b It is to project the radar point cloud data map onto the two-dimensional image of the vehicle camera;

[0050] Figure 5 This is the effect diagram of peak intensity detection and window search;

[0051] Figure 6 This is the effect after the lane edge point cloud is extracted;

[0052] Figure 7 is the radar likelihood map;

[0053] Figure 8 This is the generated effect diagram of the road color likelihood map;

[0054] Fig. 9 It is the generated effect diagram of the road texture likelihood map;

[0055] Figures 10a to 10c It is the generated effect diagram of the horizontal line likelihood map;

[0056] Figures 11a to 11d It is the generated effect diagram of the 3D scene likelihood map;

[0057] Fig.12 is a structural diagram of a road drivable area detection system provided by an embodiment of the present invention;

[0058] Fig.13 yes Fig.12 The structural diagram of the detection device;

[0059] Fig.14 It is a structural diagram of computer equipment. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0062] The inventive concept of the present invention is: utilizing the characteristics of laser radar detection that it is not easily affected by environmental factors such as lighting changes and has high accuracy, first extracting the three-dimensional point cloud information detected by the laser radar, projecting it onto the two-dimensional image of the camera, generating a radar likelihood map based on road features, and then using the two-dimensional image of the road detected by the on-board camera to generate a corresponding visible light likelihood map based on different features of the road (such as color, texture, horizontal line and three-dimensional scene), finally fusing the radar likelihood map and the visible light likelihood map under the Bayesian framework, thereby realizing the detection of the drivable area.

[0063] Based on the above inventive concept, an embodiment of the present invention provides a method for detecting a drivable area of ​​a road, which is suitable for multi-sensor multi-cue fusion road detection. Figure 1 and Figure 2 The method for detecting a drivable road area may include the following steps:

[0064] S1: Acquire radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map.

[0065] It should be noted that, in this embodiment, the lidar uses the kitti dataset.

[0066] Specifically, please refer to Figure 3 , the process of obtaining the radar likelihood map includes:

[0067] (1) Get Figure 4a The radar point cloud data shown is projected onto the two-dimensional image of the vehicle camera, and the effect is as follows Figure 4b As shown; since it is necessary to extract the point cloud data of the road edge detected by the laser radar, it is necessary to process the acquired radar point cloud data in steps (2)-(4).

[0068] (2) performing point cloud preprocessing on the radar point cloud to obtain first data; in this embodiment, the point cloud preprocessing includes road edge area extraction and ground plane segmentation; wherein the purpose of ground plane segmentation is to filter out ground point clouds from point cloud data using the DBSCAN algorithm; it should be noted that the DBSCAN algorithm can adopt a conventional processing flow, which is well known to those skilled in the art and will not be described in detail here.

[0069] (3) Performing road point cloud detection on the first data to obtain second data; in this embodiment, the road point cloud detection includes peak intensity detection and window search, and its effect is as follows: Figure 5 As shown; wherein, the purpose of peak intensity detection is to filter out lane edge points.

[0070] (4) Extract the lane point cloud from the second data to obtain lane edge point cloud data, such as Figure 6 shown.

[0071] (5) Generate a radar likelihood map based on the lane edge point cloud data, such as Figure 7 shown.

[0072] Among them, the lidar generates a radar likelihood map according to the following formula:

[0073] If x i Within the road edge curve

[0074] If x i Beyond the two edge lines

[0075] Among them, x i is the position of the input image in the (u, v) coordinate system, is the distance from both sides of the road edge to the nearest edge curve, is the final generated likelihood graph.

[0076] That is, the above process realizes the projection of the laser radar road edge point cloud onto the two-dimensional image and generates the likelihood map corresponding to the laser radar.

[0077] S2: Obtain a visible light image through a vehicle-mounted camera, and perform multi-cue processing on the visible light image to obtain a visible light likelihood map.

[0078] Specifically, the visible light likelihood map includes one or more of a road color likelihood map, a road texture likelihood map, a horizontal line likelihood map, and a three-dimensional scene likelihood map. The road color likelihood map is obtained by processing the visible light image using color cues; the road texture likelihood map is obtained by processing the visible light image using texture cues; the horizontal line likelihood map is obtained by processing the visible light image using horizontal line cues; and the three-dimensional scene likelihood map is obtained by processing the visible light image using three-dimensional scene layout cues.

[0079] That is, multiple road clue features are extracted from the visible light image acquired by the vehicle-mounted camera, thereby obtaining multiple visible light likelihood maps. The multiple road clue features include but are not limited to color clues, road texture clues, horizontal line clues and three-dimensional scene layout.

[0080] Please refer to Figure 2 and Figure 8 , the specific process of obtaining the road color likelihood map is:

[0081] Due to weather changes, the color appearance of the road varies depending on the acquisition conditions. Therefore, it is necessary to use photometric invariance to improve the robustness to photometric changes. The visible light image obtained by the on-board camera is processed to obtain a shadow-free image, specifically:

[0082]

[0083] r(x i ) = lo g (R(x i ) / G(x i )),b(x i )=log(B(x i ) / G(x i ))

[0084] In this embodiment, the first formula is used to obtain a shadow-free image result. x i is the position of the input image, r(x i ) represents the i-th pixel of the input image, the logarithm of the red value divided by the green value, b(x i) represents the i-th pixel of the input image, the expression of the logarithm of green divided by the green value, and log() is the logarithmic calculation method;

[0085] Among them, G(x i )、B(x i )、R(x i ) represent the green, blue and red colors of the i-th pixel of the input image respectively, and θ is selected as 37.5°.

[0086] In the shadow-free image, a 7×7 square is selected in the drivable area to establish a reference histogram. The reference histogram is used to traverse the entire shadow-free image according to the Bhattacharyya coefficient to establish the following Figure 8 Road color likelihood map shown.

[0087] Please refer to Figure 2 and Fig. 9 , the specific process of obtaining the road texture likelihood map is:

[0088] like Fig. 9 As shown in , it is necessary to determine the vanishing point in the original image, because the vanishing point provides rich information that can be used to determine the direction of the road. Therefore, the Gabor filter is first used to determine the maximum direction of the road edge texture in the original image. Next, the vanishing point of the candidate point is used to perform soft voting on the entire image to locate the position of the vanishing point. Finally, the road texture likelihood map is calculated based on the vanishing point and texture direction. The effect is as follows: Fig. 9 As shown. Fig. 9 In , the vanishing point likelihood map is the aforementioned road texture likelihood map.

[0089] The calculation of the road texture likelihood map is described as follows:

[0090] In the image processing process, the Gabor function is a linear filter used for edge extraction. The maximum direction of the road edge texture is determined by Gabor, and then the vanishing point position is calculated by the soft voting method. That is, two lines (road edges) are determined according to the Gabor function, and the vanishing point position is obtained by soft voting. The area between the two lines is assigned to 1, and the area outside the two lines is assigned to 0, and a binary image is obtained, that is, a road texture likelihood map.

[0091] Among them, the calculation formula of road texture likelihood map is:

[0092]

[0093] refers to the vanishing point, x i is the position of the input image.

[0094] Please refer to Figure 2 , Figures 10a to 10c, the specific process of obtaining the horizontal line likelihood graph is:

[0095] Since the texture clues determine the vanishing point in the image, the horizontal coordinate of the vanishing point can be used to infer the position of the road in the image, that is, to determine the horizontal line h t , the calculation formula of the likelihood graph of the horizontal line is:

[0096]

[0097] That is, determine the horizontal line h t , assign values ​​to the visible light image according to the above formula, if the i row is less than h t , select the first formula and assign it a value of 1, and select the second formula for the others, and finally get the following Fig.10c The binarized image shown.

[0098] Please refer to Figure 2 , Figures 11a to 11d , the specific process of obtaining the three-dimensional scene likelihood graph is:

[0099] The image is divided into three scenes P g , P v , P s (ground, vertical surface, sky), restrict the road to the ground area, and use the superpixel principle to divide each pixel in the image into three pixel values. The formula for calculating the three-dimensional scene layout is:

[0100]

[0101] x i is the position of the input image, is the expression of the likelihood graph, and 3d represents the three labels of the stereo.

[0102] In this embodiment, only the ground area is needed. Therefore, according to the above formula, if P g If the probability of is greater than the maximum value (max) of (vertical surface, sky), choose the first one, otherwise choose the second calculation method.

[0103] That is, the visible light image is divided into the ground, vertical surface and sky, and the three are assigned values ​​using the above method, and finally the following is obtained: Fig.11d The binarized image shown.

[0104] S3: Fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map.

[0105] Specifically, the radar likelihood map and the visible light likelihood map are fused based on a Bayesian fusion formula to obtain a road fusion map;

[0106] Among them, the Bayesian fusion formula is:

[0107]

[0108] P(x|I) is the probability of finding the target position x in the input image I, which is the posterior probability in Bayesian. P(x|L) is the probability of finding the target position x in the input likelihood function L, which is the prior probability in Bayesian. P(L|I) is the probability of constructing the likelihood function L in the input image I, which is the likelihood probability in Bayesian. The integral of the prior probability and the likelihood function is the posterior probability, which is approximately equal to P(x|L i ). P(x|L i ) represents the aforementioned radar likelihood map and visible light likelihood map, w i is the weight of each likelihood graph, and the weight of each likelihood graph is selected as 1 / M, where M is the total number of likelihood graphs.

[0109] S4: performing recognition based on the road fusion graph to obtain a drivable area detection result.

[0110] Specifically, since the obtained road fusion map is a probability, the threshold is set to 0.5. When the fusion result is greater than 0.5, the result is assigned to 1, and when the fusion result is less than 0.5, the result is assigned to 0. For example, the obtained road fusion map is a binary image, and the part with a probability greater than 0.5 is assigned to white, and the part with a probability less than 0.5 is assigned to black. After that, the road area in the image is white, and the non-road area is black, thereby obtaining the drivable area detection result.

[0111] It should be noted that, in this embodiment, the visible light likelihood map obtained according to the visible light image includes but is not limited to the aforementioned four. When the visible light likelihood map and the radar likelihood map are fused, there can be multiple combinations. For example, embodiment 1: any one visible light likelihood map is fused with the radar likelihood map; embodiment 2: any two visible light likelihood maps are fused with the radar likelihood map; embodiment 3: any three visible light likelihood maps are fused with the radar likelihood map; embodiment 4: four visible light likelihood maps are fused with the radar likelihood map. The specific number of visible light likelihood maps to be used and the type of visible light likelihood map to be selected can be selected according to the actual situation.

[0112] From the above description, it can be seen that the method for detecting a drivable road area according to the embodiment of the present invention has the following beneficial effects:

[0113] (1) Road fusion detection based on multiple sensors and multiple clues can effectively detect the drivable area of ​​the road and improve the accuracy of road drivable area detection;

[0114] (2) Based on illumination invariance, road clue features such as color and texture are extracted from road images to generate corresponding likelihood maps, which are then fused with radar likelihood maps obtained from radar point cloud data. This approach can effectively adapt to different luminosity and weather conditions, roads in different environments, and different types of roads, and has a wide range of adaptability.

[0115] (3) It solves the technical problems of single-sensor road detection, such as its inability to adapt to complex weather and scene changes and its proneness to errors;

[0116] (4) It is easier to calculate than traditional fusion detection (neural network detection);

[0117] (5) It can be deployed in unmanned vehicles to detect the drivable area of ​​the unmanned vehicle.

[0118] Please refer to Fig.12 An embodiment of the present invention provides a road drivable area detection system, including a laser radar 100, a vehicle camera 200 and a detection device 300 that communicate with each other.

[0119] like Fig.13 As shown, the detection device 300 includes:

[0120] The first unit 30 is used to obtain radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map;

[0121] The second unit 31 is used to obtain a visible light image through a vehicle-mounted camera, and perform multi-cue processing on the visible light image to obtain a visible light likelihood map;

[0122] A fusion unit 32, used for fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map;

[0123] The recognition unit 33 is used to perform recognition based on the road fusion map to obtain a drivable area detection result.

[0124] Specifically, in this embodiment, the first unit 30 is specifically used for:

[0125] Obtain radar point cloud data through lidar;

[0126] Performing point cloud preprocessing on the radar point cloud data to obtain first data; the point cloud preprocessing includes road edge area extraction processing and ground plane segmentation processing;

[0127] Performing road point cloud detection on the first data to obtain second data; the road point cloud detection includes peak intensity detection and window search;

[0128] Extracting and processing the second data to obtain lane edge point cloud data;

[0129] A radar likelihood map is generated based on the lane edge point cloud data.

[0130] Specifically, the visible light likelihood map includes one or more of a road color likelihood map, a road texture likelihood map, a horizontal line likelihood map, and a three-dimensional scene likelihood map;

[0131] Wherein, the road color likelihood map is obtained by processing the visible light image using color clues;

[0132] The road texture likelihood map is obtained by processing the visible light image using texture clues;

[0133] The horizontal line likelihood map is obtained by processing the visible light image using horizontal line cues;

[0134] The three-dimensional scene likelihood map is obtained by processing the visible light image using three-dimensional scene layout clues.

[0135] Furthermore, the second unit 31 is specifically used to obtain the road color likelihood map, and the specific process is:

[0136] The visible light image is processed based on color clues to obtain a shadow-free image, a reference histogram is established based on the shadow-free image, and the reference histogram is used to traverse the entire shadow-free image based on the Bhattacharyya coefficient to obtain a road color likelihood map.

[0137] Furthermore, the specific process of the second unit 31 for obtaining the road texture likelihood map is as follows:

[0138] The maximum direction of the road edge texture in the visible light image is determined by using a filter, soft voting is performed on the visible light image to locate the vanishing point position, and a road texture likelihood map is obtained according to the maximum direction of the road edge texture and the vanishing point position.

[0139] Furthermore, the specific process of the second unit 31 for obtaining the horizontal line likelihood map is as follows:

[0140] A horizontal line is determined according to the abscissa of the vanishing point, and a horizontal line likelihood map is obtained according to the horizontal line.

[0141] Furthermore, the specific process of the second unit 31 for obtaining the three-dimensional scene likelihood graph is as follows:

[0142] The visible light image is divided into three scenes, and a three-dimensional scene likelihood map is obtained using the superpixel principle.

[0143] Specifically, the fusion unit 32 is used for:

[0144] The radar likelihood map and the visible light likelihood map are fused based on a Bayesian fusion formula to obtain a road fusion map;

[0145] Among them, the Bayesian fusion formula is:

[0146]

[0147] P(x|L i ) represents the aforementioned radar likelihood map and visible light likelihood map, w i is the weight of each likelihood graph, and the weight of each likelihood graph is selected as 1 / M, where M is the total number of likelihood graphs.

[0148] Optionally, in some embodiments of the present application, the detection device may be a computer device. Fig.14 As shown, the computer device may include: one or more processors 101, one or more input devices 102, one or more output devices 103 and a memory 104, wherein the processor 101, the input device 102, the output device 103 and the memory 104 are interconnected via a bus 105. The memory 104 is used to store a computer program, wherein the computer program includes program instructions, and the processor 101 is configured to call the program instructions to execute the method of the above method embodiment.

[0149] It should be understood that in the embodiment of the present invention, the processor 101 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0150] The input device 102 may include a keyboard, etc., and the output device 103 may include a display (LCD, etc.), a speaker, etc.

[0151] The memory 104 may include a read-only memory and a random access memory, and provides instructions and data to the processor 101. A portion of the memory 104 may also include a non-volatile random access memory. For example, the memory 104 may also store information on the device type.

[0152] In a specific implementation, the processor 101, input device 102, and output device 103 described in the embodiment of the present invention can execute the implementation method described in the embodiment of the road drivable area detection method provided in the embodiment of the present invention, which will not be repeated here.

[0153] It should be noted that, regarding the specific working process of the road drivable area detection system, device and computer equipment, please refer to the aforementioned method embodiment part, which will not be repeated here.

[0154] Accordingly, corresponding to the aforementioned method embodiments and Fig.14 The computer device shown in the embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the above-mentioned road drivable area detection method is implemented.

[0155] The computer-readable storage medium may be an internal storage unit of the system described in any of the foregoing embodiments, such as a hard disk or memory of the system. The computer-readable storage medium may also be an external storage device of the system, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the system. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the system and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the system. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0156] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0157] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.

[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0159] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0160] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0161] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting a drivable area of ​​a road, characterized in that: This detection method is suitable for multi-sensor multi-cue fusion road detection, including: Acquire radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map; Acquire a visible light image through a vehicle-mounted camera, and extract multi-road clue features of the visible light image to obtain a visible light likelihood map; Fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map; Performing recognition based on the road fusion graph to obtain a drivable area detection result; Among them, the radar likelihood map is obtained as follows: Obtain radar point cloud data through lidar; Performing point cloud preprocessing on the radar point cloud data to obtain first data; the point cloud preprocessing includes road edge area extraction processing and ground plane segmentation processing; Performing road point cloud detection on the first data to obtain second data; the road point cloud detection includes peak intensity detection and window search; Extracting and processing the second data to obtain lane edge point cloud data; generating a radar likelihood map according to the lane edge point cloud data; The visible light likelihood map includes one or more of a road color likelihood map, a road texture likelihood map, a horizontal line likelihood map, and a three-dimensional scene likelihood map; Wherein, the road color likelihood map is obtained by processing the visible light image using color clues; The road texture likelihood map is obtained by processing the visible light image using texture clues; The horizontal line likelihood map is obtained by processing the visible light image using horizontal line cues; The three-dimensional scene likelihood map is obtained by processing the visible light image using three-dimensional scene layout clues.

2. The method for detecting a drivable road area according to claim 1, wherein: The specific process of obtaining the road color likelihood map is as follows: Processing the visible light image based on color clues to obtain a shadow-free image, establishing a reference histogram based on the shadow-free image, and traversing the entire shadow-free image using the reference histogram based on the Bhattacharyya coefficient to obtain a road color likelihood map; The specific process of obtaining the road texture likelihood map is as follows: Determine the maximum direction of the road edge texture in the visible light image by using a filter, perform soft voting on the visible light image to locate the vanishing point, and obtain a road texture likelihood map according to the maximum direction of the road edge texture and the vanishing point position; The specific process of obtaining the horizontal line likelihood graph is: Determine a horizontal line according to the abscissa of the vanishing point, and obtain a horizontal line likelihood map according to the horizontal line; The specific process of obtaining the three-dimensional scene likelihood graph is as follows: The visible light image is divided into three scenes, and a three-dimensional scene likelihood map is obtained using the superpixel principle.

3. The method for detecting a drivable road area according to claim 1 or 2, characterized in that: The specific process of obtaining the road fusion map includes: The radar likelihood map and the visible light likelihood map are fused based on a Bayesian fusion formula to obtain a road fusion map; Among them, the Bayesian fusion formula is: P(x|I) is the probability of finding the target position x in the input image I, which is the posterior probability in Bayesian. P(x|L) is the probability of finding the target position x in the input likelihood function L, which is the prior probability in Bayesian. P(L|I) is the probability of constructing the likelihood function L in the input image I, which is the likelihood probability in Bayesian. P(x|L i ) represents the aforementioned radar likelihood map and visible light likelihood map, w i is the weight of each likelihood graph, and the weight of each likelihood graph is selected as 1 / M, where M is the total number of likelihood graphs.

4. A road drivable area detection device, characterized in that: The detection device is suitable for multi-sensor multi-cue fusion road detection, including: The first unit is used to obtain radar point cloud data through a laser radar, and process the radar point cloud data to obtain a radar likelihood map; The second unit is used to obtain a visible light image through a vehicle-mounted camera, and extract multiple road clue features of the visible light image to obtain a visible light likelihood map; the multiple road clue features include color clues, road texture clues, horizontal clues and three-dimensional scene layout; A fusion unit, used for fusing the radar likelihood map and the visible light likelihood map to obtain a road fusion map; An identification unit, used for performing identification based on the road fusion graph to obtain a drivable area detection result; Among them, the radar likelihood map is obtained as follows: Obtain radar point cloud data through lidar; Performing point cloud preprocessing on the radar point cloud data to obtain first data; the point cloud preprocessing includes road edge area extraction processing and ground plane segmentation processing; Performing road point cloud detection on the first data to obtain second data; the road point cloud detection includes peak intensity detection and window search; Extracting and processing the second data to obtain lane edge point cloud data; generating a radar likelihood map according to the lane edge point cloud data; The visible light likelihood map includes one or more of a road color likelihood map, a road texture likelihood map, a horizontal line likelihood map, and a three-dimensional scene likelihood map; The second unit is specifically used for: Processing the visible light image based on color clues to obtain a shadow-free image, establishing a reference histogram based on the shadow-free image, and traversing the entire shadow-free image using the reference histogram based on the Bhattacharyya coefficient to obtain a road color likelihood map; Determine the maximum direction of the road edge texture in the visible light image by using a filter, perform soft voting on the visible light image to locate the vanishing point, and obtain a road texture likelihood map according to the maximum direction of the road edge texture and the vanishing point position; Determine a horizontal line according to the abscissa of the vanishing point, and obtain a horizontal line likelihood map according to the horizontal line; The visible light image is divided into three scenes, and a three-dimensional scene likelihood map is obtained using the superpixel principle.

5. A computer device, comprising a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected via a bus, and the memory is used to store a computer program, characterized in that: The computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to claim 3.

6. A computer-readable storage medium storing a computer program, characterized in that: The computer program comprises program instructions, and when the program instructions are executed by a processor, the method according to claim 3 is implemented.

7. A road drivable area detection system, comprising a laser radar, a vehicle-mounted camera and a computer device communicating with each other, characterized in that: The computer device is as claimed in claim 5.