WO2023019507A1 - Road image generation method and apparatus based on deep learning, and device and storage medium - Google Patents

Road image generation method and apparatus based on deep learning, and device and storage medium Download PDF

Info

Publication number
WO2023019507A1
WO2023019507A1 PCT/CN2021/113511 CN2021113511W WO2023019507A1 WO 2023019507 A1 WO2023019507 A1 WO 2023019507A1 CN 2021113511 W CN2021113511 W CN 2021113511W WO 2023019507 A1 WO2023019507 A1 WO 2023019507A1
Authority
WO
WIPO (PCT)
Prior art keywords
road image
road
samples
image
missing
Prior art date
Application number
PCT/CN2021/113511
Other languages
French (fr)
Chinese (zh)
Inventor
金晨
卢红喜
李国庆
衡阳
杜濠杰
Original Assignee
浙江吉利控股集团有限公司
宁波吉利汽车研究开发有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江吉利控股集团有限公司, 宁波吉利汽车研究开发有限公司 filed Critical 浙江吉利控股集团有限公司
Priority to CN202180099924.XA priority Critical patent/CN117616425A/en
Priority to PCT/CN2021/113511 priority patent/WO2023019507A1/en
Publication of WO2023019507A1 publication Critical patent/WO2023019507A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons

Definitions

  • the present application relates to the technical field of image processing, in particular to a method, device, device and storage medium for generating road images based on deep learning.
  • the main purpose of this application is to provide a method, device, device and storage medium for generating road images based on deep learning, aiming to solve the technical problem of how to obtain road images affected by the environment under different environmental influences.
  • the present application provides a method for generating a road image based on deep learning
  • the method for generating a road image based on deep learning includes the following steps:
  • Injection processing is performed on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  • the step of performing environmental impact removal processing on the road image to be processed to obtain a basic road image includes:
  • the road image to be processed is input into a preset environment stripping model to obtain a basic road image, and the preset environment stripping model is obtained by training a first initial neural network model.
  • the step of inputting the road image to be processed into the preset environment stripping model and obtaining the basic road image it further includes:
  • the first initial neural network model is trained according to a plurality of road image training samples to obtain a preset environment stripping model.
  • the step of acquiring multiple road image samples includes:
  • a plurality of road image samples are determined according to the plurality of road image samples to be processed and the missing road image sample set.
  • the step of determining a plurality of road image samples according to the plurality of road image samples to be processed and the missing road image sample set includes:
  • a plurality of road image samples are determined according to the plurality of road image repair samples and the plurality of road image samples to be processed.
  • the step of repairing the missing road image samples in the missing road image sample set to obtain multiple road image repair samples includes:
  • the step of injecting the basic road image according to the environmental impact feature information corresponding to different environmental impacts to generate the environmental impact road images under different environmental impacts includes:
  • the environmental impact feature information corresponding to different environmental impacts and the basic road image are input into a preset environment injection model to generate environmental impact road images under different environmental impacts, and the preset environment injection model passes the second initial neuron
  • the network model is trained to obtain.
  • the present application also provides a road image generation device based on deep learning
  • the road image generation device based on deep learning includes:
  • An acquisition module configured to acquire road images to be processed
  • a stripping module configured to perform environmental impact removal processing on the road image to be processed to obtain a basic road image
  • the injection module is configured to perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  • the present application also provides a road image generation device based on deep learning, which includes: a memory, a processor, and a road image based on deep learning that is stored on the memory and can run on the processor.
  • a generation program, the deep learning-based road image generation program is configured to implement the steps of the above-mentioned deep learning-based road image generation method.
  • the present application also proposes a computer storage medium, on which a modeling program based on cross-features is stored, and when the modeling program based on cross-features is executed by a processor, the above-mentioned The steps of the above-mentioned modeling method based on cross features.
  • the present application also proposes a storage medium, on which a road image generation program based on deep learning is stored, and when the road image generation program based on deep learning is executed by a processor, the above-mentioned The steps of the road image generation method based on deep learning.
  • This application first obtains the road image to be processed, then performs environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally injects the basic road image according to the environmental impact characteristic information corresponding to different environmental impacts to generate different environments
  • the environment under influence influences the road image.
  • the existing technology which directly collects real-time road images with good weather to make high-precision maps, resulting in fewer samples of environmental impact images for making high-precision maps, and in this application, the basic road images corresponding to road images and different environmental impacts are acquired.
  • the basic road image is a road image without environmental impact, and then the environmental impact road images under different environmental impacts are quickly generated according to the environmental impact feature information and the basic road image, thus realizing the diversification of environmental impact road images .
  • Fig. 1 is a schematic structural diagram of a road image generation device based on deep learning of the hardware operating environment involved in the embodiment of the present application;
  • Fig. 2 is a schematic flow chart of the first embodiment of the method for generating road images based on deep learning in the present application
  • FIG. 3 is a schematic diagram of the preset environment stripping model of the first embodiment of the deep learning-based road image generation method of the present application
  • FIG. 4 is a schematic diagram of the preset environment injection model of the first embodiment of the deep learning-based road image generation method of the present application
  • FIG. 5 is a schematic flow diagram of the second embodiment of the method for generating road images based on deep learning in the present application
  • FIG. 6 is a schematic flow diagram of the third embodiment of the method for generating road images based on deep learning in the present application.
  • Fig. 7 is a structural block diagram of the first embodiment of the device for generating road images based on deep learning in the present application.
  • FIG. 1 is a schematic structural diagram of a deep learning-based road image generation device of a hardware operating environment involved in an embodiment of the present application.
  • the road image generation device based on deep learning may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005. Wherein, the communication bus 1002 is used to realize connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface).
  • Wi-Fi Wireless-Fidelity
  • Memory 1005 can be a high-speed random access memory (Random Access Memory, RAM), can also be a stable non-volatile memory (Non-Volatile Memory, NVM), such as disk storage.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
  • Figure 1 does not constitute a limitation to the deep learning-based road image generation device, and may include more or less components than those shown in the illustration, or combine certain components, or have different Part placement.
  • the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a road image generation program based on deep learning.
  • the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with users;
  • the processor 1001 and memory 1005 can be set in the road image generation device based on deep learning, and the road image generation device based on deep learning calls the road image generation program based on deep learning stored in the memory 1005 through the processor 1001, and executes the application
  • the embodiment provides a road image generation method based on deep learning.
  • FIG. 2 is a schematic flowchart of the first embodiment of the method for generating a road image based on deep learning in this application.
  • the method for generating road images based on deep learning includes the following steps:
  • Step S10 Obtain the road image to be processed.
  • the execution subject of this embodiment may be a road image generation device based on deep learning with functions such as data processing, network communication, and program operation, or other computer devices with similar functions. This embodiment does not be restricted.
  • the road image to be processed is the road image collected in real time by the shooting device on the current vehicle.
  • environmental impact feature information includes weather feature information, such as sunny weather feature information, rainy weather feature information information or fog feature information, etc.
  • the environmental impact feature information also includes light feature information, such as early morning feature information, noon feature information, or evening feature information.
  • the weather characteristic information can be understood as the influence information of the weather on the captured image, such as clarity and blur.
  • the light feature information may be understood as information about the influence of the light on the captured image, such as light intensity and image brightness.
  • the weather or light is different, and the corresponding weather feature information or light feature information is different.
  • the environmental impact feature information in the road image to be processed includes weather feature information and light feature information, where the weather feature information is rainy day feature information, and the light feature information is noon feature information. feature information, etc.
  • Step S20 Perform environmental impact removal processing on the road image to be processed to obtain a basic road image.
  • the basic road image is a road image without environmental impact.
  • the road image to be processed is processed to remove the environmental impact, and the processing method to obtain the basic road image can be input to the preset environment stripping
  • the preset environment stripping model is used to perform stripping processing on the road image to be processed to output the basic road image, and the preset environment stripping model is obtained by training the first initial neural network model.
  • the preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
  • the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples.
  • Road image validation sample 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples.
  • the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
  • the proportion of the test set and the test set can be divided according to 6:2:2; when the data volume of the obtained road image samples is large, the proportion of the training set, the verification set and the test set can be divided according to 98:1:1, etc.
  • the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
  • image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
  • the missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
  • FIG. 3 is a schematic diagram of the preset environment stripping model based on the first embodiment of the deep learning road image generation method of the present application.
  • multiple road image samples are collected by the shooting device, and the multiple road image samples to be processed include Multiple road images in sunny days, road images in rainy days, road images in foggy days, road images in early morning, road images in noon and road images in evening, etc., and then perform image loopback on multiple road image samples to be processed Detection, extracting missing road image samples from multiple road image samples to be processed, and then repairing the missing road image samples respectively to obtain multiple road image repair samples, repairing multiple road image samples and multiple road image samples to be processed
  • the sample determines multiple road image samples, and performs environmental labeling on multiple road image samples according to the weather impact comparison, and then builds a stripped data set based on the marked road image samples, where the stripped data set includes multiple road image training samples and multiple road images.
  • Image verification sample is a schematic diagram of the preset environment stripping model based on the first embodiment of the deep learning
  • the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , to obtain the preset environmental stripping model.
  • the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained.
  • the weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
  • Step S30 Perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  • the preset environment injection model is trained by the second initial neural network model get.
  • the preset environment injection model for image environment injection, it is necessary to obtain multiple road image samples and weather feature databases in advance, select multiple road image training samples from multiple road image samples according to preset rules, and The remaining multiple road image samples are used as multiple road image verification samples, and finally the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the trained neural network model is trained according to the multiple road image verification samples.
  • the initial neural network model is verified. After the trained initial neural network model is successfully verified, the trained initial neural network model is injected into the model as a preset environment, and then multiple road image test samples are used to test the preset environment injection model , after the test is successful, the preset environmental injection model will output the road image of environmental impact under different environmental influences.
  • the default rule is the user-defined image selection ratio, which can be 70%, and can also be Sixty percent etc.
  • Fig. 4 is a schematic diagram of the preset environment injection model based on the first embodiment of the deep learning road image generation method of the present application.
  • multiple road image samples are collected by the shooting device, and the multiple road image samples to be processed include Multiple road images in sunny days, road images in rainy days, road images in foggy days, road images in early morning, road images in noon and road images in evening, etc., according to multiple road image samples, determine the injection data set, inject The data set includes multiple road image training samples and multiple road image verification samples, and then the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the training is completed according to the multiple road image verification samples. After the initial neural network model after training is successfully verified, the initial neural network model after training is injected into the model as a preset environment.
  • the environmental impact characteristic information under different environmental influences is foggy weather characteristic information, early morning characteristic information, rainy weather characteristic information and noon characteristic information respectively
  • the foggy weather characteristic information, early morning characteristic information, rainy day characteristic information and noon characteristic information and the basic road image Input into the default environment injection module then obtain the road image of the foggy morning feature information, the road image of the foggy noon feature information, the road image of the rainy morning feature information, the road image of the rainy noon feature information and the rainy evening feature information road image.
  • first obtain the road image to be processed then perform environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, To generate environmental impact road images under different environmental influences.
  • the basic road images corresponding to road images and different environmental Environmental impact feature information under the impact the basic road image is a road image without environmental impact, and then according to the environmental impact feature information and the basic road image to generate environmental impact road images under different environmental impacts, thus realizing the diversification of environmental impact road images , thus enriching the types of high-precision maps.
  • FIG. 5 is a schematic flowchart of a second embodiment of the deep learning-based road image generation method of the present application.
  • step S20 further includes:
  • Step S201 Input the road image to be processed into a preset environment stripping model to obtain a basic road image.
  • the preset environment stripping model is obtained by training a first initial neural network model.
  • the preset environment stripping model for image environment stripping processing, it is necessary to obtain multiple road image samples in advance, and then perform environment labeling on each road image sample to obtain multiple labeled image samples.
  • the road image samples are marked for environmental comparison, and multiple road image training samples are selected from multiple marked image samples according to preset rules, and finally the first initial neural network model is trained according to the multiple road image training samples to obtain the preset environment stripping Model.
  • image A is a sunny road image
  • image B is a rainy road image
  • image C is a foggy road image
  • image D is the road image in the morning
  • image E is the road image at noon
  • image F is the road image in the evening
  • the environment of image A is marked as sunny
  • the environment of image B is marked as rainy
  • the environment of image C is marked as foggy
  • the environment of image D The environment labeled early morning
  • image E is labeled noon and the environment of image F is labeled evening.
  • the preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
  • the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples.
  • Road image validation sample 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples.
  • the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
  • the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
  • the processing method of obtaining multiple road image samples can be to obtain multiple road image samples to be processed, traverse the image pixel information corresponding to the multiple road image samples to be processed, and use the traversed image pixel information as the current image pixel information, and When the pixel information of the current image satisfies the preset pixel conditions, extract the missing road image samples corresponding to the pixel information of the current image from multiple road image samples to be processed, and establish the missing road image according to the extraction results after traversing the pixel information of multiple images
  • the sample set is to determine a plurality of road image samples according to the plurality of road image samples to be processed and the missing road image sample set.
  • the preset pixel condition can be understood as missing pixel information in the image and the like.
  • image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
  • the missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
  • the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained.
  • the weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
  • FIG. 6 is a schematic flowchart of a third embodiment of a method for generating a road image based on deep learning in the present application.
  • step S30 further includes:
  • Step S301 Input the environmental impact feature information corresponding to different environmental impacts and the basic road image into the preset environment injection model to generate environmental impact road images under different environmental impacts.
  • the second initial neural network model is obtained by training.
  • the environmental impact feature information corresponding to different environmental impacts can be obtained from the weather feature database, which includes multiple environmental impact names and corresponding environmental impact feature information, where there is a one-to-one correspondence between the environmental impact names and the environmental impact feature information .
  • the preset environment injection model is trained by the second initial neural network model get.
  • the preset environment injection model for image environment injection it is necessary to obtain multiple road image samples and weather feature databases in advance, select multiple road image training samples from multiple road image samples according to preset rules, and The remaining multiple road image samples are used as multiple road image verification samples, and finally the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the trained neural network model is trained according to the multiple road image verification samples.
  • the initial neural network model is verified. After the trained initial neural network model is successfully verified, the trained initial neural network model is injected into the model as a preset environment, and the output result of the preset environment injection model is the environment under different environmental influences. Affecting the road image, the default rule is the user-defined image selection ratio, which can be 70%, 60%, etc.
  • the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, which can be obtained from Seventy percent of the road image samples are extracted from the multiple road image samples as multiple road image training samples, and multiple road image verification samples are determined according to the remaining marked image samples.
  • the environmental impact feature information under different environmental influences is sunny day feature information, noon feature information, rainy day feature information and evening feature information
  • the preset environment is injected into the module to obtain road images of sunny noon characteristic information, sunny evening characteristic information road images, rainy noon characteristic information road images, and rainy evening characteristic information road images.
  • the environmental impact feature information and basic road images corresponding to different environmental impacts are input into the preset environment injection model to generate environmental impact road images under different environmental impacts.
  • the initial neural network model is obtained by training. Compared with the existing technology that directly collects road images with environmental influences through shooting equipment in real time, this method results in fewer road images under different environmental influences and increases the work of image capture.
  • the environmental impact feature information corresponding to different environmental impacts and the basic road image are input into the preset environment injection model, so that the preset environment injection model superimposes the environmental impact feature information on the basic road image, thereby obtaining different The environment under the influence of the environment affects the road image, which in turn reduces the workload of image capture.
  • the embodiment of the present application also proposes a storage medium on which a deep learning-based road image generation program is stored.
  • the deep learning-based road image generation program is executed by a processor, the depth-based Learn the steps of a road image generation method.
  • FIG. 7 is a structural block diagram of the first embodiment of the device for generating road images based on deep learning in the present application.
  • the road image generation device based on deep learning proposed in the embodiment of the present application includes:
  • An acquisition module 7001 configured to acquire road images to be processed.
  • the road image to be processed is the road image collected in real time by the shooting device on the current vehicle.
  • environmental impact feature information includes weather feature information, such as sunny weather feature information, rainy weather feature information information or fog feature information, etc.
  • the environmental impact feature information also includes light feature information, such as early morning feature information, noon feature information, or evening feature information.
  • the weather characteristic information can be understood as the influence information of the weather on the captured image, such as clarity and blur.
  • the light feature information may be understood as information about the influence of the light on the captured image, such as light intensity and image brightness.
  • the weather or light is different, and the corresponding weather feature information or light feature information is different.
  • the environmental impact feature information in the road image to be processed includes weather feature information and light feature information, where the weather feature information is rainy day feature information, and the light feature information is noon feature information. feature information, etc.
  • the stripping module 7002 is configured to perform environmental impact removal processing on the road image to be processed to obtain a basic road image.
  • the basic road image is a road image without environmental impact.
  • the road image to be processed is processed to remove the environmental impact, and the processing method to obtain the basic road image can be input to the preset environment stripping
  • the preset environment stripping model is used to perform stripping processing on the road image to be processed to output the basic road image, and the preset environment stripping model is obtained by training the first initial neural network model.
  • the preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
  • the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and the remaining marked image samples can be used as multiple road image samples.
  • Road image validation sample 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and the remaining marked image samples can be used as multiple road image samples.
  • the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
  • the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
  • image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
  • the missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
  • the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained.
  • the weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
  • the injection module 7003 is configured to perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  • the environmental impact feature information corresponding to different environmental impacts can be obtained from the weather feature database, which includes multiple environmental impact names and corresponding environmental impact feature information, where there is a one-to-one correspondence between the environmental impact names and the environmental impact feature information .
  • the preset environment injection model is trained by the second initial neural network model get.
  • the preset environment injection model for image environment injection, it is necessary to obtain multiple road image samples in advance, and then train and verify the second initial neural network model according to the multiple road image samples, and finally the initial training after training After the neural network model is successfully verified, the trained initial neural network model is used as the preset environment injection model, and the output result of the preset environment injection model is the environmental impact road image under different environmental influences.
  • the environmental impact feature information under different environmental influences is sunny day feature information, noon feature information, rainy day feature information and evening feature information
  • the preset environment is injected into the module to obtain road images of sunny noon characteristic information, sunny evening characteristic information road images, rainy noon characteristic information road images, and rainy evening characteristic information road images.
  • first obtain the road image to be processed then perform environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, To generate environmental impact road images under different environmental influences.
  • the basic road images corresponding to road images and different environmental Environmental impact feature information under the impact the basic road image is a road image without environmental impact, and then according to the environmental impact feature information and the basic road image to generate environmental impact road images under different environmental impacts, thus realizing the diversification of environmental impact road images , thus enriching the types of high-precision maps.
  • the term “comprises”, “comprises” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as read-only memory/random access memory, magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
  • a storage medium such as read-only memory/random access memory, magnetic disk, optical disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Neurology (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

Disclosed in the present application are a road image generation method and apparatus based on deep learning, and a device and a storage medium. The method comprises: acquiring a road image to be processed; performing environmental influence removal processing on the road image to be processed, so as to obtain a basic road image; and respectively performing injection processing on the basic road image according to environmental influence feature information corresponding to different environmental influences, so as to generate environmental influence road images under different environmental influences. In comparison with the prior art where a high-precision map is directly made according to road images which are collected in real time in good weather, thus resulting in there being relatively few environmental influence image samples for making the high-precision map, in the present application, a basic road image of a road image, and environmental influence feature information under different environmental influences are acquired, the basic road image being a road image without an environmental influence, and environmental influence road images under different environmental influences are then generated according to the environmental influence feature information and the basic road image, thereby realizing diversification of the environmental influence road images.

Description

基于深度学习道路图像生成方法、装置、设备及存储介质Road image generation method, device, equipment and storage medium based on deep learning 技术领域technical field
本申请涉及图像处理技术领域,尤其涉及一种基于深度学习道路图像生成方法、装置、设备及存储介质。The present application relates to the technical field of image processing, in particular to a method, device, device and storage medium for generating road images based on deep learning.
背景技术Background technique
随着自动驾驶的发展及技术迭代,自动驾驶的量产越来越近。同时为了让自动驾驶系统在自动运行中更好的了解自身姿态,进行精确的行为规划和车身控制,制作高精度地图是非常重要的。现有技术中仅在天气良好的状况下通过激光、视觉等单一传感器或者多传感器融合(视觉、激光、毫米波等)实时采集道路图像,直接根据采集的道路图像制作高精度地图,导致制作高精度地图的环境影响道路图像较少。With the development and technological iteration of autonomous driving, the mass production of autonomous driving is getting closer. At the same time, in order for the automatic driving system to better understand its own posture during automatic operation, and perform precise behavior planning and body control, it is very important to produce high-precision maps. In the prior art, road images are only collected in real time by a single sensor such as laser or vision or multi-sensor fusion (vision, laser, millimeter wave, etc.) under good weather conditions, and high-precision maps are produced directly based on the collected road images, resulting in high production costs. The environmental impact of precision maps is less on road images.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present application, and does not mean that the above content is admitted as prior art.
技术解决方案technical solution
本申请的主要目的在于提供了一种基于深度学习道路图像生成方法、装置、设备及存储介质,旨在解决如何获取不同环境影响下的环境影响道路图像的技术问题。The main purpose of this application is to provide a method, device, device and storage medium for generating road images based on deep learning, aiming to solve the technical problem of how to obtain road images affected by the environment under different environmental influences.
为实现上述目的,本申请提供一种基于深度学习道路图像生成方法,所述基于深度学习道路图像生成方法包括以下步骤:In order to achieve the above object, the present application provides a method for generating a road image based on deep learning, the method for generating a road image based on deep learning includes the following steps:
获取待处理道路图像;Obtain road images to be processed;
对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像;performing environmental impact removal processing on the road image to be processed to obtain a basic road image;
根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。Injection processing is performed on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
在一实施例中,所述对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像的步骤,包括:In one embodiment, the step of performing environmental impact removal processing on the road image to be processed to obtain a basic road image includes:
将所述待处理道路图像输入至预设环境剥离模型中,获得基础道路图像,所述预设环境剥离模型通过对第一初始神经网络模型进行训练获得。The road image to be processed is input into a preset environment stripping model to obtain a basic road image, and the preset environment stripping model is obtained by training a first initial neural network model.
在一实施例中,所述将所述待处理道路图像输入至预设环境剥离模型中,获得基础道路图像的步骤之前,还包括:In one embodiment, before the step of inputting the road image to be processed into the preset environment stripping model and obtaining the basic road image, it further includes:
获取多张道路图像样本;Obtain multiple road image samples;
分别对各道路图像样本进行环境标记,获得多张标记图像样本;Carry out environmental marking on each road image sample respectively, and obtain multiple marked image samples;
按照预设规则从多张标记图像样本中选取多张道路图像训练样本;selecting a plurality of road image training samples from the plurality of marked image samples according to preset rules;
根据多张道路图像训练样本对第一初始神经网络模型进行训练,获得预设环境剥离模型。The first initial neural network model is trained according to a plurality of road image training samples to obtain a preset environment stripping model.
在一实施例中,所述获取多张道路图像样本的步骤,包括:In one embodiment, the step of acquiring multiple road image samples includes:
获取多张待处理道路图像样本;Obtain multiple road image samples to be processed;
对多张待处理道路图像样本对应的图像像素信息进行遍历,将遍历到的图像像素信息作为当前图像像素信息;Traversing the image pixel information corresponding to a plurality of road image samples to be processed, and using the traversed image pixel information as the current image pixel information;
在所述当前图像像素信息满足预设像素条件时,从多张待处理道路图像样本中提取所述当前图像像素信息对应的缺失道路图像样本;When the pixel information of the current image satisfies a preset pixel condition, extracting missing road image samples corresponding to the pixel information of the current image from a plurality of road image samples to be processed;
在对多张图像像素信息遍历结束后,根据提取结果建立缺失道路图像样本集;After traversing the pixel information of multiple images, a missing road image sample set is established according to the extraction results;
根据多张待处理道路图像样本和所述缺失道路图像样本集确定多张道路图像样本。A plurality of road image samples are determined according to the plurality of road image samples to be processed and the missing road image sample set.
在一实施例中,所述根据多张待处理道路图像样本和所述缺失道路图像样本集确定多张道路图像样本的步骤,包括:In an embodiment, the step of determining a plurality of road image samples according to the plurality of road image samples to be processed and the missing road image sample set includes:
分别对所述缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本;Carrying out repair processing on the missing road image samples in the missing road image sample set respectively to obtain a plurality of road image repair samples;
根据多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本。A plurality of road image samples are determined according to the plurality of road image repair samples and the plurality of road image samples to be processed.
在一实施例中,所述分别对所述缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本的步骤,包括:In one embodiment, the step of repairing the missing road image samples in the missing road image sample set to obtain multiple road image repair samples includes:
对所述缺失道路图像样本集中的缺失道路图像样本进行遍历,将遍历到的缺失道路图像样本作为当前缺失道路图像样本;Traverse the missing road image samples in the missing road image sample set, and use the traversed missing road image samples as the current missing road image samples;
确定所述当前缺失道路图像样本对应的缺失特征信息;determining missing feature information corresponding to the current missing road image sample;
根据所述缺失特征信息对所述当前缺失道路图像样本进行修补处理,获得道路图像修补样本;performing repair processing on the currently missing road image sample according to the missing feature information to obtain a road image repair sample;
在对多张图像数据遍历结束后,获取多张道路图像修补样本。After the traversal of multiple image data is completed, multiple road image patch samples are obtained.
在一实施例中,所述根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像的步骤,包括:In one embodiment, the step of injecting the basic road image according to the environmental impact feature information corresponding to different environmental impacts to generate the environmental impact road images under different environmental impacts includes:
将不同环境影响对应的环境影响特征信息和所述基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,所述预设环境注入模型通过对第二初始神经网络模型进行训练获得。The environmental impact feature information corresponding to different environmental impacts and the basic road image are input into a preset environment injection model to generate environmental impact road images under different environmental impacts, and the preset environment injection model passes the second initial neuron The network model is trained to obtain.
为实现上述目的,本申请还提供一种基于深度学习道路图像生成装置,所述基于深度学习道路图像生成装置包括:In order to achieve the above purpose, the present application also provides a road image generation device based on deep learning, the road image generation device based on deep learning includes:
获取模块,用于获取待处理道路图像;An acquisition module, configured to acquire road images to be processed;
剥离模块,用于对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像;A stripping module, configured to perform environmental impact removal processing on the road image to be processed to obtain a basic road image;
注入模块,用于根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。The injection module is configured to perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
为实现上述目的,本申请还提供一种基于深度学习道路图像生成设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于深度学习道路图像生成程序,所述基于深度学习道路图像生成程序配置为实现如上文所述的基于深度学习道路图像生成方法的步骤。In order to achieve the above object, the present application also provides a road image generation device based on deep learning, which includes: a memory, a processor, and a road image based on deep learning that is stored on the memory and can run on the processor. A generation program, the deep learning-based road image generation program is configured to implement the steps of the above-mentioned deep learning-based road image generation method.
此外,为实现上述目的,本申请还提出一种计算机存储介质,所述计算机存储介质上存储有基于交叉特征的建模程序,所述基于交叉特征的建模程序被处理器执行时实现如上所述的基于交叉特征的建模方法的步骤。In addition, in order to achieve the above purpose, the present application also proposes a computer storage medium, on which a modeling program based on cross-features is stored, and when the modeling program based on cross-features is executed by a processor, the above-mentioned The steps of the above-mentioned modeling method based on cross features.
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有基于深度学习道路图像生成程序,所述基于深度学习道路图像生成程序被处理器执行时实现如上文所述的基于深度学习道路图像生成方法的步骤。In addition, in order to achieve the above object, the present application also proposes a storage medium, on which a road image generation program based on deep learning is stored, and when the road image generation program based on deep learning is executed by a processor, the above-mentioned The steps of the road image generation method based on deep learning.
本申请首先获取待处理道路图像,然后对待处理道路图像进行环境影响去除处理,以获得基础道路图像,最后根据不同环境影响对应的环境影响特征信息分别对基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。相较于现有技术中直接根据实时采集天气良好的道路图像制作高精度地图,导致制作高精度地图的环境影响图像样本较少,而本申请中获取道路图像对应的基础道路图像和不同环境影响下的环境影响特征信息,基础道路图像为无环境影响的道路图像,之后根据环境影响特征信息及基础道路图像快速生成不同环境影响下的环境影响道路图像,从而实现了环境影响道路图像的多样化。This application first obtains the road image to be processed, then performs environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally injects the basic road image according to the environmental impact characteristic information corresponding to different environmental impacts to generate different environments The environment under influence influences the road image. Compared with the existing technology, which directly collects real-time road images with good weather to make high-precision maps, resulting in fewer samples of environmental impact images for making high-precision maps, and in this application, the basic road images corresponding to road images and different environmental impacts are acquired. Under the environmental impact feature information, the basic road image is a road image without environmental impact, and then the environmental impact road images under different environmental impacts are quickly generated according to the environmental impact feature information and the basic road image, thus realizing the diversification of environmental impact road images .
附图说明Description of drawings
图1是本申请实施例方案涉及的硬件运行环境的基于深度学习道路图像生成设备的结构示意图;Fig. 1 is a schematic structural diagram of a road image generation device based on deep learning of the hardware operating environment involved in the embodiment of the present application;
图2为本申请基于深度学习道路图像生成方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the method for generating road images based on deep learning in the present application;
图3为本申请基于深度学习道路图像生成方法第一实施例的预设环境剥离模型原理图;FIG. 3 is a schematic diagram of the preset environment stripping model of the first embodiment of the deep learning-based road image generation method of the present application;
图4为本申请基于深度学习道路图像生成方法第一实施例的预设环境注入模型原理图;FIG. 4 is a schematic diagram of the preset environment injection model of the first embodiment of the deep learning-based road image generation method of the present application;
图5为本申请基于深度学习道路图像生成方法第二实施例的流程示意图;5 is a schematic flow diagram of the second embodiment of the method for generating road images based on deep learning in the present application;
图6为本申请基于深度学习道路图像生成方法第三实施例的流程示意图;6 is a schematic flow diagram of the third embodiment of the method for generating road images based on deep learning in the present application;
图7为本申请基于深度学习道路图像生成装置第一实施例的结构框图。Fig. 7 is a structural block diagram of the first embodiment of the device for generating road images based on deep learning in the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本申请的实施方式Embodiment of this application
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的基于深度学习道路图像生成设备结构示意图。Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a deep learning-based road image generation device of a hardware operating environment involved in an embodiment of the present application.
如图1所示,该基于深度学习道路图像生成设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,Wi-Fi)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM),也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the road image generation device based on deep learning may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005. Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). Memory 1005 can be a high-speed random access memory (Random Access Memory, RAM), can also be a stable non-volatile memory (Non-Volatile Memory, NVM), such as disk storage. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的结构并不构成对基于深度学习道路图像生成设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 1 does not constitute a limitation to the deep learning-based road image generation device, and may include more or less components than those shown in the illustration, or combine certain components, or have different Part placement.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及基于深度学习道路图像生成程序。As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a road image generation program based on deep learning.
在图1所示的基于深度学习道路图像生成设备中,网络接口1004主要用于与网络服务器进行数据通信;用户接口1003主要用于与用户进行数据交互;本申请基于深度学习道路图像生成设备中的处理器1001、存储器1005可以设置在基于深度学习道路图像生成设备中,所述基于深度学习道路图像生成设备通过处理器1001调用存储器1005中存储的基于深度学习道路图像生成程序,并执行本申请实施例提供的基于深度学习道路图像生成方法。In the road image generation device based on deep learning shown in Figure 1, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with users; The processor 1001 and memory 1005 can be set in the road image generation device based on deep learning, and the road image generation device based on deep learning calls the road image generation program based on deep learning stored in the memory 1005 through the processor 1001, and executes the application The embodiment provides a road image generation method based on deep learning.
本申请实施例提供了一种基于深度学习道路图像生成方法,参照图2,图2为本申请基于深度学习道路图像生成方法第一实施例的流程示意图。The embodiment of the present application provides a method for generating a road image based on deep learning. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of the first embodiment of the method for generating a road image based on deep learning in this application.
本实施例中,所述基于深度学习道路图像生成方法包括以下步骤:In this embodiment, the method for generating road images based on deep learning includes the following steps:
步骤S10:获取待处理道路图像。Step S10: Obtain the road image to be processed.
易于理解的是,本实施例的执行主体可以是具有数据处理、网络通讯和程序运行等功能的基于深度学习道路图像生成设备,也可以为其他具有相似功能的计算机设备等,本实施例并不加以限制。It is easy to understand that the execution subject of this embodiment may be a road image generation device based on deep learning with functions such as data processing, network communication, and program operation, or other computer devices with similar functions. This embodiment does not be restricted.
待处理道路图像为当前车辆上的拍摄设备实时采集的道路图像,该待处理道路图像中存在环境影响特征信息,需要说明的是,环境影响特征信息包括天气特征信息,例如晴天特征信息、雨天特征信息或雾天特征信息等,环境影响特征信息还包括光线特征信息,例如清晨特征信息、中午特征信息或傍晚特征信息等。The road image to be processed is the road image collected in real time by the shooting device on the current vehicle. There is environmental impact feature information in the road image to be processed. It should be noted that the environmental impact feature information includes weather feature information, such as sunny weather feature information, rainy weather feature information information or fog feature information, etc., the environmental impact feature information also includes light feature information, such as early morning feature information, noon feature information, or evening feature information.
天气特征信息可以理解为该天气对拍摄图像的影响信息,例如清晰度及模糊度等。光线特征信息可以理解为该光线对拍摄图像的影响信息,例如光线强度及图像亮度等。天气或光线不同,其对应的天气特征信息或光线特征信息不同。The weather characteristic information can be understood as the influence information of the weather on the captured image, such as clarity and blur. The light feature information may be understood as information about the influence of the light on the captured image, such as light intensity and image brightness. The weather or light is different, and the corresponding weather feature information or light feature information is different.
假设待处理道路图像在雨天中午通过拍摄设备拍摄的图像,则待处理道路图像中存在的环境影响特征信息包括天气特征信息及光线特征信息,其中天气特征信息为雨天特征信息,光线特征信息为中午特征信息等。Assuming that the road image to be processed is captured by a shooting device at noon on a rainy day, the environmental impact feature information in the road image to be processed includes weather feature information and light feature information, where the weather feature information is rainy day feature information, and the light feature information is noon feature information. feature information, etc.
步骤S20:对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像。Step S20: Perform environmental impact removal processing on the road image to be processed to obtain a basic road image.
基础道路图像为无环境影响的道路图像,为了能够精准获取基础道路图像,对待处理道路图像进行环境影响去除处理,以获得基础道路图像的处理方式可以为将待处理道路图像输入至预设环境剥离模型中,以使预设环境剥离模型对待处理道路图像进行剥离处理,输出基础道路图像,该预设环境剥离模型通过对第一初始神经网络模型进行训练获得。The basic road image is a road image without environmental impact. In order to obtain the basic road image accurately, the road image to be processed is processed to remove the environmental impact, and the processing method to obtain the basic road image can be input to the preset environment stripping In the model, the preset environment stripping model is used to perform stripping processing on the road image to be processed to output the basic road image, and the preset environment stripping model is obtained by training the first initial neural network model.
为了能够获取对图像进行环境剥离处理的预设环境剥离模型,需要预先获取多张道路图像样本,然后分别对各道路图像样本进行环境标记,获得多张标记图像样本,该环境标记可以为人工对道路图像样本进行环境对比标记,按照预设规则从多张标记图像样本中选取多张道路图像训练样本,最后根据多张道路图像训练样本对第一初始神经网络模型进行训练,获得预设环境剥离模型。预设规则为用户自定义设置的图像选取比例,可以为百分之七十,还可以为百分之六十等。In order to be able to obtain the preset environment stripping model for image environment stripping processing, it is necessary to obtain multiple road image samples in advance, and then perform environment labeling on each road image sample to obtain multiple labeled image samples. The road image samples are marked for environmental comparison, and multiple road image training samples are selected from multiple marked image samples according to preset rules, and finally the first initial neural network model is trained according to the multiple road image training samples to obtain the preset environment stripping Model. The preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
在具体实现中,多张道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像,根据环境对比对道路图像样本进行标注,之后可以从多张标记的道路图像样本即标记图像样本中提取百分之七十的道路图像样本作为多张道路图像训练样本,根据剩余的标记图像样本确定多张道路图像验证样本。In a specific implementation, the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples. Road image validation sample.
需要说明的是,根据多张道路图像训练样本对第一初始神经网络模型进行训练,得到初始环境剥离模型,之后需要将多张道路图像验证样本输入至初始环境剥离模型进行验证,在验证通过时,将初始环境剥离模型作为预设环境剥离模型。It should be noted that the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
在本实施例中还需要获取多张道路图像测试样本,将多张道路图像测试样本输入至预设环境剥离模型中进行测试,在获取道路图像样本的数据量较少时,训练集、验证集及测试集三者比例可按照6:2:2进行划分;在获取道路图像样本的数据量较大时,训练集、验证集及测试集三者比例可按照98:1:1进行划分等。In this embodiment, it is also necessary to obtain multiple road image test samples, and input the multiple road image test samples into the preset environment stripping model for testing. The proportion of the test set and the test set can be divided according to 6:2:2; when the data volume of the obtained road image samples is large, the proportion of the training set, the verification set and the test set can be divided according to 98:1:1, etc.
应理解的是,预设环境剥离模型可以输出待处理图像的环境信息及基础图像,其中环境信息中包括环境影响名称及对应的环境影响特征信息,在本实施例中可以根据输出的环境影响名称及对应的环境影响特征信息生成天气特征数据库,天气特征数据库中存在不同环境影响对应的环境影响特征信息。It should be understood that the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
在具体实现中,可以对多张待处理道路图像样本进行图像回环检测,从多张待处理道路图像样本中提取缺失道路图像样本,之后分别对缺失道路图像样本进行修补处理,获得多张道路图像修补样本,最后将多张道路图像修补样本替换对应的缺失道路图像样本,根据多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本。In a specific implementation, image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
分别对缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本的处理方式可以为对缺失道路图像样本集中的缺失道路图像样本进行遍历,将遍历到的缺失道路图像样本作为当前缺失道路图像样本,然后确定当前缺失道路图像样本对应的缺失特征信息,之后根据缺失特征信息对当前缺失道路图像样本进行修补处理,获得道路图像修补样本,最后在对多张图像数据遍历结束后,获取多张道路图像修补样本。The missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
参考图3,图3为本申请基于深度学习道路图像生成方法第一实施例的预设环境剥离模型原理图,图3中通过拍摄设备采集多张道路图像样本,多张待处理道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像等,之后对多张待处理道路图像样本进行图像回环检测,从多张待处理道路图像样本中提取缺失道路图像样本,之后分别对缺失道路图像样本进行修补处理,获得多张道路图像修补样本,对多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本,根据天气影响对比对多张道路图像样本进行环境标注,之后根据标注后的道路图像样本组建剥离数据集,其中剥离数据集中包括多张道路图像训练样本和多张道路图像验证样本。Referring to FIG. 3, FIG. 3 is a schematic diagram of the preset environment stripping model based on the first embodiment of the deep learning road image generation method of the present application. In FIG. 3, multiple road image samples are collected by the shooting device, and the multiple road image samples to be processed include Multiple road images in sunny days, road images in rainy days, road images in foggy days, road images in early morning, road images in noon and road images in evening, etc., and then perform image loopback on multiple road image samples to be processed Detection, extracting missing road image samples from multiple road image samples to be processed, and then repairing the missing road image samples respectively to obtain multiple road image repair samples, repairing multiple road image samples and multiple road image samples to be processed The sample determines multiple road image samples, and performs environmental labeling on multiple road image samples according to the weather impact comparison, and then builds a stripped data set based on the marked road image samples, where the stripped data set includes multiple road image training samples and multiple road images. Image verification sample.
需要说明的是,根据多张道路图像训练样本对第一初始神经网络模型进行训练,得到初始环境剥离模型,之后需要将多张道路图像验证样本输入至初始环境剥离模型进行验证,在验证通过时,获得预设环境剥离模型。It should be noted that the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , to obtain the preset environmental stripping model.
在本实施例中,获取缺失道路图像,之后根据缺失道路图像的当前缺失特征信息获取对应的标准道路图像,该标准道路图像为具有完整像素信息的缺失道路图像对应的无环境影响的道路图像,之后根据无环境影响的道路图像对缺失道路图像进行修补处理,获得道路图像修补样本,该道路图像修补样本的天气影响信息与缺失道路图像的天气影响信息一致,该道路图像修补样本为具有完整像素信息和天气影响信息的道路图像。In this embodiment, the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained. The weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
步骤S30:根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。Step S30: Perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
将不同环境影响对应的环境影响特征信息和基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,预设环境注入模型通过对第二初始神经网络模型进行训练获得。Input the environmental impact feature information corresponding to different environmental impacts and the basic road image into the preset environment injection model to generate environmental impact road images under different environmental impacts. The preset environment injection model is trained by the second initial neural network model get.
为了能够获取对图像进行环境注入的预设环境注入模型,需要预先需要预先获取多张道路图像样本及天气特征数据库,按照预设规则从多张道路图像样本中选取多张道路图像训练样本,并将剩余的多张道路图像样本作为多张道路图像验证样本,最后根据多张道路图像训练样本及天气特征数据库对第二初始神经网络模型进行训练,并根据多张道路图像验证样本对训练好的初始神经网络模型进行验证,在训练后的初始神经网络模型验证成功后,将训练后的初始神经网络模型作为预设环境注入模型,之后利用多张道路图像测试样本对预设环境注入模型进行测试,在测试成功后,预设环境注入模型中输出的结果为不同环境影响下的环境影响道路图像,预设规则为用户自定义设置的图像选取比例,可以为百分之七十,还可以为百分之六十等。In order to be able to obtain the preset environment injection model for image environment injection, it is necessary to obtain multiple road image samples and weather feature databases in advance, select multiple road image training samples from multiple road image samples according to preset rules, and The remaining multiple road image samples are used as multiple road image verification samples, and finally the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the trained neural network model is trained according to the multiple road image verification samples. The initial neural network model is verified. After the trained initial neural network model is successfully verified, the trained initial neural network model is injected into the model as a preset environment, and then multiple road image test samples are used to test the preset environment injection model , after the test is successful, the preset environmental injection model will output the road image of environmental impact under different environmental influences. The default rule is the user-defined image selection ratio, which can be 70%, and can also be Sixty percent etc.
参考图4,图4为本申请基于深度学习道路图像生成方法第一实施例的预设环境注入模型原理图,图4中通过拍摄设备采集多张道路图像样本,多张待处理道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像等,根据多张道路图像样本确定注入数据集,注入数据集中包括多张道路图像训练样本和多张道路图像验证样本,之后根据多张道路图像训练样本及天气特征数据库对第二初始神经网络模型进行训练,并根据多张道路图像验证样本对训练好的初始神经网络模型进行验证,在训练后的初始神经网络模型验证成功后,将训练后的初始神经网络模型作为预设环境注入模型。Referring to Fig. 4, Fig. 4 is a schematic diagram of the preset environment injection model based on the first embodiment of the deep learning road image generation method of the present application. In Fig. 4, multiple road image samples are collected by the shooting device, and the multiple road image samples to be processed include Multiple road images in sunny days, road images in rainy days, road images in foggy days, road images in early morning, road images in noon and road images in evening, etc., according to multiple road image samples, determine the injection data set, inject The data set includes multiple road image training samples and multiple road image verification samples, and then the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the training is completed according to the multiple road image verification samples. After the initial neural network model after training is successfully verified, the initial neural network model after training is injected into the model as a preset environment.
假设不同环境影响下的环境影响特征信息分别为雾天特征信息、清晨特征信息、雨天特征信息及中午特征信息,将雾天特征信息、清晨特征信息、雨天特征信息及中午特征信息及基础道路图像输入至预设环境注入模块中,则获得雾天清晨特征信息的道路图像、雾天中午特征信息的道路图像、雨天清晨特征信息的道路图像、雨天中午特征信息的道路图像及雨天傍晚特征信息的道路图像。Assuming that the environmental impact characteristic information under different environmental influences is foggy weather characteristic information, early morning characteristic information, rainy weather characteristic information and noon characteristic information respectively, the foggy weather characteristic information, early morning characteristic information, rainy day characteristic information and noon characteristic information and the basic road image Input into the default environment injection module, then obtain the road image of the foggy morning feature information, the road image of the foggy noon feature information, the road image of the rainy morning feature information, the road image of the rainy noon feature information and the rainy evening feature information road image.
在本实施例中,首先获取待处理道路图像,然后对待处理道路图像进行环境影响去除处理,以获得基础道路图像,最后根据不同环境影响对应的环境影响特征信息分别对基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。相较于现有技术中直接根据实时采集天气良好的道路图像制作高精度地图,导致制作高精度地图的环境影响图像样本较少,而本实施例中获取道路图像对应的基础道路图像和不同环境影响下的环境影响特征信息,基础道路图像为无环境影响的道路图像,之后根据环境影响特征信息及基础道路图像生成不同环境影响下的环境影响道路图像,从而实现了环境影响道路图像的多样化,进而丰富了高精度地图种类。In this embodiment, first obtain the road image to be processed, then perform environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, To generate environmental impact road images under different environmental influences. Compared with the prior art, which directly collects real-time road images with good weather to make high-precision maps, resulting in fewer samples of environmental impact images for making high-precision maps, and in this embodiment, the basic road images corresponding to road images and different environmental Environmental impact feature information under the impact, the basic road image is a road image without environmental impact, and then according to the environmental impact feature information and the basic road image to generate environmental impact road images under different environmental impacts, thus realizing the diversification of environmental impact road images , thus enriching the types of high-precision maps.
参考图5,图5为本申请基于深度学习道路图像生成方法第二实施例的流程示意图。Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a second embodiment of the deep learning-based road image generation method of the present application.
基于上述第一实施例,在本实施例中,所述步骤S20,还包括:Based on the first embodiment above, in this embodiment, the step S20 further includes:
步骤S201:将所述待处理道路图像输入至预设环境剥离模型中,获得基础道路图像,所述预设环境剥离模型通过对第一初始神经网络模型进行训练获得。Step S201: Input the road image to be processed into a preset environment stripping model to obtain a basic road image. The preset environment stripping model is obtained by training a first initial neural network model.
为了能够获取对图像进行环境剥离处理的预设环境剥离模型,需要预先获取多张道路图像样本,然后分别对各道路图像样本进行环境标记,获得多张标记图像样本,该环境标记可以为人工对道路图像样本进行环境对比标记,按照预设规则从多张标记图像样本中选取多张道路图像训练样本,最后根据多张道路图像训练样本对第一初始神经网络模型进行训练,获得预设环境剥离模型。In order to be able to obtain the preset environment stripping model for image environment stripping processing, it is necessary to obtain multiple road image samples in advance, and then perform environment labeling on each road image sample to obtain multiple labeled image samples. The road image samples are marked for environmental comparison, and multiple road image training samples are selected from multiple marked image samples according to preset rules, and finally the first initial neural network model is trained according to the multiple road image training samples to obtain the preset environment stripping Model.
假设多张道路图像样本分别为图像A、图像B、图像C、图像D、图像E及图像F,若图像A为晴天道路图像,图像B为雨天道路图像,图像C为雾天道路图像,图像D为清晨道路图像,图像E为中午道路图像,图像F为傍晚道路图像,则图像A的环境标注为晴天、图像B的环境标注为雨天、图像C的环境标注为雾天、图像D的环境标注为清晨、图像E的环境标注为中午及图像F的环境标注为傍晚。Assume that multiple road image samples are image A, image B, image C, image D, image E, and image F. If image A is a sunny road image, image B is a rainy road image, and image C is a foggy road image, image D is the road image in the morning, image E is the road image at noon, and image F is the road image in the evening, then the environment of image A is marked as sunny, the environment of image B is marked as rainy, the environment of image C is marked as foggy, and the environment of image D The environment labeled early morning, image E is labeled noon and the environment of image F is labeled evening.
预设规则为用户自定义设置的图像选取比例,可以为百分之七十,还可以为百分之六十等。The preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
在具体实现中,多张道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像,根据环境对比对道路图像样本进行标注,之后可以从多张标记的道路图像样本即标记图像样本中提取百分之七十的道路图像样本作为多张道路图像训练样本,根据剩余的标记图像样本确定多张道路图像验证样本。In a specific implementation, the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and multiple road image samples can be determined according to the remaining marked image samples. Road image validation sample.
需要说明的是,根据多张道路图像训练样本对第一初始神经网络模型进行训练,得到初始环境剥离模型,之后需要将多张道路图像验证样本输入至初始环境剥离模型进行验证,在验证通过时,将初始环境剥离模型作为预设环境剥离模型。It should be noted that the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
应理解的是,预设环境剥离模型可以输出待处理图像的环境信息及基础图像,其中环境信息中包括环境影响名称及对应的环境影响特征信息,在本实施例中可以根据输出的环境影响名称及对应的环境影响特征信息生成天气特征数据库,天气特征数据库中存在不同环境影响对应的环境影响特征信息。It should be understood that the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
获取多张道路图像样本的处理方式可以为获取多张待处理道路图像样本,对多张待处理道路图像样本对应的图像像素信息进行遍历,将遍历到的图像像素信息作为当前图像像素信息,在当前图像像素信息满足预设像素条件时,从多张待处理道路图像样本中提取当前图像像素信息对应的缺失道路图像样本,在对多张图像像素信息遍历结束后,根据提取结果建立缺失道路图像样本集,根据多张待处理道路图像样本和缺失道路图像样本集确定多张道路图像样本。预设像素条件可以理解为图像中存在缺失像素信息等。The processing method of obtaining multiple road image samples can be to obtain multiple road image samples to be processed, traverse the image pixel information corresponding to the multiple road image samples to be processed, and use the traversed image pixel information as the current image pixel information, and When the pixel information of the current image satisfies the preset pixel conditions, extract the missing road image samples corresponding to the pixel information of the current image from multiple road image samples to be processed, and establish the missing road image according to the extraction results after traversing the pixel information of multiple images The sample set is to determine a plurality of road image samples according to the plurality of road image samples to be processed and the missing road image sample set. The preset pixel condition can be understood as missing pixel information in the image and the like.
在具体实现中,可以对多张待处理道路图像样本进行图像回环检测,从多张待处理道路图像样本中提取缺失道路图像样本,之后分别对缺失道路图像样本进行修补处理,获得多张道路图像修补样本,最后将多张道路图像修补样本替换对应的缺失道路图像样本,根据多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本。In a specific implementation, image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
分别对缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本的处理方式可以为对缺失道路图像样本集中的缺失道路图像样本进行遍历,将遍历到的缺失道路图像样本作为当前缺失道路图像样本,然后确定当前缺失道路图像样本对应的缺失特征信息,之后根据缺失特征信息对当前缺失道路图像样本进行修补处理,获得道路图像修补样本,最后在对多张图像数据遍历结束后,获取多张道路图像修补样本。The missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
在本实施例中,获取缺失道路图像,之后根据缺失道路图像的当前缺失特征信息获取对应的标准道路图像,该标准道路图像为具有完整像素信息的缺失道路图像对应的无环境影响的道路图像,之后根据无环境影响的道路图像对缺失道路图像进行修补处理,获得道路图像修补样本,该道路图像修补样本的天气影响信息与缺失道路图像的天气影响信息一致,该道路图像修补样本为具有完整像素信息和天气影响信息的道路图像。In this embodiment, the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained. The weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
参考图6,图6为本申请基于深度学习道路图像生成方法第三实施例的流程示意图。Referring to FIG. 6 , FIG. 6 is a schematic flowchart of a third embodiment of a method for generating a road image based on deep learning in the present application.
基于上述第一实施例,在本实施例中,所述步骤S30,还包括:Based on the first embodiment above, in this embodiment, the step S30 further includes:
步骤S301:将不同环境影响对应的环境影响特征信息和所述基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,所述预设环境注入模型通过对第二初始神经网络模型进行训练获得。Step S301: Input the environmental impact feature information corresponding to different environmental impacts and the basic road image into the preset environment injection model to generate environmental impact road images under different environmental impacts. The second initial neural network model is obtained by training.
不同环境影响对应的环境影响特征信息可以从天气特征数据库中获取,天气特征数据库中包括多个环境影响名称及对应的环境影响特征信息,其中环境影响名称与环境影响特征信息存在一一对应的关系。The environmental impact feature information corresponding to different environmental impacts can be obtained from the weather feature database, which includes multiple environmental impact names and corresponding environmental impact feature information, where there is a one-to-one correspondence between the environmental impact names and the environmental impact feature information .
将不同环境影响对应的环境影响特征信息和基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,预设环境注入模型通过对第二初始神经网络模型进行训练获得。Input the environmental impact characteristic information and basic road image corresponding to different environmental impacts into the preset environment injection model to generate environmental impact road images under different environmental impacts. The preset environment injection model is trained by the second initial neural network model get.
为了能够获取对图像进行环境注入的预设环境注入模型,需要预先需要预先获取多张道路图像样本及天气特征数据库,按照预设规则从多张道路图像样本中选取多张道路图像训练样本,并将剩余的多张道路图像样本作为多张道路图像验证样本,最后根据多张道路图像训练样本及天气特征数据库对第二初始神经网络模型进行训练,并根据多张道路图像验证样本对训练好的初始神经网络模型进行验证,在训练后的初始神经网络模型验证成功后,将训练后的初始神经网络模型作为预设环境注入模型,预设环境注入模型中输出的结果为不同环境影响下的环境影响道路图像,预设规则为用户自定义设置的图像选取比例,可以为百分之七十,还可以为百分之六十等。In order to be able to obtain the preset environment injection model for image environment injection, it is necessary to obtain multiple road image samples and weather feature databases in advance, select multiple road image training samples from multiple road image samples according to preset rules, and The remaining multiple road image samples are used as multiple road image verification samples, and finally the second initial neural network model is trained according to the multiple road image training samples and the weather feature database, and the trained neural network model is trained according to the multiple road image verification samples. The initial neural network model is verified. After the trained initial neural network model is successfully verified, the trained initial neural network model is injected into the model as a preset environment, and the output result of the preset environment injection model is the environment under different environmental influences. Affecting the road image, the default rule is the user-defined image selection ratio, which can be 70%, 60%, etc.
在具体实现中,多张道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像,可以从多张道路图像样本中提取百分之七十的道路图像样本作为多张道路图像训练样本,根据剩余的标记图像样本确定多张道路图像验证样本。In a specific implementation, the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, which can be obtained from Seventy percent of the road image samples are extracted from the multiple road image samples as multiple road image training samples, and multiple road image verification samples are determined according to the remaining marked image samples.
假设不同环境影响下的环境影响特征信息分别为晴天特征信息、中午特征信息、雨天特征信息及傍晚特征信息,将晴天特征信息、中午特征信息、雨天特征信息、傍晚特征信息及基础道路图像输入至预设环境注入模块中,则获得晴天中午特征信息的道路图像、晴天傍晚特征信息的道路图像、雨天中午特征信息的道路图像及雨天傍晚特征信息的道路图像。Assuming that the environmental impact feature information under different environmental influences is sunny day feature information, noon feature information, rainy day feature information and evening feature information, the sunny day feature information, noon feature information, rainy day feature information, evening feature information and basic road image input to The preset environment is injected into the module to obtain road images of sunny noon characteristic information, sunny evening characteristic information road images, rainy noon characteristic information road images, and rainy evening characteristic information road images.
在本实施例中,将不同环境影响对应的环境影响特征信息和基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,预设环境注入模型通过对第二初始神经网络模型进行训练获得,相较于现有技术中直接通过拍摄设备实时采集具有环境影响的道路图像,但这种方式导致不同环境影响下的道路图像较少,还会增加图像拍摄的工作量,而本实施例中将不同环境影响对应的环境影响特征信息和基础道路图像输入至预设环境注入模型中,以使预设环境注入模型对基础道路图像叠加环境影响特征信息,从而获取不同环境影响下的环境影响道路图像,进而降低图像拍摄的工作量。In this embodiment, the environmental impact feature information and basic road images corresponding to different environmental impacts are input into the preset environment injection model to generate environmental impact road images under different environmental impacts. The initial neural network model is obtained by training. Compared with the existing technology that directly collects road images with environmental influences through shooting equipment in real time, this method results in fewer road images under different environmental influences and increases the work of image capture. In this embodiment, the environmental impact feature information corresponding to different environmental impacts and the basic road image are input into the preset environment injection model, so that the preset environment injection model superimposes the environmental impact feature information on the basic road image, thereby obtaining different The environment under the influence of the environment affects the road image, which in turn reduces the workload of image capture.
此外,本申请实施例还提出一种存储介质,所述存储介质上存储有基于深度学习道路图像生成程序,所述基于深度学习道路图像生成程序被处理器执行时实现如上文所述的基于深度学习道路图像生成方法的步骤。In addition, the embodiment of the present application also proposes a storage medium on which a deep learning-based road image generation program is stored. When the deep learning-based road image generation program is executed by a processor, the depth-based Learn the steps of a road image generation method.
参照图7,图7为本申请基于深度学习道路图像生成装置第一实施例的结构框图。Referring to FIG. 7, FIG. 7 is a structural block diagram of the first embodiment of the device for generating road images based on deep learning in the present application.
如图7所示,本申请实施例提出的基于深度学习道路图像生成装置包括:As shown in Figure 7, the road image generation device based on deep learning proposed in the embodiment of the present application includes:
获取模块7001,用于获取待处理道路图像。An acquisition module 7001, configured to acquire road images to be processed.
待处理道路图像为当前车辆上的拍摄设备实时采集的道路图像,该待处理道路图像中存在环境影响特征信息,需要说明的是,环境影响特征信息包括天气特征信息,例如晴天特征信息、雨天特征信息或雾天特征信息等,环境影响特征信息还包括光线特征信息,例如清晨特征信息、中午特征信息或傍晚特征信息等。The road image to be processed is the road image collected in real time by the shooting device on the current vehicle. There is environmental impact feature information in the road image to be processed. It should be noted that the environmental impact feature information includes weather feature information, such as sunny weather feature information, rainy weather feature information information or fog feature information, etc., the environmental impact feature information also includes light feature information, such as early morning feature information, noon feature information, or evening feature information.
天气特征信息可以理解为该天气对拍摄图像的影响信息,例如清晰度及模糊度等。光线特征信息可以理解为该光线对拍摄图像的影响信息,例如光线强度及图像亮度等。天气或光线不同,其对应的天气特征信息或光线特征信息不同。The weather characteristic information can be understood as the influence information of the weather on the captured image, such as clarity and blur. The light feature information may be understood as information about the influence of the light on the captured image, such as light intensity and image brightness. The weather or light is different, and the corresponding weather feature information or light feature information is different.
假设待处理道路图像在雨天中午通过拍摄设备拍摄的图像,则待处理道路图像中存在的环境影响特征信息包括天气特征信息及光线特征信息,其中天气特征信息为雨天特征信息,光线特征信息为中午特征信息等。Assuming that the road image to be processed is captured by a shooting device at noon on a rainy day, the environmental impact feature information in the road image to be processed includes weather feature information and light feature information, where the weather feature information is rainy day feature information, and the light feature information is noon feature information. feature information, etc.
剥离模块7002,用于对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像。The stripping module 7002 is configured to perform environmental impact removal processing on the road image to be processed to obtain a basic road image.
基础道路图像为无环境影响的道路图像,为了能够精准获取基础道路图像,对待处理道路图像进行环境影响去除处理,以获得基础道路图像的处理方式可以为将待处理道路图像输入至预设环境剥离模型中,以使预设环境剥离模型对待处理道路图像进行剥离处理,输出基础道路图像,该预设环境剥离模型通过对第一初始神经网络模型进行训练获得。The basic road image is a road image without environmental impact. In order to obtain the basic road image accurately, the road image to be processed is processed to remove the environmental impact, and the processing method to obtain the basic road image can be input to the preset environment stripping In the model, the preset environment stripping model is used to perform stripping processing on the road image to be processed to output the basic road image, and the preset environment stripping model is obtained by training the first initial neural network model.
为了能够获取对图像进行环境剥离处理的预设环境剥离模型,需要预先获取多张道路图像样本,然后分别对各道路图像样本进行环境标记,获得多张标记图像样本,该环境标记可以为人工对道路图像样本进行环境对比标记,按照预设规则从多张标记图像样本中选取多张道路图像训练样本,最后根据多张道路图像训练样本对第一初始神经网络模型进行训练,获得预设环境剥离模型。预设规则为用户自定义设置的图像选取比例,可以为百分之七十,还可以为百分之六十等。In order to be able to obtain the preset environment stripping model for image environment stripping processing, it is necessary to obtain multiple road image samples in advance, and then perform environment labeling on each road image sample to obtain multiple labeled image samples. The road image samples are marked for environmental comparison, and multiple road image training samples are selected from multiple marked image samples according to preset rules, and finally the first initial neural network model is trained according to the multiple road image training samples to obtain the preset environment stripping Model. The preset rule is an image selection ratio set by the user, which can be 70%, or 60%.
在具体实现中,多张道路图像样本包括多张晴天道路图像、多张雨天道路图像、多张雾天道路图像、多张清晨道路图像、多张中午道路图像及多张傍晚道路图像,根据环境对比对道路图像样本进行标注,之后可以从多张标记的道路图像样本即标记图像样本中提取百分之七十的道路图像样本作为多张道路图像训练样本,将剩余的标记图像样本作为多张道路图像验证样本。In a specific implementation, the multiple road image samples include multiple sunny road images, multiple rainy road images, multiple foggy road images, multiple early morning road images, multiple noon road images and multiple evening road images, according to the environment Comparing and marking the road image samples, 70% of the road image samples can be extracted from the multiple marked road image samples, that is, the marked image samples, as multiple road image training samples, and the remaining marked image samples can be used as multiple road image samples. Road image validation sample.
需要说明的是,根据多张道路图像训练样本对第一初始神经网络模型进行训练,得到初始环境剥离模型,之后需要将多张道路图像验证样本输入至初始环境剥离模型进行验证,在验证通过时,将初始环境剥离模型作为预设环境剥离模型。It should be noted that the first initial neural network model is trained according to multiple road image training samples to obtain the initial environment stripping model, and then multiple road image verification samples need to be input into the initial environment stripping model for verification. , using the initial environmental stripping model as the default environmental stripping model.
应理解的是,预设环境剥离模型可以输出待处理图像的环境信息及基础图像,其中环境信息中包括环境影响名称及对应的环境影响特征信息,在本实施例中可以根据输出的环境影响名称及对应的环境影响特征信息生成天气特征数据库,天气特征数据库中存在不同环境影响对应的环境影响特征信息。It should be understood that the preset environment stripping model can output the environmental information of the image to be processed and the basic image, where the environmental information includes the environmental impact name and the corresponding environmental impact feature information, in this embodiment, the output environmental impact name can be and the corresponding environmental impact feature information to generate a weather feature database, in which there are environmental impact feature information corresponding to different environmental impacts.
在具体实现中,可以对多张待处理道路图像样本进行图像回环检测,从多张待处理道路图像样本中提取缺失道路图像样本,之后分别对缺失道路图像样本进行修补处理,获得多张道路图像修补样本,最后将多张道路图像修补样本替换对应的缺失道路图像样本,根据多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本。In a specific implementation, image loopback detection can be performed on multiple road image samples to be processed, missing road image samples can be extracted from multiple road image samples to be processed, and then the missing road image samples can be repaired respectively to obtain multiple road images Repair the samples, and finally replace the corresponding missing road image samples with the plurality of road image repair samples, and determine the plurality of road image samples according to the plurality of road image repair samples and the plurality of road image samples to be processed.
分别对缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本的处理方式可以为对缺失道路图像样本集中的缺失道路图像样本进行遍历,将遍历到的缺失道路图像样本作为当前缺失道路图像样本,然后确定当前缺失道路图像样本对应的缺失特征信息,之后根据缺失特征信息对当前缺失道路图像样本进行修补处理,获得道路图像修补样本,最后在对多张图像数据遍历结束后,获取多张道路图像修补样本。The missing road image samples in the missing road image sample set are respectively repaired, and the processing method of obtaining multiple road image repair samples can be to traverse the missing road image samples in the missing road image sample set, and the traversed missing road image samples As the current missing road image sample, then determine the missing feature information corresponding to the current missing road image sample, and then repair the current missing road image sample according to the missing feature information to obtain the road image repair sample, and finally complete the traversal of multiple image data After that, multiple road image inpainting samples are obtained.
在本实施例中,获取缺失道路图像,之后根据缺失道路图像的当前缺失特征信息获取对应的标准道路图像,该标准道路图像为具有完整像素信息的缺失道路图像对应的无环境影响的道路图像,之后根据无环境影响的道路图像对缺失道路图像进行修补处理,获得道路图像修补样本,该道路图像修补样本的天气影响信息与缺失道路图像的天气影响信息一致,该道路图像修补样本为具有完整像素信息和天气影响信息的道路图像。In this embodiment, the missing road image is obtained, and then the corresponding standard road image is obtained according to the current missing feature information of the missing road image, the standard road image is a road image without environmental impact corresponding to the missing road image with complete pixel information, Then, the missing road image is repaired according to the road image without environmental impact, and the road image repair sample is obtained. The weather influence information of the road image repair sample is consistent with the weather influence information of the missing road image, and the road image repair sample has complete pixels Road imagery for information and weather-affected information.
注入模块7003,用于根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。The injection module 7003 is configured to perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
不同环境影响对应的环境影响特征信息可以从天气特征数据库中获取,天气特征数据库中包括多个环境影响名称及对应的环境影响特征信息,其中环境影响名称与环境影响特征信息存在一一对应的关系。The environmental impact feature information corresponding to different environmental impacts can be obtained from the weather feature database, which includes multiple environmental impact names and corresponding environmental impact feature information, where there is a one-to-one correspondence between the environmental impact names and the environmental impact feature information .
将不同环境影响对应的环境影响特征信息和基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,预设环境注入模型通过对第二初始神经网络模型进行训练获得。Input the environmental impact feature information corresponding to different environmental impacts and the basic road image into the preset environment injection model to generate environmental impact road images under different environmental impacts. The preset environment injection model is trained by the second initial neural network model get.
为了能够获取对图像进行环境注入的预设环境注入模型,需要预先需要预先获取多张道路图像样本,之后根据多张道路图像样本对第二初始神经网络模型进行训练和验证,最后训练后的初始神经网络模型验证成功后,将训练后的初始神经网络模型作为预设环境注入模型,预设环境注入模型中输出的结果为不同环境影响下的环境影响道路图像。In order to be able to obtain the preset environment injection model for image environment injection, it is necessary to obtain multiple road image samples in advance, and then train and verify the second initial neural network model according to the multiple road image samples, and finally the initial training after training After the neural network model is successfully verified, the trained initial neural network model is used as the preset environment injection model, and the output result of the preset environment injection model is the environmental impact road image under different environmental influences.
假设不同环境影响下的环境影响特征信息分别为晴天特征信息、中午特征信息、雨天特征信息及傍晚特征信息,将晴天特征信息、中午特征信息、雨天特征信息、傍晚特征信息及基础道路图像输入至预设环境注入模块中,则获得晴天中午特征信息的道路图像、晴天傍晚特征信息的道路图像、雨天中午特征信息的道路图像及雨天傍晚特征信息的道路图像。Assuming that the environmental impact feature information under different environmental influences is sunny day feature information, noon feature information, rainy day feature information and evening feature information, the sunny day feature information, noon feature information, rainy day feature information, evening feature information and basic road image input to The preset environment is injected into the module to obtain road images of sunny noon characteristic information, sunny evening characteristic information road images, rainy noon characteristic information road images, and rainy evening characteristic information road images.
在本实施例中,首先获取待处理道路图像,然后对待处理道路图像进行环境影响去除处理,以获得基础道路图像,最后根据不同环境影响对应的环境影响特征信息分别对基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。相较于现有技术中直接根据实时采集天气良好的道路图像制作高精度地图,导致制作高精度地图的环境影响图像样本较少,而本实施例中获取道路图像对应的基础道路图像和不同环境影响下的环境影响特征信息,基础道路图像为无环境影响的道路图像,之后根据环境影响特征信息及基础道路图像生成不同环境影响下的环境影响道路图像,从而实现了环境影响道路图像的多样化,进而丰富了高精度地图种类。In this embodiment, first obtain the road image to be processed, then perform environmental impact removal processing on the road image to be processed to obtain the basic road image, and finally perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, To generate environmental impact road images under different environmental influences. Compared with the prior art, which directly collects real-time road images with good weather to make high-precision maps, resulting in fewer samples of environmental impact images for making high-precision maps, and in this embodiment, the basic road images corresponding to road images and different environmental Environmental impact feature information under the impact, the basic road image is a road image without environmental impact, and then according to the environmental impact feature information and the basic road image to generate environmental impact road images under different environmental impacts, thus realizing the diversification of environmental impact road images , thus enriching the types of high-precision maps.
本申请基于深度学习道路图像生成装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。For other embodiments or specific implementations of the device for generating road images based on deep learning in this application, reference may be made to the above-mentioned method embodiments, which will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器/随机存取存储器、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as read-only memory/random access memory, magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.

