Processing optimization method and device for reachable space, electronic equipment and storage medium

By discretizing and identifying boundary points on images of autonomous vehicles, and optimizing coordinates using offset maps, the problem of high computational complexity in the fisheye model is solved, efficient reachable space processing is achieved, and computational complexity is reduced. and edge computing workloads.

CN118865293APending Publication Date: 2024-10-29HOZON NEW ENERGY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410809920.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The existing fisheye model has high computational complexity during the processing of reachable space in autonomous vehicles, resulting in increased redundant computing and edge computing loads, and cannot meet long-term business processing needs.

Method used

By discretizing the original image, a lower-resolution binary map and a classification map are generated, the relevant pixels of the accessible space boundary are identified, and the pixel coordinates are optimized by combining the offset map to reduce the number of operations and improve processing efficiency.

Benefits of technology

Simplify the downstream processing process, reduce computational complexity, improve system performance and reliability, reduce adjacent coordinate fluctuations, and significantly accelerate processing speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865293A_ABST
    Figure CN118865293A_ABST
Patent Text Reader

Abstract

The invention discloses a reachable space processing optimization method and device, electronic equipment and a storage medium. The processing optimization method comprises the steps that a first image collected by a vehicle is acquired, discretization processing is conducted on the first image, a second image is obtained, and the resolution ratio of the second image is smaller than that of the first image; generating a corresponding binary image and a classification image based on the second image; based on the binary image, identifying pixel points related to the boundary of the reachable space to obtain coordinates of the pixel points in the second image; determining the type of the pixel point based on the classification map and the coordinate of the pixel point in the second image; determining the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image and the incidence relation between the first image and the second image; and screening the pixel points, and taking the screened pixel points as boundary points for defining the reachable space. According to the method, the image is discretized by using the discrete characteristic of the reachable space, the operation times are reduced, and the image processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method and device for optimizing processing of a reachable space, an electronic device and a storage medium. Background Art

[0002] In the field of autonomous driving, accessible space is also called drivable area, which refers to the area around which the autonomous driving vehicle can drive, that is, the area that can be planned and controlled. Therefore, the processing of accessible space plays a vital role in the driving safety of assisted driving or autonomous driving.

[0003] The processing of the accessible space of the existing fisheye model is usually to traverse the image to obtain all possible coordinates and corresponding category information. However, this processing process requires processing each pixel, especially for large-size images, which leads to high computational complexity. In addition, due to the limitation of edge computing resources, there are problems such as redundant computing, increased edge computing load and extended downstream waiting time, so it cannot meet long-term business processing needs. Summary of the invention

[0004] The object of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.

[0005] To this end, the first purpose of the present invention is to propose a method which takes into account the discrete nature of the reachable space, reduces the number of operations on the image by discretizing the original image, and accurately obtains the boundary points used to define the reachable space, avoiding frequent fluctuations between adjacent coordinates, thereby helping to simplify the downstream processing process and improve the overall processing efficiency and stability of the image.

[0006] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention provides a processing optimization method for a reachable space, the processing optimization method comprising: acquiring a first image collected by a vehicle, and discretizing the first image to obtain a corresponding second image, wherein the resolution of the second image is smaller than that of the first image; generating a corresponding binary image and a classification image based on the second image; identifying pixel points related to the boundary of the reachable space based on the binary image to obtain the coordinates of the pixel points in the second image; determining the category of the pixel points based on the classification image and the coordinates of the pixel points in the second image; determining the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image and the association relationship between the first image and the second image; screening the pixel points according to the category of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space for the first image.

[0007] According to one embodiment of the present invention, the processing optimization method also includes: generating a corresponding offset map based on the second image; extracting an offset from the offset map for characterizing the offset relationship between the first image and the second image; and optimizing the coordinates of the pixel point in the first image based on the offset.

[0008] According to an embodiment of the present invention, the branch of the offset map adopts a smooth L1 loss function, wherein the smooth L1 loss function is expressed by the following formula:

[0009]

[0010] Among them, y true represents the true value, y pred Represents the predicted value.

[0011] According to one embodiment of the present invention, based on the binary image, identifying pixel points related to the boundary of the reachable space to obtain the coordinates of the pixel points in the second image includes: obtaining the response value of each pixel point in the binary image; based on the response value of each pixel point, extracting the pixel point with the largest response value in each column of pixels in the binary image, taking the pixel point with the largest response value as the pixel point related to the boundary of the reachable space, and obtaining the coordinates of the pixel point with the largest response value in the binary image as the coordinates of the coordinate point in the second image.

[0012] According to one embodiment of the present invention, determining the category of the pixel point based on the classification map and the coordinates of the pixel point in the first image includes: corresponding the coordinates of the pixel point in the first image to the classification map, using a classification function to determine the category corresponding to the coordinates in the classification map that are the same as the coordinates of the pixel point in the first image, and using the corresponding category as the category of the pixel point.

[0013] According to an embodiment of the present invention, the resolution of the second image is between 1 / 8 and 1 / 2 of the resolution of the first image.

[0014] According to an embodiment of the present invention, the resolution of the second image is 1 / 4 of the resolution of the first image.

[0015] To achieve the above-mentioned purpose, the second aspect of the present invention provides a processing optimization device for a reachable space, the processing optimization device comprising: a processing unit, for acquiring a first image collected by a vehicle, and discretizing the first image to obtain a corresponding second image, wherein the first image is associated with the second image, and the resolution of the second image is smaller than the resolution of the first image; a generating unit, for generating a corresponding binary image and a classification image based on the second image; an identifying unit, for identifying pixel points related to the boundary of the reachable space based on the binary image, so as to obtain the coordinates of the pixel points in the first image; a first determining unit, for determining the category of the pixel points based on the classification image and the coordinates of the pixel points in the first image; a second determining unit, for determining the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image and the association relationship between the first image and the second image; a screening unit, for screening the pixel points according to the category of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space for the first image.

[0016] To achieve the above-mentioned purpose, the third aspect of the present invention proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the processing optimization method of the accessible space described in the first aspect of the present invention is implemented.

[0017] In order to achieve the above-mentioned purpose, the computer-readable storage medium proposed in the fourth aspect of the embodiment of the present invention, when the computer program is executed by the processor, implements the processing optimization method of the accessible space described in the first aspect of the embodiment of the present invention.

[0018] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0020] Figure 1 is a schematic block diagram showing a processing of a reachable space according to an exemplary embodiment;

[0021] Figure 2 is a flowchart of a method for optimizing processing of a reachable space according to an exemplary embodiment;

[0022] Figure 3 is a schematic flow chart of a method for optimizing pixel point coordinates according to an exemplary embodiment;

[0023] Figure 4 is a flow chart of a method for identifying pixel points related to the boundary of a reachable space according to an exemplary embodiment.

[0024] Figure 5 is a schematic block diagram of a device for optimizing processing of a reachable space according to an exemplary embodiment; and

[0025] Figure 6 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0027] Before describing the present invention, Figure 1 A brief overview of the processing of the accessible space is given to enable a better understanding of the content of the present invention. Figure 1 It is a schematic diagram of the processing of a reachable space, such as Figure 1 As shown, the processing of the reachable space usually includes three modules: a pre-processing module 110, a model reasoning module 120 and a post-processing module 130. Among them, the pre-processing module 110 mainly performs preliminary processing on the original image obtained by the vehicle, such as normalization and color space conversion. These operations are intended to convert the original image into the input format required for subsequent model reasoning and ensure that the image has a consistent size and numerical range. The model reasoning module 120 is the core part of the reachable space acquisition. It uses the trained semantic segmentation model to reason on the image after preliminary processing to obtain the category information described for each pixel. This module is usually composed of elements such as convolutional neural network layers, batch normalization and activation functions. Through the calculation of multi-layer networks and non-shallow transformations, the features of different objects in the image are extracted and mapped to the corresponding categories. The post-processing module 130 obtains the possible coordinates and corresponding category information for the reachable space based on the information obtained in the model reasoning module.

[0028] Taking an image with a resolution of 640*480 as an example, the traditional method is to traverse every pixel on the image and process each pixel, so this requires at least 640*480 times, that is, 307200 times. This processing method will take a long time, especially when processing large-size images.

[0029] To this end, the present invention proposes a method, device, electronic device and storage medium for optimizing processing of accessible space.

[0030] Figure 2 It is a flow chart of a method for optimizing processing of a reachable space according to an exemplary embodiment. It should be noted that the method of the embodiment of the present invention can be applied to the processing optimization device of the reachable space of the embodiment of the present invention, and the processing optimization device of the reachable space can be configured on an electronic device or in a server. Among them, the electronic device can be a PC or a mobile terminal. The embodiment of the present invention does not impose too many restrictions on this.

[0031] like Figure 2 As shown, the processing optimization method of the reachable space includes:

[0032] Step S210, obtaining a first image captured by the vehicle, and discretizing the first image to obtain a corresponding second image, wherein the resolution of the second image is smaller than the resolution of the first image.

[0033] Specifically, the first image mentioned here can be understood as an image after the original image collected by the vehicle is preliminarily processed by the above-mentioned pre-processing module. For example, the image can be a fisheye image. However, it should be noted that the present application is not limited to the accessible space acquisition of the fisheye model, but can also be applied to other similar computer vision tasks, so the image type is not limited here. Furthermore, in the model reasoning module, the resolution of the first image is reduced. For example, the model reasoning module can use a neural network model to adjust the resolution of the input first image. The neural network can be a model trained by deep learning for resolution, which can reduce and adjust the resolution according to the characteristics of the input image to obtain a second image suitable for subsequent accessible space acquisition, wherein the first image is associated with the second image, and each target in the second image after the resolution is reduced (each obstacle in the image) corresponds to the first image.

[0034] Step S220: generating a corresponding binary image and a classification image based on the second image.

[0035] Specifically, after obtaining the second image, in order to effectively obtain the pixel points defining the boundary of the achievable space, the present invention further processes the second image to generate a binary image and a classification image respectively.

[0036] Step S230: Based on the binary image, identify pixel points related to the boundary of the reachable space to obtain coordinates of the pixel points in the second image.

[0037] Specifically, since each pixel in the binary image has only two possible values ​​or grayscale states, the boundary contours of each object in the image can be obtained through the binary image, and then the coordinates of the pixel points related to the boundary of the reachable space can be identified.

[0038] Step S240: determining the category of the pixel point based on the classification map and the coordinates of the pixel point in the second image.

[0039] Specifically, each pixel in the classification map will correspond to the object category represented by the pixel. Therefore, after the pixel coordinates are obtained, since the classification map and the binary map have the same resolution and there is a corresponding relationship in the coordinates, the pixel coordinates obtained through step S230 can obtain the object category corresponding to the corresponding coordinates.

[0040] Step S250: determining the coordinates of the pixel point in the first image according to the coordinates of the pixel point in the second image and the association relationship between the first image and the second image.

[0041] Specifically, since the second image has a different resolution from the first image, the two have a certain proportional relationship, and the present invention needs to determine the reachable space on the first image. Therefore, after determining the coordinates and categories of the pixel points in the second image, the present invention needs to "restore" the pixel points on the second image to the first image based on the relationship between the two images, so as to determine the reachable space on the first image.

[0042] Step S260, screening the pixel points according to the categories of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space for the first image.

[0043] Specifically, the environmental factor condition can be understood as determining whether the pixel point is suitable for defining the reachable space under the environment such as the location of the pixel point in the first image. For example, the environmental factor condition includes one or more determination conditions, for example, the determination condition may be whether the pixel point is located on a vehicle. By considering the comprehensive factors of the environment and location of the pixel point in the first image, the pixel point ultimately used to define the reachable space is further accurately screened from the multiple pixel points.

[0044] Taking an image with a resolution of 640*480 as an example, based on the above steps, the present invention first processes the first image to generate a second image with a resolution of 160*480. Further, the second image with a resolution of 160*480 is further processed to generate a corresponding binary image and classification image with a resolution of 160*480. In this way, further processing is performed based on the binary image and classification image with a resolution of 160*480 to obtain the coordinates and categories of possible boundary points (pixel points) respectively. Finally, by judging the pixel points, the pixel points on the vehicle are screened out, and finally the boundary points used to define the accessible space are screened out. In this way, for the same image, only 160*480 times, that is, 76,800 times, are required, which is 307,200 times compared to the traditional method, and the number of operations is greatly reduced.

[0045] In the embodiment of the present invention, the first image is discretized to generate a corresponding binary map and a classification map, thereby obtaining boundary points defining the reachable space based on the binary map and the classification map. The present invention utilizes the discrete characteristics of the reachable space to greatly reduce the number of operation processing times, while also avoiding frequent fluctuations between adjacent coordinates, thereby helping to simplify the downstream processing process and improving processing efficiency and stability as a whole.

[0046] The above steps are further described in detail below with reference to the accompanying drawings.

[0047] In a preferred embodiment, Figure 3 As shown, the processing optimization method also includes:

[0048] Step S310, generating a corresponding offset map based on the second image;

[0049] Step S320, extracting an offset value used to characterize an offset relationship between the first image and the second image from the offset map;

[0050] Step S330: Optimize the coordinates of the pixel point in the first image based on the offset.

[0051] For example, it has been mentioned above that after the coordinates of the pixel points in the second image are obtained, it is necessary to restore the pixel points to the first image based on the relationship between the second image and the first image, and determine the coordinates of the pixel points in the first image. However, there is an indivisible problem in the sampling process of the pixel points of the second image obtained by processing the first image. In this way, when the pixel points of the second image are directly restored to the first image, there will be certain errors in the coordinates, affecting the accuracy of the coordinates. Therefore, the present invention adopts an offset map, which can accurately characterize the deviation relationship between the first image and the second image. Its core purpose is to extract effective key information from the low-resolution image and ensure that this information can be accurately restored to the high-resolution image, which is referred to as deviation information here, also known as offset. By generating an offset map, accurate pixel-level spatial information from the low-resolution image to the original high-resolution image is obtained, and the pixel position can be accurately restored. For example, the offset (deviation value is 3) is obtained through the generated offset map. Taking a pixel position (1, 2) of the low-resolution feature map (160*480) as an example, the pixel prediction category is "person". Then when the low-resolution image is enlarged 4 times to the original image (640*480), the corresponding coordinates should be (4, 8). Based on the obtained offset of 3, the coordinates are further optimized. Then in the original image, the actual position coordinates of the pixel with the category "person" are (4, 11).

[0052] It can be seen that the embodiment of the present invention adopts the innovative method of offset map to further accurately restore the coordinate position of the first image, solves the problem of indivisibility caused by high resolution to low resolution, and improves the accuracy of defining the boundary of the achievable space.

[0053] In a preferred embodiment, the branch of the offset map adopts a smooth L1 loss function, wherein the smooth L1 loss function is expressed by the following formula:

[0054]

[0055] Among them, y true represents the true value, y pred Represents the predicted value.

[0056] For example, Smooth L1 Loss is a loss function used for regression problems. Given a predicted value y pred and a true value y true , this function is in |y true -y pred|When it is less than 1, L2 loss (squared difference) is used, otherwise L1 loss (absolute difference) is used. Compared with the other two common L1 loss functions and L2 loss functions, SmoothL1 loss function is suitable for scenarios that need to balance model stability and robustness to outliers. This is because, on the one hand, the loss function is continuous at 0, avoiding gradient mutations. On the other hand, when the predicted value is close to the true value, a large gradient can help stabilize the model training. On the other hand, it is insensitive to outliers, reducing the impact of outliers on the model, while avoiding the problem of small gradients, and is simple to calculate and efficient. Therefore, this design makes the gradient of the loss function smoother when the predicted value is close to the true value, which helps to improve the stability and speed of training.

[0057] In a preferred embodiment, Figure 4 As shown, based on the binary image, identifying pixel points related to the boundary of the reachable space to obtain coordinates of the pixel points in the second image includes:

[0058] Step S410, obtaining a response value of each pixel in the binary image;

[0059] Step S420, based on the response value of each pixel point, extract the pixel point with the largest response value in each column of pixels in the binary image, so as to take the pixel point with the largest response value as the pixel point associated with the boundary of the reachable space.

[0060] Step S430, obtaining the coordinates of the pixel point with the largest response value in the binary image as the coordinates of the coordinate point in the second image.

[0061] For example, in a binary image, each pixel has a different response value, and the size of the response value is related to the distance from the current vehicle. Therefore, after obtaining the response value of each pixel, the present application can determine the coordinates of the pixel with the largest response value in each column of the pixel array in the binary image. The largest response value means the pixel closest to the vehicle in the column of pixels. In this way, the pixel with the largest response value obtained is a possible boundary point of the reachable space, and can also be understood as a candidate boundary point. In this way, such an identification method can be effectively used to determine the reachable space during vehicle driving.

[0062] In a preferred embodiment, determining the category of the pixel point based on the classification map and the coordinates of the pixel point in the first image includes: corresponding the coordinates of the pixel point in the second image to the classification map, using a classification function to determine the category corresponding to the coordinates in the classification map that are the same as the coordinates of the pixel point in the second image, and using the corresponding category as the category of the pixel point.

[0063] For example, after obtaining the coordinates of the pixel with the largest response value, since the classification map and the binary map have a certain correspondence, the obtained coordinates can be mapped to the classification map based on the correspondence, and the object category corresponding to the coordinates can be known. In an embodiment of the present invention, the coordinates of the classification map and the binary map are preferably in a one-to-one correspondence, so that the category of the object corresponding to the same coordinates in the classification map can be known.

[0064] Specifically, the classification function is expressed by the following formula:

[0065] L(y pred ,y true )=-∑y true,c log(y pred,c )

[0066] Among them, y true is the one-hot encoding of the true label. For the classification of the present invention, it represents a vector with a length equal to the number of categories, indicating that among multiple categories, only one category is correct, where the position of the correct category is 1, and the rest are O. pred It is the probability distribution predicted by the model, each element of which represents the probability that the model predicts a certain category to be true. The classification of the present invention is represented by a probability vector, the sum of its elements is 1.

[0067] In a preferred embodiment, the resolution of the second image is between 1 / 8 and 1 / 2 of the resolution of the first image.

[0068] More preferably, the resolution of the second image is 1 / 4 of the resolution of the first image.

[0069] For example, the determination of the resolution of the second image requires a balance between accuracy and speed, and is preferably set to 1 / 4. Specifically, taking the three settings of 1 / 2, 1 / 4, and 1 / 8 as examples, the accuracy difference between 1 / 2 and 1 / 4 is within 1%, but the speed difference is 75%, while the 1 / 8 resolution loses more details, and the speed will be much faster, but the accuracy difference is about 15%. Therefore, those skilled in the art can determine the resolution of the second image according to the requirements for accuracy and speed and / or the actual application scenario to achieve the best balance between speed and accuracy.

[0070] Through the processing optimization method of the present invention, after discretization at a ratio of 1 / 4, not only the number of operations is greatly reduced, the processing time complexity is accelerated by 4 times, and the accuracy of downstream applications can be ensured at the same time.

[0071] In summary, the processing optimization method of accessible space provided by the present invention has the following advantages:

[0072] 1) By discretizing the image, the number of processing operations is greatly reduced, the efficiency of accessible space processing is accelerated, the computational complexity is reduced, the pressure on edge computing resources is greatly reduced, and the performance and reliability of the system are improved.

[0073] 2) It has good applicability to different images, can adapt to different scenes and vehicle model changes, and has wide and flexible applications.

[0074] 3) Avoiding fluctuations between adjacent coordinates helps simplify downstream processing and improve overall processing efficiency and stability.

[0075] Based on the same inventive concept as the above-mentioned processing optimization method of reachable space, Figure 5 As shown, an embodiment of the present invention provides a processing optimization device for a reachable space, and the processing optimization device 500 includes: a processing unit 510, which is used to obtain a first image collected by a vehicle, and discretize the first image to obtain a corresponding second image, wherein the resolution of the second image is smaller than the resolution of the first image; a generating unit 520, which is used to generate a corresponding binary image and a classification image based on the second image; an identifying unit 530, which is used to identify pixel points related to the boundary of the reachable space based on the binary image to obtain the coordinates of the pixel points in the second image; a first determining unit 540, which is used to determine the category of the pixel points based on the classification image and the coordinates of the pixel points in the second image; a second determining unit 550, which is used to determine the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image; and a screening unit 560, which is used to screen the pixel points according to the category of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space for the first image.

[0076] The specific implementation content and advantages of the processing optimization device for reachable space of the present invention can be referred to the embodiment of the method for generating image samples mentioned above, and will not be elaborated herein.

[0077] Accordingly, an embodiment of the present invention further provides an electronic device, such as Figure 6 , which shows a schematic diagram of the structure of an electronic device suitable for implementing an embodiment of the present invention. The electronic device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0078] like Figure 6 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for the operation of the electronic device are also stored. The processing device 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0079] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0080] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present invention are executed.

[0081] It should be noted that the computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0082] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0083] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0084] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains a first image collected by the vehicle, and discretizes the first image to obtain a corresponding second image, wherein the first image is associated with the second image, and the resolution of the second image is smaller than the resolution of the first image; based on the second image, generates a corresponding binary image and a classification image; based on the binary image, identifies pixel points related to the boundary of the reachable space to obtain the coordinates of the pixel points in the second image; determines the category of the pixel points based on the classification image and the coordinates of the pixel points in the second image; determines the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image; screens the pixel points according to the category of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space for the first image.

[0085] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: obtains a first image captured by the vehicle, and discretizes the first image to obtain a corresponding second image, wherein the first image is associated with the second image, and the resolution of the second image is smaller than the resolution of the first image; generates a corresponding binary image and a classification image based on the second image; identifies pixel points related to the boundary of the reachable space based on the binary image to obtain the coordinates of the pixel points in the second image; determines the category of the pixel points based on the classification image and the coordinates of the pixel points in the second image; determines the coordinates of the pixel points in the first image according to the coordinates of the pixel points in the second image; and filters the pixel points according to the category of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the filtered pixel points as boundary points for defining the reachable space for the first image.

[0086] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0087] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0088] The units involved in the embodiments of the present invention may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0089] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0090] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0091] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the disclosure scope involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) by each other.

[0092] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present invention. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0093] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for optimizing processing of reachable space, characterized in that: The processing optimization method comprises: Acquire a first image captured by the vehicle, and discretize the first image to obtain a corresponding second image, wherein the resolution of the second image is smaller than the resolution of the first image; Based on the second image, generating a corresponding binary image and a classification image; Based on the binary image, identifying pixel points related to the boundary of the reachable space to obtain coordinates of the pixel points in the second image; Determine the category of the pixel point based on the classification map and the coordinates of the pixel point in the second image; Determine the coordinates of the pixel point in the first image according to the coordinates of the pixel point in the second image; The pixel points are screened according to the categories of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so that the screened pixel points are used as boundary points for defining the reachable space in the first image.

2. The processing optimization method according to claim 1, characterized in that: The processing optimization method also includes: Based on the second image, generating a corresponding offset map; Extracting an offset value for characterizing an offset relationship between the first image and the second image from the offset map; Based on the offset, the coordinates of the pixel point in the first image are optimized.

3. The method according to claim 2, characterized in that The branch of the offset map adopts the smooth L1 loss function, wherein the smooth L1 loss function is expressed by the following formula: Among them, y true represents the true value, y pred Represents the predicted value.

4. The processing optimization method according to claim 1, characterized in that: The step of identifying pixel points related to a boundary of the reachable space based on the binary image to obtain coordinates of the pixel points in the second image includes: Obtaining a response value for each pixel in the binary image; Based on the response value of each pixel point, extract the pixel point with the largest response value in each column of pixels in the binary image, so as to use the pixel point with the largest response value as the pixel point related to the boundary of the reachable space, The coordinates of the pixel point with the largest response value in the binary image are obtained as the coordinates of the coordinate point in the second image.

5. The processing optimization method according to claim 1, characterized in that: The determining the category of the pixel point based on the classification map and the coordinates of the pixel point in the first image includes: The coordinates of the pixel point in the second image are mapped to the classification map, and a classification function is used to determine the category corresponding to the coordinates in the classification map that are the same as the coordinates of the pixel point in the second image, and the corresponding category is used as the category of the pixel point.

6. The processing optimization method according to claim 1, characterized in that: The resolution of the second image is between 1 / 8 and 1 / 2 of the resolution of the first image.

7. The processing optimization method according to claim 6, characterized in that: The resolution of the second image is 1 / 4 of the resolution of the first image.

8. A processing optimization device for accessible space, characterized in that: The processing optimization device comprises: A processing unit, configured to obtain a first image captured by the vehicle, and discretize the first image to obtain a corresponding second image, wherein a resolution of the second image is smaller than a resolution of the first image; A generating unit, configured to generate a corresponding binary image and a classification image based on the second image; an identification unit, configured to identify, based on the binary image, pixel points associated with a boundary of the reachable space, so as to obtain coordinates of the pixel points in the second image; A first determining unit, configured to determine a category of the pixel point based on the classification map and the coordinates of the pixel point in the second image; A second determining unit, configured to determine the coordinates of the pixel point in the first image according to the coordinates of the pixel point in the second image; A screening unit is used to screen the pixel points according to the categories of the pixel points and the coordinates of the pixel points in the first image and based on environmental factors in the first image, so as to use the screened pixel points as boundary points for defining the reachable space in the first image.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the processing optimization method of the accessible space described in any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable the computer to execute the accessible space processing optimization method according to any one of claims 1-7.