Underwater Image Enhancement Network Based on Dual Layers Regression

: Due to the absorption and scattering of light in water, captured underwater images often suffer from some degradation, such as color cast, blur, and low contrast. These types of degradation usually affect and degrade the performance of computer vision methods and tasks under water. In order to solve these problems, in this paper


Introduction
Underwater computer vision systems play an irreplaceable role in the exploitation, protection, and utilization of marine resources and are important tools for both manned and unmanned underwater vehicles in perceiving and recognizing underwater environments [1][2][3].Underwater optical imaging, as the information source of underwater computer vision systems, usually have quality degradation problems, such as color distortion, low contrast, and blur, as a result of the scattering and absorption of light in water mediums.These types of degradation usually affect the performance of vision-based tasks in water, such as object detection, recognition, and underwater visual surveys.Thus, underwater image restoration and enhancement [4][5][6][7] become significant for comprehending the underwater environment and enhancing image quality visually in the underwater computer vision field.
The degradation factors can be summarized as selective light attenuation and light scattering in water.The light attenuation characteristic in water results in color distortion of an underwater image with blue or green hue.The main reason is that, in the visible light range, red light has the longest wavelength and disappears fastest in water.Light scattering in water causes the reflected light from a scene to be absorbed and scattered by water or suspended particles before reaching the camera, which results in image blur and low illumination.
Traditional methods for restoring and enhancing underwater degraded images are mainly divided into two categories: data-based methods and physical model-based methods.Some classic data-based image processing methods are committed to improve visual quality.They include Gray World Algorithm [8], Limited Contrast Histogram Equalization [9], and Special Color Correction [10,11] in specialty settings underwater.These methods enhance underwater images by correcting the contrast or color of the image.The drawback of these methods is that they do not consider the special imaging conditions in water and are not always effective for color restoration and deblurring.Based on a simplified physical model of underwater optical imaging [12], many methods for single underwater image restoration have been proposed [13][14][15].These physical model-based approaches are usually realized by estimating the underwater ambient light and scene light transmission map to obtain a clear image with normal color.The effects of these restoration methods depend on the estimation accuracy of the underwater light transmission map, and require subsequently denoising and enhancement.
Recently, deep learning has outstanding performance in image enhancement [16], detection [17], image segmentation [18], and so on.Similarly, some deep learning-based methods of underwater image restoration and enhancement are proposed and achieve remarkable success compared with most non-learning methods.The deep learning methods can be classified into physical model-based nets [19][20][21] and pure data-driven nets [22][23][24][25], which both require abundant ground-truth images as training data.Datasets play a significant role in processing.However, paired images are difficult to acquire limited by the severe underwater conditions.Some researchers [24] utilized synthetic methods to generate paired underwater images.Pairs of underwater images and reference images are used as inputs and ground truth (GT) respectively to train the target network.
Considering the above deep learning-based methods, some of them are actually pure data-driven learning methods while using depth information or transmission maps.They directly learn the mapping between inputs and outputs, and do not consider characteristics of underwater imaging.Furthermore, most of these methods only put emphasis on the loss between inputs and final outputs, and do not constrain the outputs of each stage.In fact, constraints on the intermediate of the network also have significance for enhancement.Inspired by these problems, we combine the deep learning network with the physical imaging model, constrain the output of each stage of the network, and propose a multistage enhancement network named DLRNet.The ambient light and transmission map are acquired by a dual-layer regression module in DLRNet.With the network deepening and stage increasing, to produce enhancement images with better visual and metric quality than those in the previous stage, we constrain the outputs of each stage so that the intermediate outputs are constantly close to the reference.Moreover, we design the network to fuse the features of different stages.In this way, the previous stages are also helpful in promoting the comprehensive understanding of the features in the next stage so that the distort images can be enhanced stage by stage.As a result, this multi-stage and gradual optimization network improves images quality and solves the problem of color distortion.
The main contributions are summarized as follows: 1.
We propose a multi-stage progressive optimization network model, named as Dual Layers Regression Network (DLRNet).In our model, the enhancement of an underwater image is decomposed into multiple controllable processes and optimized gradually.In this way, the degraded underwater image can be enhanced stage by stage.

