Large image enhancement model for severe environment
By establishing an image enhancement model in harsh environments, combined with light and dark image pair data sets and diffusion models, the problems of image enhancement and rain and fog denoising in harsh environments are solved, and the perception ability and driving safety of the autonomous driving system in harsh environments are improved. sex.
Patent Information
- Application Number
- CN202410705544.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-03
AI Technical Summary
The existing technology's image enhancement methods have low accuracy, poor generalization ability, and low computational efficiency in harsh environments (such as insufficient light at night and rainy and foggy weather). They cannot meet the needs of autonomous vehicles for complex environments in multiple scenes, affecting driving safety.
Based on the image enhancement model, by collecting harsh environment image data sets, establishing a light and dark image pair data set, designing a non-diffusion translation branch and gradient adaptive convolution structure, combining the diffusion model and self-supervised gradient loss to achieve image brightness enhancement and rain and fog removal. noise function.
It improves the visibility and perception of images in harsh environments, improves the driving safety of autonomous driving systems at night and in rainy and foggy weather, solves the problems of blurred image details and low contrast, and enhances the clarity and contrast of images.
Smart Images

Figure CN118587116A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image enhancement, and in particular to a large image enhancement model for harsh environments. Background Art
[0002] With the rapid development of autonomous driving technology, the perception ability of autonomous driving vehicles in various environments has become particularly critical. Among them, the visual perception system, especially the camera, is one of the main ways for autonomous driving vehicles to obtain external information. Its performance directly affects the safety and reliability of autonomous driving. However, in harsh environments, such as insufficient light at night, rainy and foggy weather, the quality of images captured by the camera will drop significantly, seriously affecting the judgment and decision-making of the autonomous driving system.
[0003] When driving at night, due to insufficient light, the camera cannot capture enough information, resulting in blurred image details and low contrast. This not only makes it difficult for autonomous vehicles to identify key information such as road signs and obstacles, but may also cause traffic accidents. Therefore, improving the brightness and contrast of night images and restoring image details are of great significance to improving the night driving capabilities of autonomous driving systems.
[0004] Similarly, in rainy and foggy weather, the images captured by the camera will be disturbed by raindrops and fog, resulting in blurring, reduced contrast and other problems. These interferences not only affect the autonomous driving vehicle's ability to perceive the surrounding environment, but may also mislead the system to make wrong judgments and decisions. Therefore, removing raindrops and fog from the image and restoring the image's clarity and contrast are also crucial to improving the autonomous driving system's ability to drive in rainy and foggy weather.
[0005] There are two main methods for image enhancement in harsh environments: traditional methods and deep learning methods. Traditional methods include histogram equalization, color thresholding, and perspective transformation, but they have low accuracy and weak generalization capabilities. Image enhancement methods in harsh environments based on deep learning methods are usually only targeted at a single scene, with poor algorithm applicability or requiring large-scale computing power support, low computing efficiency, and not conducive to subsequent deployment and application. They cannot be used for various sudden weather conditions when large-scale autonomous driving vehicles are used, and are prone to vehicle accidents.
[0006] The Chinese patent application with publication number CN113191977A mainly provides a light enhancement and rain and fog denoising method based on traditional image processing. First, the dark light area and rain and fog area of interest are obtained through target detection, and then the pixel value is adjusted through histogram equalization in traditional image processing to reduce the impact of dark light or rain and fog noise on the image. However, this method is limited to specific scenes and cannot meet the image enhancement needs of complex environments in multiple scenes. Summary of the invention
[0007] In view of the above problems, the present invention provides an image enhancement method for harsh environments based on an image enhancement model, and proposes an image enhancement model for harsh environments in dark light conditions at night in autonomous driving scenarios, which can simultaneously realize the functions of dark light enhancement and rain, snow and fog denoising, and improve the visibility of a single night rain and fog image by suppressing glow and enhancing low-light areas, thereby improving the perception ability and driving safety of the autonomous driving system in harsh environments.
[0008] The present invention provides a large image enhancement model for harsh environments, comprising:
[0009] Step 1: Collect video data to create a harsh environment image dataset;
[0010] Preferably, the specific steps of collecting video data to produce a harsh environment image dataset in step 1 include:
[0011] Installing a camera on a data collection vehicle to select dynamic video data of various roads during rainy and foggy periods; collecting dynamic video data of the various roads in clear weather;
[0012] Selecting image data of various scenes and different light conditions from the dynamic video data of the various roads during rainy and foggy periods to create a harsh environment image data set;
[0013] Furthermore, step 1 also includes the ground truth of the harsh environment image dataset;
[0014] Furthermore, the specific steps of obtaining the true value of the harsh environment image dataset include: obtaining a sunny weather image dataset based on the dynamic video data in sunny weather; and using the sunny weather image dataset as the true value of the harsh environment image dataset.
[0015] Step 2: preparing the harsh environment image data set as an image data training set;
[0016] Preferably, the specific steps of preparing the harsh environment image data set as an image data training set in step 2 include:
[0017] Classifying multiple harsh environment image data in the harsh environment image data set to obtain multiple types of image data sets; the classified image data sets include five categories, namely: dark scenes at night, glare and sudden light change scenes at night, rainy scenes at night, foggy scenes at night, and snowy scenes at night;
[0018] Select 10,000 images from each type of image data set to make an image data training set;
[0019] Furthermore, step 2 also includes a test set; selecting a portion of the image training set as a test set;
[0020] Furthermore, 5000 images of different states and scenes are randomly selected from the image training set as a test set.
[0021] Step 3: establishing a bright and dark image pair dataset based on the harsh environment image dataset;
[0022] Preferably, the specific steps of establishing a data set of bright and dark image pairs in step 3 include:
[0023] Acquire a plurality of nighttime images based on the harsh environment image dataset;
[0024] Detecting the poor light source brightness of each night image based on a light source perception network; the poor light source brightness of the night image is specifically the light source glow and / or haze brightness;
[0025] A light source map is obtained based on the light source brightness of multiple night images;
[0026] The atmospheric point spread function is converted into a 2D format to obtain an updated atmospheric point spread function;
[0027] Each night image is convolved on the light source map using the updated atmospheric point spread function and the corresponding light source consistency loss to enhance the image brightness, thereby obtaining a brightness enhanced image corresponding to each night image;
[0028] Each night image is fused with the corresponding brightness-enhanced image pixel by pixel to obtain a light-enhanced image corresponding to each night image;
[0029] A dataset of bright and dark image pairs is established based on multiple night images and the corresponding light-enhanced images.
[0030] It is understandable that the brightness-enhanced image is a dark light or glare image;
[0031] Exemplarily, the light source is an active light source, which can generate strong light in a hazy night scene, such as street lights, car headlights and building lights;
[0032] Preferably, the brightness expression of the harsh light source of the night image is:
[0033] I h (x) = I c (x)t(x)+A(x)(1-t(x))+L s (x)×APSF
[0034] Among them, I h (x) represents the light source brightness expression of night image x, I c(x) represents the overall brightness of the scene in the night image x (excluding the influence of bad weather), A(x) represents the atmospheric algorithm used for light source mapping detection in the night image x, t(x) represents the light transmission time of the night image x, t(x) = e -βd(x) , where β is the extinction coefficient, d(x) represents the light transmission distance of night image x; L s (x) represents the light source brightness of the night image x, and APSF represents the atmospheric point spread function.
[0035] Preferably, the light source consistency loss expression is:
[0036]
[0037] in, represents the light source consistency loss of night image x, O c (x) is the clean image corresponding to the night image x, M(x) is the mask map of the night image x, ⊙ is used to represent the multiplication operation between elements, and L s A light source map.
[0038] Furthermore, step 3 also includes obtaining the light source consistency loss corresponding to each night image, and the specific steps include:
[0039] Perform threshold processing on the night image x to generate the initial light source mask M′(x);
[0040] Based on the initial light source mask, the night image x is subjected to light source differentiation to obtain a corresponding light source region;
[0041] The initial light source mask M′(x) is refined by using alpha matting technology to obtain a mask map M(x);
[0042] The light source area of the night image x is element-wise multiplied with the corresponding mask image M(x) to obtain the light source consistency loss
[0043] Step 4, designing a non-diffusion translation branch NTB in the initial diffusion model to obtain a diffusion model;
[0044] Training the diffusion model based on the bright and dark image pair data set in step 3 to obtain an updated diffusion model;
[0045] It can be understood that the diffusion model is used to obtain the similarity scores of the unpaired rainy foggy images and clear images;
[0046] Preferably, the specific steps of obtaining the updated diffusion model in step 4 include:
[0047] Inputting the plurality of light and dark image pair data in the light and dark image pair data set in step 3 into the diffusion model in sequence for training to obtain an updated diffusion model;
[0048] Preferably, the initial diffusion model is a denoised diffusion probability model (DDPM);
[0049] Preferably, the non-diffusion translation branch includes a network structure 1 and a network structure 2; the network structure 1 and the network structure 2 have the same structure and parameters; the network structure 1 and the network structure 2 are used to input an unpaired rainy fog image y and a clear image x respectively;
[0050] The non-diffusion translation branch is used to perform translation estimation on the unpaired rain fog image y and the clear image x to obtain a similarity score between the unpaired rain fog image y and the clear image x;
[0051] Furthermore, the translation estimation specifically comprises the following steps:
[0052] The pixel interpolation of the unpaired rain fog image y and the clear image x is calculated pixel by pixel based on the network structure 1 and the network structure 2, and the similarity score of the unpaired rain fog image and the clear image is obtained based on the pixel interpolation.
[0053] Preferably, the diffusion generator of the diffusion model is a U-Net network structure.
[0054] Step 5: design a gradient adaptive convolution structure, embed the gradient adaptive convolution structure into the updated diffusion model described in step 4, and obtain an initial image enhancement model;
[0055] It can be understood that the initial image enhancement model extracts similar features of the unpaired rainy fog image y and the clear image x based on the similarity scores of the unpaired rainy fog image y and the clear image x and the gradient adaptive convolution structure.
[0056] Preferably, the gradient adaptive convolution structure expression is:
[0057]
[0058] Among them, v′ i represents the feature of input image i, i = 1, 2, 3…I, I represents the total number of images, and input image i includes night images and non-night images; v j represents the input image j, j∈I, w is the weight of the input image in the k×k convolution window; p i represents the spatial dimension of the input image i in two-dimensional space; p j represents the spatial dimension of the input image j in two-dimensional space, [p i -p j] represents the index into the spatial dimension of an array with a two-dimensional spatial offset.
[0059] Step 6: input the multiple image data in the image data training set in step 2 into the initial image enhancement model in sequence for training to obtain an image enhancement model;
[0060] Preferably, step 6 also includes evaluating the image enhancement model based on a test set.
[0061] Exemplarily, the present invention further includes step 7, selecting a night image from the harsh environment image data set and inputting the image enhancement model to perform image deraining and fogging reconstruction to obtain an updated night image; it can be understood that the updated night image is an image after deraining and fogging processing;
[0062] Based on the self-supervised gradient loss, the inner contour edge of the updated night image is optimized and enhanced twice, and a restored image corresponding to the night image is output.
[0063] Preferably, the self-supervised gradient loss expression is:
[0064]
[0065] in, is the self-supervised gradient loss value of the night image x; D(O c,x ) represents the night image x output by the network after removing rain, snow and fog, D(I h,x ) represents the harsh environment noise image of the night image x input by the network, O c,x I represents the night image x after removing rain, snow and fog; h,x Represents a harsh environment noisy image of a night image x.
[0066] The expression for updating the night image is:
[0067]
[0068] Among them, x″ is the updated image x, reconstructing the rain and fog image; Represents the image parameters based on nighttime rain and fog removal The translation estimation network function of ; x′ represents the nighttime rain and fog removal image (rain and fog free image);
[0069] Furthermore, the nighttime rain and fog removal image expression is:
[0070]
[0071] Among them, x is a night image (rainy and foggy image); Indicates night image parameters The translation estimation network function of .
[0072] Compared with the prior art, the present invention has at least the following beneficial effects:
[0073] (1) The present invention produces a dataset of bright and dark image pairs based on a harsh environment image dataset and an APSF function, eliminating the need to collect corresponding true values, greatly reducing the difficulty of data collection and thus improving data collection efficiency;
[0074] (2) The present invention proposes a harsh environment image denoising network based on a diffusion model. For different scenes and rain and fog images with different degrees, a rain and fog denoising diffusion model is designed, and a non-diffusion translation branch is designed. Based on semi-supervised learning, the problem of no true value in training is solved, which greatly improves the final harsh environment denoising effect.
[0075] (3) The present invention designs a gradient adaptive convolution structure, extracts the inner contour and edge features of the image based on the adaptive convolution kernel, and performs secondary optimization and image enhancement on this feature, thereby solving the problem of blurred edges in previous image enhancement results. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] The drawings are only for the purpose of illustrating particular embodiments and are not to be construed as limiting the invention.
[0077] Figure 1 A schematic diagram of a method for performing image enhancement in a harsh environment based on an image enlargement model in an embodiment of the present invention;
[0078] Figure 2 A schematic diagram of an example of a harsh environment data set in an embodiment of the present invention;
[0079] Figure 3 A schematic diagram of a process for generating a bright and dark image matching pair in an embodiment of the present invention;
[0080] Figure 4 Schematic diagram of a gradient adaptive convolution structure in an embodiment of the present invention. DETAILED DESCRIPTION
[0081] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, the present invention can also be implemented in other ways different from those described herein, and therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0082] A specific embodiment of the present invention, as Figure 1-4, the present invention discloses a large image enhancement model for harsh environments,, in order to illustrate the effectiveness of the method proposed by the present invention, the above technical solution of the present invention is described in detail through a specific embodiment below, and the specific implementation steps are as follows:
[0083] Step 1: Collect video data to create a harsh environment image dataset;
[0084] Preferably, the specific steps of collecting video data to produce a harsh environment image dataset in step 1 include:
[0085] Installing a camera on a data collection vehicle to select dynamic video data of various roads during rainy and foggy periods; collecting dynamic video data of the various roads in clear weather;
[0086] Selecting image data of various scenes and different light conditions from the dynamic video data of the various roads during rainy and foggy periods to create a harsh environment image data set;
[0087] Furthermore, step 1 also includes the ground truth of the harsh environment image dataset;
[0088] Furthermore, the specific steps of obtaining the true value of the harsh environment image dataset include: obtaining a sunny weather image dataset based on the dynamic video data in sunny weather; and using the sunny weather image dataset as the true value of the harsh environment image dataset.
[0089] Step 2: preparing the harsh environment image data set as an image data training set;
[0090] Preferably, the specific steps of preparing the harsh environment image data set as an image data training set in step 2 include:
[0091] Classifying multiple harsh environment image data in the harsh environment image data set to obtain multiple types of image data sets; the classified image data sets include five categories, namely: dark scenes at night, glare and sudden light change scenes at night, rainy scenes at night, foggy scenes at night, and snowy scenes at night;
[0092] Select 10,000 images from each type of image data set to make an image data training set;
[0093] Furthermore, step 2 also includes a test set; selecting a portion of the image training set as a test set;
[0094] Furthermore, 5000 images of different states and scenes are randomly selected from the image training set as a test set.
[0095] Step 3: establishing a bright and dark image pair dataset based on the harsh environment image dataset;
[0096] Preferably, the specific steps of establishing a data set of bright and dark image pairs in step 3 include:
[0097] Acquire a plurality of nighttime images based on the harsh environment image dataset;
[0098] Detecting the poor light source brightness of each night image based on a light source perception network; the poor light source brightness of the night image is specifically the light source glow and / or haze brightness;
[0099] A light source map is obtained based on the light source brightness of multiple night images;
[0100] The atmospheric point spread function is converted into a 2D format to obtain an updated atmospheric point spread function;
[0101] Each night image is convolved on the light source map using the updated atmospheric point spread function and the corresponding light source consistency loss to enhance the image brightness, thereby obtaining a brightness enhanced image corresponding to each night image;
[0102] Each night image is fused with the corresponding brightness-enhanced image pixel by pixel to obtain a light-enhanced image corresponding to each night image;
[0103] A dataset of bright and dark image pairs is established based on multiple night images and the corresponding light-enhanced images.
[0104] It is understandable that the brightness-enhanced image is a dark light or glare image;
[0105] Exemplarily, the light source is an active light source, which can generate strong light in a hazy night scene, such as street lights, car headlights and building lights;
[0106] Preferably, the brightness expression of the harsh light source of the night image is:
[0107] I h (x) = I c (x)t(x)+A(x)(1-t(x))+L s (x)×APSF
[0108] Among them, I h (x) represents the light source brightness expression of night image x, I c (x) represents the overall brightness of the scene in the night image x (excluding the influence of bad weather), A(x) represents the atmospheric algorithm used for light source mapping detection in the night image x, t(x) represents the light transmission time of the night image x, t(x) = e -βd(x) , where β is the extinction coefficient, d(x) represents the light transmission distance of night image x; L s(x) represents the light source brightness of the night image x, and APSF represents the atmospheric point spread function.
[0109] Preferably, the light source consistency loss expression is:
[0110]
[0111] in, represents the light source consistency loss of night image x, O c (x) is the clean image corresponding to the night image x, M(x) is the mask map of the night image x, ⊙ is used to represent the multiplication operation between elements, and L s A light source map.
[0112] Furthermore, step 3 also includes obtaining the light source consistency loss corresponding to each night image, and the specific steps include:
[0113] Perform threshold processing on the night image x to generate the initial light source mask M′(x);
[0114] Based on the initial light source mask, the night image x is subjected to light source differentiation to obtain a corresponding light source region;
[0115] The initial light source mask M′(x) is refined by using alpha matting technology to obtain a mask map M(x);
[0116] The light source area of the night image x is element-wise multiplied with the corresponding mask image M(x) to obtain the light source consistency loss
[0117] Step 4, designing a non-diffusion translation branch NTB in the initial diffusion model to obtain a diffusion model;
[0118] Training the diffusion model based on the bright and dark image pair data set in step 3 to obtain an updated diffusion model;
[0119] It can be understood that the diffusion model is used to obtain the similarity scores of the unpaired rainy foggy images and clear images;
[0120] Preferably, the specific steps of obtaining the updated diffusion model in step 4 include:
[0121] Inputting the plurality of light and dark image pair data in the light and dark image pair data set in step 3 into the diffusion model in sequence for training to obtain an updated diffusion model;
[0122] Preferably, the initial diffusion model is a denoised diffusion probability model (DDPM);
[0123] Preferably, the non-diffusion translation branch includes a network structure 1 and a network structure 2; the network structure 1 and the network structure 2 have the same structure and parameters; the network structure 1 and the network structure 2 are used to input an unpaired rainy fog image y and a clear image x respectively;
[0124] The non-diffusion translation branch is used to perform translation estimation on the unpaired rain fog image y and the clear image x to obtain a similarity score between the unpaired rain fog image y and the clear image x;
[0125] Furthermore, the translation estimation specifically comprises the following steps:
[0126] The pixel interpolation of the unpaired rain fog image y and the clear image x is calculated pixel by pixel based on the network structure 1 and the network structure 2, and the similarity score of the unpaired rain fog image and the clear image is obtained based on the pixel interpolation.
[0127] Preferably, the diffusion generator of the diffusion model is a U-Net network structure.
[0128] Step 5: design a gradient adaptive convolution structure, embed the gradient adaptive convolution structure into the updated diffusion model described in step 4, and obtain an initial image enhancement model;
[0129] It can be understood that the initial image enhancement model extracts similar features of the unpaired rainy fog image y and the clear image x based on the similarity scores of the unpaired rainy fog image y and the clear image x and the gradient adaptive convolution structure.
[0130] Preferably, the gradient adaptive convolution structure expression is:
[0131]
[0132] Among them, v′ i represents the feature of input image i, i = 1, 2, 3…I, I represents the total number of images, and input image i includes night images and non-night images; v j represents the input image j, j∈I, w is the weight of the input image in the k×k convolution window; p i represents the spatial dimension of the input image i in two-dimensional space; p j represents the spatial dimension of the input image j in two-dimensional space, [p i -p j ] represents the index into the spatial dimension of an array with a two-dimensional spatial offset.
[0133] Step 6: input the multiple image data in the image data training set in step 2 into the initial image enhancement model in sequence for training to obtain an image enhancement model;
[0134] Preferably, step 6 also includes evaluating the image enhancement model based on a test set.
[0135] Exemplarily, the present invention further includes step 7, selecting a night image from the harsh environment image data set and inputting the image enhancement model to perform image deraining and fogging reconstruction to obtain an updated night image; it can be understood that the updated night image is an image after deraining and fogging processing;
[0136] Based on the self-supervised gradient loss, the inner contour edge of the updated night image is optimized and enhanced twice, and a restored image corresponding to the night image is output.
[0137] Preferably, the self-supervised gradient loss expression is:
[0138]
[0139] in, is the self-supervised gradient loss value of the night image x; D(O c,x ) represents the night image x output by the network after removing rain, snow and fog, D(I h,x ) represents the harsh environment noise image of the night image x input by the network, O c,x I represents the night image x after removing rain, snow and fog; h,x Represents a harsh environment noisy image of a night image x.
[0140] The expression for updating the night image is:
[0141]
[0142] Among them, x″ is the updated image x, reconstructing the rain and fog image; Represents the image parameters based on nighttime rain and fog removal The translation estimation network function of ; x′ represents the nighttime rain and fog removal image (rain and fog free image);
[0143] Furthermore, the nighttime rain and fog removal image expression is:
[0144]
[0145] Among them, x is a night image (rainy and foggy image); Indicates night image parameters The translation estimation network function of .
[0146] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A large image enhancement model for harsh environments, characterized in that: include: Step 1: Collect video data to create a harsh environment image dataset; Step 2: Create a harsh environment image dataset as an image data training set; Step 3: establishing a bright and dark image pair dataset based on the harsh environment image dataset; Step 4, designing a non-diffusion translation branch in the initial diffusion model to obtain a diffusion model; Training the diffusion model based on the bright and dark image pair data set in step 3 to obtain an updated diffusion model; Step 5: design a gradient adaptive convolution structure, embed the gradient adaptive convolution structure into the updated diffusion model in step 4, and obtain an initial image enhancement model; Step 6: Input the multiple image data in the image data training set in step 2 into the initial image enhancement model in sequence for training to obtain an image enhancement model.
2. The image enhancement large model for harsh environments according to claim 1 is characterized in that: The specific steps of establishing the bright and dark image pair data set in step 3 include: Acquire a plurality of nighttime images based on the harsh environment image dataset; Detect the brightness of harsh light sources in each night image; Obtain a light source map based on the brightness of harsh light sources in multiple nighttime images; The atmospheric point spread function is format-converted to obtain an updated atmospheric point spread function; the light source consistency loss corresponding to each night image is obtained; Each night image is convolved on the light source map using the updated atmospheric point spread function and the corresponding light source consistency loss, and the image brightness is enhanced to obtain a brightness enhanced image corresponding to each night image; Each night image is fused with the corresponding brightness-enhanced image to obtain a light-enhanced image corresponding to each night image; A dataset of bright and dark image pairs is established based on multiple night images and the corresponding light-enhanced images.
3. The image enhancement large model for harsh environments according to claim 2 is characterized in that: The brightness-enhanced image is a dark light or glare image.
4. The image enhancement large model for harsh environments according to claim 2 is characterized in that: The harsh light source brightness of each night image is the glow and / or haze brightness of the night image.
5. The large image enhancement model for harsh environments according to claim 2 is characterized in that: Step 3 is to obtain the light source consistency loss corresponding to each night image, and the specific steps include: Threshold processing is performed on the night image to generate an initial light source mask; Based on the initial light source mask, the night image is subjected to light source differentiation to obtain a corresponding light source area; Performing refinement processing on the initial light source mask to obtain a mask map; The light source area of the night image is element-wise multiplied with the corresponding mask image to obtain the light source consistency loss.
6. The image enhancement large model for harsh environments according to claim 2 is characterized in that: The expression of the light source consistency loss is: in, represents the light source consistency loss of night image x, O c (x) is the clean image corresponding to the night image x, M(x) is the mask map of the night image x, ⊙ is used to represent the multiplication operation between elements, and L s For the light source map.
7. The large image enhancement model for harsh environments according to claim 1 is characterized in that: The non-diffusion translation branch includes network structure 1 and network structure 2; The non-diffusion translation branch is used to perform translation estimation on the unpaired rainy foggy image and the clear sky image to obtain a similarity score between the unpaired rainy foggy image and the clear sky image.
8. The image enhancement large model for harsh environments according to claim 1 is characterized in that: The expression of the gradient adaptive convolution structure is: Among them, v i ′ represents the feature of input image i, i = 1, 2, 3…I, I represents the total number of images, and input image i includes night images and non-night images; v j represents the input image j, j∈I, w is the weight of the input image in the k×k convolution window; p i represents the spatial dimension of the input image i in two-dimensional space; p j represents the spatial dimension of the input image j in two-dimensional space, [p i -p j ] represents the index of the spatial dimension of an array with a two-dimensional spatial offset.
9. The large image enhancement model for harsh environments according to claim 1, characterized in that: The method comprises step 7, selecting a night image from a harsh environment image data set, inputting the image enhancement model, performing rain and fog removal reconstruction on the image, and obtaining an updated night image; Based on the self-supervised gradient loss, the inner contour edge of the updated night image is optimized and enhanced twice, and a restored image corresponding to the night image is output.
10. The image enhancement large model for harsh environments according to claim 9, characterized in that: The expression of the self-supervised gradient loss is: in, is the self-supervised gradient loss value of the night image x; D(O c,x ) represents the night image x output by the network after removing rain, snow and fog, D(I h,x ) represents the harsh environment noise image of the night image x input by the network, O c,x I represents the night image x after removing rain, snow and fog; h,x Represents a harsh environment noisy image of a night image x.
Citation Information
Patent Citations
Complex optical image enhancement method and device for severe environment and medium
CN116029947A
Image processing methods and systems for low-light image enhancement using machine learning models
US20230186446A1
Method for training image enhancement model, image enhancement method, and readable medium
WO2023050731A1
Low-light image enhancement method based on reinforcement learning and aesthetic evaluation
WO2023236565A1
