Next Article in Journal
Assessing Overall Performance of Sports Clubs and Decomposing into Their On-Field and Off-Field Efficiency
Next Article in Special Issue
Research on Small-Sample Credit Card Fraud Identification Based on Temporal Attention-Boundary-Enhanced Prototype Network
Previous Article in Journal
Finite-Time Partial Component Consensus for Nonlinear Leader-Following Multi-Agent Systems
Previous Article in Special Issue
Mitigating Adversarial Attacks in Object Detection through Conditional Diffusion Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Nonconvex Approach with Structural Priors for Restoring Underwater Images

by
Hafiz Shakeel Ahmad Awan
and
Muhammad Tariq Mahmood
*
Future Convergence Engineering, School of Computer Science and Engineering, Korea University of Technology and Education, 1600 Chungjeolro, Byeongcheonmyeon, Cheonan 31253, Republic of Korea
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(22), 3553; https://doi.org/10.3390/math12223553
Submission received: 10 July 2024 / Revised: 2 November 2024 / Accepted: 10 November 2024 / Published: 13 November 2024

Abstract

:
Underwater image restoration is a crucial task in various computer vision applications, including underwater target detection and recognition, autonomous underwater vehicles, underwater rescue, marine organism monitoring, and marine geological survey. Among other categories, the physics-based methods restore underwater images by improving the transmission map through optimization or regularization techniques. Conventional optimization-based methods often do not consider the effect of structural differences between guidance and transmission maps. To address this issue, in this paper, we present a regularization-based method for restoring underwater images that uses coherent structures between the guidance map and the transmission map. The proposed approach models the optimization of transmission maps through a nonconvex energy function comprising data and smoothness terms. The smoothness term includes static and dynamic structural priors, and the optimization problem is solved using a majorize-minimize algorithm. We evaluate the proposed method on benchmark datasets, and the results demonstrate the superiority of the proposed method over state-of-the-art techniques in terms of improving transmission maps and producing high-quality restored images.

1. Introduction

Restoration of underwater images is a crucial task in improving the underwater environment, with applications in various domains such as underwater target detection and recognition, autonomous underwater vehicles, search and rescue operations, monitoring of sea organisms, and marine geological surveying [1]. However, the acquisition of underwater optical imaging suffers from several degradation factors such as strong light absorption, light scattering and attenuation, color distortion, and noise from artificial light sources. The attenuation of light depends both on distances of the device to the object and the light’s wavelengths. In addition, underwater imaging is also exaggerated by seasonal, geographic, and climate variations [2,3]. These factors, in turn, severely affect the quality of the captured images, and the image restoration becomes a challenging task.
In literature, underwater image restoration and dehazing are well-studied, and numerous methods have been proposed [4,5,6,7,8,9,10,11,12]. Among these methods, hardware-based techniques [4,5] use multiple images or polarization imaging to enhance the visibility of underwater images. However, the complexity of such devices posed difficulties in capturing image sequences. More recently, restoration-based methods [6,13] have been proposed, but they often face challenges in accurately estimating the parameters of underwater imaging models. Similarly, enhancement-based methods [10,11] can improve the contrast and brightness of underwater images, but they may introduce over-enhancement and over-saturation problems. Learning-based methods [12,14] have also been explored; however, the scarcity of high-quality training images remains a significant challenge. A variety of optimization-based methods [15,16,17] recover images with reasonable accuracy. Mostly, these methods adopt the model proposed in Schechner and Kopeika [18], estimate initial transmission map (TM) through various prior [19,20,21,22,23], and then optimize TM by utilizing weights from some guidance image. However, these methods do not incorporate the structural differences between TM and the guidance map. Consequently, images recovered are of poor quality.
In this paper, an underwater image restoration method is proposed that incorporates the utilization of a robust regularization of coherent structures in the image and transmission map. A primary study of this method with limited results is presented in [17]. The proposed method takes into consideration the potential structural differences between the transmission map and the guidance map. The problem of optimization of the transmission map is modeled through a nonconvex energy function, which consists of data and smoothness terms. The algorithm is further solved using a majorize-minimize (MM) [24,25] approach. The proposed method is tested on a benchmark dataset [3], and its performance is compared to the state-of-the-art methods, which indicates that the proposed method performs well and achieves improved results in restoring high-quality images. The rest of the paper is organized as:
  • In Section 2, the background and the related work to the underwater image restoration is explained. Moreover, the image degradation in water is also explained using the atmospheric scattering model (ASM).
  • Section 3 describes the proposed method in detail. First, the initial transmission map is computed, and then an energy function is suggested to improve the initial transmission map. The optimization of the energy function using the surrogate function and the majorize-minimize algorithm is also explained.
  • In Section 4, the experimental setup and results are provided. Ablation study and the comparative analysis are presented for the evaluation of the performance of the proposed method
  • Finally, the study is concluded in Section 5.

2. Related Work

2.1. Atmospheric Scattering Model

Usually, the atmospheric scattering model (ASM) is used to describe the degradation of images when light rays scatter through the medium, such as water, air, fog, cloud, and rain, etc. The underwater image formation is depicted in Figure 1, where it can be observed that the image-capturing device receives three types of light: (1) the reflected light comes to the camera directly after striking the object, (2) the forward-scattered light that deviates from its way from the original direction after striking the object, and (3) the backscattering light comes to the camera after encountering particles. According to Koschmieder’s law [26], only a proportion of reflected light reaches the camera, leading to poor visibility in aquatic environments. There are various image formation methods that describe the formation of images in scattering media, but we adopt the ASM model proposed in Schechner and Kopeika [18] in this work. According to this model, the intensity of the image at each pixel is composed of two components: the attenuated intensity, which represents the amount of light reflected by the object and captured by the camera through the medium, and the veiling light, which represents the light scattered by the medium. Thus, the degraded image is the combination of the attenuated and scattered light captured through the image-capturing device. The model can be represented as
I ( x ) = J ( x ) t ( x ) + A ( 1 t ( x ) ) ,
where,
  • x  denotes the pixel coordinates,
  • I ( x )  is the captured degraded image,
  • J ( x )  is the object radiance, i.e., the clear image or the target image,
  • t ( x )  is the transmission map,
  • A is the global atmospheric light or (Veiling light).
In other words, in the resultant image  I ( x ) , the attenuated intensity  { J ( x ) t ( x ) } , and the atmospheric intensity  { A ( 1 t ( x ) ) }  are combined. Both types of intensities depend on the medium through which light travels. In a more formal way,  I ( . )  and  t ( . )  are mappings from the domain  Ω  to a range V, i.e.,  I ( . ) , t ( . ) : Ω V , then each element  x Ω  is mapped onto values  I ( x ) V , t ( x ) V . So values from V are positive real numbers, and  Ω  is the pixel position in the 2D grid of the image size, i.e., two positive integers within the image size represent the location of the pixel. In homogeneous media, the transmission map (TM) can be described by
t ( x ) = e β z ( x ) ,
where  β  is the medium attenuation coefficient and  z ( x )  is the depth or distance of the object from the camera. The primary objective of underwater image restoration methods is to recover the original image  J ( x ) , the atmospheric light A, and the transmission map  t ( x )  from the observed image  I ( x ) . Methods for underwater images can roughly be divided into various categories, including physics-based models, non-physics-based models, specialized hardware-based models, and deep-learning-based model methods.

2.2. Physics-Based Methods

Typically, physics-based methods restore the image in two steps. In the first step, an initial transmission map is computed. Usually, an initial transmission map is estimated using various man-made priors. In literature, various priors include Dark Channel Prior [26], underwater Dark Channel Prior [19], minimum information loss and HDP [20], blurriness prior [27], attenuation curve prior [28], general dark channel prior [29], haze lines prior [30] underwater haze lines prior [3], red channel prior [21], bright channel prior [22] are used to compute the initial transmission map. In the second step, the initial transmission maps are refined. After that, the model is inverted to generate a clear image by using atmospheric light and the refined transmission map. For enhancing transmission maps, various techniques, such as guided filter (GF) [31], mutual structure filtering (MSF) [32], soft matting [26], and static dynamic filtering (SDF) [25]. In a single-image-de-hazing method [26], minimum channel values in a small window are considered as the estimation of transmission map, and then a guided filter [31] is used for the refinement of the initial map. In [19], a method is proposed based on Dark Channel Prior, called Underwater DCP, to estimate the transmission map in underwater single images, considering the blue and green color channels and discarding the red channel.

