Next Article in Journal
A Unified Benchmarking Framework for Classical Machine Learning Based Heart Rate Estimation from RGB and NIR rPPG
Next Article in Special Issue
HetRelMTL-Net: A Unified Framework for Knowledge Graph Completion via Graph–Text Fusion and Multi-Task Dynamic Optimization
Previous Article in Journal
INVCAM: An Inverted Compressor-Based Approximate Multiplier
Previous Article in Special Issue
The Effect of Tactile Feedback on the Manipulation of a Remote Robotic Arm via a Haptic Glove
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Image Haze Removal Using Dual Dark Channels with the Whale Optimization Algorithm and an Image Regression Model

Department of Computer Science and Information Engineering, Chaoyang University of Technology, Taichung 413, Taiwan
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(1), 215; https://doi.org/10.3390/electronics15010215
Submission received: 18 November 2025 / Revised: 28 December 2025 / Accepted: 29 December 2025 / Published: 2 January 2026
(This article belongs to the Special Issue Advanced Research in Technology and Information Systems, 2nd Edition)

Abstract

Recently, image haze removal has gained increasing attention in the field of image restoration. Data-driven and model-based methods are popular among researchers. The dark channel prior prevails in model-based methods, where the model parameters, atmospheric light, and transmittance are generally estimated through a block-based dark channel. This paper proposes a model-based approach with integrated pixel- and block-based dark channels for initial transmittance estimation. Additionally, we developed a two-stage guided image filtering process to refine the initial transmittance while utilizing the pixel-based dark channel to estimate atmospheric light. Our approach introduces two scaling factors for atmospheric light and initial transmittance, which are optimized using the Whale Optimization Algorithm. A CNN image regression model is employed to learn the mapping between hazy images and their corresponding optimized scaling factors, thus eliminating the need for ground-truth images. This makes our approach applicable in real-world scenarios. The proposed approach was validated using two datasets: an artificially generated image dataset, RESIDE, and a natural image dataset, KeDeMa. The results show that our approach outperforms four other dehazing methods, i.e., GCAN, RRO, RFDN, and Ka-Net. With the RESIDE dataset, our approach outperforms GCAN, RRO, RFD, and Ka-Net by 2.009 dB, 6.042 dB, 3.488 dB, and 8.975 dB, respectively, in terms of PSNR. With the KeDeMa dataset, our approach generally demonstrates superior visual quality to the four comparison methods. The results suggest that the proposed model-based approach may outperform data-driven methods.

1. Introduction

Image dehazing or haze removal has recently received increasing attention in image restoration. Haze is mainly caused by the scattering of suspended particles in the air. Hazy images often have lower contrast and visibility, which degrades the performance of subsequent image-based systems, such as object tracking and surveillance systems. Thus, image dehazing methods have been sought to solve the problem. Besides conventional image processing techniques like histogram equalization and contrast enhancement, image dehazing methods can be roughly categorized into three types: network-based, model-based, and hybrid (network–model-based) methods. Network-based methods are associated with end-to-end deep learning models, which are irrelevant to this study. They will not be discussed further. Model-based methods are based on a haze image model. Its challenge is to appropriately estimate model parameters, i.e., atmospheric light and transmittance. Hybrid models generally use networks to extract model parameters and integrate them into the training process. For a comprehensive survey, one may consult [1,2,3].
Regarding model-based dehazing methods, a widely used image haze model is expressed as follows [4]:
I x = J x t x + A [ 1 t ( x ) ]
where I x refers to the observed intensity; x is the pixel coordinate; J x is the radiance of the captured image; A is the atmospheric light; and t ( x ) = e ρ d ( x ) describes the transmittance of un-scattered light to a camera, where ρ is the scattering coefficient, and d ( x ) is the depth at x . The challenge with model-based methods lies in accurately estimating the model parameters A and t ( x ) in Equation (1).
To estimate model parameters in Equation (1), researchers have developed methods based on various assumptions and statistical priors. A single-image dehazing method that assumes the transmittance and surface shading are locally uncorrelated was introduced in [5]. In [6], color lines were introduced in the dehazing process. The color lines refer to a characteristic found in natural images, where pixels in small patches create one-dimensional distributions within the RGB color space. A color attenuation prior was proposed in [7] that enables the estimation of scene depth in hazy images using a linear model with supervised learning. The depth map was then used to estimate the transmittance. In [8], a convolutional neural network was proposed to estimate transmittance in a hazy image. Then, the dehazed image was obtained based on the image haze model. A dark channel prior (DCP) was introduced in [9] to estimate model parameters A and t ( x ) . The DCP prevails in the field of image dehazing due to its simplicity. However, it is known that the DCP suffers from artifacts, halo effects, color distortion, and high computational costs. Many researchers have consequently proposed approaches to improve its performance. In [10], atmospheric light was estimated using dark channels and a decision image. A multi-scale retinex with a color restoration algorithm was proposed to estimate initial transmittance, which was then optimized to obtain the final transmittance. A modified DCP was proposed in [11], where scaling factors for atmospheric light and initial transmittance were introduced to enhance the performance of the DCP. In [12], a combined optimization method for radiance and reflectance was applied to estimate transmittance. A transmittance estimation scheme was proposed in [13], where a lower bound and a nonlinear bounding function were used. An approach using robust sky detection was proposed in [14] to eliminate the halos that occur in sky regions. In [15], a sky region segmentation method based on particle swarm optimization and the Otsu segmentation scheme was presented. The final dark channel was formed by a compensated dark channel in the sky regions and the dark channel in the non-sky regions. A convolutional neural network called the All-in-One Dehazing Network (AOD-Net) was proposed in [16]. In this method, the image haze model is reformulated to adapt to the end-to-end learning process. In [17], an improved AOD-Net was reported, where a depth-separable convolutional neural network was introduced to obtain the optimal model parameters. A support vector regression model was employed in [18] to learn transmittance from image patches and estimate patch transmittances during the dehazing process. Atmospheric light was estimated through median and maximum filters. Both model parameters were then refined using guided image filtering. In [19], an unsupervised deep learning approach to image dehazing was proposed, through which the dark channel prior energy function was minimized. In [20], a hybrid learning method for image haze removal that used a patch map and a bi-attentive generative adversarial network was proposed. The former adaptively selected patch sizes for dark channel calculation, and the latter was a pre-trained network that estimated parameters for the adaptive patch map. A generative adversarial network was introduced to optimize model parameters in [21]. In [22], a hybrid approach to image dehazing was proposed. Atmospheric light and transmittance were estimated using deep learning schemes to balance the computational cost and dehazing performance. An efficient dehazing method that uses the pixel-based dark channel and the pixel-based bright channel was presented in [23]. The atmospheric light was estimated according to haze density analysis. In [24], a fusion-based method was proposed that employed both pixel-based and patch-based dark channels, which were smoothed using l 0 filtering and Gaussian filtering, respectively. The final transmittance was obtained by fusing both dark channels with an adaptive lower bound threshold. In our previous study [25], a pixel-based dark channel was applied to estimate atmospheric light and initial transmittance. In addition, adaptive scaling factors were introduced for the two model parameters. The pixel-based dark channel was also used in guided image filtering as a guidance image. In [26], a multi-scale fusion method was proposed for transmittance estimation. The method fused weighted dark channels at different scales and a bright channel to estimate transmittance. A quad-tree-based method was employed in [27] to estimate atmospheric light, while a linear regression model was used to determine the scattering coefficient of transmittance based on features of mean brightness and mean saturation. In [28], a modified atmospheric scattering model was proposed, along with a corresponding image clarification algorithm designed to enhance robustness and mitigate color distortion in hazy images. The method segmented the image into dense haze and non-dense haze regions. The atmospheric light and transmittance were estimated separately in segmented regions. Then, an alpha fusion was used to obtain the final estimates. An image dehazing algorithm based on an improved atmospheric scattering model was introduced in [29] to address issues of low visibility, poor contrast, color distortion, and image darkening caused by haze. The proposed model improved the traditional atmospheric scattering model by introducing a light absorption coefficient to prevent darkening. The equation for the transmittance map was then mathematically fitted and transformed into a simple quadratic equation to improve efficiency. The model-based methods mentioned above either modify the image haze model or incorporate optimization algorithms, deep learning schemes, and regression models. In this study, a model-based approach is proposed based on dual dark channels (DDCs), two-stage transmittance refinement, and a convolutional neural network (CNN) image regression. Our method is fundamentally different from the abovementioned methods.
Regarding hybrid methods, an image dehazing algorithm was proposed in [30]. This algorithm features a reformulated compensation atmospheric scattering model to improve performance in real-world scenes by compensating for modeling errors and inaccurate parameter estimation. In addition, a lightweight two-branch network was employed to jointly estimate the transformation map and the compensation map. In [31], an end-to-end asymmetric U-Net dehazing network was proposed, driven by an atmospheric scattering model with a two-stage process. A simplified U-Net was used to estimate the atmospheric light, while an asymmetric U-Net guided by the dark channel prior was employed to estimate the transmittance. An attention module was also employed to enhance performance. A physics-aware dehazing network using a seven-stage U-Net variant was proposed in [32]. This method relied on a derived haze extraction model that combines residual learning with the atmospheric scattering model. An atmospheric scattering prior embedded diffusion model was introduced in [33]. This model integrates atmospheric physics into the diffusion-based generative restoration process. An atmospheric prior estimation module is utilized to refine the initial transmittance, while learnable networks are used to estimate atmospheric light from the dark channel prior and physical consistency loss. In [34], a remote sensing image dehazing method was presented that integrates an atmospheric scattering model and a dark-channel prior-constrained network. The method is composed of three interconnected networks: a dehazing network, a transmittance network, and a dark channel information injection network. Traditional loss functions and a dark channel loss function were used to obtain a dehazed image. A two-stage framework for image dehazing was introduced in [35]. The method combined a physics-based dehazing network with a contrastive learning-based generative adversarial network. The former network was trained with synthetic image pairs in the first stage, while the latter network was used to bridge the domain gap between synthetic and real data.
Although a CNN image regression model was used in the study, the proposed approach differs from the hybrid methods described above and is essentially a model-based method. Our method solely relies on the image haze model. The model parameters for hazy images are used as the outputs to train a CNN image regression model, rather than the hazy image itself. The proposed approach consists of three parts. First, a dehazing scheme based on pixel- and block-based dark channels was developed, utilizing adaptive scaling factors for atmospheric light and initial transmittance. The dehazing scheme is called DDC. Second, the Whale Optimization Algorithm (WOA) [36] with a full-reference image quality assessment (FRIQA) was introduced to find optimal scaling factors in the DDC. The scheme is called the DDC_WOA. The objective of the DDC_WOA is to find pairs of input hazy images and their optimal scaling factors within an image dataset, such as RESIDE [37]. Third, with the pairs identified by the DDC_WOA, a CNN image regression model was employed to learn the mapping between pairs, thus eliminating the need for ground-truth (GT) images in the WOA. This makes our approach applicable in real-world applications. The proposed dehazing approach is referred to as DDC_WOA_CNN. In the application of the DDC_WOA_CNN method, the trained CNN estimates the corresponding optimal scaling factors for an input hazy image, which are then used in the DDC to obtain a dehazed image. In the experiment, we used the artificially generated hazy image dataset RESIDE [37] and the natural hazy image dataset KeDeMa [38] to verify the proposed DDC_WOA_CNN approach and compare it with four other dehazing methods, i.e., the GCAN [39], RRO [12], RFDN [40], and Ka-Net [41]. The results show that the DDC_WOA_CNN method has a higher PSNR in the RESIDE dataset than the GCAN, RRO, RFDN, and Ka-Net by 2.009 dB, 6.042 dB, 3.488 dB, and 8.975 dB, respectively. In the KeDeMa dataset, the subjective visual quality of the DDC_WOA_CNN method is generally better than that of the comparison methods. This paper has at least three contributions, as listed below.
  • We developed an image haze removal method called DDC based on pixel- and block-based dark channels and derived a scheme to estimate the initial transmittance in the DDC. Then, we introduced two-stage transmittance refinement, i.e., the coarse and smooth refinements, where two different guided image filters were applied. This is the first attempt of its kind in the field.
  • We applied the WOA to find optimal scaling factors for atmospheric light and initial transmittance in the DDC. The DDC with optimized scaling factors is referred to as the DDC_WOA. The DDC_WOA offers an alternative scheme to applying optimization algorithms in model-based methods. It is different from the models of most researchers, who have attempted to directly optimize atmospheric light and/or transmittance.
  • We introduced a CNN image regression model to learn the mapping between hazy images and their corresponding scaling factors obtained by the DDC_WOA. This eliminates the requirement for GT images in FRIQA and enables the use of the model in real-world applications. The resulting method is called DDC_WOA_CNN. The novelty of the proposed DDC_WOA_CNN method is demonstrated in the integration of the WOA and CNN into the model-based dehazing method DDC.