2.
We propose a fusion mechanism to integrate the features from every stage.Coupled with an attention module, shallow features are fused to continuously deepen the network's understanding of features, which is beneficial for gradual optimization of the network.

3.
Under the supervision of the previous outputs, the network continuously explores more effective enhanced features on the basis of ensuring the integrity of feature information.

4.
The qualitative and quantitative evaluations on different datasets show that, compared with some state-of-the-art methods, our DLRNet can more effectively restore color distortion and enhance the contrast.

Related Work
In general, underwater image restoration and enhancement methods consist of two categories: traditional restoration and enhancement methods and deep learning-based enhancement methods.

Traditional Approaches
Traditional underwater image approaches include traditional underwater image enhancement methods and physical model-based restoration methods.

Traditional Enhancement Approaches
In addition to traditional physical model-based methods, some researchers also enhanced degraded images and improved the visual quality by increasing pixel values.Ancuti et al. [26] proposed the Fusion algorithm.Firstly, this involves obtaining the color corrected version and contrast enhanced version of the degradation as inputs, and then calculating the corresponding Laplacian contrast weight, Local contrast weight, Saliency weight, and Exposedness weight, before finally the enhanced images are obtained by multiscale fusion.Ancuti et al. [27] subsequently improved this strategy.By improving the white balance algorithm, which compensated the red channel using green color channels in a gray world algorithm, the method removes the blue-green tone of underwater images, and solves the red artifact problem introduced in the traditional gray world algorithm.Huang et al. [28] proposed a method using RGHS (Relative Global Histogram Stretching) to enhance shallow-water images.Roman [29] presented a couple of new color space transformations for lossless image compression that is simpler than existing transformations.Wiseman [30] proposed a two-step method to reduce the amount of data transmission by reducing the color resolution of the image and modifying the quantization table.However, this method failed to successfully enhance seriously distorted images from deeper water.Zhuang et al. [31] proposed a Bayesian retinex approach for single underwater image enhancement.They employed a maximum posteriori formulation on the preprocessed image by imposing reflectance and illumination priors.Although non-physical model methods can achieve good results, these algorithms ignore the underwater image mechanism and are susceptible to resulting in over-enhancement, under-enhancement, and even artifacts.

Traditional Restoration Approaches
Traditional physical model-based methods estimate scene transmission map and ambient light through underwater imaging models to recover degraded images.In recent years, researchers have proposed different estimation methods.He et al. [32] proposed the dark channel prior (DCP) algorithm to remove haze.There are similarities between underwater image enhancement and image dehazing, and thus many researchers use the DCP algorithm to complete the task of underwater image restoration.However, absorption and scattering in the underwater environment make the DCP algorithm not directly applicable to underwater images.Therefore, many scholars use the improved DCP algorithm for underwater image restoration.Since red light disappears fast in the underwater scene, Galdran et al. [13] proposed the red channel prior (RDCP) algorithm, which substitutes the inverse of the red channel as compensation used in a dark channel prior algorithm.Peng et al. [33] developed an improved DCP method that uses the blurriness degree of the image and the difference in light absorption to estimate the underwater ambient light and transmission.Akkaynak et al. [34,35] obtained a more complex underwater imaging model after many simulations and experiments, which introduced more parameters and recovered the underwater images by combining the prior information.In underwater image restoration tasks, the accurate parameter estimation of a complex underwater imaging model remains a great challenge for current physical model-based methods.For instance, the prior approach in Peng [33] does not work all the time when handling clear images.