Claims (10)

  1. 一种基于深度学习道路图像生成方法,其特征在于,所述基于深度学习道路图像生成方法,包括以下步骤:A method for generating road images based on deep learning, characterized in that, the method for generating road images based on deep learning comprises the following steps:
    获取待处理道路图像;Obtain road images to be processed;
    对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像;performing environmental impact removal processing on the road image to be processed to obtain a basic road image;
    根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。Injection processing is performed on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  2. 如权利要求1所述的方法,其特征在于,所述对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像的步骤,包括:The method according to claim 1, wherein the step of performing environmental impact removal processing on the road image to be processed to obtain a basic road image comprises:
    将所述待处理道路图像输入至预设环境剥离模型中,获得基础道路图像,所述预设环境剥离模型通过对第一初始神经网络模型进行训练获得。The road image to be processed is input into a preset environment stripping model to obtain a basic road image, and the preset environment stripping model is obtained by training a first initial neural network model.
  3. 如权利要求2所述的方法,其特征在于,所述将所述待处理道路图像输入至预设环境剥离模型中,获得基础道路图像的步骤之前,还包括:The method according to claim 2, wherein, before the step of obtaining the basic road image, the step of inputting the road image to be processed into the preset environment stripping model further includes:
    获取多张道路图像样本;Obtain multiple road image samples;
    分别对各道路图像样本进行环境标记,获得多张标记图像样本;Carry out environmental marking on each road image sample respectively, and obtain multiple marked image samples;
    按照预设规则从多张标记图像样本中选取多张道路图像训练样本;selecting a plurality of road image training samples from the plurality of marked image samples according to preset rules;
    根据多张道路图像训练样本对第一初始神经网络模型进行训练,获得预设环境剥离模型。The first initial neural network model is trained according to a plurality of road image training samples to obtain a preset environment stripping model.
  4. 如权利要求3所述的方法,其特征在于,所述获取多张道路图像样本的步骤,包括:The method according to claim 3, wherein the step of acquiring a plurality of road image samples comprises:
    获取多张待处理道路图像样本;Obtain multiple road image samples to be processed;
    对多张待处理道路图像样本对应的图像像素信息进行遍历,将遍历到的图像像素信息作为当前图像像素信息;Traversing the image pixel information corresponding to a plurality of road image samples to be processed, and using the traversed image pixel information as the current image pixel information;
    在所述当前图像像素信息满足预设像素条件时,从多张待处理道路图像样本中提取所述当前图像像素信息对应的缺失道路图像样本;When the pixel information of the current image satisfies a preset pixel condition, extracting missing road image samples corresponding to the pixel information of the current image from a plurality of road image samples to be processed;
    在对多张图像像素信息遍历结束后,根据提取结果建立缺失道路图像样本集;After traversing the pixel information of multiple images, a missing road image sample set is established according to the extraction results;
    根据多张待处理道路图像样本和所述缺失道路图像样本集确定多张道路图像样本。A plurality of road image samples are determined according to the plurality of road image samples to be processed and the missing road image sample set.
  5. 如权利要求4所述的方法,其特征在于,所述根据多张待处理道路图像样本和所述缺失道路图像样本集确定多张道路图像样本的步骤,包括:The method according to claim 4, wherein the step of determining a plurality of road image samples according to the plurality of road image samples to be processed and the missing road image sample set comprises:
    分别对所述缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本;Carrying out repair processing on the missing road image samples in the missing road image sample set respectively to obtain a plurality of road image repair samples;
    根据多张道路图像修补样本和多张待处理道路图像样本确定多张道路图像样本。A plurality of road image samples are determined according to the plurality of road image repair samples and the plurality of road image samples to be processed.
  6. 如权利要求5所述的方法,其特征在于,所述分别对所述缺失道路图像样本集中的缺失道路图像样本进行修补处理,获得多张道路图像修补样本的步骤,包括:The method according to claim 5, wherein the step of repairing the missing road image samples in the missing road image sample set to obtain a plurality of road image repair samples includes:
    对所述缺失道路图像样本集中的缺失道路图像样本进行遍历,将遍历到的缺失道路图像样本作为当前缺失道路图像样本;Traverse the missing road image samples in the missing road image sample set, and use the traversed missing road image samples as the current missing road image samples;
    确定所述当前缺失道路图像样本对应的缺失特征信息;determining missing feature information corresponding to the current missing road image sample;
    根据所述缺失特征信息对所述当前缺失道路图像样本进行修补处理,获得道路图像修补样本;performing repair processing on the currently missing road image sample according to the missing feature information to obtain a road image repair sample;
    在对多张图像数据遍历结束后,获取多张道路图像修补样本。After the traversal of multiple image data is completed, multiple road image patch samples are obtained.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像的步骤,包括:The method according to any one of claims 1-6, characterized in that, according to the environmental impact feature information corresponding to different environmental impacts, the basic road image is injected into the basic road image to generate environmental impacts under different environmental impacts The steps of the road image include:
    将不同环境影响对应的环境影响特征信息和所述基础道路图像输入至预设环境注入模型中,以生成不同环境影响下的环境影响道路图像,所述预设环境注入模型通过对第二初始神经网络模型进行训练获得。The environmental impact feature information corresponding to different environmental impacts and the basic road image are input into a preset environment injection model to generate environmental impact road images under different environmental impacts, and the preset environment injection model passes the second initial neuron The network model is trained to obtain.
  8. 一种基于深度学习道路图像生成装置,其特征在于,所述基于深度学习道路图像生成装置包括:A road image generation device based on deep learning, characterized in that the road image generation device based on deep learning includes:
    获取模块,用于获取待处理道路图像;An acquisition module, configured to acquire road images to be processed;
    剥离模块,用于对所述待处理道路图像进行环境影响去除处理,以获得基础道路图像;A stripping module, configured to perform environmental impact removal processing on the road image to be processed to obtain a basic road image;
    注入模块,用于根据不同环境影响对应的环境影响特征信息分别对所述基础道路图像进行注入处理,以生成不同环境影响下的环境影响道路图像。The injection module is configured to perform injection processing on the basic road image according to the environmental impact feature information corresponding to different environmental impacts, so as to generate environmental impact road images under different environmental impacts.
  9. 一种基于深度学习道路图像生成设备,其特征在于,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于深度学习道路图像生成程序,所述基于深度学习道路图像生成程序配置为实现如权利要求1至7中任一项所述的基于深度学习道路图像生成方法的步骤。A road image generation device based on deep learning, characterized in that the device includes: a memory, a processor, and a road image generation program based on deep learning that is stored on the memory and can run on the processor, the The road image generation program based on deep learning is configured to implement the steps of the method for generating road images based on deep learning according to any one of claims 1 to 7.
  10. 一种存储介质,其特征在于,所述存储介质上存储有基于深度学习道路图像生成程序,所述基于深度学习道路图像生成程序被处理器执行时实现如权利要求1至7任一项所述的基于深度学习道路图像生成方法的步骤。A storage medium, characterized in that the storage medium is stored with a road image generation program based on deep learning, and when the road image generation program based on deep learning is executed by a processor, it realizes any one of claims 1 to 7 The steps of the road image generation method based on deep learning.