2.3. Non-Physics Based Methods

Non-physics-based methods: Generally, these methods involve directly modifying an image’s pixel value to enhance the visual appeal of underwater images. Representative methods include the Retinex-based methods [33], histogram stretching methods [34], and image fusion methods [35,36]. For example, Ancuti et al. [36] provided a multi-scale approach and used it to combine the contrast and color-enhanced versions produced by a white-balancing technique. These non-physics-based methods can enhance the color and contrast of underwater photos, but they are blind to the underwater imaging models. As a result, the improved images are over-enhanced and over-saturated. In addition, there are a few effective hardware-based methods, including the range-gated imaging [37], polarization de-scattering imaging [38], or free-ascending deep-sea tripods [39] to improve the visual quality of underwater images. However, it is challenging for hardware devices to collect image sequences of the same scene. In CIEV [40], the underwater image restoration problem is formulated as an energy function that consists of the contrast term and the information loss term. By minimizing this energy function, the contrast is enhanced and the color information is preserved optimally. In another work, Zhang et al. [41] introduced an MMLE model to deal with degraded underwater images via the locally adaptive color correction method (LACC) and locally adaptive contrast enhancement (LACE). In addition, Jun Xie et al. [42] proposed the UNTV method to compute noise captured through forwarding signals using UIFM. These physics-based methods, in general, are effective in some cases but do not produce satisfactory results when it comes to different optical properties of water due to their heavy reliance on man-made priors.

2.4. Deep-Learning-Based Methods

In the field of underwater image enhancement and restoration, deep learning methods have gained popularity in recent years. For instance, Ye et al. [14] introduced an unsupervised adaptation network in 2020 that employed style-level and feature-level adaptation to achieve domain invariance. Additionally, Ye et al. developed a task network to estimate scene depth. Wang et al. [43] proposed a convolutional-neural-network-(CNN)-based end-to-end framework for color correction and haze removal, which included a pixel-disrupting strategy to improve convergence speed and accuracy. While the CNN-based approach performed well in enhancing brightness and contrast, it tended to over-enhance red tones. Li et al. [44] created a convolutional network model with dense connectivity for underwater image and video enhancement, which relied on the prior knowledge of underwater scenes to directly recover clear images without estimating the transmission and backscatter. Yang et al. [45] designed a conditional generative adversarial network (cGAN) to reconstruct latent underwater images using a multi-scale generator and dual discriminator. While deep learning methods can achieve good results in certain underwater scenarios, it is impractical to use a single trained network for all types of underwater images due to the complexity and variability of the underwater imaging environment. Transformer-based networks like DehazeFormer by Song et al. [46] make significant modifications in traditional structures and employ innovative techniques like SoftReLU and RescaleNorm, presenting better performance in dehazing tasks with efficient computational cost and parameter utilization. In a more recent deep-learning-based method [47], a style transfer network is used to synthesize underwater images from clear images. Then an underwater image enhancement network with a U-shaped convolutional variational autoencoder is constructed for underwater image restoration. In [48], an underwater image enhancement scheme is proposed that incorporates domain adaptation. Firstly, an underwater dataset fitting model (UDFM) is developed for merging degraded datasets. Then an underwater image enhancement model (UIEM) is suggested for image enhancement. In a more recent work [49], we propose a multi-task fusion where fusion weights are obtained from the similarity measures. Fusion based on such weights provides better image enhancement and restoration capabilities.

3. Proposed Method

The proposed method for the underwater image restoration consists of mainly three steps, as illustrated in Figure 2. The first step involves the computing of the initial transmission map (TM). In the second step, the initial TM is refined through the proposed nonconvex energy framework, which involves the computation of static and dynamic weights from the input image and the iterative regularization of the transmission estimate. In the final step, the image is restored using the ASM (Equation (1)). Detailed descriptions of these steps are provided in the subsequent sections.

3.1. Initial Transmission Map

In the literature, difference priors are used to estimate the transmission map. In our method, we have used the haze-lines (HL) prior for this purpose [3]. First, the veiling light A is computed by the the average color of 20% pixels that are belonging to the largest component from the edge map of the input image  I ( x ) . Then, according to the HL prior-based transmission map estimation method, the translated RGB coordinate system at the origin can be expressed as
I A ( x ) = t ( x ) J A ( x ) ,
where,
I A ( x ) = I ( x ) A ,
J A ( x ) = J ( x ) A .
Further,  I A ( x )  can be written using spherical coordinates as
I A ( x ) = [ r ( x ) , θ ( x ) , ϕ ( x ) ]
where  r ( x )  is the distance to the origin, and  θ ( x )  and  ϕ ( x )  are the angles with longitude and latitude, respectively [3]. The initial transmission map  t ( x )  is computed as;
t ( x ) = r ( x ) r max ,
where  r max  is the maximum distance of haze-line from the origin. For a haze-line, this maximum value occurs at the haze-free pixel which is the farthest pixel from A. Therefore,  r max = J A ( x )  is the maximum distance of that haze-line.
The initial transmission map  t ( x )  is computed per pixel and not consistent between nearby pixels. Thus inaccuracies in tranmission map results in poor restoration. To improve this initial transmission map  t ( x ) , we propose the use of non-convex regularization. This improvement in transmission map ultimately leads to the restoration of higher-quality images.

3.2. Model

We propose the improvement of the initial transmission map  t ( x )  by efficiently minimizing the following energy function.
E ( t ^ ( x ) ) = x Ω t ^ ( x ) t ( x ) 2 + λ Θ ( t ^ ( x ) ) ,
where,
  • t ( x )  is the initial transmission map,
  • t ^ ( x )  is the regularized or estimated transmission map,
  • is the first term on the right-hand side  t ^ ( x ) , t ( x ) 2  is the data fidelity term,
  • is the second term on the right-hand side  Θ ( t ^ ( x ) ) , is the regularization term,
  • λ  is the constant that determines the significance of these two terms, and
  • Ω  is the domain for transmission map, i.e., represents the pixel positions in the 2D grid of the image size.
In our case, the following regularizer is proposed
Θ ( t ^ ( x ) ) = x Ω y N x w x , y ( g ( x ) ) ϕ γ t ^ ( x ) t ^ ( y ) ,
where,
  • N x  is a small 2D local neighborhood window centered at  x ,
  • y N x  is a pixel in the neighborhood of pixel  x ,
  • w x , y ( . )  is the spatially varying weighting function,
  • g ( x )  is the pixel-wise guidance. In our case, the gray-scale image computed from the input image  I ( x )  has been taken as the guidance  g ( x ) .
  • The function  ϕ γ ( . )  computes the neighborhood coherence by taking the difference between the estimated TM values at a pixel location  x  and its neighbor  y .
The spatially varying weights (also named static guidance or static weights) for each pixel location are computed as
w x , y ( g ( x ) ) = exp α 1 ( x y ) 2 exp α 2 g ( x ) g ( y ) 2 ,
where the first term is the spatial filter, the second is the intensity range filter, and  α 1  and  α 2  are the positive parameters defined by the user. These parameters control the regularization (smoothness) effect. These guidance weights are static, as they are computed once and used in each iteration during the optimization process.
The second factor term in the regularizer is parameterized through the square hyperbolic tangent function, which is given by
ϕ γ t ^ ( x ) t ^ ( y ) = tanh γ t ^ ( x ) t ^ ( y ) 2 ,
where  γ  is a positive parameter that controls the steepness of this function. It maps the difference between  t ^ ( x )  and  t ^ ( y )  to the range  [ 0 , 1 ] , compressing large values to 1. This function has been plotted in Figure 3a for various values of the  γ  parameter. By using this function, it can be observed that it penalizes large gradients of  t ^ ( x ) . Such function is advantageous, as it can inhibit outliers. As initial TM values of neighboring pixels can change abruptly, this function is preferable over other commonly used functions, for example, the  L 2  norm. It performs well in better preservation of high-frequency features such as edges and corners.