CNN-Based Approaches
In recent years, underwater image enhancement approaches using deep learning were shown to perform well.Islam et al. [24] translated images from domain X to domain Y utilizing CycleGAN (Cycle Generative Adversarial Network) to generate degraded images corresponding to clear images, where domain X represents a set of underwater images with no degradation, and domain Y represents images with distortion.By distorting images in X, they generated a new dataset with paired underwater images, named EUVP (Enhancement of Underwater Visual Perception) Dataset.Anwar et al. [23] designed the UWCNN network, the model of which is of an end-to-end structure and utilizes a datadriven training mechanism to directly reconstruct clear underwater images.It can preserve the original structural and texture information by jointly optimizing the mean squared error and structural similarity loss.Li et al. [36] made the UWCNN (Underwater Convolutional Neural Network) lightweight, which allowed it to be more easily applied to underwater video enhancement.Yang et al. [37] developed a lightweight adaptive feature fusion network, named LAFFNet, to reduce memory and model parameter costs.This network reduces the number of parameters by approximately 94%.Wang et al. [38] constructed UIECˆ2-Net (Underwater Image Enhancement Convolution Neural Network using 2 Color Space) to realize image enhancement.This algorithm effectively integrates the RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value) color spaces.However, these data-driven end-to-end methods easily introduce artifacts due to the lack of constraints on the physical model.Since the depth information or the transmission map play a significant role in restoration and enhancement, some methods choose to utilize this information to improve enhancement and restoration performance.For example, Li et al. [19] generated paired images in WaterGAN (Water Generative Adversarial Network) to realize underwater image enhancement.The WaterGAN firstly inputs clear images and a corresponding depth map, and then generates degraded underwater images as output, before finally sending them into a two-stage fully convolutional restoration network.The first stage of restoration aims to learn a relative depth map using an underwater image.Next, the degraded image and depth map are forwarded to the second stage to obtain an enhanced image.Li et al. [21] presented a deep learning-based network called Ucolor.The Ucolor first gathers the features of three color spaces into a united structure to enrich characteristic representations, and then integrates and highlights the distinct features combined with an attention module in an encoder network.Second, a transmission guide decoder network is hired to enhance the response for degraded parts, in which the reverse medium transmission (RMT) map is also used as input.Although these methods take the depth map into account, they all belong to pure data-driven enhancement methods for underwater images.These methods do not consider the physical model which reflects imaging characteristics underwater.Thus, we propose a multi-stage strategy which estimates the ambient light and scene light transmission map of the underwater imaging model.The parameters are learned by training under abundant paired datasets.And then the reconstructed underwater images with high quality are acquired.Compared with other state-of-the-art approaches, our method achieves the best performance.

Underwater Optical Imaging Model
In the underwater environment, due to the selective absorption of light and the scattering of suspended particles, captured underwater images often suffer from degraded phenomena such as blur and color distortion.According to the characteristics of underwater imaging, the Jaffe-McGlamery underwater optical imaging model [39,40] was proposed.In this model, the underwater image captured by the camera can be expressed as a linear combination of direct component, forward scattering component, and back scattering component.As shown in Figure 1, the direct component is the visible light that directly enters the camera, the forward scattering component is the reflected light from the surface of an object that is scattered by some suspended particles in the water and then enters the camera, and the backscattered component is the natural light that is received by the camera, which enters the water body and is scattered by suspended particles in the water.Usually, the forward scattering component can be ignored when the distance between the target object and the camera is short.Therefore, the simplified underwater imaging model [12] can be expressed as where x denotes a pixel in an image, where I(x) denotes the degraded image captured by a camera, J(x) denotes the clear and normal image, t(x) denotes the scene transmission, A denotes the underwater ambient light, J(x)t(x) denotes the direct component, and A(1 − t(x)) denotes the backscattered component.In this paper, the scene light transmission and underwater ambient light under different depth features are estimated through network training, and are gradually optimized to obtain clearer enhanced images.Here, we employ dilated convolutions to achieve comprehensive feature understanding.The extracted features first go through two dilated convolutions with a dilated rate of 1.Then, we feed the features into the bilateral regression path simultaneously.After an Attention Module(AM), the underwater ambient light A 0 and the scene light transmission map t 0 are generated, so that we obtain a preliminary enhancement result J 0 using the underwater imaging model.Since J 0 still appears with color cast and blur, we further send features forward to a stage similar to the previous one.In this stage, we increase the dilated rate of convolution and integrate features of the first stage and current stage to forward to AM.Then, we obtain a more effective enhancement image.Finally, we design the DLRNet with three stages.Apparently, the multi-stage network can realize progressive optimization and can not only retain more original information but also obtain rich feature representations.Furthermore, the previous stages have a restrictive supervision effect on the current stage.The qualitative and quantitative evaluations on different datasets show that our DLRNet can more effectively restore color distortion and enhance low contrast compared to others.In the following, the Dual Layers Regression Module is introduced in detail.