This paper is organized as follows: Section 2 describes the development of our DDC dehazing method. Section 3 introduces the proposed DDC_WOA_CNN method. Section 4 justifies the proposed approach. Finally, Section 5 concludes this study.

2. Our DDC Dehazing Method

In this section, we briefly review the DCP [9] in Section 2.1. Then, Section 2.2 describes the development of our DDC dehazing method.

2.1. The DCP Dehazing Method

In the DCP, the image haze model in Equation (1) is assumed. The DCP is based on a statistical observation that pixels in a non-sky patch of outdoor haze-free images generally have zero or very low pixel values in at least one of the RGB components. This statistical property is called the dark channel prior. A dark channel can be obtained using a block-based minimum filter. The model parameters in Equation (1) can be easily estimated through the dark channel. The DCP is popular in the image dehazing community due to its simplicity. For more details, see [9]. Given an RGB image I, the implementation of the DCP is summarized below.
Step 1.
Find the dark channel using a N × N minimum filter as
I Ω d a r k x = min y Ω x min c I c y
where Ω x is a N × N window centered at x and c { R , G , B } . In [9], N = 15 .
Step 2.
Find the 0.1% pixels with the highest values in I Ω d a r k x . Then, trace back to the corresponding pixels in the image I and find the pixel with the highest intensity, p m a x .
Step 3.
Estimate the atmospheric light A = [ A R   A G   A B ] as α × p m a x , where α is a scaling factor. In [9], α = 1 .
Step 4.
Calculate the normalized dark channel as
I ¯ Ω d a r k ( x ) = min y Ω x min c I c y A c
Step 5.
Obtain the initial transmittance as
t ~ x = 1 ω × I ¯ Ω d a r k ( x )
where 0 < ω < 1 is a user-defined scaling factor. In [9], ω = 0.95 .
Step 6.
Refine the initial transmittance t ~ x using the soft matting algorithm [9] or the guided image filter (GIF) in [42] to obtain the final transmittance t x . The settings for the GIF are as follows: input image I is the guidance image; window size W = 20 ; and smoothing factor ϵ = 0.001 .
Step 7.
Recover the scene radiance as
J ^ c x = I c x A c max t 0 , t x + A c
where t 0 is a user-defined lower bound of t x . In [9], t 0 = 0.1 .

2.2. The Proposed DDC Dehazing Method

This section describes the proposed DDC and its implementation. Section 2.2.1 and Section 2.2.2 describe the estimation of atmospheric light A and transmittance t ( x ) in the DDC. The overall algorithm of the DDC is given in Section 2.2.3.

2.2.1. Estimation of Atmospheric Light

Hue distortion is often found in dehazed images in the DCP. As proven in [43], this distortion results from estimation error in atmospheric light A . In other words, inappropriate estimation of A leads to hue distortion in the DCP. As described in our previous work [44], an adaptive scaling factor can alleviate this problem. For example, consider the hazy village image shown in Figure 1a. Figure 1b shows the DCP result with a scaling factor α = 1 for A , while Figure 1c shows the result with α = 0.85 . The result shows that hue distortion is found in the sky regions in Figure 1b, whereas the distortion is not present in Figure 1c with α = 0.85 . This suggests that using an appropriate scaling factor can help the estimation of A . In this study, we used an adaptive scaling factor α a for A in the DDC and applied the WOA [36] to find the optimal scaling factor α * for A in the DDC_WOA. The details will be given in Section 3.

2.2.2. Estimation of Transmittance

In this study, the transmittance estimation was motivated by two observations on the pixel-based dark channel (PDC) and block-based dark channel (BDC). The dual dark channels were utilized in estimating the initial transmittance. The transmittance derived from the PDC tends to preserve edges and details within objects better than that derived from the BDC. However, it may introduce color distortion. On the other hand, the transmittance obtained from the BDC has superior dark channel prior properties compared to the PDC, but it may lose object details. We attempted to integrate both advantages in estimating initial transmittance in this study. Moreover, transmittance refinement using a single GIF is found to be both efficient and effective in most cases, as shown in [42]. However, a single GIF may suffer from the halo problem when significant depth discontinuities are present. The situation becomes even worse when dual dark channels are considered. To address this challenge, we propose transmittance refinement based on a two-stage GIF scheme. The details are described below.
Next, a mathematical expression is derived for the initial transmittance estimation (ITE) using dual dark channels (DDCs), i.e., the PDC and the BDC. This scheme is called ITE/DDCs. The differences between ITE/DDCs and those used in the DCP are also explained.
Given that an RGB image I does not contain any sky regions or white objects, the dark channel prior suggests that at least one of the RGB components typically has very low intensity in patches of the image. The dark channel can be obtained through minimum filtering. When a 1 × 1 minimum filter is used, it is called the PDC, while using a block-based minimum filter, such as 15 × 15 in the DCP, is called the BDC. Using Equation (1), we can derive the initial transmittance t ~ ( x ) based on DDCs, i.e., the PDC and the BDC.
By normalizing with A c and applying a pixel-wise minimum operation over RGB components on both sides of Equation (1), we obtain the normalized PDC as
min c I c x A c = t ~ ( x ) min c J c x A c + 1 t ~ ( x )
Similarly, by normalizing with A c and applying a block minimum operation over RGB channels on both sides of Equation (1), we obtain the normalized BDC as
min y Ω x min c I c y A c = t ~ x min y Ω x min c J c y A c + 1 t ~ ( x )
where Ω x is a square patch of I centered at x . By subtracting Equation (7) from Equation (6), we have
min c I c x A c I Ω d a r k x = t ~ x min c J c x A c J Ω d a r k x
where J Ω d a r k x = min y Ω x min c J c x A c . According to the property of the dark channel prior, J Ω d a r k x 0 . Thus, Equation (8) can be written as
min c I c x A c I Ω d a r k ( x ) = t ~ x min c J c x A c
To estimate the initial transmittance, Equation (9) is rearranged as
t ~ x = I 1 d a r k x I Ω d a r k ( x ) J 1 d a r k ( x )
where I 1 d a r k x = min c I c x A c and J 1 d a r k x = min c J c x A c .
For a haze-free image I , I 1 d a r k x = J 1 d a r k x , and I Ω d a r k x = J Ω d a r k ( x ) . Thus, Equation (10) can be rewritten as
t ~ x = I 1 d a r k x I Ω d a r k ( x ) J 1 d a r k ( x ) = 1 J Ω d a r k x J 1 d a r k x = 1
In this case, t ~ x = t x = 1 in Equation (1). In other words, I is identical to the haze-free image J .
For a hazy image, Equation (10) can be rewritten as
t ~ x = I 1 d a r k x I Ω d a r k x J 1 d a r k x = I 1 d a r k x J 1 d a r k x 1 I Ω d a r k x I 1 d a r k x = w ( x ) 1 I Ω d a r k x I 1 d a r k x
where w ( x ) = I 1 d a r k x / J 1 d a r k x . For a hazy image, I 1 d a r k ( x ) J 1 d a r k ( x ) because of the haze in the image I . By applying the inequality, Equation (12) can be rewritten as follows:
t ~ x = I 1 d a r k x J 1 d a r k x 1 I Ω d a r k x I 1 d a r k x       = J 1 d a r k x + I 1 d a r k x J 1 d a r k x 1 I Ω d a r k x I 1 d a r k x       = 1 + I 1 d a r k x J 1 d a r k x 1 I Ω d a r k x I 1 d a r k x       = w ( x ) 1 I Ω d a r k x I 1 d a r k x
where I 1 d a r k x = I 1 d a r k x J 1 d a r k x is related to the haze level in I , and w x = I 1 d a r k x J 1 d a r k x = 1 + I 1 d a r k x J 1 d a r k x .
The initial transmittance estimation in ITE/DDCs differs from that in the DCP at least in two main aspects. First, the DCP uses only the BDC to obtain the initial transmittance t ~ x as in Equation (4). In contrast, the proposed ITE/DDC method uses both the PDC I 1 d a r k x and the BDC I Ω d a r k x as in Equation (12). Second, while the DCP uses a fixed weight ω for all pixels as in Equation (4), ITE/DDCs uses a coordinate-dependent weight w ( x ) for each pixel. These differences contribute to the superior performance of ITE/DDCs compared to the DCP. This will be verified later in this study.
Note that w ( x ) uses J 1 d a r k x in Equation (13). However, J 1 d a r k x is not available in real-world applications. Therefore, we need a way to estimate w ( x ) . A scheme based on the following two observations was developed: (i) w ( x ) in Equation (13) includes the term I 1 d a r k x = I 1 d a r k x J 1 d a r k x , which is related to the haze level in I , and (ii) the PDC I 1 d a r k ( x ) is proportional to the haze level in I . In other words, w ( x ) in Equation (13) can be estimated as w ( x ) = β [ 1 + I 1 d a r k x ] , where β is a scaling factor. Accordingly, the initial transmittance in Equation (13) is estimated as follows:
t ~ x = β [ 1 + I 1 d a r k x ] 1 I Ω d a r k x I 1 d a r k x ,
In this study, we propose a two-stage GIF (TSGIF) scheme to refine the initial transmittance t ~ x obtained from ITE/DDCs. The TSGIF refinement processes edges and details separately, which consists of two parts: rough refinement and smooth refinement. The rough refinement utilizes a GIF to preserve edges and eliminate halos, while the smooth refinement employs another GIF to detail smoothness to improve transmittance estimation.
We have shown how the model parameters A and t x are estimated in the proposed DDC. The implementation of the DDC is given in the next section.

2.2.3. Implementation of the Proposed DDC

This section summarizes the proposed DDC with implementation steps. Given an RGB image I , the implementation of the DDC is described below.
Step 1.
Find the initial block-based dark channel using a N × N minimum filter as
I ~ Ω d a r k ( x ) = min y Ω x min c I c y
where Ω x is a N × N window centered at x and c { R , G , B } . In the following experiment, N = 15 .
Step 2.
Find the 0.1% pixels with the highest values in I ~ Ω d a r k ( x ) . Then, trace back to the corresponding pixels in I , and find the pixel with the highest intensity, p m a x .
Step 3.
Estimate the atmospheric light A = [ A R   A G   A B ] as α a × p m a x , where the adaptive scaling factor α a = m i n ( μ B D C ) 0.075 , 0.975 and μ B D C = m e a n [ I ~ Ω d a r k x ] .
Step 4.
Calculate the normalized PDC as
I 1 d a r k x = min c I c x A c
where x is the pixel coordinate.
Step 5.
Find the pixel-based transmittance as
t ~ 1 x = 1 I 1 d a r k x
Step 6.
Calculate the normalized BDC as
I Ω d a r k ( x ) = min y Ω x min c I c y A c
where Ω x is an N × N window centered at x .
Step 7.
Find the initial transmittance as
t ~ x = w ( x ) × 1 I Ω d a r k x I 1 d a r k x
where w x = β a [ 1 + I 1 d a r k x ] and the adaptive scaling factor β a = m i n μ B D C 0.8 ) 0.45 , 0.95 and μ B D C 0.8 = m e a n μ B D C 0.8 .
Step 8.
Refine the initial transmittance t ~ x by rough refinement as
t ~ r x = G I F r t ~ x , I g r , N r , ϵ r
where G I F r ( · ) is a 2-D GIF in [45]; I g r is the guidance image; N r is the window size; and ϵ r is the smoothing factor.
Step 9.
Obtain the final transmittance t x by smooth refinement as
t x = G I F s t ~ r x , I g s , N s , ϵ s
where G I F s ( · ) is the GIF in [43]; I g s is the guidance image; N s is the window size; and ϵ s is the smoothing factor.
Step 10.
Recover the scene radiance using Equation (5) as below
J ^ c x = I c x A c max t 0 , t x + A c
where t 0 is a user-defined lower bound for t x and is set to 0.1.
There are three points that should be mentioned regarding the proposed DDC. First, in Step 3, the scaling factor α a for A is determined via a gamma correction y = x γ . It is based on the following three observations: (i) a smaller A results in a brighter dehazed image and vice versa. According to our experiments, the dehazed image from a less hazy image exhibits better visual quality. That is, a small A is appropriate for the dehazed image; (ii) for a heavier hazy image, a larger A is suitable for the dehazed image according to our experiments; (iii) the haze level in an image is related to its dark channel. In other words, a darker channel indicates a lower haze level in an image, and vice versa. The dark channel can be obtained from μ B D C . Based on the above observations, α a is empirically determined as α a = m i n ( μ B D C ) 0.075 , 0.975 and μ B D C = m e a n [ I ~ Ω d a r k x ] . Since γ = 0.075 1 , the curve is concave downward and lies above the linear y = x line. The α a is limited by the upper limit of 0.975, as it is observed that the value of α a lies between 0.75 and 0.975, which is suitable for the dehazed image. When employing a heavier haze level in an image, say x = μ B D C = 0.5 , y is about 0.917 ( α a 0.917 ) . In the case of a lower haze level in an image, say x = 0.05 , y 0.783 , which is the desired outcome. In other words, α a is adaptively changed according to the haze level of a hazy input image.
Second, in Step 7, the scaling factor β a for initial transmittance t ~ ( x ) is also determined via a gamma correction y = x γ . It is based on the following three observations: (i) t ~ ( x ) is related to the haze level of a hazy image. Thus, μ B D C is used in the calculation of β a . (ii) Note that sky regions and white objects bias the estimate of μ B D C . Consequently, a truncated mean μ B D C 0.8 = m e a n μ B D C 0.8 is used to exclude them in the calculation. (iii) The range of β a within ( 0.30 , 0.75 ) is generally suitable for a better dehazed image. When μ B D C 0.8 = 0.05 (a lower haze level), β a 0.340 , while β a 0.719 if μ B D C 0.8 = 0.5 (a heavier haze level). β a is thus empirically determined as β a = m i n μ B D C 0.8 ) 0.45 , 0.95 , where μ B D C 0.8 = m e a n μ B D C 0.8 .
Third, the types of GIFs used in Steps 8 and 9 are different. Empirically, we have found that the 2-D GIF in [46] is suitable for rough refinement, while the GIF in [43] is effective for smooth refinement. Two types of GIFs are thus employed in the TSGIF. Additionally, different window sizes and smoothing factors are employed in the rough and smooth refinements. It is known that a larger window size preserves sharper edges, while a larger smoothing factor produces a smoother effect. Empirically, the ( N r , ϵ r ) for the rough refinement is set to (5, 0.1), and the ( N s , ϵ s ) for the smooth refinement to (55, 0.05). In the rough and smooth refinements, t ~ 1 x is used as the guidance images I g r and I g s .
An example is given below to compare the DCP and the proposed DDC. Table 1 presents the transmittances and the dehazed village images obtained from the DCP and the DDC. Table 1 shows that the dehazed image obtained from the DCP suffers from halos along the contours of the hills and introduces hue distortion due to an inaccurate estimation of atmospheric light. Contrarily, the DDC has no such problems. The initial transmittance of the DDC also contains more details than that of the DCP. After applying the rough refinement, the halos around the hills were removed, while the edges were preserved. The smooth refinement was then applied to refine the transmittance to find the final transmittance, which was used to obtain the dehazed image. As shown in Table 1, the DDC provides a better dehazed image than the DCP. This suggests that the estimation of atmospheric light and transmittance in the DDC is better than that in the DCP. In other words, the DDC can appropriately estimate the model parameters in Equation (1). To further enhance dehazing performance, the WOA was used in this study to find the optimal scaling factors α * and β * in the DDC, as shown later in Figure 2.

3. The Proposed DDC_WOA_CNN Approach

This section introduces the proposed image dehazing approach called DDC_WOA_CNN, which combines the DDC, the Whale Optimization Algorithm (WOA), and a CNN image regression model. Section 3.1 provides an overview of the DDC_WOA_CNN method. Section 3.2 explains how the WOA is integrated into the DDC to create a method called the DDC_WOA. This method establishes the mapping between hazy images and their optimal scaling factors in the DDC. Finally, Section 3.3 describes how the CNN image regression model learns the mapping from the pairs generated by the DDC_WOA. This results in the proposed DDC_WOA_CNN method.

3.1. Overview of the Proposed DDC_WOA_CNN Approach

The proposed DDC_WOA_CNN method consists of three stages. In the first stage, for each input hazy image, the WOA is employed to find the optimal scaling factors: α * for A and β * for the initial transmittance t ~ ( x ) in the DDC. The method is referred to as the DDC_WOA, which establishes the mapping between hazy images and their corresponding optimal scaling factors. In the second stage, a CNN image regression model is used to learn the mapping obtained by the DDC_WOA. Finally, in the third stage, the DDC utilizes the optimal scaling factors estimated by the trained CNN, resulting in the proposed DDC_WOA_CNN method for practical applications. Figure 2 illustrates the block diagrams for the three stages, where I h represents a hazy image; I g is the ground-truth (GT) image; I d is the dehazed image, α ^ * is an estimate of α * for atmospheric light A ; and β ^ * is an estimate of β * for initial transmittance t ~ ( x ) . A detailed explanation of the proposed DDC, DDC_WOA, and DDC_WOA_CNN methods is provided in the next sections.

3.2. The DDC_WOA Scheme

This section describes how the WOA optimizes the scaling factors for A and t ~ x in the DDC. The optimal scaling factors replace the adaptive ones mentioned in Section 2.2.3. Section 3.2.1 outlines the DDC_WOA scheme and discusses how hazy GT images impact its performance. Section 3.2.2 presents a solution to improve the performance of the DDC_WOA by incorporating haze level estimation.

3.2.1. Incorporating the WOA into the DDC

This section describes the use of the WOA to determine optimal scaling factors for A and t ~ x in the DDC. The scheme is referred to as the DDC_WOA. The objective of the DDC_WOA is to map hazy images to their corresponding optimal scaling factors in the DDC. The resulting data are then used to train a CNN image regression model for learning the relationship between hazy images and their optimal scaling factors.
Let S = I i , j h , I j g ,   f o r   1 i N h , 1 j N g denote a dataset of image pairs, where I i , j h is a hazy image, and I j g is the corresponding GT image; N h is the total number of hazy images; and N g is the total number of GT images. The RESIDE dataset in [37] is an example of this, where one GT image corresponds to 35 hazy images. The WOA is applied to each image pair I i , j h , I j g to find the optimal scaling factors α i , j * and β i , j * in the DDC. In the searching process, the parameters N w = 5 (the number of whales) and t m a x = 5 (the maximum number of iterations) are used in the WOA, where the fitness function is the structure similarity (SSIM) [47]. Given I i , j h , the DDC generates a dehazed image I ^ j g using α i , j and β i , j initially generated by the WOA. The SSIM is then computed between I ^ j g and I j g to update α i , j and β i , j . This updating process occurs in each iteration of the WOA according to the SSIM values. The process continues until t m a x is reached. The resulting α i , j and β i , j are then considered as the optimal scaling factors α i , j * and β i , j * for I i , j h . Figure 3 illustrates the flow diagram of this process.
Note that the quality of GT images significantly impacts the dehazing performance of the DDC_WOA since the FRIQA SSIM is employed in the WOA. Table 2 demonstrates the impact of GT images on the DDC_WOA and indicates that a better dehazed image is obtained when a clear GT image is used (as shown in the first row), whereas the result is worse when a hazy GT image is used (as shown in the second row). This suggests that the quality of the dehazed image is directly related to the GT image utilized in the DDC_WOA. Therefore, selecting clear GT images is essential for accurately determining the optimal α i , j * and β i , j * in the DDC_WOA. The next section presents a haze level estimation method for discriminating hazy GT images.

3.2.2. Hazy GT Image Discrimination

This section presents haze level estimation (HLE) through which a haze level indicator was developed to discriminate hazy GT images. The HLE is based on the dark channel prior in [9], which states that there are pixels with values zero or close to zero in a haze-free RGB image, excluding sky regions and white objects. A minimum filter can obtain the dark channel. Figure 4 shows a haze-free image, its generated hazy image, and the corresponding dark channels. A 15 × 15 minimum filter was used in this example. As one can see, the dark channel of the haze-free image in Figure 4b is darker than that of the hazy image in Figure 4d, except for the sky regions.
The result in Figure 4 suggests that the haze level in an image can be estimated through the dark channel, excluding sky regions and white objects. Therefore, a threshold 0 < τ < 1 is introduced to exclude sky regions and white objects. Then, a truncated mean of the dark channel is calculated as an HL indicator. A smaller truncated mean implies that there is less haze in the image, and vice versa. Given an RGB image I , hazy GT image discrimination is implemented as follows:
Step 1.
Obtain the dark channel using the 15 × 15 minimum filter as
I 15 d a r k ( x ) = min y Ω x min c I c y
where c { R , G , B } and Ω x is a 15 × 15 window centered at x .
Step 2.
Calculate a truncated mean of I 15 d a r k ( x ) as
μ ~ d c τ = m e a n [ I 15 d a r k ( x ) τ ]
where 0 < τ < 1 is a user-defined threshold.
Step 3.
Check if the inequality μ ~ d c τ < η holds, where η is a user-defined threshold. If μ ~ d c τ < η , then I is considered clear. Otherwise, go to Step 4.
Step 4.
Calculate the difference μ ~ d c = μ ~ d c τ 1 μ ~ d c τ and check if the inequality μ ~ d c < ϵ holds, where τ 1 > τ and ϵ are user-defined thresholds. If μ ~ d c < ϵ , then I is considered clear; otherwise, it is hazy.
The algorithm is based on the following ideas: A clear GT image usually has less haze, and thus, μ ~ d c 0.4 is used as an HL indicator. If μ ~ d c 0.4 < η , say 0.1, the GT image is clear. Otherwise, another check is performed. Through experiments, it is observed that μ ~ d c τ changes little for a clear GT image as τ increases, but not for a hazy one. Therefore, the difference μ ~ d c = μ ~ d c 0.9 μ ~ d c 0.4 is used for the second check. A GT image is considered clear if μ ~ d c < ϵ , say 0.1, and hazy otherwise. As a rule of thumb, the settings τ = 0.4 , τ 1 = 0.9 , and ϵ = 0.1 work well in most cases. However, it is noted that η has a significant effect on the discrimination result. This will be further discussed in Section 4.1. Here, η equals 0.1 is used to demonstrate the feasibility of hazy GT image discrimination. Three GT images, denoted as I 1 , I 2 , and I 3 , selected from the RESIDE dataset, are used as examples. They are shown in Table 3. The three images are discriminated as follows. Image I 1 is clear since μ ~ d c 0.4 = 0.0756 < 0.1 . Image I 2 requires further verification since μ ~ d c 0.4 = 0.2461 > 0.1 . The image is clear since μ ~ d c = 0.0281 < 0.1 . Image I 3 is hazy for μ ~ d c 0.4 = 0.1917 > 0.1 and μ ~ d c = 0.1454 > 0.1 . The result is consistent with the images shown in Table 3. In addition, I 1 and I 2 are considered clear images that have little change in μ ~ d c τ as τ increases from 0.4 to 0.9. However, this is not the case for I 3 , as described previously.

3.3. The CNN Image Regression Model

The DDC_WOA requires GT images to find the optimal scaling factors. However, GT images are not available in real-world applications. Therefore, the requirement for GT images needs to be relaxed. The DDC_WOA, fortunately, establishes mapping between hazy images and their optimal scaling factors. Thus, we used a CNN image regression model to learn the mapping. Once the mapping is learned, the need for GT images in the DDC_WOA is eliminated as the trained CNN can estimate optimal scaling factors for the DDC. The CNN image regression model in [48] was modified in this study by incorporating a dropout mechanism. It was then employed with a 50% drop rate. During the application stage, the trained CNN estimated the optimal scaling factors for a hazy input image, which were then used in the DDC to obtain dehazed images. The DDC with the estimated optimal scaling factors obtained from the trained CNN is referred to as DDC_WOA_CNN, as illustrated in Figure 2c. The proposed DDC_WOA_CNN approach can be used in practical applications.

4. Results and Discussion

This section justifies the proposed DDC_WOA_CNN method using the RESIDE [37] and KeDeMa [38] datasets. Section 4.1 outlines the preparation of experimental data from the RESIDE dataset. In Section 4.2, we compare the DCP, DDC, and DDC_WOA methods to demonstrate the superiority of the proposed DDC_WOA over the DCP and the DDC. Section 4.3 evaluates the proposed DDC_WOA_CNN method against four other dehazing methods: the GCAN [39] (an auto-encoder model), the RRO [12] (an optimized model-based method), the RFDN [40] (a weakly supervised model), and the Ka-Net (a transformer codec-based model) [41]. Finally, the results are discussed in Section 4.4.

4.1. Preparation of the RESIDE Dataset

This section describes the preparation of the RESIDE dataset for the following experiments. The RESIDE dataset comprises 8970 GT images ( I g ) and 313,950 hazy images ( I h ) generated from GT images. Each GT image with different model parameters in Equation (1) generated 35 hazy images. As mentioned in Section 3.2.2, not all GT images are clean. Thus, hazy GT image discrimination was applied to exclude hazy GT images and the corresponding generated hazy images. Empirically, the parameters τ , τ 1 , and ϵ in the discrimination were set to 0.4, 0.9, and 0.1, respectively. Since the parameter η significantly affects the result, it must be appropriately determined. Table 4 shows the results with different η values, where N g , N h , and p % represent the number of GT images, the number of hazy images, and the percentage retained after discarding the image pairs with hazy GT images, respectively. The results show that many GT images are hazy in the RESIDE dataset. For example, only 53.01% of GT images are retained when η = 0.1 . To improve the performance of the DDC_WOA, the dataset with η = 0.025 containing 2984 GT images and 104,440 hazy images was used in the following experiment. This dataset is denoted as S ( 0.025 ) .

4.2. Comparison of the DCP and Proposed DDC and DDC_WOA

This section compares the DCP and the proposed DDC and DDC_WOA. There are two purposes of this comparison. One is to show the superiority of the DDC over the DCP. The other is to demonstrate the benefit of using the WOA to find optimal scaling factors for the DDC. In the experiment, the DCP acts as a baseline to determine the improvement of the DDC and the DDC_WOA. Ten thousand images were randomly selected from S ( 0.025 ) . The DCP, DDC, and DDC_WOA were then used to find dehazed images. In the DDC_WOA, N w = 10 and t m a x = 20 were used in the WOA.
In the experiments, four objective image quality assessments (IQAs) were used to evaluate dehazed images. They are the SSIM [45], the peak signal-to-noise ratio (PSNR), the ILNIQE [47], and the DHQI [49]. The SSIM and PSNR are full-reference IQAs (FRIQAs), and the ILNIQE and the DHQI are no-reference IQAs (NRIQAs). The reason for using four IQAs is that it is well-known that each IQA has its own preferences. Additionally, FRIQAs are more reliable than NRIQAs since they use GT images as references. It should also be noted that a better NRIQA may not necessarily be consistent with visual quality, as NRIQAs may fail in some cases. Thus, a subjective (visual) quality evaluation is required in fields of image processing, such as image dehazing. For a comprehensive survey on IQAs, see [50].
The IQA results are shown in Table 5, where the arrow indicates the better direction, and the number in the parentheses is the rank for that IQA. The average rank is denoted as R ¯ , which is used as an overall performance index. In the case of the SSIM, the DDC_WOA outperforms the DCP and the DDC by 0.062 and 0.024, respectively. The DDC has a better SSIM than the DCP by 0.038. Regarding the PSNR, the DDC_WOA significantly outperforms the DCP and the DDC by 10.721 dB and 5.209 dB, respectively. The DDC is better than the DCP by 5.512 dB. In other words, the estimation of A and t ( x ) in the DDC is more appropriate than that in the DCP. Additionally, the DDC_WOA achieves a better PSNR than the DDC by 5.209 dB. This indicates that the DDC has been significantly improved by introducing the WOA to search for optimal scaling factors. Regarding the ILNIQE, the DDC_WOA outperforms the DCP and the DDC by −0.099 and −0.982, respectively. The DCP has a better ILNIQE than the DDC by −0.883. In the case of the DHQI, the DDC_WOA is inferior to the DCP by 4.4 and is better than the DDC by −0.13, respectively. As for the overall performance index R ¯ , the DDC_WOA has the best value (1.25), followed by the DCP (2.25) and the DDC (2.50). Though the R ¯ of the DDC is worse than that of the DCP, the DDC still has better visual quality, as evidenced in the FRIQAs, i.e., the SSIM and the PSNR. The DDC_WOA has the best performance for the SSIM and the PSNR, and thus, the best visual quality is expected. This implies that FRIQAs are more reliable than the NRIQAs, which is confirmed by the following subjective comparison.
Four dehazed images produced by the DCP, DDC, and DDC_WOA were selected for subjective comparison. They are shown in Table 6a, where the corresponding GT image and hazy image are included for reference. Table 6b shows the zoomed image patches for the images shown in Table 6a for easier observation. The DCP exhibits artifacts in the sky regions of I 1 and I 4 ; halos around the eaves in I 2 ; and color distortion in the sky regions of I 2 and I 3 . The DDC has much better visual quality than the DCP. The DDC_WOA outperforms the DDC in the visual quality of dehazed images. As expected, the result confirms that the DDC_WOA enhances the performance of the DDC by replacing α a and β a with the optimal scaling factors α * and β * .
This section has shown that the DDC_WOA has the best performance in the comparison. However, GT images are required in the DDC_WOA, so this method cannot be used in real-world applications. To address the problem, a CNN image regression model was used to learn the mapping between input hazy images and their optimal scaling factors. The trained CNN was then used to estimate the optimal scaling factors for a hazy image input to the DDC. The resulting DDC_WOA_CNN method, shown in Figure 2c, was used in subsequent experiments. The proposed DDC_WOA_CNN method was trained using 10,000 randomly selected images from S ( 0.025 ) , which is a different subset from the testing subset in subsequent experiments.

4.3. Comparison of the DDC_WOA_CNN Approach and Four Dehazing Methods

This section compares the dehazing performance of the proposed DDC_WOA_CNN method with that of the GCAN (an autoencoder model) [39], the RRO (an optimized model-based method) [12], the RFDN (a weakly supervised model) [40], and the Ka-Net (a transformer codec-based network) [41]. A subset of S ( 0.025 ) and the KeDeMa dataset [38] were used in the experiment. Section 4.3.1 presents the results for the RESIDE dataset, while Section 4.3.2 presents the results for the KeDeMa dataset.

4.3.1. Results for the RESIDE Dataset

The performance of the proposed DDC_WOA_CNN method was investigated using the RESIDE dataset. In the experiment, 10,000 hazy images were randomly selected from S ( 0.025 ) as a testing dataset. The DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods were then applied to obtain dehazed images. Then, the four objective IQAs mentioned in Section 4.2 were used to evaluate the performance of each method. Table 7 shows the evaluation results. It indicates that the proposed DDC_WOA_CNN method achieves a better SSIM than the GCAN, RRO, RFDN, and Ka-Net by 0.024, 0.047, 0.003, and 0.335, respectively. In the case of the PSNR, the DDC_WOA_CNN approach has a better result than the GCAN, RRO, RFDN, and Ka-Net by 2.009 dB, 6.042 dB, 3.488 dB, and 8.975 dB, respectively. Regarding the ILNIQE, the best result is achieved by the RFDN (19.831), followed by the DDC_WOA_CNN method (20.709), RRO (20.856), GCAN (21.351), and Ka-Net (21.500). The Ka-Net has the best result (43.265) for the DHQI, followed by the RRO (52.029), RFDN (52.638), GCAN (54.997), and DDC_WOA_CNN method (55.391). Although the DDC_WOA_CNN approach and the RFDN have the same R ¯ , it has better visual quality. As described previously, the FRIQAs (SSIM and PSNR) are more reliable than the NRIQAs (ILNIQE and DHQI) because FRIQAs use GT images as references. Thus, the dehazed images of the DDC_WOA_CNN method are expected to have better visual quality. This is verified below.
Next, eight dehazed images were selected for comparison of the visual quality of dehazed images obtained with the DDC_WOA_CNN method and the other four comparison methods. The images, denoted as I 1 to I 8 , were purposely selected with various haze levels. They are presented in Table 8a, where the image filename, the haze level μ ~ d c ( 0.8 ) , and the PSNR values for each dehazed image are given for reference. Moreover, I g and I h in Table 8a represent the GT image and hazy image, respectively. The related zoomed image patches are shown in Table 8b for clearer observation. According to Table 8a, the GCAN exhibits artifacts and color distortion in the sky regions of I 5 and I 7 . The RRO presents artifacts, color distortion, or both in the sky regions of I 1 , I 3 , I 5 , I 7 , and I 8 . The RFDN introduces artifacts and color distortion in the sky regions of I 3 , I 5 , and I 7 . The proposed DDC_WOA_CNN method avoids the above problems. That is, our method generally has the best visual quality in the given examples, as expected. Additionally, the subjective results are consistent with the PSNR given in Table 8a. This suggests that FRIQAs are more reliable than NRIQAs, as mentioned before.
Finally, the efficiency of the above-mentioned methods was compared. The results are presented in Table 9, where the time represents the average runtime for processing an image (in seconds/image), denoted as t ¯ . In Table 9, the descending rank of the runtime t ¯ is Ka-Net, GCAN, the proposed DDC_WOA_CNN, RRO, and RFDN. The difference in t ¯ between the proposed DDC_WOA_CNN approach and other comparison methods is t ¯ = t ¯ r t ¯ c , where t ¯ r is the runtime of the DDC_WOA_CNN method, and t ¯ c is that for a comparison method. As shown in Table 9, the t ¯ for our approach is 0.343 s/image. It meets the requirements of most real-world applications despite not having the best performance. The GCAN is more efficient than our method; however, it yields poor visual results, as indicated in Table 8. In summary, the proposed approach exhibits mild efficiency but offers better visual quality in dehazed images compared to the other methods in the given examples.

4.3.2. Results for the KeDeMa Dataset

The proposed DDC_WOA_CNN method was further investigated using the KeDeMa dataset. It was compared with the four comparison methods as before. The KeDeMa dataset consists of 25 natural images with different scenes and haze levels, where no GT images are provided. Therefore, it is impossible to calculate the FRIQAs (SSIM and PSNR), only the NRIQAs (ILNIQE and DHQI). The results of the DDC_WOA_CNN approach and the four comparison methods are shown in Table 10.
In the ILNIQE, the rank order of R ¯ , from top to bottom, is RFDN, Ka-Net, RRO, and DDC_WOA_CNN, where the GCAN has the same rank as the RRO. As for the DHQI, the ranking order is RFDN, GCAN, Ka-Net, DDC_WOA_CNN, and RRO. Although our method has the worst R ¯ , this does not mean poor visual quality of dehazed images, as confirmed in the visual evaluation below.
NRIQAs (ILNIQE and DHQI) cannot appropriately reflect the visual quality of dehazed images as described before. Thus, ten dehazed images were selected from five different categories (architecture, human, landscape, night image, and plant) in the KeDeMa for subjective comparison. They are shown in Table 11a, where the corresponding values of the ILNIQE, DHQI, and haze level μ ~ d c ( 0.8 ) are given for reference. The zoomed image patches of the dehazed images are presented in Table 11b for easier observation. Table 11a shows that the GCAN exhibits color distortion in I 2 , I 4 , I 6 , and I 10 , whereas artifacts are found in the sky region of I 1 . The RRO performs reasonably well. However, it exhibits artifacts and color distortion in the sky regions of I 6 and I 10 . In the case of the RFDN, color oversaturation is observed in I 3 , while an artifact is found in the center of the moon in I 7 . Regarding the Ka-Net, halos appear around the policemen in I 4 . Our DDC_WOA_CNN approach generally shows excellent visual quality in the given examples. In summary, the visual results indicate that the NRIQAs (ILNIQE and DHQI) are inconsistent with the subjective comparison, i.e., a lower value of the ILNIQE or DHQI does not mean better visual quality. This again suggests that FRIQAs are more reliable than NRIQAs.

4.4. Discussion

At least three points should be mentioned for the results in Section 4.3. First, the performance of the proposed DDC is much better than that of the DCP (5.512 dB in PSNR, Table 5). This proves the DDC is feasible and promising. Second, the DDC_WOA significantly improves the DDC (5.209 dB in PSNR, Table 5). That is, the optimized scaling factors in the DDC_WOA outperform the empirical ones in the DDC, as expected. The usage of the WOA in the DDC_WOA provides an alternative way to apply an optimization algorithm in model-based dehazing methods. Third, the proposed DDC_WOA_CNN method is generally visually superior to the comparison end-to-end methods, i.e., the GCAN, RFDN, and Ka-Net. This implies that model-based dehazing methods can be more effective than data-driven models when model parameters are appropriately estimated.
The proposed approach was verified using a synthesized image dataset (RESIDE) and a natural image dataset (KeDeMa). Our method generally yielded superior visual results compared to the comparison methods. However, the NRIQAs (DHQI and ILNIQE) are inconsistent with the visual evaluation, e.g., in Table 8 and Table 11. The DHQI is designed to evaluate the quality of dehazed images. It considers three features in a dehazed image, i.e., haze removal, structure preservation, and over-enhancement. However, it is inconsistent with the visual evaluation in the given examples. The reason might be that the DHQI has insufficient data in training to learn the visual properties of the dehazed image. The ILNIQE utilizes five natural scene statistics features from pristine image patches: normalized luminance, mean-subtracted and contrast-normalized coefficient products, gradient, log-Gabor filter response, and colors. The features are then used to construct a multivariate Gaussian model, which serves as a pristine reference against which test image quality is measured. In the given examples, the ILNIQE is inconsistent with the visual evaluation. This might be explained by the dehazed images falling outside of the learned distribution of pristine image patches in the ILNIQE.
FRIQAs have better performance than NRIQAs because they use GT images as references. However, the GT images are not available in real-world scenarios. NRIQAs are thus needed since they do not require GT images. More reliable NRIQAs need to be sought since current NRIQAs are incapable of handling some cases, as shown in Table 7 and Table 11. An NRIQA that is consistent with the visual evaluation should consequently be investigated in future research.

5. Conclusions and Further Research

This paper has presented a dehazing method called DDC_WOA_CNN, which was developed in three stages: (i) the development of a dehazing scheme based on dual dark channels, which is called the DDC; (ii) the use of the WOA to search for optimal scaling factors for atmospheric light and initial transmittance in the DDC, which is called the DDC_WOA; (iii) the implementation of a CNN image regression model to learn the relationship between hazy images and their optimized scaling factors obtained from the DDC_WOA. The trained CNN was then used to estimate the optimal scaling factors for the DDC to obtain dehazed images. This approach makes the proposed DDC_WOA_CNN method applicable in real-world scenarios. The DDC_WOA_CNN method was verified using the RESIDE and KeDeMa image datasets. Furthermore, it was compared with four other dehazing methods: the GCAN, RRO, RFDN, and Ka-Net. For the RESIDE dataset, the results indicate that DDC_WOA_CNN outperforms the GCAN by 2.009 dB, the RRO by 6.042 dB, the RFDN by 3.488 dB, and the Ka-Net by 8.975, in terms of the PSNR. Moreover, the DDC_WOA_CNN method generally has the best visual quality among the comparison methods. As for the natural image dataset KeDeMa, the proposed DDC_WOA_CNN approach also generally demonstrated superior visual quality compared to the four comparison methods.
Although the DDC_WOA_CNN method achieved excellent performance, there are at least four points that should be further improved. First, the scaling factors α a and β a in the proposed DDC described in Section 2.2.3 were empirically determined. Their theoretical justification will be the subject of future research. Second, the w ( x ) used to estimate the initial transmittance t ~ ( x ) was determined in our experiments. In further research, a derivation of this linear relationship from the physical scattering model will be investigated to provide rigorous support. Third, an NRIQA will be investigated for image dehazing, ensuring that the objective evaluation is consistent with the subjective evaluation. Fourth, approximately 2 dB in the PSNR is lost during the learning process of the CNN image regression model. Thus, further research will also focus on minimizing this loss to improve the proposed DDC_WOA_CNN method.

Author Contributions

Conceptualization, C.-H.H.; methodology, C.-H.H.; software, X.-R.L. and Z.-Z.L.; validation, C.-H.H., X.-R.L. and Z.-Z.L.; writing—original draft preparation, C.-H.H.; writing—review and editing, C.-H.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The RESIDE dataset is available at https://sites.google.com/view/reside-dehaze-datasets/reside-v0 (accessed on 2 April 2023); the KeDeMa dataset can be downloaded at https://ivc.uwaterloo.ca/database/dehaze.html (accessed on 10 May 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gui, J.; Cong, X.; Cao, Y.; Ren, W.; Zhang, J.; Zhang, J.; Cao, J.; Tao, D. A Comprehensive Survey and Taxonomy on Single Image Dehazing Based on Deep Learning. ACM Comput. Surv. 2023, 55, 1–37. [Google Scholar] [CrossRef]
  2. Ayoub, A.; El-Shafai, W.; El-Samie, F.E.A.; Hamad, E.K.I.; El-Rabaie, E.-S.M. Review of Dehazing Techniques: Challenges and Future Trends. Multimed. Tools Appl. 2025, 84, 1103–1131. [Google Scholar] [CrossRef]
  3. Pandey, P.; Gupta, R.; Goel, N. Comprehensive Review of Single Image Defogging Techniques: Enhancement, Prior, and Learning Based Approaches. Artif. Intell. Rev. 2025, 58, 116. [Google Scholar] [CrossRef]
  4. Narasimhan, S.G.; Nayar, S.K. Vision and the Atmosphere. Int. J. Comput. Vis. 2002, 48, 233–254. [Google Scholar] [CrossRef]
  5. Fattal, R. Single Image Dehazing. ACM Trans. Graph. 2008, 27, 721–729. [Google Scholar] [CrossRef]
  6. Fattal, R. Dehazing Using Color-Lines. ACM Trans. Graph. 2015, 34, 1–14. [Google Scholar] [CrossRef]
  7. Zhu, Q.; Mai, J.; Shao, L. A Fast Single Image Haze Removal Algorithm Using Color Attenuation Prior. IEEE Trans. Image Process. 2015, 24, 3522–3533. [Google Scholar] [CrossRef]
  8. Cai, B.; Xu, X.; Jia, K.; Qing, C.; Tao, D. DehazeNet: An End-to-End System for Single Image Haze Removal. IEEE Trans. Image Process. 2016, 25, 5187–5198. [Google Scholar] [CrossRef]
  9. 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]
  10. Wang, J.; Lu, K.; Xue, J.; He, N.; Shao, L. Single Image Dehazing Based on the Physical Model and MSRCR Algorithm. IEEE Trans. Circuits Syst. Video Technol. 2018, 28, 2190–2199. [Google Scholar] [CrossRef]
  11. Hsieh, C.-H.; Chen, J.-Y.; Zhao, Q. A Modified DCP Based Dehazing Algorithm. In Proceedings of the 2018 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Miyazaki, Japan, 7–10 October 2018; pp. 1779–1784. [Google Scholar] [CrossRef]
  12. Shin, J.; Kim, M.; Paik, J.; Lee, S. Radiance–Reflectance Combined Optimization and Structure-Guided 0-Norm for Single Image Dehazing. IEEE Trans. Multimed. 2020, 22, 30–44. [Google Scholar] [CrossRef]
  13. Raikwar, S.C.; Tapaswi, S. Lower Bound on Transmission Using Non-Linear Bounding Function in Single Image Dehazing. IEEE Trans. Image Process. 2020, 29, 4832–4847. [Google Scholar] [CrossRef] [PubMed]
  14. Salazar-Colores, S.; Moya-Sánchez, E.U.; Ramos-Arreguín, J.-M.; Cabal-Yépez, E.; Flores, G.; Cortés, U. Fast Single Image Defogging with Robust Sky Detection. IEEE Access 2020, 8, 149176–149189. [Google Scholar] [CrossRef]
  15. Zhou, H.; Yuan, C.; Pan, H.; Yang, Y.; Wang, Z.; Chen, X. Image Dehazing Algorithm Based on Particle Swarm Optimization for Sky Region Segmentation. In Proceedings of the 2022 21st International Symposium on Distributed Computing and Applications for Business Engineering and Science (DCABES), Chizhou, China, 14–18 October 2022; pp. 132–135. [Google Scholar] [CrossRef]
  16. Li, B.; Peng, X.; Wang, Z.; Xu, J.; Feng, D. AOD-Net: All-in-One Dehazing Network. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 4780–4788. [Google Scholar] [CrossRef]
  17. Chen, S.; Cheng, J.; Huang, Z. GADO-Net: An Improved AOD-Net Single Image Dehazing Algorithm. In Proceedings of the 2021 3rd International Academic Exchange Conference on Science and Technology Innovation (IAECST), Guangzhou, China, 10–12 December 2021; pp. 640–646. [Google Scholar] [CrossRef]
  18. Luan, Z.; Shang, Y.; Zhou, X.; Shao, Z.; Guo, G.; Liu, X. Fast Single Image Dehazing Based on a Regression Model. Neurocomputing 2017, 245, 10–22. [Google Scholar] [CrossRef]
  19. Golts, A.; Freedman, D.; Elad, M. Unsupervised Single Image Dehazing Using Dark Channel Prior Loss. IEEE Trans. Image Process. 2020, 29, 2692–2701. [Google Scholar] [CrossRef]
  20. Chen, W.-T.; Fang, H.-Y.; Ding, J.-J.; Kuo, S.-Y. PMHLD: Patch Map-Based Hybrid Learning DehazeNet for Single Image Haze Removal. IEEE Trans. Image Process. 2020, 29, 6773–6788. [Google Scholar] [CrossRef]
  21. Li, Z.; Zheng, C.; Shu, H.; Wu, S. Single Image Dehazing via Model-Based Deep-Learning. In Proceedings of the 2022 IEEE International Conference on Image Processing (ICIP), Bordeaux, France, 16–19 October 2022; pp. 141–145. [Google Scholar]
  22. Asha, C.S.; Siddiq, A.B.; Akthar, R.; Rajan, M.R.; Suresh, S. ODD-Net: A Hybrid Deep Learning Architecture for Image Dehazing. Sci. Rep. 2024, 14, 30619. [Google Scholar] [CrossRef]
  23. Yeh, C.-H.; Kang, L.-W.; Lin, C.-Y.; Lin, C.-Y. Efficient image/Video Dehazing Through Haze Density Analysis Based on Pixel-Based Dark Channel Prior. In Proceedings of the 2012 International Conference on Information Security and Intelligent Control, Yunlin, Taiwan, 14–16 August 2012; pp. 238–241. [Google Scholar] [CrossRef]
  24. Zeng, Y.; Liu, X. A Multi-Scale Fusion-Based Dark Channel Prior Dehazing Algorithm. In Proceedings of the Sixth International Conference on Graphic and Image Processing (ICGIP 2014), SPIE 9443, Beijing, China, 24–26 October 2014; pp. 284–290. [Google Scholar]
  25. Hsieh, C.-H.; Zhao, Q.; Cheng, W.-C. Single Image Haze Removal Using Weak Dark Channel Prior. In Proceedings of the 2018 9th International Conference on Awareness Science and Technology (iCAST), Fukuoka, Japan, 19–21 September 2018; pp. 214–219. [Google Scholar] [CrossRef]
  26. Nair, S.; Menon, S.; Karlekar, M.; Prasad, M.T.; Rashmi, M. Single Image Dehazing Using Multi-Scale DCP-BCP Fusion. In Proceedings of the 2022 Second International Conference on Advanced Technologies in Intelligent Control, Environment, Computing & Communication Engineering (ICATIECE), Bangalore, India, 16–17 December 2022; pp. 1–7. [Google Scholar] [CrossRef]
  27. Baldeva, V.; Sharma, V.; Verma, S.; Kansal, P.; Kansal, S.; Narayan, J. Pixel-Dehaze: Deciphering Dehazing Through Regression-Based Depth and Scattering Estimation. Big Data Cogn. Comput. 2025, 9, 282. [Google Scholar] [CrossRef]
  28. Wang, X.; Tian, J.; Yu, Y.; Wang, Q.; Yao, X.; Feng, Y.; Gao, H. A Modified Atmospheric Scattering Model and Degradation Image Clarification Algorithm for Haze Environments. Opt. Commun. 2024, 560, 130489. [Google Scholar] [CrossRef]
  29. Yan, W.; Cui, L. Image Dehaze Algorithm Based on Improved Atmospheric Scattering Models. IEEE Access 2024, 12, 98971–98976. [Google Scholar] [CrossRef]
  30. Wang, X.; Chen, X.A.; Ren, W.; Han, Z.; Fan, H.; Tang, Y.; Liu, L. Compensation Atmospheric Scattering Model and Two-Branch Network for Single Image Dehazing. IEEE Trans. Emerg. Top. Comput. Intell. 2024, 8, 2880–2896. [Google Scholar] [CrossRef]
  31. Du, Y.; Li, J.; Sheng, Q.; Zhu, Y.; Wang, B.; Ling, X. Dehazing Network: Asymmetric UNet Based on a Physical Model. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5607412. [Google Scholar] [CrossRef]
  32. Lihe, Z.; He, J.; Yuan, Q.; Jin, X.; Xiao, Y.; Zhang, L. PhDnet: A Novel Physic-Aware Dehazing Network for Remote Sensing Images. Inf. Fusion 2024, 106, 102277. [Google Scholar] [CrossRef]
  33. Wang, S.; Zhang, M. Atmospheric Scattering Prior Embedded Diffusion Model for Remote Sensing Image Dehazing. Atmosphere 2025, 16, 1065. [Google Scholar] [CrossRef]
  34. Han, L.; Lv, H.; Han, C.; Zhao, Y.; Han, Q.; Liu, H. Atmospheric Scattering Model and Dark Channel Prior Constraint Network for Environmental Monitoring under Hazy Conditions. J. Environ. Sci. 2025, 152, 203–218. [Google Scholar] [CrossRef]
  35. Xie, H.; Wang, K.; Zhu, L.; Xie, J.; Wu, C.; Sheng, J.; Zhang, J. Two-Stage Real-World Image Dehazing Method Using Physics-Based Dehazing Network and Contrastive Learning Generative Adversarial Network. Neurocomputing 2025, 651, 131002. [Google Scholar] [CrossRef]
  36. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  37. Li, B.; Ren, W.; Fu, D.; Tao, D.; Feng, D.; Zeng, W.; Wang, Z. Benchmarking Single Image Dehazing and Beyond. IEEE Trans. Image Process. 2019, 28, 492–505. [Google Scholar] [CrossRef]
  38. Ma, K.; Liu, W.; Wang, Z. Perceptual Evaluation of Single Image Dehazing Algorithms. In Proceedings of the 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada, 27–30 September 2015; pp. 3600–3604. [Google Scholar]
  39. Chen, D.; He, M.; Fan, Q.; Liao, J.; Zhang, L.; Hou, D.; Yuan, L.; Hua, G. Gated Context Aggregation Network for Image Dehazing and Deraining. In Proceedings of the 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 7–11 January 2019; pp. 1375–1383. [Google Scholar] [CrossRef]
  40. Zhao, S.; Zhang, L.; Shen, Y.; Zhou, Y. RefineDNet: A Weakly Supervised Refinement Framework for Single Image Dehazing. IEEE Trans. Image Process. 2021, 30, 3391–3404. [Google Scholar] [CrossRef]
  41. Feng, Y.; Ma, L.; Meng, X.; Zhou, F.; Liu, R.; Su, Z. Advancing Real-World Image Dehazing: Perspective, Modules, and Training. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 9303–9320. [Google Scholar] [CrossRef]
  42. He, K.; Sun, J.; Tang, X. Guided Image Filtering. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 35, 1397–1409. [Google Scholar] [CrossRef]
  43. Shen, Y.; Wu, X.; Deng, X. Analysis on Spectral Effects of Dark-Channel Prior for Haze Removal. In Proceedings of the IEEE International Conference on Image Processing, Quebec City, QC, Canada, 27–30 September 2015; pp. 2945–2949. [Google Scholar] [CrossRef]
  44. Hsieh, C.-H.; Chang, Y.-H. Improving DCP Haze Removal Scheme by Parameter Setting and Adaptive Gamma Correction. Adv. Syst. Sci. Appl. 2021, 21, 95–112. [Google Scholar]
  45. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef]
  46. Pan, R. Guided Filter MATLAB Implementation. Available online: https://github.com/alankarkotwal/lap-dehazing/blob/master/dehazing/guided_filter.m (accessed on 15 July 2023).
  47. Zhang, L.; Zhang, L.; Bovik, A.C. A Feature-Enriched Completely Blind Image Quality Evaluator. IEEE Trans. Image Process. 2015, 24, 2579–2591. [Google Scholar] [CrossRef]
  48. Slater, N. Brix.py Script. 2016. Available online: https://gist.githubusercontent.com/neilslater/40201a6c63b4462e6c6e458bab60d0b4/raw/53c31b7122b107d9fc85c7071a78a6ff0fc09f67/brix.py (accessed on 7 August 2023).
  49. Min, X.; Zhai, G.; Gu, K.; Yang, X.; Guan, X. Objective Quality Evaluation of Dehazed Images. IEEE Trans. Intell. Transp. Syst. 2019, 20, 2879–2892. [Google Scholar] [CrossRef]
  50. Ma, C.; Shi, Z.; Lu, Z.; Xie, S.; Chao, F.; Sui, Y. A Survey on Image Quality Assessment: Insights, Analysis, and Future Outlook. arXiv 2025, arXiv:2502.08540. [Google Scholar] [CrossRef]
Figure 1. Village image: (a) original; (b) dehazed by the DCP with α = 1 ; (c) dehazed by the DCP with α = 0.85 .
Figure 1. Village image: (a) original; (b) dehazed by the DCP with α = 1 ; (c) dehazed by the DCP with α = 0.85 .
Electronics 15 00215 g001
Figure 2. The block diagrams for the three stages in the proposed DDC_WOA_CNN method. (a) Stage 1: Searching α * and β * in the DDC with the WOA. (b) Stage 2: Learning the mapping between I h and its α * and β * with the CNN. (c) Stage 3: Applying the proposed DDC_WOA_CNN approach to real-world scenarios.
Figure 2. The block diagrams for the three stages in the proposed DDC_WOA_CNN method. (a) Stage 1: Searching α * and β * in the DDC with the WOA. (b) Stage 2: Learning the mapping between I h and its α * and β * with the CNN. (c) Stage 3: Applying the proposed DDC_WOA_CNN approach to real-world scenarios.
Electronics 15 00215 g002
Figure 3. The flow diagram to search α i , j * and β i , j * in the DDC with the WOA.
Figure 3. The flow diagram to search α i , j * and β i , j * in the DDC with the WOA.
Electronics 15 00215 g003
Figure 4. (a) Haze-free image; (b) the dark channel of (a); (c) a hazy image of (a); (d) the dark channel of (c).
Figure 4. (a) Haze-free image; (b) the dark channel of (a); (c) a hazy image of (a); (d) the dark channel of (c).
Electronics 15 00215 g004
Table 1. Comparison of the transmittances and the images dehazed by the DCP and the DDC.
Table 1. Comparison of the transmittances and the images dehazed by the DCP and the DDC.
Hazy ImageInitial TransmittanceAfter the Rough RefinementFinal TransmittanceDehazed Image
DCPElectronics 15 00215 i001Electronics 15 00215 i002-Electronics 15 00215 i003Electronics 15 00215 i004
DDCElectronics 15 00215 i005Electronics 15 00215 i006Electronics 15 00215 i007Electronics 15 00215 i008Electronics 15 00215 i009
Table 2. Images dehazed by the DDC_WOA with clear and hazy GT images.
Table 2. Images dehazed by the DDC_WOA with clear and hazy GT images.
GT ImageInput Hazy ImageDehazed Image
Electronics 15 00215 i010Electronics 15 00215 i011Electronics 15 00215 i012
Electronics 15 00215 i013Electronics 15 00215 i014Electronics 15 00215 i015
Table 3. The μ ~ d c τ for clear and hazy GT images as τ varies from 0.4 to 0.9.
Table 3. The μ ~ d c τ for clear and hazy GT images as τ varies from 0.4 to 0.9.
I 1 I 2 I 3
Haze indicatorElectronics 15 00215 i016Electronics 15 00215 i017Electronics 15 00215 i018
μ ~ d c 0.9 0.08880.27420.3371
μ ~ d c 0.8 0.08660.27420.3371
μ ~ d c 0.7 0.08550.27420.3371
μ ~ d c 0.6 0.08300.27210.3025
μ ~ d c 0.5 0.08000.26130.2266
μ ~ d c 0.4 0.07560.24610.1917
μ ~ d c 0.01320.02810.1454
Table 4. The results of GT image discrimination with various η values for the RESIDE dataset.
Table 4. The results of GT image discrimination with various η values for the RESIDE dataset.
η 0.10.0750.050.025
N g 47553902323729848970
N h 166,425136,570113,295104,440313,950
Table 5. Objective comparison of the DCP and proposed DDC and DDC_WOA (RESIDE).
Table 5. Objective comparison of the DCP and proposed DDC and DDC_WOA (RESIDE).
DCPDDCDDC_WOA
SSIM ↑0.879 (3)0.917 (2)0.941 (1)
PSNR ↑18.295 (3)23.807 (2)29.016 (1)
ILNIQE ↓20.666 (2)21.549 (3)20.567 (1)
DHQI ↓50.856 (1)55.386 (3)55.256 (2)
R ¯ 2.252.501.25
Table 6. Subjective comparison of the DCP and proposed DDC and DDC_WOA (RESIDE).
Table 6. Subjective comparison of the DCP and proposed DDC and DDC_WOA (RESIDE).
(a)
I g I h DCPDDCDDC_WOA
I 1 Electronics 15 00215 i019Electronics 15 00215 i020Electronics 15 00215 i021Electronics 15 00215 i022Electronics 15 00215 i023
I 2 Electronics 15 00215 i024Electronics 15 00215 i025Electronics 15 00215 i026Electronics 15 00215 i027Electronics 15 00215 i028
I 3 Electronics 15 00215 i029Electronics 15 00215 i030Electronics 15 00215 i031Electronics 15 00215 i032Electronics 15 00215 i033
I 4 Electronics 15 00215 i034Electronics 15 00215 i035Electronics 15 00215 i036Electronics 15 00215 i037Electronics 15 00215 i038
(b). Subjective comparison of Table 6a with zoomed patches.
I g I h DCPDDCDDC_WOA
I 1 Electronics 15 00215 i039Electronics 15 00215 i040Electronics 15 00215 i041Electronics 15 00215 i042Electronics 15 00215 i043
I 2 Electronics 15 00215 i044Electronics 15 00215 i045Electronics 15 00215 i046Electronics 15 00215 i047Electronics 15 00215 i048
I 3 Electronics 15 00215 i049Electronics 15 00215 i050Electronics 15 00215 i051Electronics 15 00215 i052Electronics 15 00215 i053
I 4 Electronics 15 00215 i054Electronics 15 00215 i055Electronics 15 00215 i056Electronics 15 00215 i057Electronics 15 00215 i058
Table 7. Objective comparison for the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
Table 7. Objective comparison for the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
DDC_WOA_CNNGCANRRORFDNKa-Net
SSIM ↑0.936 (1)0.912 (3)0.889 (4)0.933 (2)0.601 (5)
PSNR ↑26.984 (1)24.975 (2)20.942 (4)23.496 (3)18.009 (5)
ILNIQE ↓20.709 (2)21.351 (4)20.856 (3)19.831 (1)21.500 (5)
DHQI ↓55.391 (5)54.997 (4)52.029 (2)52.638 (3)43.265 (1)
R ¯ 2.253.253.252.254
Table 8. Subjective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
Table 8. Subjective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
(a)
I g I h
μ ~ d c ( 0.8 )
DDC_WOA_CNNGCANRRORFDNKa-Net
I 1 Electronics 15 00215 i059Electronics 15 00215 i060Electronics 15 00215 i061Electronics 15 00215 i062Electronics 15 00215 i063Electronics 15 00215 i064Electronics 15 00215 i065
PSNR1708_0.85_0.080.24929.16527.38216.81222.25413.921
I 2 Electronics 15 00215 i066Electronics 15 00215 i067Electronics 15 00215 i068Electronics 15 00215 i069Electronics 15 00215 i070Electronics 15 00215 i071Electronics 15 00215 i072
PSNR7556_0.85_0.060.32422.59918.41617.11819.27716.682
I 3 Electronics 15 00215 i073Electronics 15 00215 i074Electronics 15 00215 i075Electronics 15 00215 i076Electronics 15 00215 i077Electronics 15 00215 i078Electronics 15 00215 i079
PSNR8694_0.8_0.040.28227.81923.95518.83019.78412.592
I 4 Electronics 15 00215 i080Electronics 15 00215 i081Electronics 15 00215 i082Electronics 15 00215 i083Electronics 15 00215 i084Electronics 15 00215 i085Electronics 15 00215 i086
PSNR0639_1_0.080.40625.61025.90419.48818.36215.432
I 5 Electronics 15 00215 i087Electronics 15 00215 i088Electronics 15 00215 i089Electronics 15 00215 i090Electronics 15 00215 i091Electronics 15 00215 i092Electronics 15 00215 i093
PSNR0822_1_0.060.33627.20117.13520.32219.82818.595
I 6 Electronics 15 00215 i094Electronics 15 00215 i095Electronics 15 00215 i096Electronics 15 00215 i097Electronics 15 00215 i098Electronics 15 00215 i099Electronics 15 00215 i100
PSNR8118_0.85_0.20.47926.43825.42017.86621.40418.379
I 7 Electronics 15 00215 i101Electronics 15 00215 i102Electronics 15 00215 i103Electronics 15 00215 i104Electronics 15 00215 i105Electronics 15 00215 i106Electronics 15 00215 i107
PSNR8813_0.8_0.080.42825.22120.64420.82919.64015.661
I 8 Electronics 15 00215 i108Electronics 15 00215 i109Electronics 15 00215 i110Electronics 15 00215 i111Electronics 15 00215 i112Electronics 15 00215 i113Electronics 15 00215 i114
PSNR1781_1_0.20.54624.24123.87018.41321.69816.995
(b). Subjective comparison of Table 8a with zoomed patches.
I g I h
μ ~ d c ( 0.8 )
DDC_WOA_CNNGCANRRORFDNKa-Net
I 1 Electronics 15 00215 i115Electronics 15 00215 i116Electronics 15 00215 i117Electronics 15 00215 i118Electronics 15 00215 i119Electronics 15 00215 i120Electronics 15 00215 i121
PSNR1708_0.85_0.080.24929.16527.38216.81222.25413.921
I 2 Electronics 15 00215 i122Electronics 15 00215 i123Electronics 15 00215 i124Electronics 15 00215 i125Electronics 15 00215 i126Electronics 15 00215 i127Electronics 15 00215 i128
PSNR7556_0.85_0.060.32422.59918.41617.11819.27716.682
I 3 Electronics 15 00215 i129Electronics 15 00215 i130Electronics 15 00215 i131Electronics 15 00215 i132Electronics 15 00215 i133Electronics 15 00215 i134Electronics 15 00215 i135
PSNR8694_0.8_0.040.28227.81923.95518.83019.78412.592
I 4 Electronics 15 00215 i136Electronics 15 00215 i137Electronics 15 00215 i138Electronics 15 00215 i139Electronics 15 00215 i140Electronics 15 00215 i141Electronics 15 00215 i142
PSNR0639_1_0.080.40625.61025.90419.48818.36215.432
I 5 Electronics 15 00215 i143Electronics 15 00215 i144Electronics 15 00215 i145Electronics 15 00215 i146Electronics 15 00215 i147Electronics 15 00215 i148Electronics 15 00215 i149
PSNR0822_1_0.060.33627.20117.13520.32219.82818.595
I 6 Electronics 15 00215 i150Electronics 15 00215 i151Electronics 15 00215 i152Electronics 15 00215 i153Electronics 15 00215 i154Electronics 15 00215 i155Electronics 15 00215 i156
PSNR8118_0.85_0.20.47926.43825.42017.86621.40418.379
I 7 Electronics 15 00215 i157Electronics 15 00215 i158Electronics 15 00215 i159Electronics 15 00215 i160Electronics 15 00215 i161Electronics 15 00215 i162Electronics 15 00215 i163
PSNR8813_0.8_0.080.42825.22120.64420.82919.64015.661
I 8 Electronics 15 00215 i164Electronics 15 00215 i165Electronics 15 00215 i166Electronics 15 00215 i167Electronics 15 00215 i168Electronics 15 00215 i169Electronics 15 00215 i170
PSNR1781_1_0.20.54624.24123.87018.41321.69816.995
Table 9. Efficiency comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
Table 9. Efficiency comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (RESIDE).
DDC_WOA_CNNGCANRRORFDNKa-Net
t ¯ 0.3430.1470.7631.5710.085
t ¯ 0+0.196−0.420−1.228+0.258
Table 10. Objective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (KeDeMa).
Table 10. Objective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (KeDeMa).
DDC_WOA_CNNGCANRRORFDNKa-Net
ILNIQE ↓26.131 (4)26.298 (5)23.855 (2)23.434 (1)24.857 (3)
DHQI ↓62.347 (4)50.234 (2)62.934 (5)48.253 (1)50.522 (3)
R ¯ 43.53.513
Table 11. Subjective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (KeDeMa).
Table 11. Subjective comparison of the proposed DDC_WOA_CNN, GCAN, RRO, RFDN, and Ka-Net methods (KeDeMa).
(a)
I h
μ ~ d c ( 0.8 )
DDC_WOA_ CNNGCANRRORFDNKa-Net
I 1 Electronics 15 00215 i171Electronics 15 00215 i172Electronics 15 00215 i173Electronics 15 00215 i174Electronics 15 00215 i175Electronics 15 00215 i176
DHQI/ILNIQEarchitecture1
0.410
58.607/29.59153.134/25.37254.915/26.31458.517/24.81749.084/28.340
I 2 Electronics 15 00215 i177Electronics 15 00215 i178Electronics 15 00215 i179Electronics 15 00215 i180Electronics 15 00215 i181Electronics 15 00215 i182
DHQI/ILNIQEarchitecture2
0.633
62.307/29.39662.554/26.47359.026/26.80260.605/24.25244.312/30.238
I 3 Electronics 15 00215 i183Electronics 15 00215 i184Electronics 15 00215 i185Electronics 15 00215 i186Electronics 15 00215 i187Electronics 15 00215 i188
DHQI/ILNIQEhuman1
0.365
65.538/19.40364.922/21.87065.015/17.46362.809/18.52457.947/22.122
I 4 Electronics 15 00215 i189Electronics 15 00215 i190Electronics 15 00215 i191Electronics 15 00215 i192Electronics 15 00215 i193Electronics 15 00215 i194
DHQI/ILNIQEhuman2
0.506
60.299/27.84953.728/27.78456.274/25.78050.818/24.52547.375/24.744
I 5 Electronics 15 00215 i195Electronics 15 00215 i196Electronics 15 00215 i197Electronics 15 00215 i198Electronics 15 00215 i199Electronics 15 00215 i200
DHQI/ILNIQElandscape1
0.461
62.357/30.78964.124/28.49659.318/28.33659.740/24.11156.268/27.660
I 6 Electronics 15 00215 i201Electronics 15 00215 i202Electronics 15 00215 i203Electronics 15 00215 i204Electronics 15 00215 i205Electronics 15 00215 i206
DHQI/ILNIQElandscape2
0.345
63.650/21.95658.934/29.13858.864/18.95153.443/21.73454.450/21.394
I 7 Electronics 15 00215 i207Electronics 15 00215 i208Electronics 15 00215 i209Electronics 15 00215 i210Electronics 15 00215 i211Electronics 15 00215 i212
DHQI/ILNIQEnight1
0.214
52.694/32.68252.346/30.24252.966/30.03950.723/29.77045.796/45.796
I 8 Electronics 15 00215 i213Electronics 15 00215 i214Electronics 15 00215 i215Electronics 15 00215 i216Electronics 15 00215 i217Electronics 15 00215 i218
DHQI/ILNIQEnight2
0.157
57.965/27.91059.257/24.83960.181/22.77458.865/22.94750.868/23.573
I 9 Electronics 15 00215 i219Electronics 15 00215 i220Electronics 15 00215 i221Electronics 15 00215 i222Electronics 15 00215 i223Electronics 15 00215 i224
DHQI/ILNIQEplant3
0.319
63.201/33.49960.128/33.99659.121/30.86860.218/28.59746.245/28.107
I 10 Electronics 15 00215 i225Electronics 15 00215 i226Electronics 15 00215 i227Electronics 15 00215 i228Electronics 15 00215 i229Electronics 15 00215 i230
DHQI/ILNIQEplant4
0.695
55.981/27.30346.314/27.62043.809/25.29747.830/24.35642.847/29.195
(b). Subjective comparison of Table 11a with zoomed patches.
I h
μ ~ d c ( 0.8 )
DDC_WOA_ CNNGCANRRORFDNKa-Net
I 1 Electronics 15 00215 i231Electronics 15 00215 i232Electronics 15 00215 i233Electronics 15 00215 i234Electronics 15 00215 i235Electronics 15 00215 i236
DHQI/ILNIQEarchitecture1
0.410
58.607/29.59153.134/25.37254.915/26.31458.517/24.81749.084/28.340
I 2 Electronics 15 00215 i237Electronics 15 00215 i238Electronics 15 00215 i239Electronics 15 00215 i240Electronics 15 00215 i241Electronics 15 00215 i242
DHQI/ILNIQEarchitecture2
0.633
62.307/29.39662.554/26.47359.026/26.80260.605/24.25244.312/30.238
I 3 Electronics 15 00215 i243Electronics 15 00215 i244Electronics 15 00215 i245Electronics 15 00215 i246Electronics 15 00215 i247Electronics 15 00215 i248
DHQI/ILNIQEhuman1
0.365
65.538/19.40364.922/21.87065.015/17.46362.809/18.52457.947/22.122
I 4 Electronics 15 00215 i249Electronics 15 00215 i250Electronics 15 00215 i251Electronics 15 00215 i252Electronics 15 00215 i253Electronics 15 00215 i254
DHQI/ILNIQEhuman2
0.506
60.299/27.84953.728/27.78456.274/25.78050.818/24.52547.375/24.744
I 5 Electronics 15 00215 i255Electronics 15 00215 i256Electronics 15 00215 i257Electronics 15 00215 i258Electronics 15 00215 i259Electronics 15 00215 i260
DHQI/ILNIQElandscape1
0.461
62.357/30.78964.124/28.49659.318/28.33659.740/24.11156.268/27.660
I 6 Electronics 15 00215 i261Electronics 15 00215 i262Electronics 15 00215 i263Electronics 15 00215 i264Electronics 15 00215 i265Electronics 15 00215 i266
DHQI/ILNIQElandscape2
0.345
63.650/21.95658.934/29.13858.864/18.95153.443/21.73454.450/21.394
I 7 Electronics 15 00215 i267Electronics 15 00215 i268Electronics 15 00215 i269Electronics 15 00215 i270Electronics 15 00215 i271Electronics 15 00215 i272
DHQI/ILNIQEnight1
0.214
52.694/32.68252.346/30.24252.966/30.03950.723/29.77045.796/45.796
I 8 Electronics 15 00215 i273Electronics 15 00215 i274Electronics 15 00215 i275Electronics 15 00215 i276Electronics 15 00215 i277Electronics 15 00215 i278
DHQI/ILNIQEnight2
0.157
57.965/27.91059.257/24.83960.181/22.77458.865/22.94750.868/23.573
I 9 Electronics 15 00215 i279Electronics 15 00215 i280Electronics 15 00215 i281Electronics 15 00215 i282Electronics 15 00215 i283Electronics 15 00215 i284
DHQI/ILNIQEplant3
0.319
63.201/33.49960.128/33.99659.121/30.86860.218/28.59746.245/28.107
I 10 Electronics 15 00215 i285Electronics 15 00215 i286Electronics 15 00215 i287Electronics 15 00215 i288Electronics 15 00215 i289Electronics 15 00215 i290
DHQI/ILNIQEplant4
0.695
55.981/27.30346.314/27.62043.809/25.29747.830/24.35642.847/29.195
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

Hsieh, C.-H.; Lin, X.-R.; Li, Z.-Z. Image Haze Removal Using Dual Dark Channels with the Whale Optimization Algorithm and an Image Regression Model. Electronics 2026, 15, 215. https://doi.org/10.3390/electronics15010215

AMA Style

Hsieh C-H, Lin X-R, Li Z-Z. Image Haze Removal Using Dual Dark Channels with the Whale Optimization Algorithm and an Image Regression Model. Electronics. 2026; 15(1):215. https://doi.org/10.3390/electronics15010215

Chicago/Turabian Style

Hsieh, Cheng-Hsiung, Xin-Rui Lin, and Zhong-Ze Li. 2026. "Image Haze Removal Using Dual Dark Channels with the Whale Optimization Algorithm and an Image Regression Model" Electronics 15, no. 1: 215. https://doi.org/10.3390/electronics15010215

APA Style

Hsieh, C.-H., Lin, X.-R., & Li, Z.-Z. (2026). Image Haze Removal Using Dual Dark Channels with the Whale Optimization Algorithm and an Image Regression Model. Electronics, 15(1), 215. https://doi.org/10.3390/electronics15010215

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