3.3. Optimization

In regularization, most methods use a convex energy function. In contrast, we have proposed a non-convex energy function in our method (Equation (8)). However, the optimization of non-convex energy functions, such as in our case  E ( t ^ ( x ) ) , is a challenging task. To address this, we employed the majorize-minimization (MM) algorithm [24] to optimize the proposed energy function. This algorithm iteratively performs two steps. In the first step, a convex majorizing function (called a surrogate function) for the objective function is constructed. In the second step, a local minimum is found for this surrogate function. These two steps are repeated alternatively until convergence. The values of  E ( t ^ ( x ) )  decrease monotonically for the estimations  { t ^ ( x ) ( k ) : k = 1 , , K }  while increasing the iteration number k, where K is the total number of iterations.
At the first step of MM, the surrogate function for our robust regularizer  ϕ γ ( i )  is chosen such that the surrogate function  Φ γ j ( . )  provides larger values as compared to the energy function  E ( t ^ ( x ) )  for all inputs. The surrogate function used in our solution is given as
Φ γ j ( i ) = ϕ γ ( j ) + i 2 j 2 1 ϕ γ ( j ) 2 γ .
The proposed robust regularizer  ϕ γ ( i )  and its surrogate function  Φ γ j ( i )  are plotted in Figure 3b. It can be seen that  Φ γ j ( i )  is lower-bound to  ϕ γ ( i ) , and they coincide only when  i = j . At the second step of MM, the convex surrogate function  E ( t ^ ( x ) ) ( k )  for the original energy function  E ( t ^ ( x ) )  is obtained by substituting  ϕ γ ( i )  with  Φ γ j ( i )  in (8) as follows:
E ( k ) ( t ^ ( x ) ) = x Ω [ t ^ ( x ) t ( x ) 2 + λ y N x w x , y ( g ( x ) ) Φ γ t ^ ( k ) ( x ) t ^ ( k ) ( y ) t ^ ( x ) t ^ ( y ) ] .
This convex function  E ( k ) ( . )  can easily be minimized by taking its derivative with respect to  t ^ ( x ) . The normal equation of the revised model (13) is
0 = t ^ ( x ) t ( x ) + λ y N x w x , y ( g ( x ) ) χ x , y ( k ) ( t ( x ) ^ ) t ^ ( x ) t ^ ( y ) ,
where,
χ x , y ( k ) ( t ^ ( x ) ) = 1 ϕ γ t ^ ( k ) ( x ) t ^ ( k ) ( y ) 2 γ .
The output  t ^ ( x )  is obtained through the vectorized form of (14) by iteratively solving the linear system of the form
( I + λ L ( k ) ) t ^ ( k ) = t ,
where  I  is the  ( Ω × Ω )  identity matrix,  t ^ t  denote the  ( Ω × 1 )  column vectors containing values of  t ^ ( x )  and  t ( x ) , respectively, and  L  is a spatially varying, sparse Laplacian matrix, which is defined as
L ( k ) ( m , n ) = n N m w m , n ( g ( x ) ) χ m , n ( k ) ( t ^ ( x ) ) , n = m w m , n ( g ) χ m , n ( k ) ( t ^ ( x ) ) , n N m 0 , otherwise .
It is important to mention that the static guidance weights  w x , y ( g ( x ) )  are to be computed once and remain fixed during iterations, while dynamic weights  χ x , y ( k ) ( t ^ ( x ) )  are iteratively updated. Thus, the structures in both static and dynamic guidance drive the output solution. It is also to be noted that (16) is a huge linear system that can be solved using modern solvers like preconditioned conjugate gradient (PCG)  [50]. Even then, solving such a linear system requires a large amount of memory to store the affinity matrix  L , and the solution provokes extensive computations. Instead of solving a large system, we compute the next estimate  t ^ ( x ) ( k + 1 )  using previous estimate  t ^ ( x ) ( k )  as
t ^ ( x ) ( k + 1 ) = t ( x ) + λ y N x w x , y ( g ( x ) ) χ x , y ( k ) ( t ^ ( x ) ) t ^ ( y ) ( k ) 1 + λ y N x w x , y ( g ( x ) ) χ x , y ( k ) ( t ^ ( x ) ) ,
where  t ^ ( x ) ( 0 )  is the initial estimate. The memory required by (18) is quite little, and it produces results similar to modern solvers.
The main steps of our method to regularize the initial transmission map  t ( x )  have been mentioned in Algorithm 1.
Algorithm 1: Robust regularizer for transmission map
Mathematics 12 03553 i001

3.4. Recovered Image

The goal of underwater image restoration is to recover the scene radiance  J ( x )  from input image  I ( x )  based on Equation (1). Once the regularized transmission map,  t ^ ( x ) , is obtained, the scene radiance can be recovered by rearranging the terms from the ASM model Equation (1) as
J ^ ( x ) = I ( x ) A t ^ ( x ) + A .
where  J ^ ( x )  is the recovered image from the degraded underwater image  I ( x )  by using the veiling light A and the estimated transmission map  t ^ ( x ) .

4. Results and Discussion

4.1. Experimental Setup

In order to verify the efficiency and accuracy of the proposed method, its performance is evaluated against a number of UIE methods. We conducted several experiments on many real degraded underwater images, and results are analyzed both qualitatively and quantitatively. The proposed method is compared with different underwater image enhancement methods, including DCP [26], UDCP [19], IBLA [27], CEIV [40], RCP [21], HLP [30], and UHLP [3]. As in the proposed method, the transmission enhancement module is added, so it is worthy to compare it with various transmission refinement methods. Therefore, comparison of transmission map refinement is carried out with methods including guided filter [31], mutual structure filtering [32], soft matting [26], and SD filtering [25]. The comparative analysis is carried out by using the benchmark datasets named Stereo Quantitative Underwater Image Dataset (SQUID) [51]. SQUID consists of four underwater image datasets: (i) Katzaa, (ii) Michmoret, (iii) Nachsholis, and (iv) Satil. These datasets contain overall 57 stereo pairs from two different water bodies, namely the Red Sea and the Mediterranean Sea. The ground truth validation relies not only on color but also on the distances of objects from the camera to quantitatively evaluate the transmission maps from a single image.
To compare the results quantitatively, there are a few widely used no-reference quality metrics, namely, Perception-based Image Quality Evaluator (PIQE) [52], Naturalness Image Quality Evaluator(NIQE) [53], and the Blind/Referenceless Image Spatial Quality Evaluator (BRISQUE) [54]; however, these measures have limitations when it comes to underwater images [55]. Therefore, we used more realistic evaluation measures proposed by [3] for both transmission map and color restoration from a new quantitative dataset. From (Equation (2)), the transmission map is a function of both the distance  z ( x )  and the unknown attenuation coefficient  β . By considering  β = 1 , the distances or depth map can be estimated from the estimated transmission map  t ^ ( x )  by taking the log on both sides of Equation (2). Thus the estimated depth map  z ^ ( x )  can be expressed as
z ^ ( x ) = l o g ( t ^ ( x ) ) .
As a result, the improvements in the transmission maps can be compared quantitatively. As suggested in [3], the Pearson correlation coefficient  ρ  between the true depth map  z t ( x )  and estimated depth map  z ^ ( x )  through the refined transmission map  t ^ ( x )  can be computed by using the following expression:
ρ = cov ( z t ( x ) , z ^ ( x ) ) σ z t σ z ^
where  c o v ( . )  is the covariance operator, and  σ z t , σ z ^  are the standard deviations from the true depth map  z t ( x )  and the estimated depth map  z ^ ( x ) , respectively. Similarly, for the evaluation of restored color image  J ^ ( x ) , the average angular error  ψ [56] measure is utilized. The  ψ  between gray-scale patches and a pure gray color in RGB space, for each chart, is defined as:
ψ = 1 6 · x i cos 1 J ^ ( x i ) · 1 , 1 , 1 J ^ ( x i ) · 3
where  J ^ ( x i )  is the  i t h  patch from the restored image  J ^ ( x )  and  x i  marks the coordinates of the gray-scale patches. The angle is calculated by taking the cosine inverse of the dot product between the intensity values of each pixel in the gray-scale patch of the output image and the pure gray color vector  1 , 1 , 1 , divided by the product of their magnitudes and  3 .