Dilated Convolution
In the Dual Layers Regression Module, features are encoded using dilated convolutions [42] with an increasing dilation rate.Dilated convolution coding can not only have a larger receptive field but also contain more contextual information, so as to obtain more feature information and deepen the network's understanding of features.There are six dilated convolution layers in the Dual Layers Regression Module, and we set the dilated rate of each layer to 1, 1, 2, 4, 8, and 16.Since the color cast and blur always cover the whole image, we expect to capture more comprehensive feature information.The increasing dilated rates are helpful for understanding the overall characteristics at different levels.Furthermore, experiments show that the enhancement effect decreases when we constantly increase the dilated rate in the Dual Layers Regression Module.

Features Integration
In this part, shallow and deep features of dual layers structure are aggregated into the AM, so that richer combination information can be learned across all levels.As Figure 3 shows, each AM takes the aggregated features of different dilation rates in the current stage and the attention module features of previous stages as input to realize the concentration of shallow and deep features, and deepen the understanding of these features.

Attention Mechanism
Features incorporating different levels should make significant contributions to regression of the underwater ambient light and the scene light transmission map.Thus, for each AM, Squeeze-and-Excitation block (SE-block) [43] structure, which can intensify the learning of convolution features by explicitly modeling mutual dependencies between channels and increase the network's sensitivity to feature information, is adopted.Therefore, we can use global information to selectively emphasize important informative features and suppress less useful features.The detail of the AM is shown in Figure 3.The input of AM is the aggregation features where C is the number of features, Concat is the aggregation operation, and H × W is the size of the input images.The SE-block can be divided into two steps: Squeeze and Excitation.The goal of Squeeze is to obtain global information of the feature maps in each channel.To achieve this purpose, the Excitation operation must meet the following two criteria: first, it should be flexible, and second, it can learn a non-mutually-exclusive relationship.To meet the above criteria, we successively adopt ReLU activation function and Sigmoid activation function as the gating mechanism.And to limit model complexity and improve its generalization, we parameterize the gating mechanism by forming a bottleneck with two fully connected layers around the nonlinearity.In this step, a channel descriptor z ∈ R C of the global spatial information is obtained, which is achieved by global average pooling.The c-th descriptor of z is expressed as Equation ( 2) below.The role of Excitation is to completely capture dependencies of channels.We employ a gating mechanism to calculate the gating unit s ∈ R C , that is, a new set of weights for each channel.As shown in Equation (3), the Excitation process consists of two layers of fully connected, where r are weight matrices of the two fully connected layers, respectively, r is the number of hidden layer nodes, δ(•) represents the ReLU activation function, and σ(•) represents the Sigmoid activation function.
Then, F is reassigned new weights.In order to maintain properties of the original features, we also map F to the output features 4).Finally, the feature representation of each channel is shown in Equation ( 5).In our DLRNet, the features acquired by AM are used to estimate scene transmission map and ambient light.

Parameters Estimation and Output
As described above, the Dual Layers Regression Module adopts a dual-layer structure to estimate the transmission map and the ambient light, respectively.As shown in Figure 2, the upper layer estimates the ambient light, and the lower layer estimates the scene light transmission map.Since we adopt a three-stage module, three pairs of parameters are regressed, respectively A m , t m (m = 0, 1, 2).Then, every pair A m , t m is put into Equation ( 1) to acquire the enhancement image J m (m = 0, 1, 2).Apparently, J 2 is the best image compared to J 0 and J 1 .With the supervision and constraint of the previous stage, we can output the enhancement with high quality and no color cast.Moreover, to verify the correctness of the three-stage regression module, we use a four-stage module to process the degraded image.More analysis is introduced in the ablation study.

Loss Function
In order to achieve good visual effects and quantitative results, we use a linear combination of l 2 loss L l 2 and multi-layer perceptual loss L per [44] to train the DLRNet.
In training, combined with the strategy of stage-by-stage optimization, l 2 loss and multi-layer perceptual loss at each stage are calculated, respectively L l 2_m and L per_m .To constrain the results of each stage, we add the loss at each stage to the training loss function: λ is set as 0.01, balancing L l 2 and L per so that the losses are all on the same order of magnitude.
Specifically, the l 2 loss describes the difference between the enhanced image J ′ and the underwater clear image (ground truth) J: Multi-layer perceptual loss L per is computed based on the VGG-19 network [45] pretrained on the ImageNet dataset [46].We consider the feature difference between the generated image J ′ and the underwater clear image J in the CONV_k (k = 0, 1, • • •, 5) layer of the VGG-19 network as a perceptual loss, and denoted by l 1 loss with a weight of λ l : where Φ k denotes the CONV_k convolutional layer of the VGG-19 network pretrained on the ImageNet dataset, and k = 0 represents the original underwater degraded image.

Experiments and Discussion
In order to verify the effectiveness of our DLRNet, we compare with other methods, including traditional approaches and deep learning-based methods.The results are compared and analyzed in both subjective and objective ways.In this part, we first discuss datasets and experimental settings, and then introduce qualitative and quantitative evaluation.Finally, we depict the ablation experiments to further prove the effectiveness of the DLRNet.

Datasets and Experimental Settings
We select two public datasets, UIEBD (Underwater Image Enhancement Benchmark Dataset) [25] and EUVP (Enhancement of Underwater Visual Perception) [24], to train our network.The UIEBD was proposed by Li Chongyi et al. in 2019.It is a real-world underwater image dataset containing different ranges of resolutions and diverse scenes.In this dataset, 890 pairs are degraded underwater images and corresponding high-quality underwater images, and 60 examples are poor-quality underwater images.In 2020, Islam et al. proposed the EUVP dataset, which includes 12,000 paired and 8000 unpaired underwater images.It is divided into three groups according to the degree of degradation and the difference in scenes and sources, which are EUVP-underwater dark, EUVP-underwater imagenet, and EUVP-underwater scenes, respectively.
Our DLRNet is implemented using the TensorFlow framework.We complete training and testing on an NVIDIA TITAN Xp GPU.We utilize the Adam optimizer with a learning rate of 0.00005 for model optimization.During the stage-by-stage training operation, the epoch of each stage is set to 150, and the batch size is equal to 1.The resolution of the images in all test datasets is 256 × 256.These images were tested on an NVIDIA TITAN Xp GPU (ASUS, Taiwan, China) with a processing time of 0.18 s per image.
We randomly select several samples from each dataset to verify the color restoration and contrast enhancement effect of underwater images.Figures 4-7 show the results of these algorithms on UIEBD, EUVP-underwater scenes, EUVP-underwater imagenet, and EUVP-underwater dark, respectively.In UIEBD, traditional methods tend to produce artifacts in processing underwater images.For example, in Figure 4, when IBLA algorithm and ULAP algorithm process Image1, the output images present blue and yellow tones.In addition, although other deep learning-based methods can solve the problem of blue-green bias in underwater images, they cannot achieve the expected effect in terms of clarity.As shown in Figure 4, the outputs processed by WaterNet are still blurred.However, DLRNet can not only solve the problem of blue-green cast, but also effectively remove fog-like blur, which enhances the image contrast and clarity.Similarly, in the dataset EUVP-underwater scenes and EUVPunderwater imagenet datasets, DLRNet is still able to output satisfactory enhanced images.As the results of all figures show, the traditional methods are not as effective as the deep learning-based methods.The results of the RGHS algorithm in each dataset show that it not only cannot remove the color cast, but it also leads to an oversaturation phenomenon.For example, when processing Image2 and Image3 of the EUVP-underwater scenes dataset in Figure 5, the light color area on the turtle's back and the red color area on the diver's head are over-enhanced.It is worth noting that the results of MLLE remove the blue-green bias, but their color is different from the reference images.This is the reason for the low PSNR and SSIM values of the results from MLLE.However, the results retain rich details in the images.
In the EUVP-underwater imagenet dataset, most compared methods cannot solve the color cast problem.In Image1 and Image4, the Waternet and Ucolor do not recover accurate color compared with reference images.In cases such as Image3 and Image4 in The images in the EUVP-underwater dark dataset have a high degree of degradation, which is extremely challenging for all methods.In Figure 7, the IBLA, ULAP, FUnIE_GAN, and UResNet algorithms all introduce different degrees of color cast.Taking Image3 as an example, the results of the IBLA and ULAP algorithms show a purple tone of the water body, and the output of the FUnIE_GAN algorithm shows a yellow tone.Even the UResNet algorithm cannot completely remove the blue color cast, as the water still has a blue color cast.Furthermore, the WaterNet algorithm produces a green water color cast when it processes Image4.However, the outputs of DLRNet are closer to the real clear image than those of the above algorithms.In contrast, DLRNet can effectively remove the color casts without excessive enhancement and saturation while also improving image clarity.

Quantitative Evaluation
In this section, we select two full reference indicators, Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity (SSIM), to analyze the performance of our DLRNet and other algorithms objectively.
The PSNR uses Mean-Square Error (MSE) to compare the generated image with the real clear image to evaluate the quality of the enhanced image.SSIM mainly considers three key characteristics of the image: brightness, contrast, and structure.The larger the PSNR and SSIM values, the better the enhancement result.
In Table 1, we can see that the PSNR and SSIM values of DLRNet are significantly higher than those of the other methods on all datasets.Observing the index values, it can be found that the quantitative evaluation conclusion is consistent with the qualitative evaluation conclusion.Visually, the results of MLLE appear to be better than the other methods, but the quantitative evaluation ranks MLLE very low.This is because PSNR and SSIM are two fully-reference evaluations, and they determine image quality according to the similarity between the enhanced image and the reference image.Although the visual effect of MLLE is good, it is not close to the reference image, so the ranking of quantitative indicators is low.The PSNR and SSIM values of the traditional methods are lower than the indicators of the deep learning approaches.As discussed in the previous section, the effect of the traditional methods is not as good as that of deep learning networks.Moreover, PSNR and SSIM values of our DLRNet both achieve best performance among all deep learning-based methods.In contrast, DLRNet can not only output a clear enhanced underwater image through this multi-stage gradual optimization idea, but also make an image closer to the non-degraded real image in terms of clarity, structure, and contrast.

Ablation Experiments
In order to verify the effectiveness of our proposed multi-stage strategy, we carry out an experimental analysis of the enhancement effect in different stages.Firstly, we consider the situation without lateral output supervision.Parameters A 0 and t 0 regressed after the attention mechanism are delivered to the underwater imaging model to obtain the first-stage enhancement results.Furthermore, we perform a contrast experiment with two stages.In the two-stage network, we encode the features obtained in the first stage using two dilated convolutions with increasing dilate rates.Similar to the previous stage, we forward features to an attention module to regress parameters A 1 and t 1 .Then, we acquire J 1 with the supervision and constraint of the previous stage.Furthermore, we add a fourth stage to illustrate that our three-stage strategy is optimal.Now, the dilated rates of convolution are 32 and 64.
The PSNR values in each stage are presented in Table 2, from which we can conclude that J 1 and J 2 both have better results than previous outputs, and the enhanced images obtained in these stages have more details and higher clarity, which means that the concept of multi-stage constraints tends to be valid for underwater enhancement.Compared with the supervision methods that only focus on the loss between input and final output, this supervision strategy that constrains each stage of the network can obtain better quality enhanced images than the previous stage with the deepening of the network and the increase of stages, so that the intermediate output is constantly close to the reference and the final enhancement effect is improved.But PSNR of J 3 decreases in the datasets, which indicates that it is unreasonable to add stages continuously for better enhancement effects.In contrast, our three-stage regression module can achieve the most satisfactory results.

Conclusions
We propose a deep learning-based method combined with physical models to enhance underwater images.Specifically, this paper proposes a multi-stage optimization model that emphasizes important information by aggregating different depth features in the channel attention module.Moreover, the dual-layer regression module can regress the ambient light and scene light transmission map, and transmit them into the underwater imaging model to obtain an enhanced underwater image.The channel Attention Module is progressively optimized, so with the deepening of the network, the Dual Regression Module can obtain more and more important and accurate features, so that the enhanced images obtained by the dual regression modules are gradually closer to the Ground Truth.In addition, as the network gradually deepens, the results of shallow features have a supervisory constraint on the deep features, thereby outputting clearer images that do not have color casts.The experimental results show that our DLRNet combining physical models with deep learning is better than both physical model-based and purely data-driven deep learning approaches.It also proves that our supervision strategy of constraining the output of each stage is effective.The experimental results show that the PSNR and SSIM values of our DLRNet are better than those of other algorithms for different datasets, and that clear underwater images can be effectively restored.In future work, we consider making the network more lightweight for the purpose of underwater image enhancement.At the same time, we consider cascading the underwater enhancement network with other networks such as object detection, recognition, and classification to enhance the accuracy of various underwater tasks.

Figure 1 .
Figure 1.The model of underwater optical imaging.

Figure 2
Figure 2 depicts details of our framework, which includes two modules, Feature Extraction Module and Dual Layers Regression Module.Features extracted from degraded images by the Feature Extraction Module are fed into the Dual Layers Regression Module to estimate the scene light transmission map and underwater ambient light, in order to obtain the underwater image enhancement results.In the Feature Extraction Module, we hire a three-layer U-Net [41] structure.The degraded image goes through two 2× downsamplings implemented by convolution operation with stride equal to 2, and then forward to two deconvolution operations to complete transform from low resolution to high resolution.In the Dual Layers Regression Module, a dual-layer model is adopted to estimate the two parameters, the ambient light and the transmission map.Here, we employ dilated convolutions to achieve comprehensive feature understanding.The extracted features first go through two dilated convolutions with a dilated rate of 1.Then, we feed the features into the bilateral regression path simultaneously.After an Attention Module(AM), the underwater ambient light A 0 and the scene light transmission map t 0 are generated, so that we obtain a preliminary enhancement result J 0 using the underwater imaging model.Since J 0 still appears with color cast and blur, we further send features forward to a stage similar to the previous one.In this stage, we increase the dilated rate of convolution and integrate features of the first stage and current stage to forward to AM.Then, we obtain a more effective enhancement image.Finally, we design

Figure 2 .
Figure 2. Structure of the DLRNet.The left part is the Feature Extraction Module and the right part is the Dual Layers Regression Module which has three optimization units.

Figure 3 .
Figure 3. Attention Module.The Attention Module captures more channel features after squeeze and excitation operation.We utilize global average pooling to realize squeeze and use two fully connected layers to acquire new weights in excitation.

Figure 6 .
Figure 6.Qualitative results in the EUVP-underwater imagenet dataset.IBLA, RGHS, and ULAP are traditional methods.FUnIE_GAN, UGAN, UResNet, and WaterNet are deep learning-based methods.Ground Truth is the reference image with high quality.

Figure 5 .
Qualitative results in the EUVP-underwater scenes dataset.IBLA, RGHS, and ULAP are traditional methods.FUnIE_GAN, UGAN, UResNet, and WaterNet are deep learning-based methods.Ground Truth is the reference image with high quality.

Table 1 .
Image Quantitative Evaluation of different methods on EUVP and UIEB datasets.The best results are bolded.

Table 2 .
PSNR values of outputs in each stage of DLRNet.The best results are bolded.