원시데이터 수집 시스템
선정목록으로

Specular Reflection Image Enhancement Based on a Dark Channel Prior

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Xin Ye — Key Laboratory of Signal Detection and Processing, Xinjiang Uygur Autonomous Region, Xinjiang University, Urumqi, China|||College of Information Science anngineerid Engineering, Xinjiang University, Urumqi, China
  2. Zhenhong Jia — Key Laboratory of Signal Detection and Processing, Xinjiang Uygur Autonomous Region, Xinjiang University, Urumqi, China|||College of Information Science anngineerid Engineering, Xinjiang University, Urumqi, China
  3. Jie Yang — Institute of Image Processing and Pattern Recognition, Shanghai Jiao Tong University, Shanghai, China
  4. Nikola Kasabov — School of Engineering, Computing and Mathematical Sciences, Auckland University of Technology, Auckland, New Zealand|||Intelligent Systems Research Center - Ulster University, Magee campus, U.K.
DOI
10.1109/jphot.2021.3053906
저널
IEEE photonics journal
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/jphot.2021.3053906
토픽
Color Science and Applications
OpenAlex ID
W3125232681

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this paper, we propose a specular highlight image enhancement algorithm based on a dark channel prior to solve the problem of information loss in specular highlight images in real scenes. First, the algorithm is based on the dark channel prior algorithm, and a moving window minimum filter is used to estimate the global illumination component. Then, a weighted function based on the local pixel color difference is introduced to solve the halo artifacts in the image. Then, the improved guided filter algorithm is used to optimize the transmittance, which improves the computational efficiency of the algorithm. Finally, the brightness of the image is adjusted by the CLAHE algorithm to enhance the local details of the image. Experimental results show that this method can effectively enhance the information in specular highlight images, and its processing results are obviously better than those of other algorithms.

본문 37,456자

본문 펼치기
Open Access # Specular Reflection Image Enhancement Based on a Dark Channel Prior ### Volume 13, Number 1, February 2021 Ye Xin Zhenhong Jia Jie Yang Nikola K. Kasabov, _Fellow, IEEE_ DOI: 10.1109/JPHOT.2021.3053906 ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ ## Specular Reflection Image Enhancement Based on a Dark Channel Prior Ye Xin , <sup>1,2</sup> Zhenhong Jia , <sup>1,2</sup> Jie Yang , <sup>3</sup> and Nikola K. Kasabov , <sup>4,5</sup> _Fellow, IEEE_ 1College of Information Science anngineerid Engineering, Xinjiang University, Urumqi 830046, China 2Key Laboratory of Signal Detection and Processing, Xinjiang Uygur Autonomous Region, Xinjiang University, Urumqi 830046, China 3Institute of Image Processing and Pattern Recognition, Shanghai Jiao Tong University, Shanghai 200400, China 4School of Engineering, Computing and Mathematical Sciences, Auckland University of Technology, Auckland 1020, New Zealand 5Intelligent Systems Research Center - Ulster University, Magee campus BT48 7JL, U.K. _DOI:10.1109/JPHOT.2021.3053906_ _This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see_ _https://creativecommons.org/licenses/by/4.0/_ Manuscript received November 2, 2020; revised January 17, 2021; accepted January 20, 2021. Date of publication January 22, 2021; date of current version February 10, 2021. This work was supported in part by the National Science Foundation of China under Grant U1803261 and in part by the International Science and Technology Cooperation Project of the Ministry of Education of the People’s Republic of China under Grant DICE 2016–2196. Corresponding author: Ye Xin (e-mail: xy1747259062@163.com). Abstract: In this paper, we propose a specular highlight image enhancement algorithm based on a dark channel prior to solve the problem of information loss in specular highlight images in real scenes. First, the algorithm is based on the dark channel prior algorithm, and a moving window minimum filter is used to estimate the global illumination component. Then, a weighted function based on the local pixel color difference is introduced to solve the halo artifacts in the image. Then, the improved guided filter algorithm is used to optimize the transmittance, which improves the computational efficiency of the algorithm. Finally, the brightness of the image is adjusted by the CLAHE algorithm to enhance the local details of the image. Experimental results show that this method can effectively enhance the information in specular highlight images, and its processing results are obviously better than those of other algorithms. Index Terms: Image enhancement, specular highlight image, dark channel prior, CLAHE, guided filtering. 1. Introduction In the field of computer vision, most algorithms assume that the surface of an object is an ideal diffuse reflection surface, without considering the effect of specular reflection. In the real world, the specular reflection phenomenon is inevitable. The presence of highlights in the image will often cover the texture of the surface of the object, damage the contour of the edge of the object, change the color of the surface of the object, and directly lead to the loss of information in the local area of the object surface. The highlights in the image will not only affect the quality of the image but also greatly interfere with the application research of image tracking, scene analysis, scene reconstruction, etc. Therefore, it is particularly important to enhance the highlight area in the image. The existing methods are mainly for the highlight removal technology of specular images. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ The methods are divided into two categories according to the number of images used: methods based on multiple images and methods based on single images. Multiple image-based approaches. Nayar _et_ _al._ [1] improved a polarization-based method by incorporating the neighboring diffuse color information. Lin [2] removed the highlights by treating the specular pixels as outliers and matching the remaining diffuse parts in other views. Lin and Shum [3] obtained photometric images from two images with different illumination positions and used linear basis functions to separate specular reflection components. However, because the light source is usually fixed, the use of this method is limited. Sato and Ikeuchi [4] employed a dichromatic model for separation by analyzing color signatures in many images captured with a moving light source. Barsky and Petrou [5] identified specular pixels according to the intensity distribution and separated the specular component by using the dichromatic reflection model. Although this kind of method can effectively separate the specular component, it is not suitable for general cases because of the need for multiple images. Single image-based approaches. The method of Klinker _et_ _al._ [6] performs clustering of all the pixels in the RGB color space to determine diffuse colors. Bajcsy _et al._ [7] used the hue-saturationlightness color space instead of the RGB space. By regarding highlight removal as an interactive inpainting process, Tan _et_ _al._ [8] recovered the diffuse colors of specular pixels under illumination constraints. Tan and Ikeuchi [9], [10] further proposed methods based on noise, chromaticity analysis and linear basis functions. Tan _et_ _al._ [11] proposed making a specular-free image by setting the maximum chromaticity of each pixel to an arbitrary scalar value. Mallick _et al._ [12], [13] proposed an SUV color space which is a rotation of the RGB space, that separated the specular and diffuse components into an S channel and UV channels. This SUV space was further used for highlight removal by iteratively eroding the specular channel using either a single image or video sequence. Inpainting techniques that synthetically fill in the missing regions using neighboring patterns have also been applied to recover diffuse colors [14], [15]. Li _et_ _al._ [16] used specialized domain knowledge to guide the removal of specular highlights in facial images. Shen and Cai [17] approximated the chromaticity of diffuse reflection by that of an specular-free (SF) image and adjusted the highlight level by enforcing smooth color transition between diffuse and specular regions. The literature [18], [19] proposed using filtering to remove highlights. The literature [20]–[22] used an SF image for pixel clustering and determined the specular component by solving the dichromatic least-squares system. Kim _et_ _al._ [23] obtained an approximated specular-free image by applying the dark channel prior. Nguyen _et_ _al._ [24] used tensor voting for the separation of reflection components. Akashi _et al._ [25] proposed a method based on sparse nonnegative matrix factorization (NMF) to separate reflection components, but this method may fail in the case of strong specular reflection or noise. Suo _et_ _al._ [26] defined _l_ 2 chromaticity and used it to generate a specular-free image. Ren _et_ _al._ [27] introduced the color lines constraint into the dichromatic reflection model and proposed a fast highlight removal method. Although most of the current specular highlight removal algorithms have obtained some achievements, there are still the following problems. First, the current research only focuses on removing the highlight component from the image, and does not involve the information of recovering the highlight image. Moreover, it is required to take the specular highlight image in a specific scene (as shown in Fig. 1). Second, for specular highlight images in the real life scene, the existing algorithms cannot remove the highlight components in the image very well, and there are still some limitations in its popularization and practicability. Based on the shortcomings in the current literature on specular highlights, we propose a specular highlight image enhancement algorithm using a dark channel prior. Our research work mainly includes the following content. First, an improved dark channel prior algorithm is proposed for the first time to enhance specular highlight images in real scenes. Second, a moving window minimum filter is used to estimate the global atmospheric light and introduce a weighting function based on the local pixel color difference in the boundary constraint. Third, an improved guided filtering algorithm is proposed to optimize the transmission and to use the CLAHE algorithm to further adjust the brightness of the image to enhance the local details of the image. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ The remainder of this paper is organized as follows: Section 2 presents a specular highlight image enhancement algorithm using a dark channel prior. The experimental results are discussed in Section 3. At last, the conclusion is drawn in Section 4. 2. Proposed Methods In this section, we propose a specular highlight image enhancement algorithm based on the dark channel prior. First, the algorithm is based on the dark channel prior algorithm, and we need to identify the haziest pixel in the input image and filter each color channel by a moving window minimum filter to estimate global atmospheric light _A_ . Second, the weighted function based on the local pixel color difference is introduced into the boundary constraint to solve the halo artifacts in the image. Then, the improved guided filter algorithm is used to optimize the transmission. Finally, in LAB space (CIELab color model), the _L_ component of the image is processed by the CLAHE algorithm, and the _A, B_ components are adaptive. By adjusting the brightness and contrast of the image, the local details of the image are enhanced. _2.1_ _Obtaining Dark Channel Prior_ The model that is widely used in computer vision and computer graphics to describe the formation of images is as follows [28]: _I_ ( _x_ ) = _J_ ( _x_ ) _t_ ( _x_ ) + _A_ (1 − _t_ ( _x_ )) (1) where _I_ ( _x_ ) is the observed intensity, _A_ is the global atmospheric light, _t_ ( _x_ ) is scene transmission, which is bounded in the interval 0 ≤ _t_ ( _x_ ) ≤ 1 and is always correlated with scene depth, _J_ ( _x_ ) is the scene radiance, _M_ ≤ _J_ ( _x_ ) ≤ _N_, and M and _N_ are two constant vectors related to a given image. In the homogenous atmosphere, the transmission is expressed as: _t_ ( _x_ ) = _e_ <sup>−</sup> <sup>_μd_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> (2) where _μ_ is the scattering coefficient of the atmosphere. This indicates that the scene radiance is attenuated exponentially with the scene depth _d_ ( _x_ ). Equation (1) implies that in RGB color space, vectors _I_ ( _x_ ), _J_ ( _x)_ and A lie in the same plane, and their endpoints are collinear. The transmission t(x) can also be represented as the ratio of two line segments: _t_ ( _x_ ) = �� _A_ - _I_ ( _x_ )�� (3) ~~�~~ <u>�</u> _A_ - _J_ ( _x_ ) ~~�~~ <u>�</u> = _A_ <sup>_<u>Aττ</u>_</sup> - <sup>−</sup> _J_ <sup>_<u>Iττ</u>_</sup> <sup><u>(</u></sup> ( <sup>_<u>x</u>_</sup> _x_ <sup><u>)</u></sup> ) where _τ_ ∈{r _,_ g _,_ b} is the color channel index. The goal of the image formation model is to recover the scene radiance _J_ ( _x_ ) from I(x) based on (1). This requires us to estimate the transmission function t(x) and the global atmospheric light _A_ . Once _t_ ( _x_ ) and _A_ are estimated, the scenic radiance can be recovered by: _J_ ( _x_ ) = <sup>_<u>I</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>) −</u></sup> <sup>_<u>A</u>_</sup> + _A_ (4) _t_ ( _x_ ) The dark channel prior theory was first introduced by He _et_ _al._ [29] using statistical principles, according to which there exist one or more color channels that have pixels whose intensity is very low or even closer to 0 due to the presence of shadows in most of the image’s non-sky areas. According to this theory, for any image J, its dark channel can be expressed as: _J_ <sup>_dark_</sup> ( _x_ ) = min _y_ ∈ _�_ ( _x_ ) - min _, J_ <sup>_dark_</sup> → 0 (5) _τ_ ∈{ _r,g,b_ } <sup>_Jτ_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> where _J_ <sup>_dark_</sup> is a single color channel of image _J,_ _τ_ is the color space composed of three RGB channels, and _�_ is a local area centered on (x _,_ y). Divide both sides of formula (1) by _A_ <sup>_τ_</sup>, and take ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ the minimum value of the pixel blocks at both ends to get: _<u>I</u>_ <sup>_τ_</sup> <u>(</u> _<u>x</u>_ <u>)</u> _A_ <sup>_τ_</sup> = <sup>�</sup> _t_ ( _x_ ) min _y_ ∈ _�_ ( _x_ ) = <sup>�</sup> _t_ ( _x_ ) min min _τ_ _<u>J</u>_ <sup>_τ_</sup> <u>(</u> _<u>y</u>_ <u>)</u> _A_ <sup>_τ_</sup> + 1 − <sup>�</sup> _t_ ( _x_ ) (6) min _y_ ∈ _�_ ( _x_ ) min _τ_ where _A_ <sup>_τ_</sup> is the image of the point with the strongest pixel intensity in the dark primary color image prime value.In the _�_ ( _x_ ) neighborhood, _t_ ( _x_ ) is a constant, denoted as _t_ <sup>˜</sup> ( _x_ ). According to the dark primary color prior, the dark primary color channel _J_ of the image after processing should tend to 0, and _A_ is always a positive number, so it can be expressed as: _<u>J</u>_ <sup>_τ_</sup> <u>(</u> _<u>y</u>_ <u>)</u> _A_ <sup>_τ_</sup> = 0 (7) min _y_ ∈ _�_ ( _x_ ) min _τ_ Substituting (7) into (6), multiple parameters can be eliminated and the rough estimation expression of the radiation rate _t_ ( _x_ ) is: - _<u>Iτ</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _A_ <sup>_τ_</sup> �� (8) - _t_ ( _x_ ) = 1 − _α_ min _y_ ∈ _�_ ( _x_ ) min _τ_ where _α_ ∈ (0 _,_ 1] is the image fidelity adjustment factor. To get _J_ ( _x_ ) it requires estimate of _t_ ( _x_ ) and _A_ [30]. Once we know both _t_ ( _x_ ) and A then we can easily recover _J_ ( _x_ ) by: _<u>I</u>_ <u>(</u> _<u>x</u>_ <u>) −</u> _<u>A</u>_ _J_ ( _x_ ) = max ( _t_ ( _x_ ) _.t_ 0) <sup>+</sup> <sup>_A_</sup> (9) where _t_ 0 is the lower limit of the transmittance set to avoid noise in the final processing results, usually the value is 0.1. _2.2_ _Estimation of the Global Atmospheric Light_ In the dark channel prior algorithm, the gray value with the highest brightness is usually selected as the atmospheric light value. However, if there is a large area of high brightness area in the image, such as processing the specular highlight image, it is easy to cause the wrong estimation of atmospheric light _A_, resulting in color and distortion of the image; when the local area _�_ (x) is in the position where the depth of field changes violently, the dark channel value will also be wrong, resulting in the halo effect of the processed image [30]. The global atmospheric light is used in the generation of transmission map and allow us to identify the color of atmospheric light. It is the multiplication of atmospheric luminance and the inverse of transmission map Therefore, we propose an improved method for estimating global atmospheric light. Suppose that a part of the image contains pixels at infinity and treat the image points corresponding to pixels at infinity as a collection of representative color vectors of atmospheric brightness, and then apply an averaging operation to estimate the expected color vector of atmospheric brightness. In the input image,we pick up the brightest pixel which is the top 0.1% pixels accoeding to the brightness of the image, and then a moving window minimum filter to filter each color channel, the maximum value of the color channel is taken as the estimated value of atmospheric light component _A_ . _2.3_ _Weighted l1 Norm Based Contextual Regularization_ According to the theory that the depth value is constant in all pixels in a local image, we can use boundary constraints to deduce block-by-block transmission, but when the image depth changes suddenly, the image will have halo artifacts [31], [32]. Therefore, we construct the weighting function s(p _,_ q) by calculating the color difference of local pixels on the boundary constraint, and the expression is: _s_ ( _p, q_ ) ( _t_ ( _p_ ) − _t_ ( _q_ )) ≈≈ 0 (10) ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ where s(p _,_ q) is the constraint between adjacent pixels _p, q_ in the image. If s (p _,_ q) = 0, there is no constraint between adjacent pixels p _,_ q, so it is particularly important to determine the value of s(p _,_ q) [32]. s(p _,_ q) completely depends on the depth of the image. If the depth of the image between p and qq is small, its value will be very large, so we can find _t_ ( _x_ ); in contrast, if the depth of the image between _p_ and _q_ is large, its value approaches 0. In this case, due to the lack of depth map information, we cannot construct _t_ ( _x_ ). Generally, the depth of an image varies with the intensity value between _p_ and _q_, and pixels with the same intensity and color have similar depths [33]. Therefore, we construct the following weighting function based on this feature: −∥ _I_ ( _p_ ) − _I_ ( _q_ )∥ <sup>2�</sup> 2 _γ_ <sup>2</sup> _s_ ( _p, q_ ) = _e_ (11) where _γ_ is the specified parameter. Then, we introduce the weighted context constraint into the image and calculate the regularization of _t_ ( _x_ ) as follows: �� _t_ ( _p_ ) − _t_ ( _q_ )�� _d pdq_ (12) _p_ ∈ _�_ _s_ ( _p, q_ ) _q_ ∈ _�_ where _�_ is the image domain. By discretizing the above equation, we can obtain the following results: _si j_ �� _ti_ - _t_ _j_ �� (13) _i_ ∈ _I_ _j_ ∈ _si_ By introducing a group of differential operators in (11), we can obtain: _j_ ∈ _s_ ������ _Soj_ <sup>(</sup> <sup>_L_</sup> <sup>_j_</sup> <sup>⊗</sup> <sup>_t_</sup> <sup>)</sup> ������ (14) where _L j_ is a first-order differential operator and _S j_ ( _j_ ∈ _s_ ) is a weighted matrix. _2.4_ _Optimization of the Transmission_ He _et_ _al._ used a soft matting method to optimize the transmittance, but this method has high time complexity and a large amount of calculation, resulting in low efficiency of the algorithm. Therefore, this paper proposes an improved guided filtering algorithm to optimize the transmittance and improve the calculation efficiency of the algorithm. The key to the guided filter is the local linear model between the guidance image _I_ and the filtered image _q_ . We assume that _q_ is a linear transform of _I_ in a window _ωk_ centered at pixel _k:_ _qi_ = _ak_ _Ii_ + _bk_ _,_ ∀ _i_ ∈ _ωk_ (15) where ( _ak_ _, bk_ ) are some linear coefficients assumed to be constant and _ωk_ is a square window with a radius of _r_ . To minimize the difference between the input image _p_ and the output image _q_, we define the cost function in the window _ωk_ as: _E_ ( _ak_ _, bk_ ) = min _i_ ∈ _ωk_ (( _ak_ _Ii_ + _bK_ - _pi_ ) <sup>2</sup> + _ελak_ <sup>2)</sup> (16) where _ε_ is an adjustment parameter to prevent the value of _ak_ from being too large, and _λ_ is the average value of the local variance in all pixels introduced into the cost function in the base layer to accurately maintain the edge of the image [34]. The expression is: _λ_ = <sup><u>1</u></sup> _N_ - _N_ _k_ =1 _δk_ <sup>2</sup> (17) ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ where _δk_ <sup>2</sup> <sup>is the local variance in</sup> <sup>_I_</sup> <sup>in window</sup> <sup>_ωk_</sup> <sup>.</sup> From the linear regression analysis, we can obtain the optimal values for ( _ak_ _, bk_ ), as follows: _i_ ∈ _ωk_ <sup>_Ii pi_</sup> <sup>−</sup> <sup>_μk pk_</sup> (18) _k_ <sup>2</sup> <sup>+</sup> <sup>_ελ_</sup> _ak_ = <u>1</u> <u>|</u> _<u>ω</u>_ <u>|</u> _σk_ <sup>2</sup> _bk_ = _<u>pk</u>_ - _ak_ _μk_ (19) where _δk_ <sup>2</sup> where _δk_ <sup>2</sup> <sup>and</sup> <sup>_μk_</sup> <sup>are</sup> <sup>the</sup> <sup>variance</sup> <sup>and</sup> <sup>mean</sup> <sup>value</sup> <sup>in</sup> <sup>window</sup> <sup>_ωk_</sup> <sup>,</sup> <sup>|</sup> <sup>_ω_</sup> <sup>|</sup> <sup>is</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>pixels</sup> <sup>in</sup> window _ωk_, and _<u>pk</u>_ = | _ω_ <u>1|</u> - _i_ ∈ _ωk_ <sup>_pi_</sup> <sup>, is the mean value of</sup> <sup>_p_</sup> <sup>in the window.</sup> Finally, the sliding window operation is adopted for the whole image, and the average value is obtained: _<u>pk</u>_ = | _ω_ <u>1|</u> _qi_ = <sup><u>1</u></sup> | _ω_ | _k_ : _i_ ∈ _ωk_ ( _ak_ _Ii_ + _bk_ ) = _<u>aiIi</u>_ + _bi_ (20) _k_ ∈ _ωk_ <sup>_bk_</sup> <sup>.</sup> where _<u>ak</u>_ = | _ω_ <u>1|</u> - <u>1</u> _k_ ∈ _ωk_ <sup>_ak_</sup> <sup>,</sup> <sup>_bk_</sup> <sup>=</sup> | _ω_ | _2.5_ _Brightness Enhancement_ When the dark channel prior algorithm is used to process specular highlight images, there are large areas of high brightness areas in the image, which makes the processed image exhibit uneven brightness and low contrast. Therefore, we introduce the contrast limited adaptive histogram equalization algorithm (CLAHE) to adjust the brightness of the image and enhance the mirror by improving the local contrast of the image and the local details of the highlight image. First, the processed image is transformed from RGB space to lab color space, and the luminance component _L_ of the image is extracted; then, the luminance component _L_ is processed by the CLAHE algorithm, and the _A_ and _B_ components are adapted; finally, we update the brightness component _L_ of the image and convert the processed image from lab space to RGB color space, which not only adjusts the brightness and contrast of the image but also effectively enhances the image. 3. Experiment and Results To verify the validity of the algorithm proposed in this paper, the experimental images are all specular highlight images taken randomly in real-life scenes. This section evaluates the enhanced specular highlight image and compare it with the methods proposed by Yang [19], Shen _et_ _al._ [22], Akashi _et al._ [26], Yamamoto _et al._ [20]. This section includes two parts: part A evaluates the enhanced specular highlight image subjectively, and part B compares the processing results of this paper and other algorithms objectively. To prove the effectiveness of the proposed method, all compared approaches were implemented in MATLAB 2018a on a PC with an Intel Core i7-10510U CPU @ 1.80 GB of memory running a Windows 10 operating system. _3.1_ _Subjective Evaluation_ As shown in Figs. 2-6, the specular highlighted images after enhancement were evaluated subjectively, and representative algorithms, Yang [18], Shen _et al._ [21], Akashi _et al._ [25], Yamamoto _et_ _al._ [19], were selected for comparison with the algorithms proposed in this study. By observing the experimental image, it can be found that the presence of highlights in the original image makes some areas of the image very bright, which not only obstructs the information of the partial areas of the image but also changes the color of the image surface. As shown in Fig. 2(b)–(e)–Fig. 6(b)–(e), the specular highlight image processed by references [18], [21], [25] and [19] does not recover the information of the local area blocked by the highlight in the image and loses the information of the non-highlight area of the image. The main reason ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ Fig. 1. The images involved in the existing specular reflection removal algorithm. Fig. 2. (a) Original image, (b) Yang [18], (c) Shen et al. [21], (d) Akashi _et al._ [25], (e) Yamamoto _et al._ [20], (f) the proposed method. Fig. 3. (a) Original image, (b) Yang [18], (c) Shen _et al._ [21], (d) Akashi _et al._ [25], (e) Yamamoto _et al._ [20], (f) the proposed method. Fig. 4. (a) Original image, (b) Yang [18], (c) Shen _et al._ [21], (d) Akashi _et al._ [25], (e) Yamamoto _et al._ [20], (f) the proposed method. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ Fig. 5. (a) Original image, (b) Yang [18], (c) Shen _et al._ [21], (d) Akashi _et al._ [25], (e) Yamamoto _et al._ [20], (f) the proposed method. Fig. 6. (a) Original image, (b) Yang [18], (c) Shen _et al._ [21], (d) Akashi _et al._ [25], (e) Yamamoto _et al._ [20], (f) the proposed method. for the above problems is that the above algorithm has certain constraints when processing specular highlight images and requires application in specific objects and scenes; in the process of image processing, the highlight components are mainly separated by estimating non-highlight components. The inaccuracy of the non-highlight component causes the problem of information loss when the image separates the highlight component. Therefore, the above algorithm cannot achieve satisfactory results when processing real specular highlight images. Compared with the algorithms in [18], [21], [25] and [19], the method proposed in this paper can recover the information of the highlight area in the image very well, as shown in the figure. As shown in Fig. 2(f)–Fig. 6(f), the image processed by the algorithm proposed in this paper retains more detailed features than the original image. The information of the highlighted area in the image is clearly visible and compared with other algorithms, the processed image effect is more obvious. _3.2_ _Objective Evaluation of Results_ It is a very difficult task to objectively evaluate the enhanced specular highlight image because there are no real and reliable no-highlight images as a reference, so we use nonreference methods to analyze the processed results. To test the effect of each algorithm more comprehensively, we choose _e, r, H, θ_ _and CNI_ as evaluation indicators to compare the algorithms quantitatively, and we performed a qualitative no- reference quality assessment with 200 specular reflection images The _e_ measure represents the rate of newly visible edges after processing the image: _pi_ ∈ _ϑe_ _e_ = exp ⎛ ⎝ <sup><u>1</u></sup> _ve_ log _ei_ ⎞ ⎠ (21) where _e_ is the gradient ratio between the original image and the processed image, and _ϑe_ consists of the visible edges of the processed image [36]. Ratio of average gradient _r_ represents the measure of enhancement contrast between the background and target by applying the technique, _H_ and _θ_ are expressed as the information entropy and edge intensity, respectively. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ TABLE I Highlight Images of FIGS. 2-6 Enhancement Evaluation Based on the _e_ Metric. A Larger Metric is Better TABLE II Highlight Image of FIGS. 2-6 Enhancement Evaluation Based on the _r_ Metric. A Larger Metric is Better TABLE III Highlight Image of FIGS. 2-6 Enhancement Evaluation Based on the _H_ Metric. A Larger Metric is Better TABLE IV Highlight Images of FIGS. 2-6 Enhancement Evaluation Based on the _θ_ Metric. A Larger Metric is Better The percentage of pixels which becomes completely black or white in the enhanced image and Colour Naturalness Index ( _CNI_ ), higher value of _CNI_ indicates the enhanced image is more natural [37]. Tables I –VI summarize the results of random specular highlight image processing in different real scenes by using Yang [18], Shen _et al._ [21], Akashi _et al._ [25], Yamamoto _et al._ [19] and the algorithm proposed in this study. It can be seen from Table V that in the processing effect of a few pictures, the value of our _CNI_ is not as good as other algorithms, but the gap is not very large. Generally speaking, compared with other algorithms, our algorithm has more advantages, indicating that the image processed by this method is more natural.In Table VI, we select 200 specular highlight images in different scenes and compare the results of the above algorithms. By analyzing the above data, we find that using _e_, _r_, _H_, _θ_ and _CNI_ as the measurement method, the indexes of this algorithm ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ TABLE V Highlight Images of FIGS. 2-6 Enhancement Evaluation Based on the _CNI_ Metric. A Larger Metric is Better TABLE VI Comparison of Average Enhancement Acquired by _e, r, H, θ_ and _CNI_ for 200 Specular Highlight Images are mostly higher than other algorithms, which shows that the algorithm in this paper has better performance than other algorithms in enhancing specular highlight images. The edge contrast, clarity and detail features of the image processed by this algorithm are obviously enhanced, and the local information of the specular highlight image is effectively restored. Therefore, through the comprehensive comparison of the enhancement effect of specular highlight images in different scenes, it can be concluded that the effectiveness of the proposed algorithm is better than that of the other algorithms. 4. Conclusion In this study, we focus on the images affected by highlights in real-life scenes. Our purpose is to enhance the information in specular highlight images so that the images are clearer, easier to identify and more valuable for practical application. Therefore, we propose a specular highlight image enhancement algorithm based on the dark channel prior. First, the algorithm is based on the dark channel prior and effectively estimates the global illumination component of the image by a moving window filter. Then, the weighting function based on the local pixel chromatic aberration is introduced in the boundary constraint to solve the existence of the image and the problem of halo artifacts. Next, the improved guided filter algorithm is used to optimize the transmittance and increase the calculation efficiency of the algorithm. Finally, in the LAB space, the CLAHE algorithm is used to enhance the image’s brightness component _L_, A _,_ B which is adaptive through adjusting the contrast of the image and enhancing the local details of the image. Experimental results show that the algorithm proposed in this study is significantly better than other algorithms based on both subjective and objective evaluations. Further research is anticipated towards specular highlight image enhancement of images from moving objects. A potential approach would be the use of spiking neural networks and dynamic vision sensors [35]. References [1] S. K. Nayar, X. Fang, and T. E. Boult, “Separation of reflection components using color and polarization,” _Int. J. Comput._ _Vis._, vol. 21, pp. 163–186, 1997. [2] S. Lin, Y. Li, S. B. Kang, X. Tong, and H. Shum, “Diffuse-specular separation and depth recovery from image sequences,” in _Proc. Eur. Conf. Comput. Vis._, 2002, pp. 210–224. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~ ~~IEEE Photonics Journal~~ ~~Specular Ref~~ l ~~ection Image Enhancement~~ [3] S. Lin and H. Y. Shum, “Separation of diffuse and specular reflection in color images,” in _Proc._ _IEEE_ _Comput._ _Soc._ _Conf. Comput. Vis. Pattern Recognit.,_ 2003, p. I. [4] Y. Sato and K. Ikeuchi, “Temporal-color space analysis of reflection,” _J._ _Opt._ _Soc._ _Amer._ _A._, vol. 11, pp. 2990–3002, 1994. [5] S. Barsky and M. Petrou, “The 4-source photometric stereo technique for three-dimensional surfaces in the presence of highlights and shadows,” _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 25, no. 10, pp. 1239–1252, Oct. 2003. [6] G. Klinker, S. A. Shafer, and T. Kanade, “The measurement of highlights in color images,” _Int._ _J._ _Comput._ _Vis._, vol. 2, pp. 309–334, 1992. [7] R. Bajcsy, W. L. Sang, and A. Leonardis, “Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation,” _Int. J. Comput. Vis._, vol. 17, pp. 241–272, 1996. [8] L. Pingtan, L. Quan, and H. Shum, “Highlight removal by illumination-constrained inpainting,” in _Proc. Int. Conf. Comput._ _Vis._, 2003, pp. 164–169. [9] R. T. Tan, K. Nishino, and K. Ikeuchi, “Separating reflection components based on chromaticity and noise analysis,” _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 26, no. 10, pp. 1373–1379, Oct. 2004. [10] R. T. Tan and K. Ikeuchi, “Reflection components decomposition of textured surfaces using linear basis functions,” in _Proc. Comput. Vis. Pattern Recognit._, 2005, pp. 125–131. [11] R. T. Tan and K. Ikeuchi, “Separating reflection components of textured surfaces using a single image,” _IEEE_ _Trans._ _Pattern Anal. Mach. Intell._, vol. 27, no. 2, pp. 178–193, Feb. 2005. [12] S. P. Mallick, T. Zickler, D. J. Kriegman, and P. N. Belhumeur, “Beyond lambert: Reconstructing specular surfaces using color,” in _Proc. Comput. Vis. Pattern Recognit._, 2005, pp. 619–626. [13] S. P. Mallick, T. Zickler, P. N. Belhumeur, and D. J. Kriegman, “Specularity removal in images and videos: A PDE approach,” _Comput. Vis.–ECCV_, vol. 3951, pp. 550–563, 2006. [14] L. Pingtan, L. Quan, and H. Shum, “Highlight removal by illumination-constrained inpainting,” in _Proc. Int. Conf. Comput._ _Vis._, 2003, pp. 164–169. [15] P. Tan, L. Quan, and S. Lin, “Separation of highlight reflections on textured surfaces,” in _Proc. IEEE Comput. Soc. Conf._ _Comput. Vis. Pattern Recognit._, 2006, pp. 1855–1860. [16] L. Chen, S. Lin, K. Zhou, and K. Ikeuchi, “Specular highlight removal in facial images,” in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis. Pattern Recognit._, 2017, pp. 2780–2789. [17] H. L. Shen and Q. Y. Cai, “Simple and efficient method for specularity removal in an image,” _Appl._ _Opt._, vol. 48, pp. 2711–2719, 2009. [18] Q. Yang, S. Wang, and N. Ahuja, “Real-time specular highlight removal using bilateral filtering,” _Comput._ _Vis.–ECCV_, vol. 6314, pp. 87–100, 2010. [19] T. Yamamoto and A. Nakazawa, “General improvement method of specular component separation using high emphasis filter and similarity function,” _ITE Trans. Media Technol. Appl._, vol. 7, pp. 92–102, 2019. [20] H. L. Shen, H. G. Zhang, S. J. Shao, and J. H. Xin, “Chromaticity-based separation of reflection components in a single image,” _Pattern Recognit._, vol. 41, pp. 2461–2469, 2008. [21] H. Shen and Z. Zheng, “Real-time highlight removal using intensity ratio,” _Appl. Opt._, vol. 52, pp. 4483–4493, 2013. [22] Y. Liu, Z. Yuan, N. Zheng, and Y. Wu, “Saturation-preserving specular reflection separation,” in _Proc._ _IEEE_ _Conf._ _Comput. Vis. Pattern Recognit._, 2015, pp. 3725–3733. [23] H. Kim, H. Jin, S. Hadap, and I. Kweon, “Specular reflection separation using dark channel prior,” in _Proc._ _Comput._ _Vis. Pattern Recognit._, 2013. [24] T. Nguyen, Q. N. Vo, H. J. Yang, S. H. Kim, and G. S. Lee, “Separation of specular and diffuse components using tensor voting in color images,” _Appl. Opt._, vol. 53, pp. 7924–7936, 2014. [25] Q. Yang, S. Wang, and N. Ahuja, “Real-time specular highlight removal using bilateral filtering,” _Comput._ _Vis._, 2011, pp. 87–100. [26] J. Suo, D. An, X. Ji, H. Wang, and Q. Dai, “Fast and high quality highlight removal from a single image,” _IEEE_ _Trans._ _Image Process._, vol. 25, no. 11, pp. 5441–5454, Nov. 2016. [27] W. Ren, J. Tian, and Y. Tang, “Specular reflection separation with color-lines constraint,” _IEEE Trans. Image Process._, vol. 26, no. 5, pp. 2327–2337, May 2017. [28] E. J. Mccartney and F. F. Hall, “Optics of the atmosphere: Scattering by molecules and particles,” _Phys. Today_, vol. 30, pp. 76–77, 1977. [29] K. He, J. Sun, and X. Tang, “Single image haze removal using dark channel prior,” in _Proc._ _Comput._ _Vis._ _Pattern_ _Recognit._, 2009, pp. 1956–1963. [30] G. Meng, Y. Wang, J. Duan, S. Xiang, and C. Pan, “Efficient image dehazing with boundary constraint and contextual regularization,” in _Proc. IEEE Int. Conf. Comput. Vis._, 2013, pp. 617–624. [31] V. Khanadelwal, D. Mangal, and N. Kumar, “Elimination of fog in single image using dark-channel prior,” _Int._ _Res._ _J._ _Eng. Technol._, vol. 5, pp. 1602–1609, 2018. [32] W. Kumar and S. S. Urmila, “Single image dehazing for robust image matching,” _Int._ _J._ _Adv._ _Res._ _Comput._ _Commun._ _Eng._, vol. 5, pp. 13–19, 2016. [33] N. Kumar and S. Manjunath, “Efficent single image defogging using radiance cube an L norm based regularization matching,” _Int. J. Technol. Res. Eng._, vol. 2, pp. 1778–1780, 2015. [34] Z. Lu, B. Long, K. Li, and F. Lu, “Effective guided image filtering for contrast enhancement,” _IEEE Signal Process. Lett._, vol. 25, no. 10, pp. 1585–1589, Oct. 2018. [35] N. K. Kasabov, “Time-space spiking neural networks and brain-inspired artificial intelligence,” _Evolv._ _Spik._ _Neural_ _Netw._, Springer, vol. 7, pp. 169–199, 2018. [36] I. Kansal and S. S. Kasana, “Minimum preserving subsampling-based fast image de-fogging,” _J. Modern Opt._, vol. 65, no. 18, pp. 2103–2123, 2018. [37] I. Kansal and S. S. Kasana, “Improved color attenuation prior based image de-fogging technique,” _Multimedia_ _Tools_ _Appl._, vol. 79, no. 11, 2020. ~~Vol. 13, No. 1, February 2021~~ ~~6500211~~

섹션 본문 45문단 · 22,462자

(제목 없음)

1In this paper, we propose a specular highlight image enhancement algorithm based on a dark channel prior to solve the problem of information loss in specular highlight images in real scenes. First, the algorithm is based on the dark channel prior algorithm, and a moving window minimum filter is used to estimate the global illumination component. Then, a weighted function based on the local pixel color difference is introduced to solve the halo artifacts in the image. Then, the improved guided filter algorithm is used to optimize the transmittance, which improves the computational efficiency of the algorithm. Finally, the brightness of the image is adjusted by the CLAHE algorithm to enhance the local details of the image. Experimental results show that this method can effectively enhance the information in specular highlight images, and its processing results are obviously better than those of other algorithms.

Introduction

2In the field of computer vision, most algorithms assume that the surface of an object is an ideal diffuse reflection surface, without considering the effect of specular reflection. In the real world, the specular reflection phenomenon is inevitable. The presence of highlights in the image will often cover the texture of the surface of the object, damage the contour of the edge of the object, change the color of the surface of the object, and directly lead to the loss of information in the local area of the object surface. The highlights in the image will not only affect the quality of the image but also greatly interfere with the application research of image tracking, scene analysis, scene reconstruction, etc. Therefore, it is particularly important to enhance the highlight area in the image. The existing methods are mainly for the highlight removal technology of specular images.

3The methods are divided into two categories according to the number of images used: methods based on multiple images and methods based on single images.

4Multiple image-based approaches. Nayar et al. [1] improved a polarization-based method by incorporating the neighboring diffuse color information. Lin [2] removed the highlights by treating the specular pixels as outliers and matching the remaining diffuse parts in other views. Lin and Shum [3] obtained photometric images from two images with different illumination positions and used linear basis functions to separate specular reflection components. However, because the light source is usually fixed, the use of this method is limited. Sato and Ikeuchi [4] employed a dichromatic model for separation by analyzing color signatures in many images captured with a moving light source. Barsky and Petrou [5] identified specular pixels according to the intensity distribution and separated the specular component by using the dichromatic reflection model. Although this kind of method can effectively separate the specular component, it is not suitable for general cases because of the need for multiple images.

5Single image-based approaches. The method of Klinker et al. [6] performs clustering of all the pixels in the RGB color space to determine diffuse colors. Bajcsy et al. [7] used the hue-saturationlightness color space instead of the RGB space. By regarding highlight removal as an interactive inpainting process, Tan et al. [8] recovered the diffuse colors of specular pixels under illumination constraints. Tan and Ikeuchi [9], [10] further proposed methods based on noise, chromaticity analysis and linear basis functions. Tan et al. [11] proposed making a specular-free image by setting the maximum chromaticity of each pixel to an arbitrary scalar value. Mallick et al. [12], [13] proposed an SUV color space which is a rotation of the RGB space, that separated the specular and diffuse components into an S channel and UV channels. This SUV space was further used for highlight removal by iteratively eroding the specular channel using either a single image or video sequence. Inpainting techniques that synthetically fill in the missing regions using neighboring patterns have also been applied to recover diffuse colors [14], [15]. Li et al. [16] used specialized domain knowledge to guide the removal of specular highlights in facial images. Shen and Cai [17] approximated the chromaticity of diffuse reflection by that of an specular-free (SF) image and adjusted the highlight level by enforcing smooth color transition between diffuse and specular regions. The literature [18], [19] proposed using filtering to remove highlights. The literature [20]- [22] used an SF image for pixel clustering and determined the specular component by solving the dichromatic least-squares system. Kim et al. [23] obtained an approximated specular-free image by applying the dark channel prior. Nguyen et al. [24] used tensor voting for the separation of reflection components. Akashi et al. [25] proposed a method based on sparse nonnegative matrix factorization (NMF) to separate reflection components, but this method may fail in the case of strong specular reflection or noise. Suo et al. [26] defined l 2 chromaticity and used it to generate a specular-free image. Ren et al. [27] introduced the color lines constraint into the dichromatic reflection model and proposed a fast highlight removal method.

6Although most of the current specular highlight removal algorithms have obtained some achievements, there are still the following problems. First, the current research only focuses on removing the highlight component from the image, and does not involve the information of recovering the highlight image. Moreover, it is required to take the specular highlight image in a specific scene (as shown in Fig. 1). Second, for specular highlight images in the real life scene, the existing algorithms cannot remove the highlight components in the image very well, and there are still some limitations in its popularization and practicability.

7Based on the shortcomings in the current literature on specular highlights, we propose a specular highlight image enhancement algorithm using a dark channel prior. Our research work mainly includes the following content. First, an improved dark channel prior algorithm is proposed for the first time to enhance specular highlight images in real scenes. Second, a moving window minimum filter is used to estimate the global atmospheric light and introduce a weighting function based on the local pixel color difference in the boundary constraint. Third, an improved guided filtering algorithm is proposed to optimize the transmission and to use the CLAHE algorithm to further adjust the brightness of the image to enhance the local details of the image.

8The remainder of this paper is organized as follows: Section 2 presents a specular highlight image enhancement algorithm using a dark channel prior. The experimental results are discussed in Section 3. At last, the conclusion is drawn in Section 4.

Proposed Methods

9In this section, we propose a specular highlight image enhancement algorithm based on the dark channel prior. First, the algorithm is based on the dark channel prior algorithm, and we need to identify the haziest pixel in the input image and filter each color channel by a moving window minimum filter to estimate global atmospheric light A. Second, the weighted function based on the local pixel color difference is introduced into the boundary constraint to solve the halo artifacts in the image. Then, the improved guided filter algorithm is used to optimize the transmission. Finally, in LAB space (CIELab color model), the L component of the image is processed by the CLAHE algorithm, and the A, B components are adaptive. By adjusting the brightness and contrast of the image, the local details of the image are enhanced.

Obtaining Dark Channel Prior

10The model that is widely used in computer vision and computer graphics to describe the formation of images is as follows [28]:

11and M and N are two constant vectors related to a given image.

12In the homogenous atmosphere, the transmission is expressed as:

13where μ is the scattering coefficient of the atmosphere. This indicates that the scene radiance is attenuated exponentially with the scene depth d (x ). Equation (1) implies that in RGB color space, vectors I(x ), J(x) and A lie in the same plane, and their endpoints are collinear. The transmission t(x) can also be represented as the ratio of two line segments:

14where τ ∈ {r, g, b} is the color channel index. The goal of the image formation model is to recover the scene radiance J(x ) from I(x) based on (1). This requires us to estimate the transmission function t(x) and the global atmospheric light A. Once t (x ) and A are estimated, the scenic radiance can be recovered by:

15The dark channel prior theory was first introduced by He et al. [29] using statistical principles, according to which there exist one or more color channels that have pixels whose intensity is very low or even closer to 0 due to the presence of shadows in most of the image's non-sky areas.

16According to this theory, for any image J, its dark channel can be expressed as:

17where J dark is a single color channel of image J, τ is the color space composed of three RGB channels, and is a local area centered on (x, y). Divide both sides of formula (1) by A τ , and take the minimum value of the pixel blocks at both ends to get:

18where A τ is the image of the point with the strongest pixel intensity in the dark primary color image prime value.In the (x ) neighborhood, t (x ) is a constant, denoted ast (x ). According to the dark primary color prior, the dark primary color channel J of the image after processing should tend to 0, and A is always a positive number, so it can be expressed as:

19Substituting (7) into (6), multiple parameters can be eliminated and the rough estimation expression of the radiation rate t (x ) is:

20where α ∈ (0, 1] is the image fidelity adjustment factor. To get J(x ) it requires estimate of t (x ) and A [30]. Once we know both t (x ) and A then we can easily recover J(x ) by:

21where t 0 is the lower limit of the transmittance set to avoid noise in the final processing results, usually the value is 0.1.

Estimation of the Global Atmospheric Light

22In the dark channel prior algorithm, the gray value with the highest brightness is usually selected as the atmospheric light value. However, if there is a large area of high brightness area in the image, such as processing the specular highlight image, it is easy to cause the wrong estimation of atmospheric light A, resulting in color and distortion of the image; when the local area (x) is in the position where the depth of field changes violently, the dark channel value will also be wrong, resulting in the halo effect of the processed image [30]. The global atmospheric light is used in the generation of transmission map and allow us to identify the color of atmospheric light. It is the multiplication of atmospheric luminance and the inverse of transmission map Therefore, we propose an improved method for estimating global atmospheric light. Suppose that a part of the image contains pixels at infinity and treat the image points corresponding to pixels at infinity as a collection of representative color vectors of atmospheric brightness, and then apply an averaging operation to estimate the expected color vector of atmospheric brightness. In the input image,we pick up the brightest pixel which is the top 0.1% pixels accoeding to the brightness of the image, and then a moving window minimum filter to filter each color channel, the maximum value of the color channel is taken as the estimated value of atmospheric light component A.

Weighted l1 Norm Based Contextual Regularization

23According to the theory that the depth value is constant in all pixels in a local image, we can use boundary constraints to deduce block-by-block transmission, but when the image depth changes suddenly, the image will have halo artifacts [31], [32]. Therefore, we construct the weighting function s(p, q) by calculating the color difference of local pixels on the boundary constraint, and the expression is:

24where s(p, q) is the constraint between adjacent pixels p, q in the image. If s (p, q) = 0, there is no constraint between adjacent pixels p, q, so it is particularly important to determine the value of s(p, q) [32]. s(p, q) completely depends on the depth of the image. If the depth of the image between p and qq is small, its value will be very large, so we can find t (x ); in contrast, if the depth of the image between p and q is large, its value approaches 0. In this case, due to the lack of depth map information, we cannot construct t (x ).

25Generally, the depth of an image varies with the intensity value between p and q, and pixels with the same intensity and color have similar depths [33]. Therefore, we construct the following weighting function based on this feature:

26where γ is the specified parameter. Then, we introduce the weighted context constraint into the image and calculate the regularization of t (x ) as follows:

27where is the image domain. By discretizing the above equation, we can obtain the following results:

28By introducing a group of differential operators in (11), we can obtain:

29where L j is a first-order differential operator and S j ( j ∈ s) is a weighted matrix.

Optimization of the Transmission

30He et al. used a soft matting method to optimize the transmittance, but this method has high time complexity and a large amount of calculation, resulting in low efficiency of the algorithm. Therefore, this paper proposes an improved guided filtering algorithm to optimize the transmittance and improve the calculation efficiency of the algorithm.

31The key to the guided filter is the local linear model between the guidance image I and the filtered image q. We assume that q is a linear transform of I in a window ω k centered at pixel k:

32where (a k , b k ) are some linear coefficients assumed to be constant and ω k is a square window with a radius of r. To minimize the difference between the input image p and the output image q, we define the cost function in the window ω k as:

33where ε is an adjustment parameter to prevent the value of a k from being too large, and λ is the average value of the local variance in all pixels introduced into the cost function in the base layer to accurately maintain the edge of the image [34]. The expression is:

34where δ 2 k is the local variance in I in window ω k . From the linear regression analysis, we can obtain the optimal values for (a k , b k ), as follows:

35where δ 2 k and μ k are the variance and mean value in window ω k , |ω| is the number of pixels in window ω k , and p k = 1 |ω| i∈ω k p i , is the mean value of p in the window. Finally, the sliding window operation is adopted for the whole image, and the average value is obtained:

36where

Brightness Enhancement

37When the dark channel prior algorithm is used to process specular highlight images, there are large areas of high brightness areas in the image, which makes the processed image exhibit uneven brightness and low contrast. Therefore, we introduce the contrast limited adaptive histogram equalization algorithm (CLAHE) to adjust the brightness of the image and enhance the mirror by improving the local contrast of the image and the local details of the highlight image. First, the processed image is transformed from RGB space to lab color space, and the luminance component L of the image is extracted; then, the luminance component L is processed by the CLAHE algorithm, and the A and B components are adapted; finally, we update the brightness component L of the image and convert the processed image from lab space to RGB color space, which not only adjusts the brightness and contrast of the image but also effectively enhances the image.

Experiment and Results

38To verify the validity of the algorithm proposed in this paper, the experimental images are all specular highlight images taken randomly in real-life scenes. This section evaluates the enhanced specular highlight image and compare it with the methods proposed by Yang [19], Shen et al. [22], Akashi et al. [26], Yamamoto et al. [20]. This section includes two parts: part A evaluates the enhanced specular highlight image subjectively, and part B compares the processing results of this paper and other algorithms objectively. To prove the effectiveness of the proposed method, all compared approaches were implemented in MATLAB 2018a on a PC with an Intel Core i7-10510U CPU @ 1.80 GB of memory running a Windows 10 operating system.

Subjective Evaluation

39As shown in Figs. 2-6, the specular highlighted images after enhancement were evaluated subjectively, and representative algorithms, Yang [18], Shen et al. [21], Akashi et al. [25], Yamamoto et al. [19], were selected for comparison with the algorithms proposed in this study. By observing the experimental image, it can be found that the presence of highlights in the original image makes some areas of the image very bright, which not only obstructs the information of the partial areas of the image but also changes the color of the image surface. As shown in Fig. 2(b)-(e)- Fig. 6(b)-(e), the specular highlight image processed by references [18], [21], [25] and [19] does not recover the information of the local area blocked by the highlight in the image and loses the information of the non-highlight area of the image. The main reason [18], (c) Shen et al. [21], (d) Akashi et al. [25], (e) Yamamoto et al. [20], (f) the proposed method. [18], (c) Shen et al. [21], (d) Akashi et al. [25], (e) Yamamoto et al. [20], (f) the proposed method. [18], (c) Shen et al. [21], (d) Akashi et al. [25], (e) Yamamoto et al. [20], (f) the proposed method.

40for the above problems is that the above algorithm has certain constraints when processing specular highlight images and requires application in specific objects and scenes; in the process of image processing, the highlight components are mainly separated by estimating non-highlight components. The inaccuracy of the non-highlight component causes the problem of information loss when the image separates the highlight component. Therefore, the above algorithm cannot achieve satisfactory results when processing real specular highlight images. Compared with the algorithms in [18], [21], [25] and [19], the method proposed in this paper can recover the information of the highlight area in the image very well, as shown in the figure. As shown in Fig. 2(f)-Fig. 6(f), the image processed by the algorithm proposed in this paper retains more detailed features than the original image. The information of the highlighted area in the image is clearly visible and compared with other algorithms, the processed image effect is more obvious.

Objective Evaluation of Results

41It is a very difficult task to objectively evaluate the enhanced specular highlight image because there are no real and reliable no-highlight images as a reference, so we use nonreference methods to analyze the processed results. To test the effect of each algorithm more comprehensively, we choose e , r, H, θ and CNIas evaluation indicators to compare the algorithms quantitatively, and we performed a qualitative no-reference quality assessment with 200 specular reflection images

42The e measure represents the rate of newly visible edges after processing the image:

43where e is the gradient ratio between the original image and the processed image, and ϑ e consists of the visible edges of the processed image [36]. Ratio of average gradient r represents the measure of enhancement contrast between the background and target by applying the technique, H and θ are expressed as the information entropy and edge intensity, respectively. The percentage of pixels which becomes completely black or white in the enhanced image and Colour Naturalness Index (CNI), higher value of CNI indicates the enhanced image is more natural [37].

44Tables I -VI summarize the results of random specular highlight image processing in different real scenes by using Yang [18], Shen et al. [21], Akashi et al. [25], Yamamoto et al. [19] and the algorithm proposed in this study. It can be seen from Table V that in the processing effect of a few pictures, the value of our CNI is not as good as other algorithms, but the gap is not very large. Generally speaking, compared with other algorithms, our algorithm has more advantages, indicating that the image processed by this method is more natural.In Table VI, we select 200 specular highlight images in different scenes and compare the results of the above algorithms. By analyzing the above data, we find that using e, r, H, θ and CNI as the measurement method, the indexes of this algorithm are mostly higher than other algorithms, which shows that the algorithm in this paper has better performance than other algorithms in enhancing specular highlight images. The edge contrast, clarity and detail features of the image processed by this algorithm are obviously enhanced, and the local information of the specular highlight image is effectively restored. Therefore, through the comprehensive comparison of the enhancement effect of specular highlight images in different scenes, it can be concluded that the effectiveness of the proposed algorithm is better than that of the other algorithms.

Conclusion

45In this study, we focus on the images affected by highlights in real-life scenes. Our purpose is to enhance the information in specular highlight images so that the images are clearer, easier to identify and more valuable for practical application. Therefore, we propose a specular highlight image enhancement algorithm based on the dark channel prior. First, the algorithm is based on the dark channel prior and effectively estimates the global illumination component of the image by a moving window filter. Then, the weighting function based on the local pixel chromatic aberration is introduced in the boundary constraint to solve the existence of the image and the problem of halo artifacts. Next, the improved guided filter algorithm is used to optimize the transmittance and increase the calculation efficiency of the algorithm. Finally, in the LAB space, the CLAHE algorithm is used to enhance the image's brightness component L, A, B which is adaptive through adjusting the contrast of the image and enhancing the local details of the image. Experimental results show that the algorithm proposed in this study is significantly better than other algorithms based on both subjective and objective evaluations. Further research is anticipated towards specular highlight image enhancement of images from moving objects. A potential approach would be the use of spiking neural networks and dynamic vision sensors [35].

참고문헌 33건

  1. Real-Time Specular Highlight Removal Using Bilateral Filtering Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-15561-1_7
  2. Specularity Removal in Images and Videos: A PDE Approach Lecture notes in computer science · Springer Science+Business Media · 2006 10.1007/11744023_43
  3. Diffuse-Specular Separation and Depth Recovery from Image Sequences Lecture notes in computer science · Springer Science+Business Media · 2002 10.1007/3-540-47977-5_14
  4. Temporal-color space analysis of reflection Journal of the Optical Society of America A · Optica Publishing Group · 1994 10.1364/josaa.11.002990
  5. Saturation-preserving specular reflection separation 2015 10.1109/cvpr.2015.7298996
  6. Single image haze removal using dark channel prior 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 10.1109/cvpr.2009.5206515
  7. <i>Optics of the Atmosphere: Scattering by Molecules and Particles</i> Physics Today · AIP Publishing · 1977 10.1063/1.3037551
  8. Separation of specular and diffuse components using tensor voting in color images Applied Optics · Optica Publishing Group · 2014 10.1364/ao.53.007924
  9. Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation International Journal of Computer Vision · Springer Science+Business Media · 1996 10.1007/bf00128233
  10. Chromaticity-based separation of reflection components in a single image Pattern Recognition · Elsevier BV · 2008 10.1016/j.patcog.2008.01.026
  11. Separation of Highlight Reflections on Textured Surfaces 2006 10.1109/cvpr.2006.273
  12. Separating reflection components based on chromaticity and noise analysis IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2004 10.1109/tpami.2004.90
  13. Separating reflection components of textured surfaces using a single image IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2005 10.1109/tpami.2005.36
  14. Highlight removal by illumination-constrained inpainting 2003 10.1109/iccv.2003.1238333
  15. The measurement of highlights in color images International Journal of Computer Vision · Springer Science+Business Media · 1988 10.1007/bf00836279
  16. Simple and efficient method for specularity removal in an image Applied Optics · Optica Publishing Group · 2009 10.1364/ao.48.002711
  17. Beyond Lambert: Reconstructing Specular Surfaces Using Color 2005 10.1109/cvpr.2005.88
  18. Reflection Components Decomposition of Textured Surfaces Using Linear Basis Functions 2005 10.1109/cvpr.2005.298
  19. Separation of diffuse and specular reflection in color images 2005 10.1109/cvpr.2001.990495
  20. Specular Reflection Separation Using Dark Channel Prior 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2013 10.1109/cvpr.2013.192
  21. Efficient Image Dehazing with Boundary Constraint and Contextual Regularization 2013 10.1109/iccv.2013.82
  22. Real-time highlight removal using intensity ratio Applied Optics · Optica Publishing Group · 2013 10.1364/ao.52.004483
  23. The 4-source photometric stereo technique for three-dimensional surfaces in the presence of highlights and shadows IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2003 10.1109/tpami.2003.1233898
  24. Specular Reflection Separation With Color-Lines Constraint IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2675204
  25. Specular Highlight Removal in Facial Images 2017 10.1109/cvpr.2017.297
  26. Minimum preserving subsampling-based fast image de-fogging Journal of Modern Optics · Taylor & Francis · 2018 10.1080/09500340.2018.1499976
  27. Time-Space, Spiking Neural Networks and Brain-Inspired Artificial Intelligence Springer series on bio- and neurosystems · Springer International Publishing · 2018 10.1007/978-3-662-57715-8
  28. Effective Guided Image Filtering for Contrast Enhancement IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2018 10.1109/lsp.2018.2867896
  29. [papers] General Improvement Method of Specular Component Separation Using High-Emphasis Filter and Similarity Function ITE Transactions on Media Technology and Applications · 2019 10.3169/mta.7.92
  30. Fast and High Quality Highlight Removal From a Single Image IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2016 10.1109/tip.2016.2605002
  31. Improved color attenuation prior based image de-fogging technique Multimedia Tools and Applications · Springer Science+Business Media · 2020 10.1007/s11042-019-08240-6
  32. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1997 10.1023/a:1007937815113
  33. Deleted Work 1955