4.2. Analysis

The proposed regularization method involves a number of parameters to recover (Equation (19)) the degraded input image. These parameters with the values are  λ = 500 α 1 = 0.02 α 2 = 200 , and  γ = 3  are used. These values were determined empirically. We used the same parameters throughout our experiments to test the underwater images. Now, we will analyze the results of a few images selected randomly from the four datasets [3] both qualitatively and quantitatively.
First, we selected 8 stereo pairs from the four benchmark datasets. Then two stereo pairs are chosen from each dataset, namely Katzaa, Michmoret, Nachsholis, and Satil, respectively, which can be seen in the first row of Figure 4. Afterward, the initial transmission maps are computed for each image (second row), where black and white colors represent the variation in transmission values. It is apparent that the edges of the objects are fused with the background, and the variation in the closed-depth regions is not smooth. If the images are recovered based on the wrong initial transmission maps, i.e., by replacing the  t ^ ( x ) = t ( x )  in the (Equation (19)), the resulting images will be of poor quality (third row). Therefore, we come up with a robust non-convex regularizer in order to improve the initial transmission maps (fourth row). The output of the robust regulator (RR) is much better than the initial transmission maps, where the objects are not blended with the background. Also, the edges of the objects are much smoother, which shows a consistent result when it comes to the structure in the spatial domain. Finally, the input images are recovered using the (Equation (19)) and the refined transmission map  t ^ ( x ) . The resultant restored images (last row) are more natural in terms of visibility compared to the output of initial transmission maps. The details of the images are well preserved with no blocking artifacts, which shows that the proposed method is helpful in improving the initial transmission maps.
Table 1 shows the quantitative analysis of the transmission maps and their outputs using the images from Figure 4. In this case, we used one measure, i.e., the Pearson correlation coefficient  ρ , for the evaluation of transmission maps (Equation (21)), and one measure, i.e., average angular psi  ψ , for the evaluation of restored colors (Equation (22)). For the first measure, the range of desired values is between −1 and 1, where values closer to 1 indicate a better estimation of the transmission maps, while values closer to 0 indicate a poorer estimation. For the second measure, the lower angle values represent a perfect color restoration. It is important to note that the  ψ  values are computed on the neutral patches without using any global contrast adjustment. It is apparent that the computed values for  ρ  on the refined transmission maps consistently increased (third col.) for each input image. Similarly, the results for the average angular error  ψ  on the output images restored using the refined transmission maps give a lower error (fifth col.) compared to that of the initial  ψ  values (fourth col.). This clearly indicates that refining the initial transmission maps using the proposed robust regularizer results in better restoration of quality images.
Now, we will look into the performance of the proposed regularization method presented in Figure 5. In this case, we computed initial transmission maps using the underwater haze line prior (UHLP) [3] by selecting one image from each dataset (Input). Next, initial transmission maps are refined using various state-of-the-art transmission refinement methods, namely guided filter [31], mutual structure filtering [32], soft matting [26], and SD filtering [25], respectively, along with our method RR (last column). It is clear that all methods are adequate for improving the initial transmission maps, and each of them (from GF to SDF) has issues like quick variations in the nearby depth regions, and the object edges are fused with the background.
We also computed output for each refinement method Figure 6 to see the visibility of objects. Despite some limitations, all methods are sufficient for improving the initial transmission maps. However, the color variations in the edges from the foreground to the background are abrupt from guided filter to SD filtering. Mutual structure filtering and SDF both increased visibility, but the objects have become over-saturated. Also, the visibility of soft matting is poor, and object texture details are lost. On the other hand, it is interesting to note that GF surpassed the other methods, but our methodology, which provides natural results that are free from the above-mentioned artifacts, outperformed GF and other state-of-the-art improvement methods significantly.
Table 2 and Table 3 present the results of our quantitative analysis on various transmission refinement methods, which includes the initial transmission values and their corresponding color evaluation using the unique measures  ρ  (Equation (21)) and  ψ  (Equation (22)). In Table 2, we compare the initial transmission values against the refinement methods guided filter, mutual structure filtering, SM, and SDF. Meanwhile, Table 3 presents the comparison of the restored images from the initial transmission map and refined map using the aforementioned methods, with the images from the Katzaa, Michmoret, Nachsholism, and Satil databases. Overall, these results suggest that our proposed method is a promising transmission refinement approach, and its effectiveness for color correction may depend on the characteristics of the input data.
In another simulation, we conducted a quantitative analysis to assess the performance of our proposed regularization method when applied to various state-of-the-art methods. Figure 7 presents the quantitative analysis of the images from four different datasets. The  ρ  and  ψ  values were calculated for each method by replacing their refinement techniques with our robust regularization method. In this analysis, we evaluated several well-known methods for calculating initial transmission matrices: DCP, UDCP, HLP, and UHLP. The graph on the left side shows the improvement in initial transmission matrices, as measured by the Pearson correlation coefficient  ρ . The first bar in each method represents the initial  ρ  values, and the subsequent bar of the same color indicates the improvement in  ρ  values after using our method. It can be observed that our method was effective at improving the initial transmission matrices in all of the selected methods. Similarly, the graph on the right side demonstrates the improvement in color values, represented by  ψ . The color coding is the same as in the first graph. From this graph, it is clear that our method is able to reduce the average angular error  ψ  in all methods. In our experiments, we also observed that our method improved the transmission of UDCP for a variety of images. However, there are some cases where the method fails to meet the assumptions of the model or encounters a low signal, leading to failure.

4.3. Comparison

In this section, we evaluate the performance of the state-of-the-art (SOTA) and proposed methods through both qualitative and quantitative analyses. To compare the results of image restoration, we randomly select a subset of images from four datasets and present them in Figure 8. The first column shows the input images, and the remaining columns depict the output of each method, including our proposed method. The results for IBLA [27], UDCP [19], CEIV [40], HLP [30], and UHLP [3] were generated using code released by the respective authors.
A qualitative comparison reveals that IBLA [27] effectively restores colors, even though with a slight tendency towards oversaturation across different distances. The method proposed by UDCP [19], which relies on the dark channel prior, was not able to consistently correct colors in the images. Similarly, the method proposed by CEIV [40] also failed to consistently correct colors and optimally preserve information in the images. The method proposed by HLP [30] was not effective in removing haze and contrast from the images, whereas the new method UHLP [3], proposed by the same author for handling different types of underwater images, is notably better at restoring colors. However, it should be noted that sharp structural edges are not well-preserved in this method. By examining the dehazed results in the last row, it can be observed that our proposed method not only effectively minimizes the haze but also restores the natural appearance of the scenes. Furthermore, the proposed regularizer with structural priors effectively preserves sharp structural edges and depth discontinuities.
In addition to the qualitative analysis, we also present a quantitative comparison in Table 4 using the images shown in Figure 8. The corresponding image number is mentioned in the first column. To facilitate the understanding of the evaluation results, we first compute the average angular error  ψ , followed by the output of different underwater image enhancement methods. It should be noted that contrast stretching often outperforms most methods, especially on closer charts. We compared our method to others by using the same code and just changing the size of the images. However, in our case, we do not use any contrast stretching, and it is apparent that our proposed method outperforms various SOTA methods. Figure 9 illustrates the ground-truth distance and transmission maps for the images presented in Figure 8. The true distance is displayed in meters and is color-coded, with blue indicating missing distance values due to occlusions and unmatched pixels between the images. The selected images are from the right camera, which results in many missing distance values on the right border of the image, as these regions were not visible in the left camera.
To compare the proposed method with state-of-the-art (SOTA) methods and showcase the diversity, a variety of methods were selected from Table 5, as well as other popular algorithms well-known for computing transmission maps, including DCP [26], UDCP [19], CEIV [40], IBLA [27], RCP [21], UHLP [3], and the proposed method. These transmission maps are estimated using a single image and are evaluated quantitatively based on the true distance map of each scene. The results indicate that the proposed method effectively refines the transmission by taking into account the structures of the edges and depth, resulting in a much smoother outcome. In contrast, methods such as UHLP that use the refinement method outlined in Figure 8 do not perform well in transferring structural information from guidance to transmission maps. Methods like DCP and RCP fail to refine the transmission, and the reasons for this failure are discussed in the quantitative evaluation below. Moreover, the proposed method is also robust to missing distance values issue, as it can handle occlusions and unmatched pixels between the images.
The quantitative comparison evaluated the performance of various methods for estimating transmission maps from a single image using the Pearson correlation coefficient  ρ  as the evaluation metric. The results summarized in Table 5 indicate that the proposed method yields more accurate transmission maps compared to other methods. Some methods, such as UDCP [19] and CEIV [40], do not prioritize physically valid transmission maps, which may be due to their use of high values in the veiling light region to suppress noise. Most of the other methods show far-off transmission values, with the exception of IBLA [27], which performs slightly better on average but with the drawback of a highly color-biased scene correction. The proposed method outperforms the state-of-the-art methods without any contrast adjustments. Additionally, it is also worth noting that methods such as UDCP [19] and CEIV [40] may prioritize different aspects such as noise reduction, while the proposed method focuses on physically valid transmission maps.