PCT/CN2021/113511 2021-08-19 2021-08-19 Road image generation method and apparatus based on deep learning, and device and storage medium WO2023019507A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180099924.XA CN117616425A (en) 2021-08-19 2021-08-19 Road image generation method, device, equipment and storage medium based on deep learning
PCT/CN2021/113511 WO2023019507A1 (en) 2021-08-19 2021-08-19 Road image generation method and apparatus based on deep learning, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/113511 WO2023019507A1 (en) 2021-08-19 2021-08-19 Road image generation method and apparatus based on deep learning, and device and storage medium

Publications (1)

Publication Number Publication Date
WO2023019507A1 true WO2023019507A1 (en) 2023-02-23

Family

ID=85239313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113511 WO2023019507A1 (en) 2021-08-19 2021-08-19 Road image generation method and apparatus based on deep learning, and device and storage medium

Country Status (2)

Country Link
CN (1) CN117616425A (en)
WO (1) WO2023019507A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2460067A1 (en) * 2009-07-31 2012-06-06 Baron Services, Inc. System and method for determining road conditions
CN110288550A (en) * 2019-06-28 2019-09-27 中国人民解放军火箭军工程大学 The single image defogging method of confrontation network is generated based on priori knowledge guiding conditions
CN110297926A (en) * 2018-12-29 2019-10-01 中国科学院软件研究所 The spaceborne in-orbit configuration method of image processing apparatus
CN110647986A (en) * 2019-08-13 2020-01-03 杭州电子科技大学 Road damage image generation method based on countermeasure type generation network
CN110956146A (en) * 2019-12-04 2020-04-03 新奇点企业管理集团有限公司 Road background modeling method and device, electronic equipment and storage medium
CN111161160A (en) * 2019-12-04 2020-05-15 新奇点企业管理集团有限公司 Method and device for detecting obstacle in foggy weather, electronic equipment and storage medium
CN111524349A (en) * 2020-04-14 2020-08-11 长安大学 Context feature injected multi-scale traffic flow prediction model and method
CN112504271A (en) * 2019-09-16 2021-03-16 波音公司 System and method for automatically generating training image sets for an environment
CN112884147A (en) * 2021-02-26 2021-06-01 上海商汤智能科技有限公司 Neural network training method, image processing method, device and electronic equipment
CN113077424A (en) * 2021-03-23 2021-07-06 广东电网有限责任公司广州供电局 Power transmission line channel environment change detection method and system based on deep learning

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2460067A1 (en) * 2009-07-31 2012-06-06 Baron Services, Inc. System and method for determining road conditions
CN110297926A (en) * 2018-12-29 2019-10-01 中国科学院软件研究所 The spaceborne in-orbit configuration method of image processing apparatus
CN110288550A (en) * 2019-06-28 2019-09-27 中国人民解放军火箭军工程大学 The single image defogging method of confrontation network is generated based on priori knowledge guiding conditions
CN110647986A (en) * 2019-08-13 2020-01-03 杭州电子科技大学 Road damage image generation method based on countermeasure type generation network
CN112504271A (en) * 2019-09-16 2021-03-16 波音公司 System and method for automatically generating training image sets for an environment
CN110956146A (en) * 2019-12-04 2020-04-03 新奇点企业管理集团有限公司 Road background modeling method and device, electronic equipment and storage medium
CN111161160A (en) * 2019-12-04 2020-05-15 新奇点企业管理集团有限公司 Method and device for detecting obstacle in foggy weather, electronic equipment and storage medium
CN111524349A (en) * 2020-04-14 2020-08-11 长安大学 Context feature injected multi-scale traffic flow prediction model and method
CN112884147A (en) * 2021-02-26 2021-06-01 上海商汤智能科技有限公司 Neural network training method, image processing method, device and electronic equipment
CN113077424A (en) * 2021-03-23 2021-07-06 广东电网有限责任公司广州供电局 Power transmission line channel environment change detection method and system based on deep learning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PATEL KAIVAL KAMLESHKUMAR: "A Simulation Environment with Reduced Reality Gap for Testing Autonomous Vehicles ", SCHOLARSHIP AT UWINDSOR, THESES, DISSERTATIONS, AND MAJOR PAPERS, 1 August 2020 (2020-08-01), XP093036624, Retrieved from the Internet <URL:https://scholar.uwindsor.ca/cgi/viewcontent.cgi?article=9310&context=etd> [retrieved on 20230331] *

