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

A Global Optimization Method for Specular Highlight Removal From a Single Image

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

기본 정보

저자
  1. Wenyao Xia — Robarts Research Institute, Western University, London, ON, Canada
  2. Elvis C. S. Chen — Robarts Research Institute, Western University, London, ON, Canada
  3. Stephen E. Pautler — Departments of Surgery and Oncology, Western University, London, ON, Canada
  4. Terry M. Peters — Robarts Research Institute, Western University, London, ON, Canada
DOI
10.1109/access.2019.2939229
저널
IEEE Access
발행년도
2019
발행기관
Institute of Electrical and Electronics Engineers
피인용수
31
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2019.2939229
토픽
Color Science and Applications
OpenAlex ID
W2971615301

평가 내용

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

초록

The presence of specular highlight is a critical issue for both natural and medical images such as those produced by laparoscopes, which can lead to erroneous visual tracking, stereo reconstruction, and image segmentation. Specular highlight removal from a single image is necessary for image analysis and applications. Due to the differences between natural and medical image scenes, existing literature to address this issue has only been effective on natural images or medical images with textureless regions. To overcome this limitation, we propose a global optimization method for specular highlight removal from a single image based on a dichromatic reflection model. In addition to introducing modified illumination chromaticity, the proposed method consists of two novel steps: one for estimating diffuse chromaticity by correcting hue and saturation on highlighted regions, and the other for estimating diffuse and specular reflection coefficients using convex optimization with double regularization. The estimated diffuse chromaticity is proven to approximate the true diffuse chromaticity and the proposed optimization algorithm is guaranteed to find the optimal diffuse coefficients. Experimental results show that the proposed method can effectively remove specular highlights from both natural images and endoscopic images with texture detail preservation. To further demonstrate the efficacy of our proposed method, an application of stereo reconstruction using a public dataset illustrates that our highlight removal method can enhance surface reconstruction accuracy from 1.10mm RMSD to 0.69mm RMSD.

본문 71,746자

본문 펼치기
Received August 7, 2019, accepted August 22, 2019, date of publication September 3, 2019, date of current version September 17, 2019. _Digital Object Identifier 10.1109/ACCESS.2019.2939229_ # A Global Optimization Method for Specular Highlight Removal From a Single Image WENYAO XIA 1,2, ELVIS C. S. CHEN 1,2, STEPHEN E. PAUTLER3, AND TERRY M. PETERS 1,2, (Fellow, IEEE) 1Robarts Research Institute, Western University, London, ON N6A 3K7, Canada 2Department of Medical Biophysics, Medical Imaging, School of Biomedical Engineering, Western University, London, ON N6A 3K7, Canada 3Departments of Surgery and Oncology, Western University, London, ON N6A 3K7, Canada Corresponding author: Wenyao Xia (wenyao_x@yahoo.ca) This work was supported in part by the Canadian Institutes for Health Research under Grant FDN 201409, in part by the Canadian Foundation for Innovation under Grant LEF 20994, in part by the Natural Sciences and Engineering Research Council of Canada under Grant RGPIN 2014 04504, and in part by the Ontario Graduate Scholarship. ABSTRACT The presence of specular highlight is a critical issue for both natural and medical images such as those produced by laparoscopes, which can lead to erroneous visual tracking, stereo reconstruction, and image segmentation. Specular highlight removal from a single image is necessary for image analysis and applications. Due to the differences between natural and medical image scenes, existing literature to address this issue has only been effective on natural images or medical images with textureless regions. To overcome this limitation, we propose a global optimization method for specular highlight removal from a single image based on a dichromatic reflection model. In addition to introducing modified illumination chromaticity, the proposed method consists of two novel steps: one for estimating diffuse chromaticity by correcting hue and saturation on highlighted regions, and the other for estimating diffuse and specular reflection coefficients using convex optimization with double regularization. The estimated diffuse chromaticity is proven to approximate the true diffuse chromaticity and the proposed optimization algorithm is guaranteed to find the optimal diffuse coefficients. Experimental results show that the proposed method can effectively remove specular highlights from both natural images and endoscopic images with texture detail preservation. To further demonstrate the efficacy of our proposed method, an application of stereo reconstruction using a public dataset illustrates that our highlight removal method can enhance surface reconstruction accuracy from 1.10mm RMSD to 0.69mm RMSD. INDEX TERMS Specular reflection separation, highlight removal, diffuse chromaticity estimation, convex optimization, natural image, endoscopic image. I. INTRODUCTION Digital images captured under discrete source illumination often contain specular reflections, which conceal useful image features such as colors and textures [1], [2]. Aside from natural images, the presence of specular highlights following the advancement of minimally invasive surgeries also becomes an important issue for endoscopic images. Minimally invasive surgery is performed through small incisions by using small tubes and cameras, leading to less trauma to the body than the traditional open surgery [3], [4]. Due to the proximity of the camera light source and organ surfaces, endoscopic images often suffer from strong specular The associate editor coordinating the review of this article and approving it for publication was Shiqi Wang. highlights, which can both negatively affect the visual quality and degrade the subsequent tasks of computer vision algorithms, such as visual tracking, stereo reconstruction, and image segmentation [5], [6]. In addition, regions with specular highlights may contain vital information relating to the organ such as color and textures. Therefore, it is desirable to remove specular reflections while preserving the original color and texture details of the organ surface for medical imaging applications. Numerous highlight removal methods have been presented in the literature. They can be categorized into multi-and single-image methods. The multiimage method employs different light information from a group of images. For example, Wang _et_ _al._ [22] proposed a energy minimization with respect to the local weighting coefficient for highlight removal from multiple images, based on a polarization filter. Shah _et al._ [17] proposed a specular highlight removal method from image sequences by using feature corresponding points. For a detailed survey on highlight removal methods, the reader may refer to [2] and the references therein. This paper focuses on specular reflection removal from a single color image. In contrast, the single-image method separates the reflection component using a single image only. In addition to conventional color histogram analysis [47], categorically they can be classified into dichromatic reflection modelbased [9]–[21], [23], [42]–[46], inpainting-based [24]–[29] and learning-based methods [30]–[32]. Since the dichromatic reflection model was introduced by Shafer [9], many modelbased methods have been presented. These methods were reported to be effective on natural images, but less so on medical images, since some assumptions made for natural images are not valid in a medical context such as endoscopy. In contrast, the inpainting-based method used in medical imaging mainly includes both highlight detection and inpainting correction. The inpainting-based method provides visually pleasing and coherent images when highlight regions are very small, yet their texture details in the inpainted specular highlight region are often lost, due to neighborhood interpolation limitation. In recent years, deep learning-based methods have become popular in the computer vision and medical imaging community. The learning-based method usually requires a good training set to be available and thus is not generalizable for different image scenes. Therefore, developing an accurate and efficient method for removing specular highlights from a single image with texture detail preservation remains a challenging issue. In this paper, we propose a global optimization method for specular highlight removal from a single image. The proposed method consists of modified illumination chromaticity and two novel steps: one for estimating diffuse chromaticity by correcting hue and saturation on highlighted regions, and another for estimating diffuse and specular reflection coefficients using convex optimization with double regularization. Experimental results demonstrate that the proposed method is more effective at removing specular highlights from both nature images and medical images, while preserving texture details. Finally, an application example for stereo reconstruction further illustrates that the proposed method can be useful for enhancing surface reconstruction accuracy from 1.10mm RMSD to 0.69mm RMSD. The contributions of this paper are four-fold: - A modified illumination chromaticity with parameter perturbation is introduced to solve the problem of illumination chromaticity on fully saturated highlight images. - A new diffuse chromaticity estimate is proposed by a joint RGB-space and HSV-space detection set, and an adaptive inpainting technique. - Theoretical analysis proves that the estimated diffuse chromaticity can approximate the true diffuse chromaticity. - A double gradient regularization-based convex optimization method for reflection coefficients is presented, and an iteration algorithm is guaranteed to find the optimal reflection coefficients. The paper is organized as follows. Section II briefly reviews related work of single-image methods for specular highlight removal, while Section III introduces the proposed method. Section IV gives performance analysis and algorithm implementation, and Section V reports the experimental results. Finally, the conclusion and discussion are presented in Section VI. II. RELATED WORK Single-image methods for highlight removal can be divided into three main categories: dichromatic reflection modelbased, inpainting-based, and learning-based methods. _A._ _DICHROMATIC REFLECTION MODEL-BASED METHODS_ The dichromatic reflection model [9] is widely used for studying reflection components of a natural color image, whose intensity _I_ ( x ) at pixel x = ( _x, y_ ) can be described as the combination of diffuse reflection _ID_ ( x ) and specular reflection _IS_ ( x ): _I_ ( x ) = _ID_ ( x ) + _IS_ ( x ) = _md_ ( x ) _�_ ( x ) + _ms_ ( x ) _�_ ( x ) _,_ (1) where _�_ ( x ) and _�_ ( x ) are the chromaticity of the diffuse reflection and illumination (specular) reflection and _md_ ( x ) and _ms_ ( x ) are the diffuse and specular reflection coefficients (parameters), respectively. In RGB color space, _I_ ( x ) = [ _Ir_ ( x ) _, Ig_ ( x ) _, Ib_ ( x )] <sup>_T_</sup> is the color intensity vector at pixel x, _�_ ( x ) = [ _�r_ ( x ) _, �g_ ( x ) _, �b_ ( x )] <sup>_T_</sup> is the diffuse chromaticity vector, and _�_ ( x ) = [ _�r_ ( x ) _, �g_ ( x ) _, �b_ ( x )] <sup>_T_</sup> is the illumination chromaticity vector. The goal of specular highlight removal is to obtain a specular-free image estimate, based on received highlight image _I_ ( x ). Because both diffuse chromaticity and reflection coefficients are unknown, specular highlight removal is an ill-posed and blind separation problem. Many dichromatic reflection model-based methods have been reported to be effective on natural images [9]–[23]. Considerable efforts were devoted to non-optimization modeling techniques, including pseudo specular-free image, color clustering, bilateral filter, and intensity ratio, respectively. In particular, by introducing a pseudo specular-free image Tan and Ikeuchi [14] proposed a highlight removal method without explicit color segmentation, based on diffuse pixel identification and chromaticity analysis [13]. Yang et al. [23] presented a robust diffuse chromaticity estimation method by applying a low-pass filter. To enhance computation speed, Shen and Cai [15] approximated the chromaticity of diffuse reflection using the pseudo specular-free image. By choosing a proper chromaticity threshold, Shen and Zheng [10] proposed a intensity ratio-based highlight removal method with color clustering so that the specular components can be easily computed. By using a bilateral filter, Yang _et al._ [11] proposed a specular highlight removal method under appropriate bilateral filter parameters. Suo _et_ _al._ [8] proposed an effective highlight removal method, by introducing adaptive color clustering so that diffuse components can be recovered quickly. By using color clustering, Ren _et_ _al._ [12] proposed a highlight removal method with color-line constraint so that the specular and diffuse components can be computed fast. Recently, for an effective application to ocean surface remote sensing images, Wang _et al._ [44] proposed a highlight removal method by modifying Shen’s method. To further improve Shen’s method, dos Santos Souza _et_ _al._ [45] proposed an improved clustering algorithm in the maximum and minimum chromaticity space derived from a pseudo specular free image, and then separate diffuse and specular components by an adaptive intensity ratio estimate. Optimization modeling-based methods for specular highlight removal from natural images have been developed in recent years. Most of them are based on the variation of the dichromatic reflection model: _I_ ˆ( x ) = _α_ ( x ) _�_ ( x ) + (1 − _α_ ( x )) _�_ ( x ) where _<u>I</u>_ <u>(</u> <u>x</u> <u>)</u> _<u>md</u>_ <u>(</u> <u>x</u> <u>)</u> _I_ ˆ( x ) = _�c_ ∈{ _r,g,b_ } _Ic_ ( x ) <sup>_,_</sup> _α_ ( x ) = _md_ ( x ) + _ms_ ( x ) <sup>_._</sup> In particular, Zhao _et al._ [20] proposed solving the following optimization problem: _f_ 1( _α_ ( x ) _, �_ ( x )) + _β_ 1 _f_ 2( _�_ ( x )) + _β_ 2 _f_ 3( _α_ ( x ) _, �_ ( x )) (2) min ( _α,�_ ) _x_ where _f_ 1 = ∥ _I_ <sup>ˆ</sup> ( x ) - _α_ ( x ) _�_ ( x ) - (1 - _α_ ( x )) _�_ ( x )∥ <sup>2</sup> 2 where _f_ 1 = ∥ _I_ <sup>ˆ</sup> ( x ) - _α_ ( x ) _�_ ( x ) - (1 - _α_ ( x )) _�_ ( x )∥ <sup>2</sup> 2 <sup>,</sup> <sup>_f_</sup> <sup>2</sup> <sup>=</sup> - z <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_,_</sup> <sup>z</sup> <sup>)∥</sup> <sup>_�_</sup> <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>_�_</sup> <sup>(</sup> <sup>z</sup> <sup>)∥2</sup> 2 <sup>, and</sup> <sup>_f_</sup> <sup>3</sup> <sup>is the structure similarity</sup> - z <sup>_w_</sup> <sup>(</sup> <sup>x</sup> <sup>_,_</sup> <sup>z</sup> <sup>)∥</sup> <sup>_�_</sup> <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>_�_</sup> <sup>(</sup> <sup>z</sup> <sup>)∥2</sup> 2 <sup>, and</sup> <sup>_f_</sup> <sup>3</sup> <sup>is the structure similarity</sup> function. Kim _et al._ [21] solved the following problem: _f_ 1( _α_ ( x ) _, �_ ( x )) + _β_ 1∥∇(1 − _α_ ( x ))∥2 + ∥∇ _�λ_ ( x ))∥1 + _β_ 2∥ _λ_ ( x )∥0 (3) where ∥· ∥∗ denotes the nuclear norm, _Y_ is an observed color matrix, _�d_ is a color dictionary matrix, _Wd_ is a matrix of weighting coefficients of pixels, _�_ is a column vector of illumination chromaticity, and _Ms_ is a row vector of specular highlights. Under the condition of a given color dictionary matrix, an alternating iteration scheme is presented by using an augmented Lagrange function to solve (4). _B._ _INPAINTING-BASED METHODS_ The inpainting-based method includes two main steps [6]. The first is to detect image highlights in each frame, based on various color spaces such as RGB, YUV, HSV, and HSI, respectively. The second is to correct the highlight pixels by using spatial and temporal pixel interpolation. Tan _et al._ [24] first introduced an inpainting method for highlight removal. Thereafter, joint detection and inpainting-based methods were presented in [24]–[29], [33], [34]. Oh _et_ _al._ [33] proposed one HSV space-based method for detecting specular highlights by using two threshold sets: _S_ ( x ) _< Ts,_ _V_ ( x ) _> Tv._ (5) where the highlight image was segmented into two areas, absolute and relative bright areas. Naturally, the detection method is effective but the detected relative bright areas may include white surfaces. Stehle [26] used a inpainting technique with texture filling, while Meslouhi _et_ _al._ [28] employed a reflection enhancement technique to improve highlight detection accuracy, and an inpainting-based algorithm for specular reflection removal in colposcopic images. Saint-Pierre _et_ _al._ [29] presented an inpainting technique to correct specular reflections in thoracoscopic images. Arnold _et_ _al._ [27] proposed a RGB space-based detection method, while Bernal _et al._ [34] proposed an modified RGB space-based method to enhance specular highlight detection. These inpainting-based methods are only effective on endoscopic images with very small highlight regions. In other cases, the texture details in the inpainted region are often lost due to neighborhood interpolation limitations. _C._ _LEARNING-BASED METHODS_ Machine Learning approaches have been well used in image feature extraction, image classification, and image enhancement. Unlike both the dichromatic reflection model-based method and inpainting-based method, the learning-based method for highlight removal has no specular highlight model assumption, yet it needs a proper training set and time-consuming network training [30], [31]. Recently, Funke _et al._ [32] presented a generative adversarial network for specular highlight removal in endoscopic images. To train this network, small image patches with specular highlights and patches without highlights are extracted from endoscopic videos. As a result, this method was reported to be effective on small image patches with specular highlights. Nevertheless, this method exhibits image contrast and border artifact problems when integrating highlight-removed patches back to the complete image. min ( _α,�,λ_ ) _x_ where ∥· ∥0 denote _l_ 0 norm. Akashi and Okatani [42] proposed a method for separating reflection components based on a sparse non-negative matrix factorization optimization method, where the estimation of diffuse colors and the separation of reflection components was performed. Li _et al._ [43] introduced a modified reflection model for facial skin images. Based on the reflection model, an optimization method for the diffuse and specular components was presented, where the objective function contains a data term as well as two regularization, isotropic and anisotropic smoothness terms. Wei _et al._ [18] presented an optimization method for specular highlight reduction by assuming that the surface geometry is known. These methods may estimate simultaneously diffuse and and specular reflection. Yet, because of the non-convexity of the associated objective function in these methods, an alternating direction algorithm is in general employed, and thus proper initial points are required due to local minima problem. For robustness to outliers, Guo _et_ _al._ [46] proposed a highlight removal method by solving the following nuclearnorm and _l_ 1-norm optimization problem: ( _Wd_ min _,�,Ms_ ) <sup>∥</sup> <sup>_Wd_</sup> <sup>∥∗</sup> <sup>+</sup> <sup>_λ_</sup> <sup>∥</sup> <sup>_Ms_</sup> <sup>∥1 +</sup> <sup>_τ_</sup> <sup>∥</sup> <sup>_Wd_</sup> <sup>∥1</sup> _Y_ = _�d_ _Wd_ + _�Ms,_ _Wd_ ≥ _O,_ _Ms_ ≥ _O_ (4) FIGURE 1. Scheme of proposed highlight removal method. III. PROPOSED METHOD To reduce the limitation of current highlight removal methods we propose a global optimization method for specular highlight removal from a single image based on the dichromatic model. First, we estimate the hue and saturation in HSV color space and obtain a diffuse chromaticity estimate by using the inverse transformation of HSV in RGB space. Second, using both the diffuse chromaticity estimate and modified illumination chromaticity, we minimize a double gradient regularization-based convex optimization problem to estimate diffuse reflection coefficients. Fig. 1 displays the workflow of our highlight removal method, which shows the relationship among various components that are discussed in subsequent subsections. As an illustrative example, Fig. 2 displays highlight removal results of both natural and medical images by three methods, where Figs. 2 (a) and (e) are highlight images. Figs. 2(b) and (f) are results by using our method, (c) and (g) are results by using an inpaintingbased method [29], and (d) and (h) are results by using a model based-method [12], where the specular free images are shown in the upper row and the separated specular FIGURE 2. Highlight removal results of both natural and medical images. (a) and (e) input highlight images, (b) and (f) results by our method, (c) and (g) results by inpainting-based method [29], and (d) and (h) results by model based-method [12], where the specular free images are displayed in upper row and the separated specular components are shown in lower row. TABLE 1. Comparison of characteristics of highlight removal methods. components are shown in the lower row. As shown in Figs. 2(c) and (g)(upper), the inpainting-based method cannot effectively remove highlights on the natural image and it loses the texture details in the inpainted region of the medical image. From Fig. 2(d)(upper) we observe that the modelbased method is more effective on the nature image but Fig. 2(d)(lower) displays its incorrect specular components. From Fig. 2(h)(upper), it is seen that the model-based method is less effective on the medical images due to color distortion in the highlight region. In contrast, Figs. 2(b) and (f) show our highlight removal results. It is seen that our proposed method can effectively remove the highlight from both natural and medical images, while preserving the textures and color of the original scene. Table 1 summarizes a comparison of the proposed method and current highlight removal methods in terms of technique characteristics and the scope of their application. Section IV shows the approximation of the estimated diffuse reflection and the global convergence of the proposed algorithm, respectively. Section V validates the effectiveness of the proposed method on specular highlight removal from a single natural image and endoscopic image with texture detail preservation. _A._ _MODIFIED ILLUMINATION CHROMATICITY_ The current dichromatic reflection model-based methods are less effective on endoscopic images, since the illumination chromaticity is often assumed to be uniform for a given RGB image such that _�r_ ( x ) = _�g_ ( x ) = _�b_ ( x ). Most of these approaches normalize the dichromatic reflection model by dividing the summation of its observed color image channels so that _�_ ( x ) = [1 _/_ 3 _,_ 1 _/_ 3 _,_ 1 _/_ 3] <sup>_T_</sup> [10]. It is also common in the literature to have unnormalized _I_ ( x ) in the range [0 _,_ 1], where _�_ ( x ) = [1 _,_ 1 _,_ 1] <sup>_T_</sup>, and 0 ≤ _md_ ( x ) _, ms_ ( x ) ≤ 1 [9]. However, because of the proximity of the light source to the organ surface, the specular highlights in endoscopic images are much stronger than those in natural images, such that some of the highlight pixels are saturated at maximum intensity. In other words, max{ _Ir_ ( x ) _, Ig_ ( x ) _, Ib_ ( x )} = 1. Without the loss of generality, we consider unnormalized endoscopic images. Let _X_ 0 denote the fully saturated highlight region. Then _I_ ( x ) = [1 _, η, θ_ ] <sup>_T_</sup> for any x ∈ _X_ 0 since _Ir_ ( x ) ≥ _max_ { _Ig_ ( x ) _, Ib_ ( x )}, where 0 ≤ _η_ ≤ 1 and 0 ≤ _θ_ ≤ 1. As a special case, _I_ ( x ) = [1 _,_ 1 _,_ 1] <sup>_T_</sup> for all x ∈ _X_ 0. From model (1) we thus have (1 − _ms_ ( x )) _�_ ( x ) = _md_ ( x ) _�_ ( x ) _._ (6) Since in vivo tissue is seldom pure white due to the presence of hemoglobin, the case that _�r_ = _�g_ = _�b_ is mostly invalid for the endoscopic images. As a result, from _�_ ( x ) = [1 _,_ 1 _,_ 1] <sup>_T_</sup> or _�_ ( x ) = [1 _/_ 3 _,_ 1 _/_ 3 _,_ 1 _/_ 3] <sup>_T_</sup> we get _md_ ( x ) = 0 for any x ∈ _X_ 0 and thus _ID_ ( x ) = _md_ ( x ) _�_ ( x ) = 0, which would force the restored specular-free image surface to contain a black hole on _X_ 0. To avoid the problem of conventional illumination chromaticity on the fully saturated specular reflection region in the endoscopic images, we introduce the following modified illumination chromaticity with parameter perturbation: _�ϵ_ ( x ) = [1 − _ϵ,_ 1 _,_ 1] <sup>_T_</sup> (7) where 1 _>_ _ϵ_ _>_ 0. When the highlight region is very small, _ϵ_ is chosen to be 0. Otherwise, _ϵ_ is in general chosen as the mean intensity of the neighborhood around the highlight region. _B._ _SPECULAR HIGHLIGHT DETECTION_ _AND COLOR CORRECTION_ 1) DESIGN OF HIGHLIGHT DETECTION SET To detect specular highlights, we propose using two detection sets in RGB and HSV spaces, respectively. Using HSV transformation _ϕ_ (·) [35], we convert the observed image _I_ ( _x_ ) from RGB space to hue: _H_ ( x ), saturation: _S_ ( x ), and value _V_ ( x ). We introduce one threshold detection set in HSV space: _XSV_ ( x ) = { x | _S_ ( _x_ ) _< α, V_ ( x ) _>_ 1 − _α_ } (8) Using the gradient magnitude of dark-channel image _I_ ˆ( x ) = min _c_ ∈{ _r,g,b_ } _Ic_ ( x ) we define another threshold detection set in RGB space: _XG_ ( x ) = { x | _G_ ( _x_ ) ≥ _τ_ } (9) where _α_ √ _<u>></u>_ <u>0</u> _<u>,</u>_ _<u>τ</u>_ _<u>></u>_ <u>0</u> <u>are</u> <u>mainly</u> <u>two</u> <u>threshold</u> values and window size. In Section V, by applying the proposed method with window sizes from 3×3 up till 11×11 to a natural image we observed that 7 × 7 is a relatively optimal window size. _C._ _DIFFUSE CHROMATICITY ESTIMATE_ Let _IH_ <sup>∗</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> <sup>be</sup> <sup>the</sup> <sup>corrected</sup> <sup>hue</sup> _H_ <sup>∗</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> Let _IH_ <sup>∗</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> <sup>be</sup> <sup>the</sup> <sup>corrected</sup> <sup>hue</sup> <sup>and</sup> <sup>saturation</sup> <sup>of</sup> <sup>an</sup> observed image _I_ ( x ) in HSV color space, respectively. The proposed diffuse chromaticity estimate is defined as _�_ <sup>∗</sup> ( x ) = _ϕ_ <sup>−1</sup> ( _IH_ <sup>∗</sup> <sup>_, I_</sup> _S_ <sup>∗</sup> <sup>_,_</sup> <sup>1)</sup> (15) _G_ ( x ) = <u>(</u> _<u>I</u>_ <sup>ˆ</sup> <u>(</u> _<u>x</u>_ <u>+1</u> _<u>,y</u>_ <u>)−</u> _<u>I</u>_ <sup>ˆ</sup> <u>(</u> _<u>x</u>_ <u>−1</u> _<u>,y</u>_ <u>))</u> <sup>2</sup> <u>+(</u> _<u>I</u>_ <sup>ˆ</sup> <u>(</u> _<u>x,y</u>_ <u>+1)−</u> _<u>I</u>_ <sup>ˆ</sup> <u>(</u> _<u>x,y</u>_ <u>−1))</u> <sup>2</sup> _G_ ( x ) = . 2 Based on (8) and (9), we propose a joint HSV and RGB-space detection set as below: _XSVG_ ( x ) = _XSV_ ( _x_ ) _XG_ ( x ) _._ (10) 2) CORRECTION OF HUE AND SATURATION According to (10), we correct the hue and saturation of the observed image in HSV space. For any x ∈ _XSVG_ ( x ), we correct the hue and saturation by using the adaptive inpainting update formulas below: <u>1</u> H <sup>∗</sup> ( _x_ ) = <u>�</u> _wSVG_ ( u ) _u_ ∈ _�_ ( x ) _u_ ∈ _�_ ( x ) H ( u ) _wSVG_ ( _u_ ) _,_ (11) S ( u ) _wHS_ ( x _,_ u ) (12) where _ϕ_ <sup>−1</sup> (·) is the inverse transformation from HSV color space to RGB color space. _D._ _CONVEX OPTIMIZATION FOR DIFFUSE REFLECTION_ According to (15) and Theorem 1 in Section IV, we see that _IDV_ may be viewed as a diffuse coefficient. So, the nonlinear dichromatic reflection model (1) may be further rewritten as the following linear dichromatic reflection model: _I_ ( x ) = _md_ ( x ) _�_ <sup>∗</sup> ( x ) + _ms_ ( x ) _�ϵ_ ( x ) + _δ_ ( x ) (16) where _δ_ ( x ) is the model error. To minimize the model error defined in (16), we minimize the data term: _E_ 1( _md_ ( x ) _, ms_ ( x )) = <sup><u>1</u></sup> 2 2 <sup>∥</sup> <sup>_md_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_�_</sup> <sup>∗(</sup> <sup>x</sup> <sup>) +</sup> <sup>_ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_�_</sup> <sup>∗</sup> <sup>−</sup> <sup>_I_</sup> <sup>(</sup> <sup>x</sup> <sup>)∥2</sup> (17) where ∥· ∥2 denotes the _l_ 2 norm and _�_ <sup>∗</sup> = _�ϵ_ . To overcome the ill-posed problem, we introduce double regularization. Because the specular-free image is smooth, its gradient changes slowly and thus we use one _l_ 2-norm regularization term. The specular image mainly consists of large bright region and its gradient tends to be sparse, so we use another _l_ 1-norm regularization term. Since the diffuse reflection and illumination chromaticity are given, we introduce the following double gradient regularization term: _E_ 2( _md_ ( x ) _, ms_ ( x )) = _β_ 1∥∇ _md_ ( x )∥ <sup>2</sup> 2 <sup>+</sup> <sup>_β_</sup> <sup>2||∇</sup> <sup>_ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)||1</sup> (18) where ∥· ∥1 denotes _l_ 1 norm, _β_ 1 and _β_ 2 are the regularization parameters, and ∇ _md_ ( x ) _,_ ∇ _ms_ ( x ) are the gradient of _md_ ( x ) _, ms_ ( x ), respectively. Because the two gradient regularization terms can describe the smoothness and nonsmoothness of diffuse and specular components, it is useful for texture detail preservation [36], [37]. By incorporating both (17) and (18), we propose a convex optimization method for diffuse reflection coefficients, which solves the following convex optimization problem: <u>1</u> S <sup>∗</sup> ( _x_ ) = <u>�</u> _w_ _wHS_ ( x _,_ u ) _u_ ∈ _�_ ( x ) _u_ ∈ _�_ ( x ) where _�_ ( _x_ ) denotes a window at pixel _x_ and two adaptive weights are defined as: _wSVG_ ( x ) = - _α,_ x ∈ _XSVG_ ( x ) (13) 1 _,_ _else_ _wHS_ ( x _,_ u ) = _e_ <sup>(</sup> <sup><u>−(</u></sup> <sup><u>H</u></sup> <sup><u>(</u></sup> <sup><u>x</u></sup> <sup><u>)</u></sup> _σ_ <sup><u>−2</u></sup> <sup><u>H</u></sup> <sup><u>(</u></sup> <sup><u>u</u></sup> <sup><u>))2</u></sup> ) _e_ −(1− S ( u )) <sup>2</sup> ) (14) where _σ_ is the spread parameter commonly used in guided bilateral filters, which is often taken as 0 _._ 01 [14]. _Remark_ _1:_ In general, the choice of window size _�_ ( _x_ ) affects the accuracy and computation of color inpainting for highlight removal. Taking a smaller window size may enhance the computation speed but reduce the accuracy of color inpainting, while a larger window size may improve the accuracy of color inpainting but increase computational cost. For a good balance between highlight removal quality and computational cost, we chose an optimal tradeoff min _md_ _,ms_ _x_ = _E_ 1( _md_ ( x ) _, ms_ ( x )) + _E_ 2( _md_ ( x ) _, ms_ ( x )) _s.t._ 0 ≤ _md_ ( x ) ≤ 1 _,_ 0 ≤ _ms_ ( x ) ≤ 1 (19) IV. PERFORMANCE ANALYSIS AND ALGORITHM IMPLEMENTATION In this section, we analyze the performance of the proposed method and algorithm implementation. _A._ _PERFORMANCE ANALYSIS_ As for the modified illumination chromaticity, we have the following property: _Proposition_ _1:_ Let the diffuse chromaticity _�_ ( _x_ ) be converted into hue: _�H_ ( x ), saturation: _�S_ ( x ), and value _�V_ ( x ) in HSV space. If _�ϵ_ ( x ) is taken in model (1) and _�V_ ( x ) = 1, then _md_ ( x ) _>_ 0 for any x ∈ _X_ 0. _Proof:_ See Appendix. _Remark 2:_ Proposition 1 shows that _�ϵ_ ( x ) can effectively handle the black hole problem in the saturated highlight regions. In addition, from the analysis of Proposition 1 we see that in the case that _I_ ( x ) = [1 _,_ 1 _,_ 1] <sup>_T_</sup> on the saturated highlight regions, Proposition 1 still holds for _�ϵ_ ( x ) = [1 _,_ 1 − _ϵ,_ 1] <sup>_T_</sup> or [1 _,_ 1 _,_ 1 − _ϵ_ ] <sup>_T_</sup> . However, in other cases that _I_ ( x ) = [1 _, η, θ_ ] <sup>_T_</sup> where 0 ≤ _η_ _<_ 1 and 0 ≤ _θ_ _<_ 1, it is difficult for us to take a proper _ϵ_ such that _md_ ( x ) _>_ 0. To analyze the approximation of the proposed diffuse chromaticity estimate, two useful properties of HSV transformation are first given as follows: _Proposition_ _2:_ Let _ϕ_ (·) be an HSV transformation which converts an image in RGB color space to an image in HSV color space. Then for any free color value _k_ _ϕ_ ( _kR, kG, kB_ ) = ( _H_ _, S, kV_ ) (20) _Proof:_ See Appendix. _Proposition_ _3:_ Let _ϕ_ <sup>−1</sup> (·) be an inverse transformation from HSV color space to RGB color space. Then _V_ _ϕ_ <sup>−1</sup> ( _H_ _, S,_ 1) = _ϕ_ <sup>−1</sup> ( _H_ _, S, V_ ) (21) _Proof:_ See Appendix. Based on Propositions 2 and 3, we establish our main result that the estimated diffuse chromaticity can approximate true diffuse chromaticity: _Theorem 1:_ Let _IH_ <sup>∗</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> <sup>be corrected hue and saturation</sup> respectively of the observed image _I_ ( x ) in HSV space, respectively. If _IH_ <sup>∗</sup> <sup>≈</sup> <sup>_IDH_</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> <sup>≈</sup> <sup>_IDS_</sup> <sup>where</sup> <sup>_IDH_</sup> <sup>and</sup> <sup>_IDS_</sup> <sup>are hue</sup> and saturation elements of diffuse reflection in HSV space, respectively, then _IDV �_ <sup>∗</sup> ( x ) ≈ _md_ ( x ) _�_ ( x ) (22) where _�_ ( x ) is the diffuse chromaticity and 0 ≤ _IDV_ ≤ 1 is the value element of diffuse reflection in HSV space. _Proof:_ See Appendix. _B._ _ALGORITHM IMPLEMENTATION_ To implement the proposed optimization method, we first reformulate (19) based on the following Theorem: _Theorem 2:_ Solving (19) is equivalent to solving where p ∈ _R_ <sup>2</sup> and q ∈ _R_ <sup>2</sup> are Lagrange multiplier vectors, and _P�_ 1(·) _, P�_ 2(·) _, P�_ 3(·) are the projection operators on sets _�_ 1 = { _md_ | 0 ≤ _md_ ≤ 1}, _�_ 2 = { _ms_ | 0 ≤ _ms_ ≤ 1}, and _�_ 3 = { p = ( _p_ 1 _, p_ 2) | | _pi_ | ≤ 1 ( _i_ = 1 _,_ 2)}, respectively, and _P�i_ ( _z_ ) = _arg_ _u_ min∈ _�i_ <sup>||</sup> <sup>_u_</sup> <sup>−</sup> <sup>_z_</sup> <sup>||2</sup> <sup>(</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_,_</sup> <sup>3)</sup> _Proof:_ See in Appendix Next, to compute the gradient in (23), we have _∂E_ _∂_ q <sup>=</sup> <sup>_β_</sup> <sup>1(∇</sup> <sup>_md_</sup> <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>q</sup> <sup>(</sup> <sup>x</sup> <sup>))</sup> <sup>_._</sup> _∂E_ _∂E_ _∂_ p <sup>=</sup> <sup>_β_</sup> <sup>2∇</sup> <sup>_ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> _∂_ q On the other hand, by using the Gauss-Ostrogradsky theorem [7] we have q <sup>_T_</sup> ∇ _md_ ( x ) = − _md_ ( x ) _div_ ( q ) _,_ p <sup>_T_</sup> ∇ _ms_ ( x ) = − _ms_ ( x ) _div_ ( p ) (24) where _div_ ( p ( x )) = _∂p_ 1( x ) _/∂x_ + _∂p_ 2( x ) _/∂y_ is the divergence of vector field p ( x ). Then _∂E_ _∂md_ and = ( _md_ ( x ) _�_ <sup>∗</sup> ( x )+ _ms_ ( x ) _�_ <sup>∗</sup> - _I_ ( x )) <sup>_T_</sup> _�_ <sup>∗</sup> ( x )− _β_ 1 _div_ ( q ( x )) _∂E_ _∂ms_ = ( _md_ ( x ) _�_ <sup>∗</sup> ( x )+ _ms_ ( x ) _�_ <sup>∗</sup> - _I_ ( x )) <sup>_T_</sup> _�_ <sup>∗</sup> - _β_ 2 _div_ ( p ( x )) _._ Combining the gradient representations above with (23), we introduce the following projection gradient algorithm for solving (19):  _∂E_ _m_ <sup>_k_</sup> _d_ <sup>+1</sup> ( x ) = _P�_ 1[ _m_ <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>_hk_</sup> ( _m_ <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_, mk_</sup> _s_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> <sup>q</sup> <sup>_k_</sup> <sup>(</sup> <sup>x</sup> <sup>))]</sup> _∂md_  _∂E_ _m_ <sup>_k_</sup> <sup>+1</sup> ( _m_ <sup>_k_</sup> _m_ <sup>_k_</sup> _d_ <sup>+1</sup> <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>_hk_</sup> <sup>_k_</sup> _s_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> <sup>q</sup> <sup>_k_</sup> <sup>(</sup> <sup>x</sup> <sup>))]</sup> <sup>_k_</sup> _d_ <sup>+1</sup> ( x ) = _P�_ 1[ _m_ <sup>_k_</sup> _d_ <sup>_k_</sup> _s_ <sup>+1</sup> ( x ) = _P�_ 2[ _m_ <sup>_k_</sup> _s_ ( _m_ <sup>_k_</sup> _d_ <sup>_k_</sup> _s_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k_</sup> <sup>(</sup> <sup>x</sup> <sup>))]</sup> _m_ <sup>_k_</sup> _s_ <sup>+1</sup> <sup>_k_</sup> _s_ <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>_hk_</sup> _∂E_ _∂md_ _∂E_ _∂ms_ ( _m_ <sup>_k_</sup> _d_ <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_, mk_</sup> _s_ <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_, mk_</sup> _s_  <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>q</sup> <sup>_k_</sup> <sup>(</sup> <sup>x</sup> <sup>))</sup> p <sup>_k_</sup> <sup>+1</sup> ( x ) = _P�_ 3[ p <sup>_k_</sup> ( x ) − _hk_ _β_ 2∇ _m_ <sup>_k_</sup> _s_ p <sup>_k_</sup> <sup>+1</sup> ( x ) = _P�_ 3[ p <sup>_k_</sup> ( x ) − _hk_ _β_ 2∇ _m_ <sup>_k_</sup> _s_ <sup>(</sup> <sup>x</sup> <sup>)]</sup> q <sup>_k_</sup> <sup>+1</sup> ( x ) = q <sup>_k_</sup> ( x ) − _hk_ _β_ 1(∇ _m_ <sup>_k_</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>) −</sup> <sup>q</sup> _Theorem 1:_ Let _IH_ <sup>∗</sup> _H_ <sup>∗</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup> _H_ <sup>∗</sup> <sup>≈</sup> <sup>_IDH_</sup> <sup>and</sup> <sup>_I_</sup> _S_ <sup>∗</sup>    _md_ ( x ) = _P�_ 1[ _md_ ( x ) − <sup>_∂E_</sup> <sup>_∂E_</sup> _∂E_ _∂_ p <sup>]</sup> <sup>_,_</sup> _∂_ q _∂md_ ] _ms_ ( x ) = _P�_ 2[ _ms_ ( x ) − <sup>_∂E_</sup> (23) (25) where _hk_ _>_ 0 is the step length. According to the analysis given in [38], the projection iterative algorithm can converge globally to the optimal solution of (19) provided that the step length is appropriately small. Finally, a specular highlight removal algorithm is described in Algorithm 1. _Remark_ _3:_ There are two threshold and regularization parameters in Algorithm 1 and their choices may depend on the lighting conditions of the image scene. For endoscopic images with bright illumination, because the specular-free image region is smoother than the specular image region, the gradient of the specular-free image should be smaller than the gradient of the specular image. Thus the _l_ 2-norm regularization term needs to be minimized. This implies that _β_ 1 should be greater than _β_ 2. On the other hand, _α_ is the threshold value on the saturation layer. Since the fully saturated highlight region tends to be pure white, setting _α_ to be small is helpful for its detection. Parameter _τ_ is used to control the gradient magnitude of dark channel image. Since endoscopic images have brighter regions than the natural images, _τ_ value for detecting endoscopic image should be greater than _τ_ that employed for natural images. _∂ms_ ] p ( x ) = _P�_ 3[ p ( x ) − <sup>_∂E_</sup> _∂_ p _∂_ q <sup>= 0</sup> FIGURE 3. Highlight removal results for analytic natural images: (a) Highlight images, (b) Our method, (c) paper [10], (d) paper [12], (e) paper [11], (f) paper [34],(g) paper [8],(h) paper [45]. TABLE 2. Quantitative comparison of separation results. <u>Algorithm 1</u> <u>For Specular Highlight Removal</u> 1: Input: specular highlight image _I_ ( x ) 2: Compute { _H_ ( x ) _, S_ ( x ) _, V_ ( x )} by HSV transformation 3: Compute highlight detection sets by (8) and (9) 4: Compute Hue estimate _H_ <sup>∗</sup> ( x ) by (11) 5: Compute Saturation estimate _S_ <sup>∗</sup> ( x ) by (12) 6: Compute diffuse chromaticity estimate by (15) 7: Compute _m_ <sup>∗</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>) by updating algorithm (25)</sup> 8: Compute _ID_ <sup>∗(</sup> <sup>x</sup> <sup>) =</sup> <sup>_m_</sup> <sup>∗</sup> _d_ <sup>∗</sup> _d_ <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_�_</sup> <sup>∗(</sup> <sup>x</sup> <sup>)</sup> 9: Output: Specular-free image estimate _ID_ <sup>∗(</sup> <sup>x</sup> <sup>)</sup> V. EXPERIMENTS AND RESULTS We evaluate the performance of the proposed method by testing natural and medical images. For natural images, we use the analytic and benchmark images which were used in previous studies [12]. For the medical images, we use the benchmark images from the well-known TMI dataset [41] and endoscopic images acquired from the local hospital. For specular highlight removal testing, we compare our method with five dichromatic reflection model-based methods: Shen’s [10], Yang’s [11], Suo’s [8], Ren’s [12], and Souza’s [45] methods, and two inpaintingbased methods: Saint-Pierre’s [29] and Bernal’s methods [34]. We perform the proposed algorithm on endoscopic images under design parameters _α_ = 0 _._ 05, _β_ 1 ∈ [1 _,_ 5], _β_ 2 = 0 _._ 1, and _τ_ ∈ [0 _._ 01 _,_ 0 _._ 1], and on natural images under design parameters _α_ = 0 _._ 1, _τ_ = 0 _._ 01, _β_ 1 = 3, and _β_ 2 = 0 _._ 1. _A._ _NATURAL IMAGE ASSESSMENT_ 1) ANALYTIC IMAGE TESTING To analyze the proposed method quantitatively, we compare our method with the state-of-the art methods on four natural synthetic images (Masks, Cups, Fruit, and Animals) that have known ground truth. Figs. 3(b)-(g) demonstrate highlight removal results by using seven methods. From them we see that our results are visually similar to those of Shen and Zheng [10], Yang _et_ _al._ [11], Suo _et_ _al._ [8], Ren _et_ _al._ [12], and Souza [45], and they are all better than Bernal’s approach [34]. Furthermore, to quantify the highlight removal performance, we use the peak signal-to-noise ratio (PSNR) and structural similarity image measurement (SSIM) as objective measures [13]. FIGURE 4. Highlight removal performance comparison under noise,(a) noise density = 0.01 for salt and pepper noise, noise variance = 0.01 for speckle noise, and _σ_ = 3 for Gaussian noise, (b) noise density = 0.02 for salt and pepper noise, noise variance = 0.02 for speckle noise, and _σ_ = 6 for Gaussian noise. FIGURE 5. Highlight removal results for benchmark natural images: (a) Highlight images, (b) Our method, (c) paper [10], (d) paper [12], (e) paper [11], (f) paper [34],(g) paper [8],(h) paper [45]. Table 2 lists the computed results by the seven methods. We see that the proposed method has competitive performance for highlight removal and structural information preservation, compared with the other six approaches. To explore the performance of the proposed method in the presence of noise, we performed our method and the other six methods on the four natural images with different types of noise: salt & pepper, speckle, and Gaussian noise, were added. PSNR was used as an evaluation metric. For our evaluation, we take the average PSNR of four images before and after removal of specular reflection. Let salt & pepper noise have noise density of 0 _._ 01, speckle noise have variance of 0 _._ 01, and Gaussian white noise have a standard deviation of _σ_ = 3. Fig. 4(a) displays their comparative results. Let salt & pepper noise have noise density of 0 _._ 02, speckle noise have variance of 0 _._ 02, and Gaussian white noise have a standard deviation of _σ_ = 6. Fig. 4(b) displays their comparative results. In Figs. 4(a) and 4(b), we see that the proposed method has an improvement in the PSNR of the processed images for speckle and Gaussian noise. On the other hand, the improvement achieved by the proposed method is less than these achieved by Bernal’s method due to the use of the median filter during inpainting process. FIGURE 6. Highlight removal results for benchmark endoscopic images: (a) Highlight images, (b) Our method, (c) paper [29], (d) paper [12], (e) paper [11], (f) paper [34]. 2) BENCHMARK IMAGE TESTING We studied four benchmark natural images (Fish, Wood, Lotus, and Watermelon) that have unknown ground truth [10]. Fig. 5 depicts the highlight removal results obtained by the seven methods. In terms of visual inspection, our method produces promising results, which indicates its effectiveness on the natural scenes. Similar to the other five dichromatic reflection model-based methods [8], [10]–[12], [45], our method is comparable in highlight removal, color recovery, and detail preservation. Compared with the inpaintingbased method [34], our method maintains the lightness and color fidelity of image background, which is shown in the fish (first row) and the lotus (third row) images in Fig. 5. _B._ _MEDICAL IMAGE ASSESSMENT_ 1) BENCHMARK IMAGE TESTING We studied two groups of benchmark images with saturated highlights and complex textures from the TMI dataset [41]. Fig. 6 demonstrates highlight removal results by five methods on five benchmark images. Highlight removal comparisons are shown in Fig. 6(b)-(f). As shown in Fig. 6(b), our approach removes specular highlights from all endoscopic images and preserves the original texture details and colors on organ surfaces. From local details shown in Fig. 6, it is seen that the other four methods are capable of removing specular highlights, but fail to preserve textures and colors. From Figs. 6(c) and (f), it is seen that Saint-Pierre’s [29] and Bernal’s methods [34] produce over-smooth images on the highlight regions. From Fig. 6(d) and (e), it is seen that the methods of both Yang _et_ _al._ [11] and Ren _et_ _al._ [12] cause heavy degradation and color distortion. Fig. 7 depicts highlight removal results of other five benchmark images. Highlight removal comparisons are shown in Fig. 7(b)-(e). In Fig. 7(b), our method removes specular highlights from all endoscopic images and preserves the original texture details and color on organ surfaces. Similarly, from Figs. 7(c) and (f) we see that both Saint-Pierre’s and Bernal’s methods result in overly smoothed images on the highlight regions. From Figs. 7 (d) and (e), we see that the methods of both Yang _et_ _al._ [11] and Ren _et_ _al._ [12] cause heavy degradation and color distortion. FIGURE 7. Highlight removal results for benchmark endoscopic images: (a) Highlight images, (b) Our method, (c) paper [29], (d) paper [12], (e) paper [11],(f) paper [34]. 2) REAL IMAGE TESTING We studied specular highlight removal from real laparoscopic images with saturated highlights and complex textures acquired from endoscopic surgeries. For our comparison, five real laparoscopic images are shown in Fig. 8(a). Figs. 8(b)-(f) display specular highlight removal results by five methods. It is seen that our method removes specular highlights from all laparoscopic images and preserves original texture details and color on organ surfaces shown in Fig. 8(b). In contrast, the saturated highlight regions are distorted by the methods of Shen and Zheng [10], Yang _et_ _al._ [11], Ren _et_ _al._ [12], and Bernal _et_ _al._ [34], shown in Fig. 8(c), (d), (e), and (f) respectively. 3) FORCED-CHOICE PREFERENCE TESTING For further quantitative validation, we performed a forcedchoice preference experiment on 20 specular highlight images acquired from real 2-D laparoscopic surgeries. Each image was processed by the proposed method and other four highlight removal methods [10]–[12], [34]. Twenty sets of testing images were created, where each set included 5 processed images. Our user study was performed under a protocol approved by the Research Ethics Board of Western University. Twenty clinicians with varying degrees of laparoscopy experience created the test group. The participants included 10 surgeons/fellows with over 5 years of experience and 10 medical residents with less than 5 years of experience. For each trial, two processed images randomly drawn from each image set were shown to the participants, who were blinded to the processing method, and were asked for their preferences. To reduce the number of trials, the previously preferred image remained in the next trial and was paired with an un-compared image from the image set. This process was repeated until all 5 images within the image set were compared and the last remaining preferred image was recorded. The above procedures were repeated for all 20 image sets, and the percentage of each algorithm with the most preferred choice was used as the user’s preference score. According to the feedback from the clinical participants, our approach produced the highest score, receiving an average approval rating of 76%, demonstrating significant favor from the participants, while the other four highlight removal methods received less than 24% approval rating. _C._ _APPLICATION TO STEREO RECONSTRUCTION_ The proposed method was applied to stereo reconstruction. We tested our method on 20 benchmark endoscopic images FIGURE 8. Highlight removal results for real laparoscopic images: (a) Highlight images, (b) Our method, (c) paper [10], (d) paper [12], (e) paper [11], (f) paper [34]. disparity map, while others have nonsmooth disparity maps that may lead to inaccurate reconstruction of the 3D surface. It shows that the proposed highlight removal approach has the potential to significantly enhance stereoscopic reconstruction accuracy. FIGURE 9. Disparity comparison results: (a) Input left highlight image, (b) Disparity map without highlight removal, (c) Disparity map with highlight removal by our algorithm (d) Disparity map with highlight removal by paper [34]. from the ‘‘Distance dataset’’ with known ground truth [41]. We performed the cost volume filtering method [40] for stereo reconstruction, based on the unprocessed dataset, the processed dataset by the proposed method, and by the inpainting-based method [34], respectively. The reconstructions based on the proposed method gave the average root mean square distance (RMSD) as 0.69 mm. In contrast, the reconstruction based on [34] yields an RMSD of 1.24 mm, and the unprocessed dataset 1.10 mm. Furthermore, Fig. 9 depicts the comparison of disparity results, where Fig. 9(b) is the disparity map without highlight removal, Fig. 9(c) depicts the result of following our highlight removal approach. Fig. 9(d) is the result of the following inpainting-based method. The red contours of the region of interest indicate that the proposed method gave a smooth VI. DISCUSSION AND CONCLUSION This paper proposes a global optimization method for specular highlight removal from a single image, based on the dichromatic reflection model that is widely used in natural images. For effectiveness on medical images, we take advantage of the fact that such images have very small color variation due to the lack of blue and green components, which leads to smooth varying hue in HSV space. We also observe that the saturation layer is smoothly varying, and which doesn’t contain any intensity edges in RGB space. Because of these properties, we obtain more accurate hue and saturation estimates using an adaptive inpainting technique. Theoretical analysis shows that estimated diffuse chromaticity can approximate true diffuse chromaticity so that the diffuse refection estimation error can be minimized. Using the estimated diffuse color and modified illumination color, we reformulate the specular highlight removal problem as a convex optimization problem with double regularization. In contrast, current non-convex optimization modeling-based methods for specular highlight removal may suffer from local minimum problem. Since two regularization terms can describe diffuse and specular component features, the proposed highlight removal method is able to not only remove highlights, but also preserve texture details. The quantitative experimental results demonstrate that the proposed method is effective on benchmark and real endoscopic images as well as natural images, in terms of both image quality and detail preservation, compared with several competing methods. Moreover, forced-choice preference experimental results confirm that the proposed method is accepted by medical experts. Furthermore, having effectively removed highlights from endoscopic images, the proposed method significantly enhances stereo-reconstruction surface accuracy and thus can provide surgeons more accurate depth information for automated surgical guidance. Because the proposed method combines the detection technique and optimization technique, it has relatively high computational cost. At present, the computational time of our method on our machine is 35 secs for a 600 × 700 benchmark endoscopic image, while the times for the approaches of Ren et al. is 9 secs; Saint-Pierre et al. is 120secs; Bernal et al. is 20 secs, and Yang et al. is 20 secs. Accelerating the proposed method is needed for real-time processing. While the proposed method running in MATLAB is clearly too slow for real-time operation, the procedure is highly parallelizable and amenable to GPU processing. Improvements to optimization procedures could also improve computational efficiency. In addition, temporal information may be helpful for color correction and diffuse chromaticity estimation. Thus, incorporating temporal information can further enhance computational speed and accuracy of the proposed algorithm, and will be the subject of future research. APPENDIX _PROOF OF PROPOSITION 1_ _Proof:_ Substituting _�ϵ_ ( x ) into (1), we have _I_ ( x ) = _md_ ( x ) _�_ ( x ) + _ms_ ( x ) _�ϵ_ ( x ) _._ (26) Then _Ig_ ( x ) = _md_ ( x ) _�g_ ( x ) + _ms_ ( x ), _Ib_ ( x ) = _md_ ( x ) _�b_ ( x ) + _ms_ ( x ), and _Ir_ ( x ) = _md_ ( x ) _�r_ ( x ) + _ms_ ( x )(1 - _ϵ_ ). If _I_ ( x ) = [1 _,_ 1 _,_ 1] <sup>_T_</sup> for any x ∈ _X_ 0, then _PROOF OF PROPOSITION 2_ _Proof:_ According to the standardized colorimetric transformation [35], we have three Hexcone formulas which convert RGB color space to HSV color space: _V_ = _max_ { _R, G, B_ }, _S_ = ( _V_ - _min_ { _R, G, B_ ) _/V_, and   0 _,_ _if_ _V_ = _min_ { _R, G, B_ } _<u>G</u>_ - _<u>B</u>_ (60 <sup>◦</sup> × _V_ - _min_ { _R, G, B_ } <sup>+360◦</sup> _H_ = _mod_ 360 <sup>◦</sup> _,_ _if_ _V_ = _R_ _<u>G</u>_ - _<u>B</u>_ (60 <sup>◦</sup> × _V_ - _min_ { _R, G, B_ } <sup>+360◦)</sup> <sup>_,_</sup> _if_ _V_ = _G_ _<u>G</u>_ - _<u>B</u>_ (60 <sup>◦</sup> × _V_ - _min_ { _R, G, B_ } <sup>+240◦)</sup> <sup>_,_</sup> _if_ _V_ = _B_    1 − _ms_ ( x )(1 − _ϵ_ ) = _md_ ( x ) _�r_ ( x ) 1 − _ms_ ( x ) = _md_ ( x ) _�g_ ( x ) 1 − _ms_ ( x ) = _md_ ( x ) _�b_ ( x )  Thus _md_ ( x ) _max_ { _�r_ ( x ) _, �g_ ( x ) _, �b_ ( x )} = _max_ {1 - _ms_ ( x ) _,_ 1 − _ms_ ( x )(1 − _ϵ_ )} = 1 − _ms_ ( x )(1 − _ϵ_ ). Because _�V_ ( x ) = _max_ { _�r_ ( x ) _, �g_ ( x ) _, �b_ ( x )}, we have _md_ ( x ) _�V_ ( x ) = 1 _ms_ ( x )(1 − _ϵ_ ) _._ From _�V_ ( x ) = 1 it follows that _md_ ( x ) = 1 − _ms_ ( x )(1 - _ϵ_ ) _>_ 0 since _ms_ ( x )(1 - _ϵ_ ) _<_ 1. If _I_ ( x ) = [1 _, η, θ_ ] <sup>_T_</sup> for any x ∈ _X_ 0 where 0 ≤ _η_ _<_ 1 and 0 ≤ _θ_ _<_ 1, then following above analysis we also have for any x ∈ _X_ 0 _md_ ( x ) = 1 − _ms_ ( x )(1 − _ϵ_ ) _>_ 0 _,_ ∀ _ϵ_ ∈ (0 _,_ 1) since 1 − _ms_ ( x )(1 − _ϵ_ ) ≥ _max_ { _η_ - _ms_ ( x ) _, θ_ - _ms_ ( x )}. (27) It is seen that _kV_ = _max_ { _kR, kG, kB_ } and ( _kV_ _min_ { _kR, kG, kB_ }) _/_ ( _kV_ ) = _k_ ( _V_ - _min_ { _R, G, B_ }) _/_ ( _kV_ ) = _S._ Again from (27) we have <u>(</u> _<u>kG</u>_ - _<u>kB</u>_ <u>)</u> <u>(</u> _<u>G</u>_ - _<u>B</u>_ <u>)</u> _kV_ - _min_ { _kR, kG, kB_ } <sup>=</sup> ( _V_ - _min_ { _R, G, B_ }) <sup>_._</sup> Thus (27) still holds for any ( _kR, kG, kB_ ) and _kV_ . It follows (20). _PROOF OF PROPOSITION 3_ _Proof:_ According to Proposition 2 we see for any free color pixel _µ >_ 0 _ϕ_ ( _µR, µG, µB_ ) = ( _H_ _, S, µV_ ) (28) Then _µ_ ( _R, G, B_ ) = _ϕ_ <sup>−1</sup> ( _H_ _, S, µV_ ) and thus ( _R, G, B_ ) = { _ϕ_ <sup>−1</sup> ( _H_ _, S, µV_ )} _/µ_ (29) Let _µ_ = 1 _/V_ . Then ( _R, G, B_ ) = _V_ _ϕ_ <sup>−1</sup> ( _H_ _, S,_ 1) (30) On the other side, we have ( _R, G, B_ ) = _ϕ_ <sup>−1</sup> ( _H_ _, S, V_ ) (31) From both (30) and (31) it follows (21). _PROOF OF THEOREM 1_ _Proof:_ Let the diffuse reflection vector be _ID_ ( x ) = ( _IDr_ _, IDg, IDb_ ) = _md_ ( x ) _�_ ( x ) _._ (32) Using HSV transformation we have _ϕ_ ( _IDr_ _, IDg, IDb_ ) = ( _IDH_ _, IDS_ _, IDV_ ) (33) By Proposition 3 we know that _ϕ_ <sup>−1</sup> ( _IDH_ _, IDS_ _,_ 1) = { _ϕ_ <sup>−1</sup> ( _IDH_ _, IDS_ _, IDV_ )} _/IDV_ . Then _H_ <sup>∗</sup> <sup>_, I_</sup> _S_ <sup>∗</sup> _ϕ_ <sup>−1</sup> ( _IH_ <sup>∗</sup> _S_ <sup>∗</sup> <sup>_,_</sup> <sup>1) ≈{</sup> <sup>_ϕ_</sup> <sup>−1(</sup> <sup>_IDH_</sup> <sup>_, IDS_</sup> <sup>_, IDV_</sup> <sup>)}</sup> <sup>_/IDV ._</sup> _H_ <sup>∗</sup> <sup>_, I_</sup> _S_ <sup>∗</sup> Note that _ϕ_ <sup>−1</sup> ( _IDH_ _, IDS_ _, IDV_ ) = _ϕ_ <sup>−1</sup> ( _ϕ_ ( _IDr_ _, IDg, IDb_ )) = ( _IDr_ _, IDg, IDb_ ) _._ Then _ϕ_ <sup>−1</sup> ( _IH_ <sup>∗</sup> _S_ <sup>∗</sup> <sup>_,_</sup> <sup>1) ≈</sup> <sup>(</sup> <sup>_IDr_</sup> <sup>_, IDg, IDb_</sup> <sup>)</sup> <sup>_/IDV ._</sup> By using _�_ <sup>∗</sup> ( x ) = _ϕ_ <sup>−1</sup> ( _IH_ <sup>∗</sup> _S_ <sup>∗</sup> <sup>_,_</sup> <sup>1) and (32), we obtain that</sup> _H_ <sup>∗</sup> <sup>_, I_</sup> _S_ <sup>∗</sup> _IDV �_ <sup>∗</sup> ( x ) ≈ ( _IDr_ _, IDg, IDb_ ) = _md_ ( x ) _�_ ( x ) _._ On the other side, because _ID_ ( x ) and _IS_ ( x ) are nonnegative, 0 ≤ _I_ ( x ) ≤ 1 implies that 0 ≤ _ID_ ( x ) ≤ 1. That is, 0 ≤ _IDr_ _, IDg, IDb_ ≤ 1. Note that _IDV_ = _max_ { _IDr_ _, IDg, IDb_ }. Then 0 ≤ _IDV_ ≤ 1. _PROOF OF THEOREM 2_ _Proof:_ Note that y <sup>_T_</sup> y _/_ 2 = max q { q <sup>_T_</sup> y - q <sup>_T_</sup> q _/_ 2} and || y ||1 = max|| p ||∞≤1{ p <sup>_T_</sup> y } for any vector y ∈ _R_ <sup>2</sup> where || p ||∞ = _max_ {| _p_ 1| _,_ | _p_ 2|}. (18) is thus rewritten as: _E_ 2( _md_ ( x ) _, ms_ ( x )) max p _,_ q <sup>_β_</sup> <sup>1(</sup> <sup>q</sup> <sup>_T_</sup> <sup>∇</sup> <sup>_md_</sup> <sup>(</sup> <sup>x</sup> <sup>) −||</sup> <sup>q</sup> <sup>||</sup> 2 <sup>2</sup> = max 2 <sup>2</sup> <sup>_/_</sup> <sup>2) +</sup> <sup>_β_</sup> <sup>2</sup> <sup>p</sup> <sup>_T_</sup> <sup>∇</sup> <sup>_ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> (34) where q _,_ p ∈ _R_ <sup>2</sup> and || _p_ ∥∞ ≤ 1. Let _E_ ( _md_ ( x ) _, ms_ ( x ) _,_ p _,_ q ) = _E_ 1( _md_ ( x ) _, ms_ ( x )) + _β_ 1 q <sup>_T_</sup> ∇ _md_ ( x ) − _β_ 1|| q || <sup>2</sup> 2 <sup>2</sup> 2 <sup>_/_</sup> <sup>2</sup> + _β_ 2 p <sup>_T_</sup> ∇ _ms_ ( x ) (35) where _�_ 1, _�_ 2, and _�_ 3 are defined in (23). Then solving (19) is equivalent to solving: _m_ min _d_ _,ms_ <sup>max</sup> p _,_ q <sup>_E_</sup> <sup>(</sup> <sup>_md_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_, ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> <sup>p</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>_,_</sup> <sup>q</sup> <sup>(</sup> <sup>x</sup> <sup>))</sup> _s.t._ ( _md_ ( x ) _, ms_ ( x )) ∈ _�_ 1 × _�_ 2 ( p ( x ) _,_ q ( x )) ∈ _�_ 3 × _R_ <sup>2</sup> _._ (36) According to the saddle point theorem [38], ( _m_ <sup>∗</sup> _d_ According to the saddle point theorem [38], ( _m_ <sup>∗</sup> _d_ <sup>_, m_</sup> _s_ <sup>∗</sup> <sup>_,_</sup> <sup>p</sup> <sup>∗</sup> <sup>_,_</sup> <sup>q</sup> <sup>∗)</sup> is a global minimum point of (36) if and only if for any ( _md_ _, ms,_ p _,_ q ) ∈ _�_ 1 × _�_ 2 × _�_ 3 × _R_ <sup>2</sup> <sup>∗</sup> _d_ <sup>_, m_</sup> _s_ <sup>∗</sup> _E_ ( _m_ <sup>∗</sup> _d_ <sup>∗</sup> _d_ <sup>_, m_</sup> <sup>∗</sup> _s_ <sup>∗</sup> _s_ <sup>_,_</sup> <sup>p</sup> <sup>_,_</sup> <sup>q</sup> <sup>) ≤</sup> <sup>_E_</sup> <sup>(</sup> <sup>_m_</sup> _d_ <sup>∗</sup> _d_ <sup>∗</sup> <sup>_, m_</sup> <sup>∗</sup> _s_ <sup>∗</sup> _s_ <sup>_,_</sup> <sup>p</sup> <sup>∗</sup> <sup>_,_</sup> <sup>q</sup> <sup>∗) ≤</sup> <sup>_E_</sup> <sup>(</sup> <sup>_md_</sup> <sup>_, ms,_</sup> <sup>p</sup> <sup>∗</sup> <sup>_,_</sup> <sup>q</sup> <sup>∗)</sup> <sup>_._</sup> (37) ACKNOWLEDGMENTS The authors would like to thank the associate editor and reviewers for their encouragement and valued comments. The authors would also like to thank Dr. John S.H. Baxter and Dr. Jonathan McLeod for the valuable discussions and thank Jackie Williams for paper editing. REFERENCES [1] D. A. Ross, J. Lim, R.-S. Lin, and M.-H. Yang, ‘‘Incremental learning for robust visual tracking,’’ _Int. J. Comput. Vis._, vol. 77, nos. 1–3, pp. 125–141, 2008. [2] A. Artusi, F. Banterle, and D. Chetverikov, ‘‘A survey of specularity removal methods,’’ _Comput. Graph. Forum_, vol. 30, no. 8, pp. 2208–2230, 2011. [3] C. Nezhat, F. Nezhat, and C. Nezhat, _Nezhat’s Video-Assisted and Robotic-_ _Assisted_ _Laparoscopy_ _and_ _Hysteroscopy_ _with_ _DVD_ . Cambridge, U.K.: Cambridge Univ. Press, 2013. [4] X. Luo, K. Mori, and T. M. Peters, ‘‘Advanced endoscopic navigation: Surgical big data, methodology, and applications,’’ _Annu._ _Rev._ _Biomed._ _Eng._, vol. 20, no. 1, pp. 221–251, 2018. [5] M. W. Tao, J.-C. Su, T.-C. Wang, J. Malik, and R. Ramamoorthi, ‘‘Depth estimation and specular removal for glossy surfaces using point and line consistency with light-field cameras,’’ _IEEE_ _Trans._ _Pattern_ _Anal._ _Mach._ _Intell._, vol. 38, no. 6, pp. 1155–1169, Jun. 2016. [6] B. Münzer, K. Schoeffmann, and L. Böszörmenyi, ‘‘Content-based pro cessing and analysis of endoscopic images and videos: A survey,’’ _Multi-_ _media Tools Appl._, vol. 77, no. 1, pp. 1323–1362, 2018. [7] J. S. H. Baxter, M. Rajchl, A. J. McLeod, J. Yuan, and T. M. Peters, ‘‘Directed acyclic graph continuous max-flow image segmentation for unconstrained label orderings,’’ _Int._ _J._ _Comput._ _Vis._, vol. 123, no. 3, pp. 415–434, 2017. [8] 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. [9] S. A. Shafer, ‘‘Using color to separate reflection components,’’ _Color Res._ _Appl._, vol. 10, no. 4, pp. 210–218, 1985. [10] H.-L. Shen and Z.-H. Zheng, ‘‘Real-time highlight removal using intensity ratio,’’ _Appl. Opt._, vol. 52, no. 19, pp. 4483–4493, Jul. 2013. [11] Q. Yang, J. Tang, and N. Ahuja, ‘‘Efficient and robust specular high light removal,’’ _IEEE_ _Trans._ _Pattern_ _Anal._ _Mach._ _Intell._, vol. 37, no. 6, pp. 1304–1311, Jun. 2015. [12] 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. [13] 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. [14] 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. [15] H.-L. Shen and Q.-Y. Cai, ‘‘Simple and efficient method for specularity removal in an image,’’ _Appl. Opt._, vol. 48, no. 14, pp. 2711–2719, 2009. [16] J. Yang, L. Liu, and S. Z. Li, ‘‘Separating specular and diffuse reflection components in the HSI color space,’’ in _Proc. IEEE Int. Conf. Comput. Vis._ _Workshops_, Jun. 2013, pp. 891–898. [17] S. M. Z. A. Shah, S. Marshall, and P. Murray, ‘‘Removal of specular reflections from image sequences using feature correspondences,’’ _Mach._ _Vis. Appl._, vol. 28, nos. 3–4, pp. 409–420, 2017. [18] X. Wei, X. Xu, J. Zhang, and Y. Gong, ‘‘Specular highlight reduction with known surface geometry,’’ _Comput. Vis. Image Understand._, vol. 168, pp. 132–144, Mar. 2018. [19] 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, no. 33, pp. 7924–7936, 2014. [20] Y. Zhao, Q. Peng, J. Xue, and S. G. Kong, ‘‘Specular reflection removal using local structural similarity and chromaticity consistency,’’ in _Proc._ _IEEE Int. Conf. Image Process. (ICIP)_, Sep. 2015, pp. 3397–3401. [21] H. Kim, H. Jin, S. Hadap, and I. Kweon, ‘‘Specular reflection separation using dark channel prior,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit. (CVPR)_, Jun. 2013, pp. 1460–1467. From the right inequality of (37), ( _m_ <sup>∗</sup> _d_ <sup>∗</sup> _d_ <sup>_, m_</sup> <sup>∗</sup> _s_ <sup>∗</sup> _d_ <sup>_, m_</sup> <sup>∗</sup> _s_ From the right inequality of (37), ( _m_ <sup>∗</sup> _d_ <sup>_, m_</sup> <sup>∗</sup> _s_ <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>minimum</sup> point of _E_ ( _md_ _, ms,_ p <sup>∗</sup> _,_ q <sup>∗</sup> ). From [39] it follows that ( _m_ <sup>∗</sup> _d_ <sup>_, m_</sup> <sup>∗</sup> _s_ <sup>)</sup> satisfies: <sup>∗</sup> _d_ <sup>)</sup> <sup>_∂E_</sup> ( _md_ - _m_ <sup>∗</sup> _d_ _∂md_ and <sup>∗</sup> _s_ <sup>)</sup> <sup>_∂E_</sup> _∂ms_ ( _ms_ - _m_ <sup>∗</sup> _s_ _∂ms_ ≥ 0 _,_ ∀ _md_ ∈ _�_ 1 _._ (38) ≥ 0 _,_ ∀ _ms_ ∈ _�_ 2 _._ (39) Similarly, from the left inequality of (38), we see that ( p <sup>∗</sup> _,_ q <sup>∗</sup> ) is a minimum point of _E_ ( _m_ <sup>∗</sup> _d_ <sup>_, m_</sup> _s_ <sup>∗</sup> <sup>_,_</sup> <sup>p</sup> <sup>_,_</sup> <sup>q</sup> <sup>). It follows that</sup> <sup>∗</sup> _d_ <sup>_, m_</sup> _s_ <sup>∗</sup> _s_ <sup>∗</sup> <sup>_,_</sup> <sup>p</sup> <sup>_,_</sup> <sup>q</sup> <sup>). It follows that</sup> ( p - p ∗) <sup>_T ∂_</sup> _∂_ <sup>_<u>E</u>_</sup> p <sup>≥</sup> <sup>0</sup> <sup>_,_</sup> ∀ p ∈ _�_ 3 (40) and ( q - q <sup>∗</sup> ) <sup>_T ∂_</sup> _∂_ <sup>_<u>E</u>_</sup> q <sup>≥</sup> <sup>0</sup> <sup>_,_</sup> ∀ q ∈ _R_ <sup>2</sup> _._ (41) According to the projection Theorem [39], (38) equals _<u>∂E</u>_ _md_ ( x ) = _P�_ 1[ _md_ ( x ) - _<u>∂md</u>_ <sup>]</sup> <sup>_,_</sup> <sup>(39)</sup> <sup>equals</sup> <sup>_ms_</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> = _<u>∂E</u>_ _P�_ 2[ _ms_ ( x ) - _<u>∂ms</u>_ <sup>]</sup> <sup>_,_</sup> <sup>(40)</sup> <sup>equals</sup> <sup>p</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>=</sup> <sup>_P�_</sup> <sup>3[</sup> <sup>p</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>−</sup> <sup>_<u>∂</u>_</sup> _<u>∂</u>_ <sup>_<u>E</u>_</sup> p <sup>]</sup> <sup>_,_</sup> _<u>∂E</u>_ _P�_ 2[ _ms_ ( x ) - _<u>∂ms</u>_ <sup>]</sup> <sup>_,_</sup> <sup>(40)</sup> <sup>equals</sup> <sup>p</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>=</sup> <sup>_P�_</sup> <sup>3[</sup> <sup>p</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>−</sup> <sup>_<u>∂</u>_</sup> _<u>∂</u>_ <sup>_<u>E</u>_</sup> p <sup>]</sup> <sup>_,_</sup> and (41) equals <sup>_<u>∂</u>_</sup> _<u>∂</u>_ <sup>_<u>E</u>_</sup> q <sup>= 0.</sup> <sup>_<u>∂</u>_</sup> _<u>∂</u>_ <sup>_<u>E</u>_</sup> q <sup>= 0.</sup> [22] F. Wang, S. Ainouz, C. Petitjean, and A. Bensrhair, ‘‘Polarization-based specularity removal method with global energy minimization,’’ in _Proc._ _IEEE Int. Conf. Image Process. (ICIP)_, Sep. 2016, pp. 1983–1987. [23] Q. Yang, S. Wang, N. Ahuja, and R. Yang, ‘‘A uniform framework for estimating illumination chromaticity, correspondence, and specular reflection,’’ _IEEE_ _Trans._ _Image_ _Process._, vol. 20, no. 1, pp. 53–63, Jan. 2011. [24] P. Tan, S. Lin, L. Quan, and H.-Y. Shum, ‘‘Highlight removal by illumination-constrained inpainting,’’ in _Proc. 9th IEEE Int. Conf. Comput._ _Vis. (ICCV)_, Oct. 2003, pp. 164–169. [25] F. Ortiz and F. Torres, ‘‘A new inpainting method for highlights elimination by colour morphology,’’ in _Proc. Int. Conf. Pattern Recognit. Image Anal._, 2005, pp. 368–376. [26] T. Stehle, ‘‘Removal of specular reflections in endoscopic images,’’ _Acta_ _Polytechnica, J. Adv. Eng._, vol. 46, no. 4, pp. 32–36, 2006. [27] M. Arnold, A. Ghosh, S. Ameling, and G. Lacey, ‘‘Automatic segmentation and inpainting of specular highlights for endoscopic imaging,’’ _EURASIP_ _J. Image Video Process._, vol. 2010, Dec. 2010, Art. no. 814319. [28] O. Meslouhi, M. Kardouchi, H. Allali, T. Gadi, and Y. Benkaddour, ‘‘Auto matic detection and inpainting of specular reflections for colposcopic images,’’ _Open Comput. Sci._, vol. 1, no. 3, pp. 341–354, 2011. [29] C.-A. Saint-Pierre, J. Boisvert, G. Grimard, and F. Cheriet, ‘‘Detection and correction of specular reflections for automatic surgical tool segmentation in thoracoscopic images,’’ _Mach._ _Vis._ _Appl._, vol. 22, no. 1, pp. 171–180, Jan. 2011. [30] S.-T. Lee, T.-H. Yoon, K.-S. Kim, K.-D. Kim, and W. Park, ‘‘Removal of specular reflections in tooth color image by perceptron neural nets,’’ in _Proc. 2nd Int. Conf. Signal Process. Syst._, Jul. 2010, pp. V1-285–V1-289. [31] A. Morgand and M. Tamaazousti, ‘‘Generic and real-time detection of specular reflections in images,’’ in _Proc._ _Int._ _Conf._ _Comput._ _Vis._ _Theory_ _Appl. (VISAPP)_, Jan. 2014, pp. 274–282. [32] I. Funke, S. Bodenstedt, C. Riediger, J. Weitz, and S. Speidel, ‘‘Gener ative adversarial networks for specular highlight removal in endoscopic images,’’ _Proc. SPIE_, vol. 10576, Mar. 2018, Art. no. 1057604. [33] J. Oh, S. Hwang, J. Lee, W. Tavanapong, J. Wong, and P. C. de Groen, ‘‘Informative frame classification for endoscopy video,’’ _Med._ _Image_ _Anal._, vol. 11, no. 2, pp. 110–127, Apr. 2007. [34] J. Bernal, J. Sánchez, and F. Vilariño, ‘‘Impact of image preprocess ing methods on polyp localization in colonoscopy frames,’’ in _Proc._ _35th_ _Annu._ _Int._ _Conf._ _IEEE_ _Eng._ _Med._ _Biol._ _Soc._ _(EMBC)_, Jul. 2013, pp. 7350–7354. [35] A. R. Smith, ‘‘Color gamut transform pairs,’’ in _Proc._ _5th_ _Annu._ _Conf._ _Comput. Graph. Interact. Techn. (SIGGRAPH)_, 1978, pp. 12–19. [36] J.-F. Aujol, G. Gilboa, T. Chan, and S. Osher, ‘‘Structure-texture image decomposition—Modeling, algorithms, and parameter selection,’’ _Int._ _J. Comput. Vis._, vol. 67, no. 1, pp. 111–136, 2006. [37] H. Schaeffer and S. Osher, ‘‘A low patch-rank interpretation of texture,’’ _SIAM J. Imag. Sci._, vol. 6, no. 1, pp. 226–262, 2013. [38] S. Boyd and L. Vandenberghe, _Convex_ _Optimization_ . Cambridge, U.K.: Cambridge Univ. Press, 2015. [39] D. Kinderlehrer and G. Stampacchia, _An_ _Introduction_ _to_ _Variational_ _Inequalities_ _and_ _Their_ _Applications_ . New York, NY, USA: Academic, 1980. [40] A. Hosni, C. Rhemann, M. Bleyer, C. Rother, and M. Gelautz, ‘‘Fast cost-volume filtering for visual correspondence and beyond,’’ _IEEE Trans._ _Pattern Anal. Mach. Intell._, vol. 35, no. 2, pp. 504–511, Feb. 2013. [41] L. Maier-Hein _et al._, ‘‘Comparative validation of single-shot optical tech niques for laparoscopic 3-D surface reconstruction,’’ _IEEE_ _Trans._ _Med._ _Imag._, vol. 33, no. 10, pp. 1913–1930, Oct. 2014. [42] Y. Akashi and T. Okatani, ‘‘Separation of reflection components by sparse non-negative matrix factorization,’’ _Comput._ _Vis._ _Image_ _Under-_ _stand._, vol. 146, pp. 77–85, May 2016. [43] C. Li, S. Lin, K. Zhou, and K. Ikeuchi, ‘‘Specular highlight removal in facial images,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, 2017, pp. 3107–3116. [44] S. Wang, C. Yu, Y. Sun, F. Gao, and J. Dong, ‘‘Specular reflection removal of ocean surface remote sensing images from UAVs,’’ _Multimedia_ _Tools_ _Appl._, vol. 77, no. 9, pp. 11363–11379, 2018. [45] A. C. dos Santos Souza, M. C. de Farias Macedo, V. P. do Nascimento, and B. S. Oliveira, ‘‘Real-time high-quality specular highlight removal using efficient pixel clustering,’’ in _Proc. 31st SIBGRAPI Conf. Graph., Patterns_ _Images (SIBGRAPI)_, Parana, Brazil, Oct./Nov. 2018, pp. 56–63. [46] J. Guo, Z. Zhou, and L. Wang, ‘‘Single image highlight removal with a sparse and low-rank reflection model,’’ in _Computer_ _Vision—ECCV_ (Lecture Notes in Computer Science), 2018, pp. 282–298. [47] J. Khan, A. S. Malik, N. Kamel, and S. C. Dass, ‘‘Highlights removal using reflected energy and histogram analysis,’’ _J. Eng. Res._, vol. 7, no. 1, pp. 1–13, 2019. WENYAO XIA received the bachelor’s degree in engineering science and the master’s degree in electrical and computer engineering from the University of Toronto, in 2011 and 2013, respectively. He is currently pursuing the Ph.D. degree in medical biophysics with Western University. His current research interests include image enhancement, stereo matching, deep learning, and their applications in medical images. ELVIS C. S. CHEN received the Ph.D. degree from the School of Computing, Queen’s University, Canada, in 2007. He is currently a Scientist with Robarts Research Institute, with cross appointments to Western University, Canada. He is working in the field of computer-assisted surgery, his research goal is to assist surgeons in their surgical delivery by devising novel computerized surgical workflow. His research interests include surgical metrology, visualization and perception, medical robotics, and mixed reality environments. STEPHEN E. PAUTLER graduated from the Medical School, University of Calgary, in 1995, and subsequently completed the urology residency at Western University. He is currently an Associate Professor with the Departments of Surgery and Oncology. His research interests include the application of minimally invasive surgical techniques and image-guided ablative procedures for urologic cancers. TERRY M. PETERS received the Ph.D. degree in electrical engineering from University of Canterbury, in 1973. He is currently a Professor of medical biophysics with Western University and a Scientist with Robarts Research Institute. His research interests include image-guided surgery, 3-D visualization, instrument tracking, multimodality image registration, cardiac imaging, stereoscopic visualization, and virtual reality.

섹션 본문

섹션 본문이 없습니다.

참고문헌 45건

  1. An Introduction to Variational Inequalities and Their Applications 2000 10.1137/1.9780898719451
  2. A New Inpainting Method for Highlights Elimination by Colour Morphology Lecture notes in computer science · Springer Science+Business Media · 2005 10.1007/11552499_42
  3. Separation of reflection components by sparse non-negative matrix factorization Computer Vision and Image Understanding · Elsevier BV · 2015 10.1016/j.cviu.2015.09.001
  4. Generic and Real-time Detection of Specular Reflections in Images 2014 10.5220/0004680102740282
  5. A Uniform Framework for Estimating Illumination Chromaticity, Correspondence, and Specular Reflection IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2010 10.1109/tip.2010.2055573
  6. Separating Specular and Diffuse Reflection Components in the HSI Color Space IEEE International Conference on Computer Vision Workshops · 2013 10.1109/iccvw.2013.122
  7. A Low Patch-Rank Interpretation of Texture SIAM Journal on Imaging Sciences · Society for Industrial and Applied Mathematics · 2013 10.1137/110854989
  8. Using color to separate reflection components Color Research & Application · Wiley · 1985 10.1002/col.5080100409
  9. Comparative Validation of Single-Shot Optical Techniques for Laparoscopic 3-D Surface Reconstruction IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 2014 10.1109/tmi.2014.2325607
  10. Impact of image preprocessing methods on polyp localization in colonoscopy frames 2013 10.1109/embc.2013.6611256
  11. Removal of specular reflections in tooth color image by perceptron neural nets 2010 10.1109/icsps.2010.5555624
  12. Separation of specular and diffuse components using tensor voting in color images Applied Optics · Optica Publishing Group · 2014 10.1364/ao.53.007924
  13. Structure-Texture Image Decomposition—Modeling, Algorithms, and Parameter Selection International Journal of Computer Vision · Springer Science+Business Media · 2006 10.1007/s11263-006-4331-z
  14. Automatic detection and inpainting of specular reflections for colposcopic images Open Computer Science · De Gruyter · 2011 10.2478/s13537-011-0020-2
  15. Automatic Segmentation and Inpainting of Specular Highlights for Endoscopic Imaging EURASIP Journal on Image and Video Processing · Springer Nature · 2010 10.1155/2010/814319
  16. Efficient and Robust Specular Highlight Removal IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2014 10.1109/tpami.2014.2360402
  17. Informative frame classification for endoscopy video Medical Image Analysis · Elsevier BV · 2007 10.1016/j.media.2006.10.003
  18. Detection and correction of specular reflections for automatic surgical tool segmentation in thoracoscopic images Machine Vision and Applications · Springer Science+Business Media · 2007 10.1007/s00138-007-0099-6
  19. Color gamut transform pairs 1978 10.1145/800248.807361
  20. 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
  21. 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
  22. A Survey of Specularity Removal Methods Computer Graphics Forum · Wiley · 2011 10.1111/j.1467-8659.2011.01971.x
  23. Highlight removal by illumination-constrained inpainting 2003 10.1109/iccv.2003.1238333
  24. Simple and efficient method for specularity removal in an image Applied Optics · Optica Publishing Group · 2009 10.1364/ao.48.002711
  25. Incremental Learning for Robust Visual Tracking International Journal of Computer Vision · Springer Science+Business Media · 2007 10.1007/s11263-007-0075-7
  26. Specular Reflection Separation Using Dark Channel Prior 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2013 10.1109/cvpr.2013.192
  27. Fast Cost-Volume Filtering for Visual Correspondence and Beyond IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2012 10.1109/tpami.2012.156
  28. Real-time highlight removal using intensity ratio Applied Optics · Optica Publishing Group · 2013 10.1364/ao.52.004483
  29. Specular reflection removal using local structural similarity and chromaticity consistency 2022 IEEE International Conference on Image Processing (ICIP) · 2015 10.1109/icip.2015.7351434
  30. Depth Estimation and Specular Removal for Glossy Surfaces Using Point and Line Consistency with Light-Field Cameras IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2477811
  31. Polarization-based specularity removal method with global energy minimization 2022 IEEE International Conference on Image Processing (ICIP) · 2016 10.1109/icip.2016.7532705
  32. Content-based processing and analysis of endoscopic images and videos: A survey Multimedia Tools and Applications · Springer Science+Business Media · 2017 10.1007/s11042-016-4219-z
  33. Directed Acyclic Graph Continuous Max-Flow Image Segmentation for Unconstrained Label Orderings International Journal of Computer Vision · Springer Science+Business Media · 2017 10.1007/s11263-017-0994-x
  34. Removal of specular reflections from image sequences using feature correspondences Machine Vision and Applications · Springer Science+Business Media · 2017 10.1007/s00138-017-0826-6
  35. Specular Reflection Separation With Color-Lines Constraint IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2675204
  36. Removal of Specular Reflections in Endoscopic Images Acta Polytechnica · CTU Central Library · 2006 10.14311/854
  37. Specular Highlight Removal in Facial Images 2017 10.1109/cvpr.2017.297
  38. Specular highlight reduction with known surface geometry Computer Vision and Image Understanding · Elsevier BV · 2017 10.1016/j.cviu.2017.10.010
  39. Advanced Endoscopic Navigation: Surgical Big Data, Methodology, and Applications Annual Review of Biomedical Engineering · Annual Reviews · 2018 10.1146/annurev-bioeng-062117-120917
  40. Generative adversarial networks for specular highlight removal in endoscopic images 2018 10.1117/12.2293755
  41. Specular reflection removal of ocean surface remote sensing images from UAVs Multimedia Tools and Applications · Springer Science+Business Media · 2018 10.1007/s11042-017-5551-7
  42. Single Image Highlight Removal with a Sparse and Low-Rank Reflection Model Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01225-0_17
  43. Real-Time High-Quality Specular Highlight Removal Using Efficient Pixel Clustering 2018 10.1109/sibgrapi.2018.00014
  44. Highlights removal using reflected energy and histogram analysis Journal of Engineering Research · Elsevier BV · 2019 10.1016/s2307-1877(25)00800-4
  45. 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