4.4. Complexity Analysis

In order to estimate the time taken by different methods, we run DCP [26], UDCP [19], RCP [21] IBLA [27], HLP [30] and the proposed method on the system X64 bit-based PC having processor 11th generation Intel Core i9-11900K at our laboratory with 32 GB RAM for images having dimensions  256 × 256 × 3  and calculated the processing time.
Table 6 shows the numerical values for time in seconds for various methods. RCP [21], DCP [26], and UDCP [19] methods are the most efficient, as the initial transmission is obtained using dark channel prior, and the refinement of the initial transmission map is carried out using guided filtering, so both operations are efficient. While techniques such as IBLA [27] and HLP [30] are computationally intensive for processing their initial transmission maps. In general, the proposed method can use the initial transmission map computed through any method. However, HLP [30] is chosen for its effectiveness in computing the initial transmission map, and then regularization is applied for its improvement. Although this makes the proposed method more computationally expensive than others, it achieves superior restoration quality.

5. Conclusions

This study presents a robust regularization technique for restoring high-quality underwater images by improving the initial transmission map. The proposed method addresses common challenges in underwater image restoration, such as artifacts and blurred boundaries, by introducing a nonconvex energy function for optimizing the initial transmission map. The method was found to be efficient and accurate when compared to various transmission refinement and enhancement methods using four benchmark datasets. The datasets contain different stereo pairs from the Red Sea and the Mediterranean Sea and were evaluated using realistic measures for transmission maps and color restoration. The regularization parameters used in the method were found to be critical and effective with the appropriate values mentioned in experimental setups. Empirical evaluations have shown the proposed method to significantly outperform existing state-of-the-art techniques in terms of refining the initial transmission maps and restoring high-quality underwater images.
Despite the improved performance and effectiveness of the proposed method, it presents notable limitations in terms of computational expense and the dependability on input. First, as the proposed method uses regularization, its optimization process needs extra computations. Therefore, the processing requirements are higher than comparable approaches. This limitation may impact its feasibility for large-scale or real-time applications, especially in resource-constrained environments. Secondly, note that the proposed method’s performance depends on the accuracy of the initial transmission map and may vary depending on the severity and types of the input images. Its performance may decrease in the presence of severe degradation, such as large amounts of back scattering and low light conditions. In these scenarios, initial transmission maps computed through various methods may suffer from inaccuracies and consequently leads for poor restorations.
Future work could explore optimizations or alternative algorithms to reduce these requirements while maintaining comparable performance. In addition, it would be interesting to explore the use of deep learning techniques in combination with the proposed regularization method to further improve the restoration of underwater images. Additionally, more extensive experiments on a wider range of underwater environments and image types would be beneficial in evaluating the methods and their generalization.

Author Contributions

Conceptualization, H.S.A.A. and M.T.M.; methodology, M.T.M.; software, H.S.A.A.; validation, H.S.A.A. and M.T.M.; formal analysis, H.S.A.A.; investigation, H.S.A.A.; resources, M.T.M.; data curation, H.S.A.A.; writing—original draft preparation, H.S.A.A.; writing—review and editing, M.T.M.; visualization, H.S.A.A.; supervision, M.T.M.; project administration, M.T.M.; funding acquisition, M.T.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Basic Research Program through NRF grant funded by the Korean government (MSIT: Ministry of Science and ICT) (2022R1F1A1071452).

Data Availability Statement

The datasets used for this study are publicly available through the link https://csms.haifa.ac.il/profiles/tTreibitz/datasets/ambient_forwardlooking/, accessed on 1 September 2024.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CNNConvolutional Neural Network
DCPdark-channel prior (DCP)
DCMDeep Curve Model
DLMDeep Line Model
IFMimage formation model
MCPmedium-channel prior
PSNRPeak Signal-to-Noise Ratio
RCPRed-Channel Prior
RMSERoot Mean Squares Error