Also Published As

Publication number Publication date
CN117616425A (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN110929577A (en) Improved target identification method based on YOLOv3 lightweight framework
CN110766038B (en) Unsupervised landform classification model training and landform image construction method
CN111767228A (en) Interface testing method, device, equipment and medium based on artificial intelligence
KR20160122452A (en) Deep learnig framework and image recognition method for content-based visual image recognition
CN114155244B (en) Defect detection method, device, equipment and storage medium
CN111309222B (en) Sliding block notch positioning and dragging track generation method for sliding block verification code
CN111310156B (en) Automatic identification method and system for slider verification code
CN111310155B (en) System architecture for automatic identification of slider verification code and implementation method
CN115393727A (en) Pavement linear crack identification method, electronic equipment and storage medium
CN115984486B (en) Bridge model generation method and device integrating laser radar and depth camera
CN113505854A (en) Method, device, equipment and medium for constructing facial image quality evaluation model
CN112381092B (en) Tracking method, tracking device and computer readable storage medium
CN111310613A (en) Image detection method and device and computer readable storage medium
WO2021159736A1 (en) Application compatibility test method and apparatus, and computer device
CN112712121A (en) Image recognition model training method and device based on deep neural network and storage medium
WO2021146905A1 (en) Deep learning-based scene simulator construction method and apparatus, and computer device
CN112527676A (en) Model automation test method, device and storage medium
CN116991467A (en) Code repairing system and repairing method based on large language model
WO2023019507A1 (en) Road image generation method and apparatus based on deep learning, and device and storage medium
CN114049764B (en) Traffic simulation method and system based on convolution long-time and short-time memory neural network
CN115688496B (en) Method for obtaining automatic driving simulation test script and related device
CN111858347A (en) Metamorphic test method based on correctness of intelligent traffic model
CN116962612A (en) Video processing method, device, equipment and storage medium applied to simulation system
WO2023110478A1 (en) Method for automatically exploring states and transitions of a human machine interface (hmi) device
CN115062571A (en) Dynamic selection method, system, equipment and computer readable storage medium for data area of integrated circuit device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21953753

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180099924.X

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE