Method and device for detecting drivable area of vehicle
Through the fusion and multi-sensor fusion of two adjacent frames of obstacle probability maps in autonomous vehicles, combined with data from image sensors and ultrasonic radars, the recognition accuracy of the vehicle's drivable area is improved, and the recognition inaccuracy in the existing technology is solved. and instability issues, achieving more detailed drivable area map output.
Patent Information
- Application Number
- CN202310310235.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-11
AI Technical Summary
Existing technology is not accurate enough in identifying drivable areas in autonomous vehicles. The detection results of a single sensor are unstable and uncertain, making it difficult to fully cover in extreme scenarios.
By fusing the obstacle probability maps of two adjacent frames and combining the obstacle probability maps of different sensors, the vehicle's drivable area is determined, and a multi-sensor fusion method of image sensors and ultrasonic radar is used to improve the recognition accuracy.
It improves the recognition accuracy of the vehicle's drivable area, solves the problem of unstable results from a single sensor, enhances the coverage capability in extreme scenarios, and outputs a more refined drivable area map.
Smart Images

Figure CN118762346A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a method and device for detecting a drivable area of a vehicle. Background Art
[0002] Autonomous driving technology has been widely used in vehicles. The core technologies in the field of autonomous driving include intelligent environmental perception, automatic navigation and positioning, driving behavior decision-making, and intelligent path planning and control. In autonomous driving technology, the detection of the vehicle's drivable area is the basis for realizing autonomous driving, which plays a vital role in downstream PNC (Planning and Control) modules.
[0003] The prior art generally uses sensors to obtain and analyze information about the surroundings of the vehicle, thereby identifying the drivable environment around the vehicle. However, the prior art is often not accurate enough in identifying the drivable environment. Summary of the invention
[0004] In view of this, the embodiments of the present application at least provide a method and device for detecting a vehicle drivable area, which can help improve the accuracy of identifying the vehicle drivable area.
[0005] In a first aspect of the present application, a method for detecting a vehicle drivable area is provided, the method comprising: determining a current frame obstacle probability map in a scene in which the vehicle is located based on a target sensor installed on the vehicle; performing the following processing for each pixel point in the current frame obstacle probability map: determining a second pixel position corresponding to the first pixel position of the pixel point in the previous frame obstacle probability map, and determining a second obstacle fusion probability value of the pixel point in the current frame obstacle probability map according to an obstacle detection probability value corresponding to the first pixel position in the current frame obstacle probability map and a first obstacle fusion probability value corresponding to the second pixel position in the previous frame obstacle probability map; and outputting the vehicle drivable area according to the second obstacle fusion probability values corresponding to each pixel point in the current frame obstacle probability map.
[0006] According to a second aspect of the present application, a device for detecting a vehicle drivable area is provided, the device comprising: a probability map determination module, which determines a current frame obstacle probability map in a scene in which a vehicle is located; a position conversion module, which performs the following processing for each pixel point in the current frame obstacle probability map: determining a second pixel position corresponding to the first pixel position of the pixel point in the previous frame obstacle probability map, and determining a second obstacle fusion probability value of the pixel point in the current frame obstacle probability map according to an obstacle detection probability value corresponding to the first pixel position in the current frame obstacle probability map and a first obstacle fusion probability value corresponding to the second pixel position in the previous frame obstacle probability map; and a probability fusion module, which outputs a vehicle drivable area according to the second obstacle fusion probability values corresponding to each pixel point in the current frame obstacle probability map.
[0007] According to a third aspect of the present application, an electronic device is provided, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned vehicle drivable area detection method are performed.
[0008] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for detecting a drivable area of a vehicle are executed.
[0009] In a fifth aspect of the present application, a computer program product is provided, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the above-mentioned method for detecting a drivable area of a vehicle.
[0010] The vehicle drivable area detection method and device provided in the embodiments of the present application are helpful to improve the recognition accuracy of the vehicle drivable area.
[0011] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0013] Figure 1A flow chart showing a method for detecting a vehicle drivable area provided by an exemplary embodiment of the present application;
[0014] Figure 2 A flowchart showing the steps of determining a visual probability map of a current frame provided by an exemplary embodiment of the present application;
[0015] Figure 3 A schematic diagram showing calibration and stitching of an image sensor provided by an exemplary embodiment of the present application is shown;
[0016] Figure 4 A flowchart showing the steps of determining an ultrasound probability map of a current frame provided by an exemplary embodiment of the present application;
[0017] Figure 5 A flowchart showing the steps of determining the probability value of the existence of an obstacle at a sequence point provided by an exemplary embodiment of the present application;
[0018] Figure 6 A schematic diagram showing the installation position and detection area of an ultrasonic radar provided by an exemplary embodiment of the present application;
[0019] Figure 7 A flowchart showing the steps of determining the second obstacle fusion probability value of a pixel point provided by an exemplary embodiment of the present application;
[0020] Figure 8 A schematic diagram showing coordinate transformation provided by an exemplary embodiment of the present application;
[0021] Fig. 9 A schematic diagram of a multi-sensor fusion process provided by an exemplary embodiment of the present application is shown;
[0022] Fig.10 One of the flow charts for probabilistic fusion of multiple frame images provided by an exemplary embodiment of the present application is shown;
[0023] Fig.11 The second flowchart of probabilistic fusion of multiple frame images provided by the exemplary embodiment of the present application is shown;
[0024] Fig.12 A flowchart showing the steps of determining the obstacle synthesis probability value corresponding to each pixel point provided by an exemplary embodiment of the present application;
[0025] Fig.13 A schematic diagram showing post-processing of a vehicle drivable area provided by an exemplary embodiment of the present application;
[0026] Fig.14 A schematic diagram showing the structure of a device for detecting a vehicle drivable area provided by an exemplary embodiment of the present application;
[0027] Fig.15A schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0028] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0029] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0030] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.
[0031] It should be understood that in the embodiments of the present application, "B corresponding to A", "B corresponding to A", "A corresponds to B", or "B corresponds to A" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0032] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0033] At present, autonomous driving technology has been widely used in vehicles. The core technologies in the field of autonomous driving include intelligent environmental perception, automatic navigation and positioning, driving behavior decision-making, and intelligent path planning and control. In autonomous driving technology, the detection of the vehicle's drivable area is the basis for realizing autonomous driving, which plays a vital role in downstream PNC (Planning and Control) modules.
[0034] The existing technology generally uses sensors to obtain and analyze information about the vehicle's surroundings, thereby identifying the drivable area around the vehicle.
[0035] Generally speaking, perception-related sensors in the field of automatic parking include surround-view cameras, ultrasonic radars, etc. The above sensors have different characteristics for detecting various obstacles, so they also have their own advantages in analyzing the drivable area around the vehicle. Surround-view cameras focus on information such as the color and texture of objects, contain rich semantic information, and have great advantages in classifying objects. However, since the camera is in a two-dimensional plane, it is difficult to detect the exact position, distance and other spatial information of the object. The imaging principle of ultrasonic radar makes it more sensitive to the edges and corners of obstacles, so it is more accurate than cameras in detecting the spatial position of obstacles. Although the above-mentioned single sensor can also complete general parking tasks, due to the above-mentioned characteristics, it cannot fully cover some extremely difficult scenarios.
[0036] Due to constraints such as sensor costs and chip computing power, most manufacturers use a single surround view camera or a single ultrasonic radar to complete parking tasks. For a single surround view camera, it is generally based on a 4-way fisheye camera, which is calibrated and spliced to form a surround view area covering a 360-degree range. In this method, the construction of the drivable area around the vehicle body is mainly formed by fusing the semantic segmentation results of the 4-way fisheye images.
[0037] For a single surround view camera, although a surround view can be formed by stitching together the calibration of four fisheye cameras, due to the distortion of the fisheye camera itself, the surround view will still have a large stitching error, and the boundaries of objects in the image will become blurred and deformed, affecting the accurate spatial position of the objects. Secondly, since the semantic segmentation results are output by the deep learning model, external factors such as weather and light will cause the results to be unstable, and the generated drivable area results are full of uncertainty.
[0038] For a single ultrasonic radar solution, it generally includes 12 ultrasonic radars on the vehicle body, which construct the obstacle boundary information around the vehicle body through multi-point distance information, thereby constructing a drivable area.
[0039] The single ultrasonic radar solution can obtain better object location information than the above solutions, but because the ultrasonic radar data only contains obstacle boundary points and the form is too simple, it cannot accurately give the actual category of the object, such as people, walls, etc., so the entire system cannot make more humane and safe specific operations. In addition, the propagation speed of ultrasound is closely related to the external temperature, and different environments and scenes have a great impact on the actual effect.
[0040] In response to at least one of the above problems, the present application proposes a method and device for detecting a vehicle drivable area, which improves the recognition accuracy of the vehicle drivable area by fusing two adjacent frames of obstacle probability maps. In addition, the obstacle probability maps of different sensors can be fused to solve the problem of unstable and uncertain detection results of a single sensor for the vehicle drivable area.
[0041] To facilitate understanding of the present application, the vehicle drivable area detection method and device provided in the embodiments of the present application are described in detail below.
[0042] See also Figure 1 , is a flow chart of a method for detecting a vehicle drivable area provided by an exemplary embodiment of the present application. Exemplarily, the method for detecting a vehicle drivable area can be executed by an onboard controller of a vehicle. The method for detecting a vehicle drivable area specifically includes:
[0043] Step S100: Based on the target sensor installed on the vehicle, determine the obstacle probability map of the current frame in the scene where the vehicle is located.
[0044] In an exemplary embodiment of the present application, the target sensor may be any sensor that can be installed on a vehicle and can detect obstacles around the vehicle. Exemplarily, the target sensor may include but is not limited to at least one of the following: at least one image sensor, at least one ultrasonic radar.
[0045] Here, the above-mentioned obstacles may refer to dynamic and / or static objects indoors and outdoors that can hinder the normal travel of vehicles and other equipment. For example, obstacles located indoors may include but are not limited to at least one of the following items: people, walls, tables and chairs; obstacles located outdoors may include but are not limited to at least one of the following items: people, vehicles (cars, bicycles, power-assisted bicycles), fences, and curbs.
[0046] In the exemplary embodiment of the present application, the obstacle probability map is obtained after the image captured by the target sensor is probabilized. That is, the obstacle probability map includes a plurality of pixels, each of which corresponds to a probability value, and the probability value is used to represent the probability of an obstacle existing at the location of the pixel.
[0047] Refer to the following Figure 2-Figure 6 This paper introduces the specific process of obtaining the obstacle probability map of the current frame when different sensors are installed on the vehicle.
[0048] In a first embodiment, at least one image sensor is mounted on a vehicle.
[0049] In this case, the obstacle probability map is a visual probability map. That is, the visual probability map can be obtained by probabilizing a visual image captured by at least one image sensor installed on the vehicle.
[0050] Figure 2 A flowchart showing the steps of determining a visual probability map of a current frame provided by an exemplary embodiment of the present application.
[0051] Reference Figure 2 In step S110, the current frame surround stitching graph is determined.
[0052] Here, a visual image captured by at least one image sensor installed on the vehicle at the current frame time is obtained, and the at least one obtained visual image is spliced to form a current frame surround view splicing image.
[0053] Figure 3 A schematic diagram of image sensor calibration and stitching provided by an exemplary embodiment of the present application is shown.
[0054] like Figure 3 As shown, in this example, it is assumed that four image sensors (such as four fisheye cameras) are installed on the front, rear, left and right sides of the vehicle. The four fisheye cameras capture the visual image of the front side of the vehicle, the visual image of the rear side of the vehicle, the visual image of the left side of the vehicle, and the visual image of the right side of the vehicle in the current frame respectively, and the four visual images are stitched to obtain the current frame surround stitching image. There are overlapping parts of the shooting range between the four fisheye cameras, such as the stitching areas C1 to C4 (the shaded areas in the figure) shown in the figure.
[0055] It should be understood that Figure 3 The splicing method shown is only an example, and the present application is not limited thereto. In addition, the number and installation positions of the sensors listed in the above examples are only examples, and the present application is not limited thereto. Those skilled in the art can adjust the number and installation positions as needed.
[0056] return Figure 2 In step S120, the obstacle confidence matrix corresponding to the surround view splicing map of the current frame is determined.
[0057] Here, each element in the obstacle confidence matrix is used to represent the obstacle confidence value of a corresponding pixel in the current frame surround view mosaic. The obstacle confidence value can indicate the probability of the existence of an obstacle at the pixel, and can be represented by a value between 0 and 1. The number of elements in the obstacle confidence matrix is consistent with the number of pixels in the current frame surround view mosaic, and the arrangement positions correspond. For example, if the current frame surround view mosaic consists of a rows and b columns of pixels, the obstacle confidence matrix is an a×b matrix.
[0058] For example, the current frame surround view stitching map may be input into the perception module of the vehicle to output a segmentation confidence map corresponding to the current frame surround view stitching map to form an obstacle confidence matrix M1.
[0059] In step S130, a stitching correction matrix corresponding to the current frame surround stitching graph is determined.
[0060] In an exemplary embodiment of the present application, by introducing a stitching correction matrix, the camera distortion at the stitching boundary can be suppressed.
[0061] Exemplarily, the splicing correction matrix may include at least one of a splicing coefficient matrix and a splicing error matrix. The splicing coefficient matrix and the splicing error matrix may be obtained from the splicing module. Here, the splicing coefficient matrix and the splicing error matrix have the same order (rows and columns) as the obstacle confidence matrix.
[0062] In the embodiment of the present application, the stitching coefficient matrix is used to characterize the correlation of pixel values between two visual images when stitching, and each element in the stitching coefficient matrix represents the stitching coefficient of a corresponding pixel point.
[0063] For example, taking the current frame surround stitching image completed by calibrating and stitching 4 fisheye cameras as an example, during stitching, for each pixel point, two adjacent visual images need to be stitched according to the corresponding stitching coefficient. The stitching coefficient represents the correlation between the pixel values of each camera when the 4 fisheye cameras are stitched. The closer the value is to 0 or 1, the smaller the distortion of the surround stitching image at the pixel point is.
[0064] For example, the stitching coefficient corresponding to each pixel point can be determined in the following manner: respectively determine the stitching weight value of the first visual image and the second visual image to be stitched at the position of the pixel point, and the stitching weight value is used to characterize the influence of the corresponding visual image on the stitched image. The higher the influence, the larger the value, such as s1 and s2, respectively, the sum of s1 and s2 is 1, and the absolute value of the difference between any stitching weight value and the reference weight value s (such as 0.5) is calculated, such as calculating |s1-s| or |s2-s|, and the ratio of the above absolute value to the reference weight value is determined as the stitching coefficient corresponding to the pixel point. It should be understood that the above method of determining the stitching coefficient is only an example, and the present application is not limited thereto. The stitching system can also be determined in other ways.
[0065] In the embodiment of the present application, the stitching error matrix is used to characterize the error generated by stitching visual images.
[0066] Typically, the stitching error is largest in the cross-camera stitching area (the shaded area in the four corners of the figure), so the stability and accuracy at this location will be correspondingly lower.
[0067] In the exemplary embodiment of the present application, since the surround view stitching image is obtained by stitching, taking into account that there is a certain deviation in the judgment of the probability of the existence of obstacles in the segmentation confidence map output by the perception module, the stitching deviation during stitching is corrected by introducing a stitching coefficient matrix, and the stitching error after stitching is corrected by introducing a stitching error matrix, thereby being able to better suppress the distortion at the stitching boundary.
[0068] In step S140, the visual probability map of the current frame is determined based on the obstacle confidence matrix and the splicing correction matrix.
[0069] Taking the splicing correction matrix including the splicing coefficient matrix and the splicing error matrix as an example, the point-by-point multiplication method can be used to obtain the current frame visual probability map. The specific formula is as follows:
[0070] M fuse =M1·M2·M3 (1)
[0071] In formula (1), M fuse represents the visual probability map of the current frame, M1 represents the obstacle confidence matrix, M2 represents the splicing coefficient matrix, and M3 represents the splicing error matrix. Here, M fuse Each element in is the product of the elements at the corresponding position in M1, M2, and M3.
[0072] The above-mentioned current frame visual probability map is modified according to the visual image captured by the image sensor, such as generating a segmentation confidence map and correcting it, and then coordinate transformation is performed on the visual probability maps of multiple frames to achieve point-to-point probability fusion of multiple frames.
[0073] In a second embodiment, at least one ultrasonic radar is installed on the vehicle.
[0074] In this case, the obstacle probability map is an ultrasonic probability map. That is, the ultrasonic probability map can be obtained by probabilizing sequence points captured by at least one ultrasonic radar installed on the vehicle.
[0075] Figure 4 A flowchart showing the steps of determining an ultrasound probability map of a current frame provided by an exemplary embodiment of the present application.
[0076] Reference Figure 4 In step S101, the probability value of the existence of an obstacle at each sequence point detected by the ultrasonic radar is determined.
[0077] Figure 5 A flowchart showing the steps of determining a probability value of an obstacle existing at a sequence point provided by an exemplary embodiment of the present application.
[0078] Reference Figure 5 In step S1011, the evaluation distance is determined based on the installation position of the ultrasonic radar and the coordinate position of the sequence point.
[0079] Here, the installation position of the ultrasonic radar and the coordinate position of the sequence point are in the same coordinate system, and the coordinate system can be any predefined coordinate system (such as an image coordinate system or a vehicle body coordinate system).
[0080] Figure 6 A schematic diagram showing the installation position and detection area of an ultrasonic radar provided by an exemplary embodiment of the present application.
[0081] like Figure 6 As shown in the figure, point E represents the installation position of the ultrasonic radar, the area surrounded by the thick solid line is the FOV (Field of view) area of the ultrasonic radar, and the ultrasonic radar can obtain multiple sequence points through scanning. Point Q represents a sequence point detected by the ultrasonic radar. In this case, each sequence point can be probabilized based on the installation position and FOV area of the ultrasonic radar.
[0082] As an example, the evaluation distance may be determined by the following formula:
[0083]
[0084] In formula (2), (x0, y0) is the installation position of a certain ultrasonic radar based on the image or vehicle body coordinate system, and (x, y) is the coordinate position of a sequence point in the corresponding coordinate system.
[0085] return Figure 5 In step S1012, the probability value of the existence of an obstacle at the sequence point detected by the ultrasonic radar is determined according to the evaluation distance and the detection distance corresponding to the sequence point.
[0086] Here, since the ultrasonic obstacle is represented as a sequence of points, the probability of the obstacle boundary can be roughly calculated based on the point-to-point distance. The calculation method is as follows:
[0087]
[0088] In formula (3), w represents the probability of an obstacle existing at the sequence point, and D is the distance of the current ultrasonic point (i.e., the detection distance corresponding to the sequence point, such as Figure 6 In this way, a progressive weight value of 0 to 1 can be generated in the FOV area corresponding to a single ultrasonic radar through the above method.
[0089] return Figure 4 In step S102, the probability values corresponding to all sequence points detected by each ultrasonic radar are mapped to the grid map according to the pixel index position to obtain the ultrasonic probability map of the current frame.
[0090] Here, the grid map refers to a map represented in the form of an image, each grid represents a pixel, and the map resolution is the actual physical distance between two adjacent pixels. The size of the grid map is consistent with the size of the current frame surround mosaic map.
[0091] In the above manner, each sequence point detected by the ultrasonic radar is rasterized, and the pixel index position indicates the mapping relationship between the sequence point and the grid of the grid map. After rasterization, an ultrasonic probability map of the current frame of ultrasonic detection can be formed.
[0092] It should be understood that the probabilistic method of ultrasonic obstacles is not limited to the linear method listed in this application, and can also be other probability-based statistical models, such as Gaussian distribution, 0-1 distribution, etc.
[0093] The above current frame ultrasonic probability map is modified for the obstacle sequence points captured by the ultrasonic radar. When processing ultrasonic data, it is necessary to additionally probabilize and rasterize the ultrasonic obstacle sequence points and convert them into a raster map. Subsequently, coordinate transformation is performed on the ultrasonic probability maps of multiple frames to achieve point-to-point probability fusion of multiple frames.
[0094] return Figure 1, step S200: determining a second obstacle fusion probability value of each pixel point in the obstacle probability map of the current frame.
[0095] In the embodiment of the present application, the following operations may be performed for each pixel in the obstacle probability map of the current frame: Figure 7 The processing steps shown are used to obtain the second obstacle fusion probability value of each pixel in the obstacle probability map of the current frame.
[0096] Figure 7 A flowchart showing the steps of determining a second obstacle fusion probability value of a pixel point provided by an exemplary embodiment of the present application is shown.
[0097] Reference Figure 7 In step S201, a second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame is determined.
[0098] Here, the first pixel position is the position of the pixel point in the obstacle probability map of the current frame, and the second pixel position is the pixel position obtained by projecting the pixel point onto the obstacle probability map of the previous frame through cross-temporal and spatial projection.
[0099] In the embodiment of the present application, the pixel position refers to the coordinate position of the pixel point in the image coordinate system of the obstacle probability map. For example, the image coordinate system can take the upper left corner vertex of the obstacle probability map as the coordinate origin, take the origin to the right as the horizontal axis of the coordinate system, and take the origin downward as the vertical axis of the coordinate system. It should be understood that the above-mentioned method of defining the image coordinate system is only an example, and the present application does not limit this.
[0100] Based on this, the pixel point in the obstacle probability map of the current frame can be mapped to the obstacle probability map of the previous frame through coordinate transformation of the image coordinate system, the relative coordinate system and the reference coordinate system, and the mapping position in the obstacle probability map of the previous frame is determined as the second pixel position of the pixel point.
[0101] Exemplarily, during the driving process of the vehicle, the relative positional relationship between the relative coordinate system and the image coordinate system remains fixed, and the coordinate origin of the reference coordinate system remains fixed.
[0102] Taking the vehicle driving scene as an example, the relative coordinate system includes the body coordinate system. The relative position relationship between the coordinate origin of the body coordinate system and the installation position of the target sensor on the vehicle is fixed. The reference coordinate system can be the world coordinate system, and can be an odometer coordinate system for example. Here, the odometer refers to a device (installed on the vehicle) for measuring the distance. That is to say, at any time during the vehicle driving process, the relative position relationship between the image coordinate system and the body coordinate system remains unchanged, the coordinate origin of the odometer coordinate system remains unchanged, and the body coordinate system moves relative to the odometer coordinate system as the vehicle drives.
[0103] like Figure 8 The coordinate conversion process shown realizes the projection across time and space through the coordinate transformation process from image coordinate system → vehicle coordinate system → world coordinate system → vehicle coordinate system → image coordinate system.
[0104] When fusing two adjacent obstacle probability maps, it is necessary to establish the relationship between the pixels in the two obstacle probability maps, that is, to calculate the first pixel position LocImg in the image coordinate system of the obstacle probability map of the current frame. t The second pixel position LocImg in the image coordinate system corresponding to the obstacle probability map of the previous frame t-1 The above conversion process needs to use the world coordinate system as a bridge to complete the cross-time and space projection. Taking the visual probability map as an example, the conversion between the image coordinate system and the vehicle coordinate system depends on the stitching parameters given by the Around View Monitor (AVM), and the two are fixed transformations. The conversion between the vehicle coordinate system and the world coordinate system needs to rely on the positioning calculation of the previous and next two frames, which is a non-fixed transformation.
[0105]
[0106]
[0107]
[0108]
[0109] The formulated conversion process is as follows: LocImg, LocCar, and LocOdom are the positions in the image coordinate system, the vehicle coordinate system, and the world coordinate system, respectively; f1 and f2 are the conversion functions from the image coordinate system to the vehicle coordinate system, and from the vehicle coordinate system to the world coordinate system, respectively. and They represent the corresponding inverse conversion functions, The fixed stitching parameters given by the surround stitching module, Odom t Odom is the positioning parameter from the vehicle coordinate system of the current frame to the world coordinate system. t-1 It is the positioning parameter involved in the transformation from the world coordinate system to the vehicle coordinate system of the previous frame. W1~W4 represent the conversion coefficients used in the transformation of different coordinate systems, and b1 and b4 represent the offset values.
[0110] When processing each frame, the above four steps of conversion are unified into one step to realize the matrix conversion process, as shown in the following formula:
[0111]
[0112] In step S202, a second obstacle fusion probability value of a pixel point is determined according to the obstacle detection probability value corresponding to the first pixel position and the first obstacle fusion probability value corresponding to the second pixel position.
[0113] Here, the obstacle detection probability value is used to characterize the probability that an obstacle exists at the first pixel position in the obstacle probability map of the current frame. The first obstacle fusion probability value is used to characterize the probability that an obstacle exists at the second pixel position in the obstacle probability map of the previous frame. This probability covers the probability fusion results of the obstacle probability map of the previous frame and the obstacle probability maps of the previous frames. The second obstacle fusion probability value is used to characterize the probability fusion result of the first pixel position in the obstacle probability map of the current frame.
[0114] return Figure 1 , step S300: output the vehicle drivable area according to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame.
[0115] Here, the vehicle drivable area (freespace) may refer to an area where a vehicle can normally travel through and has no obstacles, such as an empty road, floor tiles, carpets, etc.
[0116] The following describes the process of obtaining the vehicle's drivable area when different sensors are installed on the vehicle.
[0117] In the first case, at least one image sensor is installed on the vehicle. In this case, the obstacle probability map of the current frame is the visual probability map of the current frame.
[0118] In this case, the multi-frame visual probability map is subjected to point-to-point probability fusion through the above-mentioned step S200, that is, the current frame visual fusion map is formed according to the second obstacle fusion probability value corresponding to each pixel point in the current frame visual probability map, and the vehicle drivable area is determined by the current frame visual fusion map.
[0119] In the second case, at least one ultrasonic radar is installed on the vehicle. In this case, the obstacle probability map of the current frame is the ultrasonic probability map of the current frame.
[0120] In this case, the multi-frame ultrasonic probability map is subjected to point-to-point probability fusion through the above step S200, that is, the current frame ultrasonic fusion map is formed according to the second obstacle fusion probability value corresponding to each pixel point in the current frame ultrasonic probability map, and the vehicle drivable area is determined by the current frame ultrasonic fusion map.
[0121] In the third case, at least one image sensor and at least one ultrasonic radar are installed on the vehicle. In this case, the obstacle probability map of the current frame is the visual probability map of the current frame and the ultrasonic probability map of the current frame.
[0122] In this case, this application adopts the method of fusion of surround view camera and ultrasonic radar, and performs deep fusion based on the visual drivable area and ultrasonic obstacle contour. It can accurately classify the categories of obstacles around the vehicle body based on the visual segmentation results, and absorb the advantage of accurate ultrasonic radar distance to further optimize the obstacle boundaries in the drivable area and output a more refined drivable area image. For places where multi-frame fusion and visual ultrasonic obstacle fusion conflict, the probabilistic fusion method is more theoretical and can further improve accuracy.
[0123] Refer to the following Fig. 9 The processing flow shown is used to introduce the process of multi-sensor fusion.
[0124] Fig. 9 A schematic diagram of a multi-sensor fusion process provided by an exemplary embodiment of the present application is shown.
[0125] like Fig. 9 As shown in the figure, the general process of visual and ultrasonic drivable area fusion mainly includes three parts: multi-frame fusion of visual probability map, multi-frame fusion of ultrasonic probability map and drivable area fusion of multiple sensors (image sensor, ultrasonic radar). Here, the data collected by different sensors need to be time-aligned.
[0126] For example, a visual fusion map of the current frame (at time t) can be formed by point-to-point probability fusion of the visual probability map of the current frame (at time t-1) and a ultrasonic fusion map of the current frame can be formed by point-to-point probability fusion of the ultrasonic probability map of the current frame and the ultrasonic probability map of the previous frame. Then, the visual fusion map of the current frame and the ultrasonic fusion map of the previous frame can be probabilistically fused to output the drivable area of the vehicle.
[0127] The multi-sensor drivable area fusion further integrates the above-mentioned visual and ultrasonic multi-frame fusion drivable area maps to absorb the advantages of both and output a more accurate drivable area map.
[0128] Through the above-mentioned fusion process of the embodiment of the present application, it is possible to not only extract rich semantic information of the visual image, but also integrate the advantage of the accurate spatial position of ultrasonic obstacles, thereby compensating for many problems in the fusion of the drivable area of a single sensor.
[0129] In an exemplary embodiment of the present application, the multiple frames of images in the above step S200 or the different sensor images in the above step can be probabilistically fused by various fusion methods, and the present application does not impose any limitation on this.
[0130] Combine the following Figure 10-12A variety of probabilistic fusion methods are introduced. It should be understood that the probabilistic fusion methods listed below are only examples. Those skilled in the art can also perform probabilistic fusion of multiple frames of images or images from different sensors through other fusion methods (such as statistical models based on probability). In addition, the various probabilistic fusion methods listed below are applicable to probabilistic fusion of multiple frames of images and also to probabilistic fusion of images from different sensors. The repeated contents will not be repeated in the embodiments of this application.
[0131] Fig.10 One of the flow charts for probabilistic fusion of multiple frame images provided by an exemplary embodiment of the present application is shown.
[0132] Reference Fig.10 In step S3011, the weight values corresponding to the obstacle probability map of the current frame and the obstacle probability map of the previous frame are determined respectively.
[0133] Here, the weight value can be determined based on the probability value corresponding to each pixel point in the obstacle probability map. For the obstacle probability map of the current frame, the probability value is the obstacle detection probability value corresponding to the pixel point. For the obstacle probability map of the previous frame, the probability value is the first obstacle fusion probability value corresponding to the pixel point.
[0134] In one example, the weight value may be determined in the following manner:
[0135]
[0136] In formula (9), a i Represents the weight value of the obstacle probability map of the current frame corresponding to the i-th pixel, P i Represents the obstacle detection probability value of the i-th pixel in the obstacle probability map of the current frame, It represents the sum of the obstacle detection probability value of the i-th pixel in the obstacle probability map of the current frame and the first obstacle fusion probability value in the obstacle probability map of the previous frame.
[0137] Correspondingly, the above formula (9) can also be used to calculate the weight value of the obstacle probability map of the previous frame corresponding to the i-th pixel point, and this application will not elaborate on this content.
[0138] In another example, the weight value may be determined in the following manner:
[0139]
[0140] In formula (10), It represents the sum of the obstacle detection probability value of the i-th pixel in the obstacle probability map of the current frame after calculating the e-index and the first obstacle fusion probability value in the obstacle probability map of the previous frame after calculating the e-index.
[0141] In step S3012, a weighted sum value corresponding to the pixel point is determined based on the obstacle detection probability value corresponding to the pixel point, the first obstacle fusion probability value, and the weight values corresponding to each of them.
[0142] For example, the weighted sum of the weight value of the obstacle probability map of the current frame corresponding to the i-th pixel and the obstacle detection probability value of the i-th pixel in the obstacle probability map of the current frame, the weight value of the obstacle probability map of the previous frame corresponding to the i-th pixel and the first obstacle fusion probability value of the i-th pixel in the obstacle probability map of the previous frame can be weightedly summed to obtain the weighted sum value corresponding to the pixel.
[0143] In step S3013, the minimum value between the first reference value and the weighted sum value is determined.
[0144] Exemplarily, the first reference value may be 1, but the present application is not limited thereto, and the first reference value may also be set to other values.
[0145] In step S3014, the maximum value between the second reference value and the minimum value is determined as the second obstacle fusion probability value corresponding to the pixel point.
[0146] P=max(0,min(1,∑aiPi)) (11)
[0147] In formula (11), P represents the second obstacle fusion probability value corresponding to the pixel point, ∑aiPi represents the weighted sum value, and min represents the minimum value between the first reference value (eg, 1) and the weighted sum value.
[0148] Fig.11 The second flowchart of probabilistic fusion of multiple frame images provided by the exemplary embodiment of the present application is shown.
[0149] Reference Fig.11 In step S3021, based on the first obstacle fusion probability value of the pixel point in the obstacle probability map of the previous frame, the first conditional probability corresponding to the pixel point in the obstacle probability map of the current frame is determined.
[0150] In step S3022, a first intermediate value is determined according to the first conditional probability and a first obstacle fusion probability value corresponding to the pixel point in the obstacle probability map of the previous frame.
[0151] Exemplarily, the first intermediate value may be determined by the following formula:
[0152]
[0153] In formula (12), P1 represents the first intermediate value, is the first obstacle fusion probability value corresponding to the pixel point in the obstacle probability map of the previous frame, is the first conditional probability.
[0154] In step S3023, based on the obstacle reverse probability value of the pixel point in the obstacle probability map of the previous frame, the second conditional probability corresponding to the pixel point in the obstacle probability map of the current frame is determined.
[0155] Here, the obstacle reverse probability value is used to indicate the probability that there is no obstacle at the pixel point.
[0156] In step S3024, a second intermediate value is determined according to the second conditional probability and the obstacle reverse probability value corresponding to the pixel point in the obstacle probability map of the previous frame.
[0157] Exemplarily, the second intermediate value may be determined by the following formula:
[0158]
[0159] In formula (13), P2 represents the second intermediate value,
[0160] Exemplarily, the first conditional probability can be expressed as is the obstacle reverse probability value corresponding to the pixel point in the obstacle probability map of the previous frame, is the second conditional probability.
[0161] In step S3025, a second obstacle fusion probability value corresponding to the pixel point is determined according to the first intermediate value and the second intermediate value.
[0162] Exemplarily, the second obstacle fusion probability value corresponding to the pixel point It can be determined by the following formula:
[0163]
[0164] Through the above fusion method, the problem of unstable probability values in the obstacle probability map can be well solved. In addition, the obstacle fusion probability at time t is determined by the probability value at the current time and the probability value of the obstacle at time t-1. This can not only solve the problem of jumps in obstacle probability, but also make the probability change smoother.
[0165] Fig.12 A flowchart showing the steps of determining the obstacle synthesis probability value corresponding to each pixel point provided by an exemplary embodiment of the present application.
[0166] Reference Fig.12 In step S3031, the conflict factor value between the current frame visual fusion image and the current frame ultrasonic fusion image is determined.
[0167] Here, the above-mentioned conflict factor value can be set in advance, and the specific numerical value of the conflict factor value can be set according to different frames, that is, when two frames are fused, the conflict factor value corresponding to each pixel point is the same. It can also be determined according to the probability value of the pixel point, that is, the conflict factor values corresponding to different probability values can be different. For example, when the probability value of the two frames of images corresponding to the pixel point is 0.4+0.6, a conflict factor value is set, and when the probability value of the two frames of images corresponding to the pixel point is 0.3+0.7, a conflict factor value is set.
[0168] Exemplarily, the conflict factor value may satisfy the following expression:
[0169]
[0170] In formula (15), A i and B j represents the visual fusion image of the current frame and the ultrasonic fusion image of the current frame (or it can also represent two sensors, such as vision and ultrasonic), m1(A i ) represents the obstacle detection probability value corresponding to the pixel position in the obstacle probability map of the current frame, m2(B j ) represents the first obstacle fusion probability value corresponding to the pixel point in the obstacle probability map of the previous frame.
[0171] In step S3032, the obstacle synthesis probability value corresponding to each pixel point is determined.
[0172] For each pixel point, the obstacle synthesis probability value corresponding to the pixel point is determined based on the conflict factor value, the second obstacle fusion probability value corresponding to the third pixel position of the pixel point in the visual fusion image of the current frame, and the second obstacle fusion probability value corresponding to the fourth pixel position of the pixel point in the ultrasonic fusion image of the current frame, so as to form a vehicle drivable area based on the obstacle synthesis probability values corresponding to each pixel point.
[0173]
[0174] In formula (16), m(A) represents the obstacle synthesis probability value corresponding to the pixel point.
[0175] Due to the volatility of existing data, such as unstable visual results and coordinate conversion errors, the drivable area results obtained by multi-frame fusion still have some rough edges and holes, such as Fig.13 As shown, 10 represents a map displayed on the vehicle's onboard display, A1 and B1 represent identified obstacles respectively. It can be seen from the figure that the edges of the identified obstacles A1 and B1 are not smooth and have holes.
[0176] In view of the above situation, it is necessary to use some morphological methods for post-processing optimization, such as expansion corrosion, to obtain the processed obstacles A2 and B2.
[0177] It should be understood that the probabilistic fusion method of the above-mentioned vehicle drivable area in the embodiment of the present application is not limited to parking scenarios, but can also be applied to other autonomous driving scenarios such as vehicle driving. The sensors involved are not limited to surround-view cameras, ultrasonic waves, etc., but can also be applied to long- and short-focus cameras, millimeter-wave radars, etc.
[0178] Based on the same application concept, an embodiment of the present application also provides a detection device for a vehicle drivable area corresponding to the method provided in the above embodiment. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the detection method for the vehicle drivable area in the above embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0179] Fig.14 A schematic diagram of the structure of a detection device for a vehicle drivable area provided by an exemplary embodiment of the present application. Fig.14 As shown, the detection device 800 of the vehicle drivable area includes:
[0180] The probability map determination module 810 determines the obstacle probability map of the current frame in the scene where the vehicle is located;
[0181] The position conversion module 820 performs the following processing for each pixel point in the obstacle probability map of the current frame: determining a second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame, and determining a second obstacle fusion probability value of the pixel point in the obstacle probability map of the current frame according to the obstacle detection probability value corresponding to the first pixel position in the obstacle probability map of the current frame and the first obstacle fusion probability value corresponding to the second pixel position in the obstacle probability map of the previous frame;
[0182] The probability fusion module 830 outputs the vehicle drivable area according to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame.
[0183] In an optional embodiment of the present application, the pixel position refers to the coordinate position of the pixel point in the image coordinate system of the obstacle probability map, wherein the position conversion module 820 is further used to: map the pixel point in the obstacle probability map of the current frame to the obstacle probability map of the previous frame through coordinate transformation of the image coordinate system, the relative coordinate system and the reference coordinate system, and determine the mapping position in the obstacle probability map of the previous frame as the second pixel position of the pixel point, wherein during the driving process of the vehicle, the relative position relationship between the relative coordinate system and the image coordinate system is fixed and unchanged, and the coordinate origin of the reference coordinate system is fixed and unchanged.
[0184] In an optional embodiment of the present application, the relative coordinate system includes a vehicle body coordinate system, the relative position relationship between the coordinate origin of the vehicle body coordinate system and the installation position of the target sensor on the vehicle is fixed, and the reference coordinate system includes an odometer coordinate system.
[0185] In an optional embodiment of the present application, the obstacle probability map includes at least one of a visual probability map and an ultrasonic probability map, the visual probability map is determined based on a visual image captured by an image sensor installed on the vehicle, and the ultrasonic probability map is determined based on a sequence of points captured by an ultrasonic radar installed on the vehicle.
[0186] In an optional embodiment of the present application, the probability map determination module 810 determines the current frame visual probability map in the following manner: determining a current frame surround view stitching map, wherein the current frame surround view stitching map is formed by stitching visual images captured by image sensors installed on the vehicle; determining an obstacle confidence matrix corresponding to the current frame surround view stitching map, wherein each element in the obstacle confidence matrix is used to represent an obstacle confidence value of a corresponding pixel point in the current frame surround view stitching map; determining a stitching correction matrix corresponding to the current frame surround view stitching map; and determining the current frame visual probability map based on the obstacle confidence matrix and the stitching correction matrix.
[0187] In an optional embodiment of the present application, the stitching correction matrix includes at least one of a stitching coefficient matrix and a stitching error matrix, wherein the stitching coefficient matrix is used to characterize the correlation between pixel values between two visual images during stitching, and the stitching error matrix is used to characterize the errors generated by stitching visual images.
[0188] In an optional embodiment of the present application, the probability map determination module 810 determines the ultrasonic probability map of the current frame in the following manner: determining the probability value of the existence of an obstacle at the sequence points detected by each ultrasonic radar; mapping the probability values corresponding to all sequence points detected by each ultrasonic radar to the grid map according to the pixel index position to obtain the ultrasonic probability map of the current frame.
[0189] In an optional embodiment of the present application, the probability map determination module 810 determines the probability value of the existence of an obstacle at each sequence point detected by each ultrasonic radar in the following manner: based on the installation position of the ultrasonic radar and the coordinate position of the sequence point, an evaluation distance is determined; based on the evaluation distance and the detection distance corresponding to the sequence point, the probability value of the existence of an obstacle at the sequence point detected by the ultrasonic radar is determined.
[0190] In an optional embodiment of the present application, the current frame obstacle probability map includes a current frame visual probability map and a current frame ultrasonic probability map, wherein the probability fusion module 830 is further used to: form a current frame visual fusion map according to the second obstacle fusion probability value corresponding to each pixel point in the current frame visual probability map; form a current frame ultrasonic fusion map according to the second obstacle fusion probability value corresponding to each pixel point in the current frame ultrasonic probability map; and output the vehicle drivable area by fusing the current frame visual fusion map and the current frame ultrasonic fusion map.
[0191] In an optional embodiment of the present application, the probabilistic fusion module 830 fuses each pixel in the current frame visual fusion image and the current frame ultrasonic fusion image in the following manner: determining the conflict factor value between the current frame visual fusion image and the current frame ultrasonic fusion image; determining the obstacle synthesis probability value corresponding to the pixel point based on the conflict factor value, the second obstacle fusion probability value corresponding to the third pixel position of the pixel point in the current frame visual fusion image, and the second obstacle fusion probability value corresponding to the fourth pixel position of the pixel point in the current frame ultrasonic fusion image, so as to form a vehicle drivable area based on the obstacle synthesis probability values corresponding to each pixel point.
[0192] In an optional embodiment of the present application, the probability fusion module 830 determines the second obstacle fusion probability value of each pixel in the obstacle probability map of the current frame in the following manner: respectively determine the weight values corresponding to the obstacle probability map of the current frame and the obstacle probability map of the previous frame, the weight values are determined based on the probability values corresponding to each pixel in the obstacle probability map, and the probability value is the obstacle detection probability value or the first obstacle fusion probability value corresponding to the pixel; determine the weighted sum value corresponding to the pixel based on the obstacle detection probability value, the first obstacle fusion probability value and the corresponding weight values; determine the minimum value between the first reference value and the weighted sum value; and determine the maximum value between the second reference value and the minimum value as the second obstacle fusion probability value corresponding to the pixel.
[0193] In an optional embodiment of the present application, the probability fusion module 830 determines the second obstacle fusion probability value of each pixel in the obstacle probability map of the current frame in the following manner: based on the first obstacle fusion probability value of the pixel in the obstacle probability map of the previous frame, determining the first conditional probability corresponding to the pixel in the obstacle probability map of the current frame; determining the first intermediate value according to the first conditional probability and the first obstacle fusion probability value corresponding to the pixel in the obstacle probability map of the previous frame; determining the second conditional probability corresponding to the pixel in the obstacle probability map of the current frame based on the obstacle reverse probability value of the pixel in the obstacle probability map of the previous frame, wherein the obstacle reverse probability value is used to indicate the probability that there is no obstacle at the pixel; determining the second intermediate value according to the second conditional probability and the obstacle reverse probability value corresponding to the pixel in the obstacle probability map of the previous frame; and determining the second obstacle fusion probability value corresponding to the pixel according to the first intermediate value and the second intermediate value.
[0194] See also Fig.15 , Fig.15 The schematic diagram of the structure of the electronic device provided by the exemplary embodiment of the present application. Fig.15 As shown, the electronic device 900 includes a processor 910 , a memory 920 , and a bus 930 .
[0195] The memory 920 stores machine-readable instructions executable by the processor 910. When the electronic device 900 is running, the processor 910 communicates with the memory 920 via the bus 930. When the machine-readable instructions are executed by the processor 910, the steps of the method for detecting a vehicle drivable area in any of the above embodiments may be performed, which are specifically as follows:
[0196] Based on the target sensor installed on the vehicle, determine the obstacle probability map of the current frame in the scene where the vehicle is located; perform the following processing for each pixel point in the obstacle probability map of the current frame: determine the second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame, and determine the second obstacle fusion probability value of the pixel point in the obstacle probability map of the current frame according to the obstacle detection probability value corresponding to the first pixel position in the obstacle probability map of the current frame and the first obstacle fusion probability value corresponding to the second pixel position in the obstacle probability map of the previous frame; output the vehicle drivable area according to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame.
[0197] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle drivable area detection method in the above method embodiment can be executed. The specific implementation method can be found in the method embodiment, which will not be repeated here.
[0198] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is executed, the above-mentioned vehicle drivable area detection method can be executed.
[0199] An embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the vehicle drivable area detection method in the above method embodiment. The specific implementation method can be found in the method embodiment and will not be repeated here.
[0200] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0201] 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 solution of this embodiment.
[0202] In addition, each functional unit in each embodiment of the present application 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.
[0203] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the 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 to enable 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 application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0204] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for detecting a vehicle drivable area, It is characterized in that The method comprises: Based on the target sensor installed on the vehicle, determine the obstacle probability map of the current frame in the scene where the vehicle is located; The following processing is performed for each pixel point in the obstacle probability map of the current frame: a second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame is determined, and a second obstacle fusion probability value of the pixel point in the obstacle probability map of the current frame is determined according to the obstacle detection probability value corresponding to the first pixel position in the obstacle probability map of the current frame and the first obstacle fusion probability value corresponding to the second pixel position in the obstacle probability map of the previous frame; According to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame, the vehicle drivable area is output.
2. The method according to claim 1, It is characterized in that The pixel position refers to the coordinate position of the pixel point in the image coordinate system of the obstacle probability map. The step of determining a second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame includes: By means of coordinate transformation among the image coordinate system, the relative coordinate system and the reference coordinate system, the pixel point in the obstacle probability map of the current frame is mapped to the obstacle probability map of the previous frame, and the mapping position in the obstacle probability map of the previous frame is determined as the second pixel position of the pixel point. Among them, during the driving process of the vehicle, the relative position relationship between the relative coordinate system and the image coordinate system remains fixed, and the coordinate origin of the reference coordinate system remains fixed.
3. The method according to claim 2, It is characterized in that The relative coordinate system includes a vehicle body coordinate system, and the relative position relationship between the coordinate origin of the vehicle body coordinate system and the installation position of the target sensor on the vehicle is fixed. The reference coordinate system includes an odometer coordinate system.
4. The method according to claim 1, It is characterized in that The obstacle probability map includes at least one of a visual probability map and an ultrasonic probability map, The visual probability map is determined based on a visual image captured by an image sensor mounted on the vehicle, and the ultrasonic probability map is determined based on sequence points captured by an ultrasonic radar mounted on the vehicle.
5. The method according to claim 4, It is characterized in that The visual probability map of the current frame is determined by: Determine a current frame surround view stitching map, wherein the current frame surround view stitching map is formed by stitching visual images captured by each image sensor installed on the vehicle; Determine an obstacle confidence matrix corresponding to the current frame surround view mosaic image, where each element in the obstacle confidence matrix is used to represent an obstacle confidence value of a corresponding pixel point in the current frame surround view mosaic image; Determine the stitching correction matrix corresponding to the current frame surround stitching image; Based on the obstacle confidence matrix and the splicing correction matrix, the visual probability map of the current frame is determined.
6. The method according to claim 5, It is characterized in that The stitching correction matrix includes at least one of a stitching coefficient matrix and a stitching error matrix. The stitching coefficient matrix is used to characterize the pixel value correlation between two visual images during stitching, and the stitching error matrix is used to characterize the error generated by stitching visual images.
7. The method according to claim 4, It is characterized in that The ultrasonic probability map of the current frame is determined by: Determine the probability value of the existence of an obstacle at each sequence point detected by the ultrasonic radar; The probability values corresponding to all sequence points detected by each ultrasonic radar are mapped to the grid map according to the pixel index position to obtain the ultrasonic probability map of the current frame.
8. The method according to claim 7, It is characterized in that The probability value of the existence of an obstacle at each sequence point detected by each ultrasonic radar is determined by: Determining an evaluation distance based on an installation position of the ultrasonic radar and a coordinate position of the sequence point; According to the evaluation distance and the detection distance corresponding to the sequence point, a probability value of the existence of an obstacle at the sequence point detected by the ultrasonic radar is determined.
9. The method according to claim 4, It is characterized in that The obstacle probability map of the current frame includes the visual probability map of the current frame and the ultrasonic probability map of the current frame. The step of outputting the vehicle drivable area according to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame includes: According to the second obstacle fusion probability value corresponding to each pixel point in the visual probability map of the current frame, a visual fusion map of the current frame is formed; Forming an ultrasonic fusion map of the current frame according to the second obstacle fusion probability value corresponding to each pixel point in the ultrasonic probability map of the current frame; By fusing the current frame visual fusion image and the current frame ultrasonic fusion image, the vehicle's drivable area is output.
10. The method according to claim 9, It is characterized in that Each pixel point of the current frame visual fusion image and the current frame ultrasonic fusion image is fused in the following way: Determine the conflict factor value between the current frame visual fusion image and the current frame ultrasonic fusion image; Based on the conflict factor value, the second obstacle fusion probability value corresponding to the third pixel position of the pixel point in the visual fusion image of the current frame, and the second obstacle fusion probability value corresponding to the fourth pixel position of the pixel point in the ultrasonic fusion image of the current frame, the obstacle synthesis probability value corresponding to the pixel point is determined, so as to form a vehicle drivable area based on the obstacle synthesis probability values corresponding to each pixel point.
11. The method according to claim 1, It is characterized in that The second obstacle fusion probability value of each pixel in the obstacle probability map of the current frame is determined by the following method: Determine weight values corresponding to the obstacle probability map of the current frame and the obstacle probability map of the previous frame respectively, where the weight values are determined based on the probability values corresponding to each pixel point in the obstacle probability map, where the probability values are the obstacle detection probability values corresponding to the pixel points or the first obstacle fusion probability values; Determine a weighted sum value corresponding to the pixel point based on the obstacle detection probability value corresponding to the pixel point, the first obstacle fusion probability value, and the weight values corresponding to each of them; determining a minimum value between a first reference value and the weighted sum value; The maximum value between the second reference value and the minimum value is determined as the second obstacle fusion probability value corresponding to the pixel point.
12. The method according to claim 1, It is characterized in that The second obstacle fusion probability value of each pixel in the obstacle probability map of the current frame is determined by the following method: Determine a first conditional probability corresponding to the pixel point in the obstacle probability map of the current frame based on the first obstacle fusion probability value of the pixel point in the obstacle probability map of the previous frame; Determine a first intermediate value according to the first conditional probability and a first obstacle fusion probability value corresponding to the pixel point in the obstacle probability map of the previous frame; Determine the second conditional probability corresponding to the pixel point in the obstacle probability map of the current frame based on the obstacle reverse probability value of the pixel point in the obstacle probability map of the previous frame, wherein the obstacle reverse probability value is used to indicate the probability that there is no obstacle at the pixel point; Determine a second intermediate value according to the second conditional probability and the obstacle reverse probability value corresponding to the pixel point in the obstacle probability map of the previous frame; A second obstacle fusion probability value corresponding to the pixel is determined according to the first intermediate value and the second intermediate value.
13. A device for detecting a vehicle drivable area, It is characterized in that The device comprises: A probability map determination module determines the obstacle probability map of the current frame in the scene where the vehicle is located; The position conversion module performs the following processing for each pixel point in the obstacle probability map of the current frame: determining a second pixel position corresponding to the first pixel position of the pixel point in the obstacle probability map of the previous frame, and determining a second obstacle fusion probability value of the pixel point in the obstacle probability map of the current frame according to the obstacle detection probability value corresponding to the first pixel position in the obstacle probability map of the current frame and the first obstacle fusion probability value corresponding to the second pixel position in the obstacle probability map of the previous frame; The probability fusion module outputs the vehicle drivable area according to the second obstacle fusion probability value corresponding to each pixel point in the obstacle probability map of the current frame.
14. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method as claimed in any one of claims 1 to 12 are performed.
15. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are executed.
16. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
An intelligent vehicle passable area detection method based on multi-source information fusion
CN109829386A
Travelable area acquisition method, computer readable storage medium and terminal device
CN110045376A
Obstacle detection method and device and electronic equipment
CN111950501A
Vehicle drivable area detection method and system and automatic driving vehicle adopting system
CN112639821A
Obstacle detection method, device and equipment and storage medium
CN115147809A