References

  1. Islam, M.J.; Xia, Y.; Sattar, J. Fast Underwater Image Enhancement for Improved Visual Perception. IEEE Robot. Autom. Lett. 2020, 5, 3227–3234. [Google Scholar] [CrossRef]
  2. Han, M.; Lyu, Z.; Qiu, T.; Xu, M. A Review on Intelligence Dehazing and Color Restoration for Underwater Images. IEEE Trans. Syst. Man Cybern. Syst. 2020, 50, 1820–1832. [Google Scholar] [CrossRef]
  3. Berman, D.; Levy, D.; Avidan, S.; Treibitz, T. Underwater Single Image Color Restoration Using Haze-Lines and a New Quantitative Dataset. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 43, 2822–2837. [Google Scholar] [CrossRef]
  4. Treibitz, T.; Schechner, Y.Y. Active polarization descattering. IEEE Trans. Pattern Anal. Mach. Intell. 2008, 31, 385–399. [Google Scholar] [CrossRef]
  5. Murez, Z.; Treibitz, T.; Ramamoorthi, R.; Kriegman, D. Photometric stereo in a scattering medium. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 3415–3423. [Google Scholar]
  6. Zhou, Y.; Wu, Q.; Yan, K.; Feng, L.; Xiang, W. Underwater image restoration using color-line model. IEEE Trans. Circuits Syst. Video Technol. 2018, 29, 907–911. [Google Scholar] [CrossRef]
  7. Guo, Y.; Li, H.; Zhuang, P. Underwater image enhancement using a multiscale dense generative adversarial network. IEEE J. Ocean. Eng. 2019, 45, 862–870. [Google Scholar] [CrossRef]
  8. Fu, X.; Cao, X. Underwater image enhancement with global–local networks and compressed-histogram equalization. Signal Process. Image Commun. 2020, 86, 115892. [Google Scholar] [CrossRef]
  9. Jian, M.; Liu, X.; Luo, H.; Lu, X.; Yu, H.; Dong, J. Underwater image processing and analysis: A review. Signal Process. Image Commun. 2021, 91, 116088. [Google Scholar] [CrossRef]
  10. Zhang, W.; Dong, L.; Zhang, T.; Xu, W. Enhancing underwater image via color correction and bi-interval contrast enhancement. Signal Process. Image Commun. 2021, 90, 116030. [Google Scholar] [CrossRef]
  11. Zhang, W.; Dong, L.; Xu, W. Retinex-inspired color correction and detail preserved fusion for underwater image enhancement. Comput. Electron. Agric. 2022, 192, 106585. [Google Scholar] [CrossRef]
  12. Liu, P.; Zhang, C.; Qi, H.; Wang, G.; Zheng, H. Multi-attention DenseNet: A scattering medium imaging optimization framework for visual data pre-processing of autonomous driving systems. IEEE Trans. Intell. Transp. Syst. 2022, 23, 25396–25407. [Google Scholar] [CrossRef]
  13. Liang, Z.; Ding, X.; Wang, Y.; Yan, X.; Fu, X. GUDCP: Generalization of underwater dark channel prior for underwater image restoration. IEEE Trans. Circuits Syst. Video Technol. 2021, 32, 4879–4884. [Google Scholar] [CrossRef]
  14. Ye, X.; Li, Z.; Sun, B.; Wang, Z.; Xu, R.; Li, H.; Fan, X. Deep joint depth estimation and color correction from monocular underwater images based on unsupervised adaptation networks. IEEE Trans. Circuits Syst. Video Technol. 2020, 30, 3995–4008. [Google Scholar] [CrossRef]
  15. Schechner, Y.Y.; Averbuch, Y. Regularized Image Recovery in Scattering Media. IEEE Trans. Pattern Anal. Mach. Intell. 2007, 29, 1655–1660. [Google Scholar] [CrossRef]
  16. Li, M.; Liu, J.; Yang, W.; Sun, X.; Guo, Z. Structure-Revealing Low-Light Image Enhancement Via Robust Retinex Model. IEEE Trans. Image Process. 2018, 27, 2828–2841. [Google Scholar] [CrossRef]
  17. Ali, U.; Mahmood, M.T. Underwater image restoration through regularization of coherent structures. Front. Mar. Sci. 2022, 9, 1024339. [Google Scholar] [CrossRef]
  18. Schechner, Y.Y.; Karpel, N. Recovery of underwater visibility and structure by polarization analysis. IEEE J. Ocean. Eng. 2005, 30, 570–587. [Google Scholar] [CrossRef]
  19. Drews, P.; Nascimento, E.; Moraes, F.; Botelho, S.; Campos, M. Transmission estimation in underwater single images. In Proceedings of the IEEE International Conference on Computer Vision Workshops, Sydney, Australia, 2–8 December 2013; pp. 825–830. [Google Scholar]
  20. Li, C.Y.; Guo, J.C.; Cong, R.M.; Pang, Y.W.; Wang, B. Underwater Image Enhancement by Dehazing with Minimum Information Loss and Histogram Distribution Prior. IEEE Trans. Image Process. 2016, 25, 5664–5677. [Google Scholar] [CrossRef]
  21. Galdran, A.; Pardo, D.; Picón, A.; Alvarez-Gila, A. Automatic Red-Channel underwater image restoration. J. Vis. Commun. Image Represent. 2015, 26, 132–145. [Google Scholar] [CrossRef]
  22. Gao, Y.; Li, H.; Wen, S. Restoration and Enhancement of Underwater Images Based on Bright Channel Prior. Math. Probl. Eng. 2016, 2016, 3141478. [Google Scholar] [CrossRef]
  23. Wang, S.; Chi, C.; Wang, P.; Zhao, S.; Huang, H.; Liu, X.; Liu, J. Feature-Enhanced Beamforming for Underwater 3-D Acoustic Imaging. IEEE J. Ocean. Eng. 2022, 48, 401–415. [Google Scholar] [CrossRef]
  24. Kenneth, L. MM Optimization Algorithms; SIAM: Philadelphia, PA, USA, 2016; p. 233. [Google Scholar] [CrossRef]
  25. Ham, B.; Cho, M.; Ponce, J. Robust Image Filtering using Joint Static and Dynamic Guidance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; IEEE: Piscataway, NJ, USA, 2015. [Google Scholar]
  26. He, K.; Sun, J.; Tang, X. Single image haze removal using dark channel prior. IEEE Trans. Pattern Anal. Mach. Intell. 2011, 33, 2341–2353. [Google Scholar] [PubMed]
  27. Peng, Y.T.; Cosman, P.C. Underwater Image Restoration Based on Image Blurriness and Light Absorption. IEEE Trans. Image Process. 2017, 26, 1579–1594. [Google Scholar] [CrossRef] [PubMed]
  28. Wang, Y.; Liu, H.; Chau, L.P. Single Underwater Image Restoration Using Adaptive Attenuation-Curve Prior. IEEE Trans. Circuits Syst. I Regul. Pap. 2018, 65, 992–1002. [Google Scholar] [CrossRef]
  29. Peng, Y.T.; Cao, K.; Cosman, P.C. Generalization of the Dark Channel Prior for Single Image Restoration. IEEE Trans. Image Process. 2018, 27, 2856–2868. [Google Scholar] [CrossRef]
  30. Berman, D.; Treibitz, T.; Avidan, S. Single image dehazing using haze-lines. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 42, 720–734. [Google Scholar] [CrossRef] [PubMed]
  31. He, K.; Sun, J.; Tang, X. Guided Image Filtering. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 35, 1397–1409. [Google Scholar] [CrossRef]
  32. Shen, X.; Zhou, C.; Xu, L.; Jia, J. Mutual-Structure for Joint Filtering. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, 7–15 December 2015. [Google Scholar]
  33. Liu, R.; Ma, L.; Zhang, J.; Fan, X.; Luo, Z. Retinex-inspired unrolling with cooperative prior architecture search for low-light image enhancement. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 10561–10570. [Google Scholar]
  34. Dong, L.; Zhang, W.; Xu, W. Underwater image enhancement via integrated RGB and LAB color models. Signal Process. Image Commun. 2022, 104, 116684. [Google Scholar] [CrossRef]
  35. Ancuti, C.; Ancuti, C.O.; Haber, T.; Bekaert, P. Enhancing underwater images and videos by fusion. In Proceedings of the 2012 IEEE Conference on Computer Vision and Pattern Recognition, Providence, RI, USA, 16–21 June 2012; pp. 81–88. [Google Scholar] [CrossRef]
  36. Ancuti, C.O.; Ancuti, C.; De Vleeschouwer, C.; Bekaert, P. Color Balance and Fusion for Underwater Image Enhancement. IEEE Trans. Image Process. 2018, 27, 379–393. [Google Scholar] [CrossRef]
  37. Tan, C.; Seet, G.; Sluzek, A.; He, D. A novel application of range-gated underwater laser imaging system (ULIS) in near-target turbid medium. Opt. Lasers Eng. 2005, 43, 995–1009. [Google Scholar] [CrossRef]
  38. Zhao, Y.; He, W.; Ren, H.; Li, Y.; Fu, Y. Polarization descattering imaging through turbid water without prior knowledge. Opt. Lasers Eng. 2022, 148, 106777. [Google Scholar] [CrossRef]
  39. Li, J.; Li, Y. Underwater image restoration algorithm for free-ascending deep-sea tripods. Opt. Laser Technol. 2019, 110, 129–134. [Google Scholar] [CrossRef]
  40. Kim, J.H.; Jang, W.D.; Sim, J.Y.; Kim, C.S. Optimized contrast enhancement for real-time image and video dehazing. J. Vis. Commun. Image Represent. 2013, 24, 410–425. [Google Scholar] [CrossRef]
  41. Zhang, W.; Zhuang, P.; Sun, H.H.; Li, G.; Kwong, S.; Li, C. Underwater Image Enhancement via Minimal Color Loss and Locally Adaptive Contrast Enhancement. IEEE Trans. Image Process. 2022, 31, 3997–4010. [Google Scholar] [CrossRef] [PubMed]
  42. Xie, J.; Hou, G.; Wang, G.; Pan, Z. A variational framework for underwater image dehazing and deblurring. IEEE Trans. Circuits Syst. Video Technol. 2021, 32, 3514–3526. [Google Scholar] [CrossRef]
  43. Wang, Y.; Zhang, J.; Cao, Y.; Wang, Z. A deep CNN method for underwater image enhancement. In Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China, 17–20 September 2017; pp. 1382–1386. [Google Scholar] [CrossRef]
  44. Li, C.; Anwar, S.; Porikli, F. Underwater scene prior inspired deep underwater image and video enhancement. Pattern Recognit. 2020, 98, 107038. [Google Scholar] [CrossRef]
  45. Yang, M.; Hu, K.; Du, Y.; Wei, Z.; Sheng, Z.; Hu, J. Underwater image enhancement based on conditional generative adversarial network. Signal Process. Image Commun. 2020, 81, 115723. [Google Scholar] [CrossRef]
  46. Song, Y.; He, Z.; Qian, H.; Du, X. Vision transformers for single image dehazing. IEEE Trans. Image Process. 2023, 32, 1927–1941. [Google Scholar] [CrossRef]
  47. Wang, Z.; Zhang, K.; Yang, Z.; Da, Z.; Huang, S.; Wang, P. Underwater Image Enhancement Based on Improved U-Net Convolutional Neural Network. In Proceedings of the 2023 IEEE 18th Conference on Industrial Electronics and Applications (ICIEA), Ningbo, China, 18–22 August 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1902–1908. [Google Scholar]
  48. Deng, X.; Liu, T.; He, S.; Xiao, X.; Li, P.; Gu, Y. An underwater image enhancement model for domain adaptation. Front. Mar. Sci. 2023, 10, 1138013. [Google Scholar] [CrossRef]
  49. Liao, K.; Peng, X. Underwater image enhancement using multi-task fusion. PLoS ONE 2024, 19, e0299110. [Google Scholar] [CrossRef]
  50. Krishnan, D.; Fattal, R.; Szeliski, R. Efficient preconditioning of laplacian matrices for computer graphics. ACM Trans. Graph. (tOG) 2013, 32, 1–15. [Google Scholar] [CrossRef]
  51. SQUID- Stereo Quantitative Underwater Image Dataset. Available online: https://csms.haifa.ac.il/profiles/tTreibitz/datasets/ambient_forwardlooking/ (accessed on 1 September 2024).
  52. Venkatanath, N.; Praneeth, D.; Bh, M.C.; Channappayya, S.S.; Medasani, S.S. Blind image quality evaluation using perception based features. In Proceedings of the 2015 Twenty First National Conference on Communications (NCC), Mumbai, India, 27 February–1 March 2015; pp. 1–6. [Google Scholar] [CrossRef]
  53. Mittal, A.; Soundararajan, R.; Bovik, A.C. Making a “Completely Blind” Image Quality Analyzer. IEEE Signal Process. Lett. 2013, 20, 209–212. [Google Scholar] [CrossRef]
  54. Mittal, A.; Moorthy, A.K.; Bovik, A.C. No-Reference Image Quality Assessment in the Spatial Domain. IEEE Trans. Image Process. 2012, 21, 4695–4708. [Google Scholar] [CrossRef] [PubMed]
  55. Li, C.; Guo, J.; Guo, C. Emerging From Water: Underwater Image Color Correction Based on Weakly Supervised Color Transfer. IEEE Signal Process. Lett. 2018, 25, 323–327. [Google Scholar] [CrossRef]
  56. Finlayson, G.D.; Zakizadeh, R. Reproduction angular error: An improved performance metric for illuminant estimation. Perception 2014, 310, 1–26. [Google Scholar]
Figure 1. Formation of underwater images. The direct transmission of light contains valuable information about the scene, while the backscattered light degrades the image by reflecting off the suspended particles in the water column. The distance between the camera and the object, denoted by z, affects the clarity of the image. Red light is absorbed more quickly than other wavelengths, making it less effective for underwater imaging. Additionally, forward scattered light can blur the scene, further reducing image quality.
Figure 1. Formation of underwater images. The direct transmission of light contains valuable information about the scene, while the backscattered light degrades the image by reflecting off the suspended particles in the water column. The distance between the camera and the object, denoted by z, affects the clarity of the image. Red light is absorbed more quickly than other wavelengths, making it less effective for underwater imaging. Additionally, forward scattered light can blur the scene, further reducing image quality.
Mathematics 12 03553 g001
Figure 2. Outlines of the proposed method. Following the physical scattering model, initial TM and veiling light are computed from the input image. Then the initial TM is refined by solving a robust energy function that takes advantage of a non-convex regularizer and two types of weights. Finally, the image is restored using the refined TM and the ASM.
Figure 2. Outlines of the proposed method. Following the physical scattering model, initial TM and veiling light are computed from the input image. Then the initial TM is refined by solving a robust energy function that takes advantage of a non-convex regularizer and two types of weights. Finally, the image is restored using the refined TM and the ASM.
Mathematics 12 03553 g002
Figure 3. (a) The proposed robust regularizer  ϕ γ ( i )  and its curves for various values of  γ . (b) Regularizer  ϕ γ ( i )  and its surrogate function  Φ γ j ( i )  when  γ = 1  and  j = 0.8 , 1.5 .
Figure 3. (a) The proposed robust regularizer  ϕ γ ( i )  and its curves for various values of  γ . (b) Regularizer  ϕ γ ( i )  and its surrogate function  Φ γ j ( i )  when  γ = 1  and  j = 0.8 , 1.5 .
Mathematics 12 03553 g003
Figure 4. The proposed robust method improves the initial transmission maps, leading to a visual improvement in the quality of the recovered images compared to the images recovered by initial transmission maps. The specific image details and corresponding quantitative measures  ρ  and  ψ  for each image can be found in Table 1.
Figure 4. The proposed robust method improves the initial transmission maps, leading to a visual improvement in the quality of the recovered images compared to the images recovered by initial transmission maps. The specific image details and corresponding quantitative measures  ρ  and  ψ  for each image can be found in Table 1.
Mathematics 12 03553 g004
Figure 5. An in-depth analysis of the proposed regularization method for underwater image enhancement. Initial transmission maps are computed using the underwater haze line prior and refined using various state-of-the-art methods, including GF (guided filter), MSF (mutual structure filtering), SM (soft matting), and SDF (SD filtering), with our method showing promising results in improving overall image quality despite some limitations in depth region and object edge distinction.
Figure 5. An in-depth analysis of the proposed regularization method for underwater image enhancement. Initial transmission maps are computed using the underwater haze line prior and refined using various state-of-the-art methods, including GF (guided filter), MSF (mutual structure filtering), SM (soft matting), and SDF (SD filtering), with our method showing promising results in improving overall image quality despite some limitations in depth region and object edge distinction.
Mathematics 12 03553 g005
Figure 6. A comparison of output for various refinement methods highlights the effectiveness of each in improving the visibility of objects in underwater images. While all methods show promise, there are limitations such as abrupt color variations and over-saturation. Our proposed methodology stands out as the best option, providing natural results without the artifacts present in other state-of-the-art improvement methods.
Figure 6. A comparison of output for various refinement methods highlights the effectiveness of each in improving the visibility of objects in underwater images. While all methods show promise, there are limitations such as abrupt color variations and over-saturation. Our proposed methodology stands out as the best option, providing natural results without the artifacts present in other state-of-the-art improvement methods.
Mathematics 12 03553 g006
Figure 7. A quantitative measure is presented using all images from four datasets (Katzaa, Michmoret, Nachsholism, and Satil) for our robust transmission refinement method applied to various state-of-the-art techniques by replacing their refinement techniques, including DCP [26], UDCP [19], HLP [30], and UHLP [3]. The left-hand side graph compares improvement in initial transmission maps using  ρ , while the right-hand side graph shows the color comparisons  ψ  of restored images. The second bar, which is the same color as the first one, illustrates the improvement results.
Figure 7. A quantitative measure is presented using all images from four datasets (Katzaa, Michmoret, Nachsholism, and Satil) for our robust transmission refinement method applied to various state-of-the-art techniques by replacing their refinement techniques, including DCP [26], UDCP [19], HLP [30], and UHLP [3]. The left-hand side graph compares improvement in initial transmission maps using  ρ , while the right-hand side graph shows the color comparisons  ψ  of restored images. The second bar, which is the same color as the first one, illustrates the improvement results.
Mathematics 12 03553 g007
Figure 8. This figure compares the performance of state-of-the-art and proposed methods for image restoration through a qualitative and quantitative analysis. The first column shows the input images, and the remaining columns depict the output of each method, including our proposed method. A qualitative comparison reveals that our proposed method not only effectively minimizes the haze but also restores the natural appearance of the scenes and preserves sharp structural edges and depth discontinuities. The results of IBLA [27], UDCP [19], CEIV [40], HLP [30], and UHLP [3] are also shown in the figure. The quantitative comparison in Table 4 using the images shown in Figure 8 shows that our proposed method outperforms various SOTA methods without using any contrast stretching. The specific image details and corresponding quantitative values for each image can be found in Table 4.
Figure 8. This figure compares the performance of state-of-the-art and proposed methods for image restoration through a qualitative and quantitative analysis. The first column shows the input images, and the remaining columns depict the output of each method, including our proposed method. A qualitative comparison reveals that our proposed method not only effectively minimizes the haze but also restores the natural appearance of the scenes and preserves sharp structural edges and depth discontinuities. The results of IBLA [27], UDCP [19], CEIV [40], HLP [30], and UHLP [3] are also shown in the figure. The quantitative comparison in Table 4 using the images shown in Figure 8 shows that our proposed method outperforms various SOTA methods without using any contrast stretching. The specific image details and corresponding quantitative values for each image can be found in Table 4.
Mathematics 12 03553 g008
Figure 9. This figure compares the ground-truth distance and transmission maps for images shown in Figure 8. Our method effectively refines the transmission, taking into account the structures of the edges and depth to achieve a much smoother result. The quality of the transmission is quantitatively evaluated using the Pearson correlation coefficient  ρ , which is calculated as the correlation between the negative logarithm of the estimated transmission and the true distance. This comparison provides insight into the accuracy of the transmission map estimates generated by each method. Our method outperforms state-of-the-art methods such as DCP [26], UDCP [19], CEIV [40], IBLA [27], RCP [21], and UHLP [3], as shown by the Pearson correlation coefficient in Table 4. The specific image details and corresponding quantitative values for each image can also be found in Table 4.
Figure 9. This figure compares the ground-truth distance and transmission maps for images shown in Figure 8. Our method effectively refines the transmission, taking into account the structures of the edges and depth to achieve a much smoother result. The quality of the transmission is quantitatively evaluated using the Pearson correlation coefficient  ρ , which is calculated as the correlation between the negative logarithm of the estimated transmission and the true distance. This comparison provides insight into the accuracy of the transmission map estimates generated by each method. Our method outperforms state-of-the-art methods such as DCP [26], UDCP [19], CEIV [40], IBLA [27], RCP [21], and UHLP [3], as shown by the Pearson correlation coefficient in Table 4. The specific image details and corresponding quantitative values for each image can also be found in Table 4.
Mathematics 12 03553 g009
Table 1. Quantitative measures  ρ  and  ψ  computed for the images shown in Figure 4.
Table 1. Quantitative measures  ρ  and  ψ  computed for the images shown in Figure 4.
ImagesInitial  ρ Refined  ρ Initial  ψ Refined  ψ
RGT_44680.63980.773737.4624.17
RGT_44930.61290.742537.0830.81
RGT_54460.74690.850330.3927.97
RGT_54800.29750.335335.2531.56
RGT_29980.84570.893535.4831.6
RGT_32760.84750.914141.9331.73
RGT_43360.25970.30235.4531.88
RGT_43810.51660.577735.6230.03
Table 2. Quantitative measure of Pearson correlation coefficient  ρ  for four datasets against various refinement methods.
Table 2. Quantitative measure of Pearson correlation coefficient  ρ  for four datasets against various refinement methods.
MethodsKatzaaMichmoretNachsholimSatil
ITM0.620.660.820.31
GF0.660.720.850.33
MSF0.640.680.840.34
SM0.630.680.830.33
SDF0.630.670.830.33
Our0.70.730.870.37
Table 3. Quantitative measure of average angular error  ψ  for four datasets against various refinement methods.
Table 3. Quantitative measure of average angular error  ψ  for four datasets against various refinement methods.
MethodsKatzaaMichmoretNachsholimSatil
ITM35.3933.5835.5136.59
GF29.7230.283031.16
MSF29.8829.5630.3530.31
SM30.2830.1630.5131.15
SDF32.3329.5131.0930.25
Our29.4129.8230.4230.69
Table 4. Comparisons of the average reproduction angular error  ψ  in RGB space between the gray-scale patches and pure gray color for a few state-of-the-art methods, including the input. Lower values indicate better performance.
Table 4. Comparisons of the average reproduction angular error  ψ  in RGB space between the gray-scale patches and pure gray color for a few state-of-the-art methods, including the input. Lower values indicate better performance.
ImagesInput  ψ IBLA [27]UDCP [19]CEIV [40]HLP [30]UHLP [3]OURS
RGT_447935.88336.67947.31636.81737.36332.10729.835
RGT_448734.96837.63795.72434.63731.30331.17730.901
RGT_449335.47244.46878.10835.68730.19630.81530.813
RGT_545531.45331.45392.52630.2629.25928.18227.471
RGT_546634.84536.78887.08334.52530.73631.72730.956
RGT_547135.09435.51184.87734.92727.46931.38830.827
RGT_548034.61337.33385.43733.97933.02731.71831.561
RGT_299835.27638.632108.4335.45430.53531.64231.603
RGT_301434.40336.351111.2316.37229.89130.230.403
RGT_327235.21835.21894.5335.22431.42731.20631.156
Table 5. The Pearson correlation coefficient  ρ  between the estimated transmission maps and the ground truth distance for various images, as shown in Figure 8, are presented in each row of the figure. To ensure consistency, the distance is calculated in meters, and the correlation is determined between the distance and −log(t). Higher values indicate better performance.
Table 5. The Pearson correlation coefficient  ρ  between the estimated transmission maps and the ground truth distance for various images, as shown in Figure 8, are presented in each row of the figure. To ensure consistency, the distance is calculated in meters, and the correlation is determined between the distance and −log(t). Higher values indicate better performance.
ImagesDCP [26]UDCP [19]CEIV [40]IBLA [27]RCP [21]UHLP [3]OURS
RGT_44790.084−0.722−0.3790.860.3920.8160.878
RGT_4487−0.026−0.261−0.0180.6770.1580.7790.843
RGT_4493−0.116−0.0760.060.6270.3660.6070.742
RGT_5455−0.29−0.504−0.1580.2420.2930.750.771
RGT_5466−0.107−0.326−0.0170.3370.1330.7960.823
RGT_5471−0.102−0.695−0.0620.001−0.050.7990.776
RGT_5480−0.031−0.606−0.001−0.126−0.280.310.335
RGT_2998−0.2750.01010.0320.8250.4160.8850.893
RGT_3014−0.414−0.057−0.4460.8770.6330.8470.822
RGT_3272−0.370.3716−0.4160.8970.6870.8880.862
RGT_43180.0570.02810.2390.695−0.040.3530.361
RGT_43360.2330.17420.2670.473−0.020.2990.302
Table 6. Time taken in (seconds) by different methods.
Table 6. Time taken in (seconds) by different methods.
DCP [26]UDCP [19]RCP [21]IBLA [27]HLP [30]Ours
0.680.690.055.214.065.66
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Awan, H.S.A.; Mahmood, M.T. A Nonconvex Approach with Structural Priors for Restoring Underwater Images. Mathematics 2024, 12, 3553. https://doi.org/10.3390/math12223553

AMA Style

Awan HSA, Mahmood MT. A Nonconvex Approach with Structural Priors for Restoring Underwater Images. Mathematics. 2024; 12(22):3553. https://doi.org/10.3390/math12223553

Chicago/Turabian Style

Awan, Hafiz Shakeel Ahmad, and Muhammad Tariq Mahmood. 2024. "A Nonconvex Approach with Structural Priors for Restoring Underwater Images" Mathematics 12, no. 22: 3553. https://doi.org/10.3390/math12223553

APA Style

Awan, H. S. A., & Mahmood, M. T. (2024). A Nonconvex Approach with Structural Priors for Restoring Underwater Images. Mathematics, 12(22), 3553. https://doi.org/10.3390/math12223553

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop