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

Light Field Imaging Based Accurate Image Specular Highlight Removal

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

기본 정보

저자
  1. Haoqian Wang — Shenzhen Key Laboratory of Broadband Network & Multimedia, Graduate School at Shenzhen, Tsinghua University, Shenzhen, China
  2. Chenxue Xu — Shenzhen Key Laboratory of Broadband Network & Multimedia, Graduate School at Shenzhen, Tsinghua University, Shenzhen, China
  3. Xingzheng Wang — Shenzhen Key Laboratory of Broadband Network & Multimedia, Graduate School at Shenzhen, Tsinghua University, Shenzhen, China
  4. Yongbing Zhang — Shenzhen Key Laboratory of Broadband Network & Multimedia, Graduate School at Shenzhen, Tsinghua University, Shenzhen, China
  5. Bo Peng — Department of Software Engineering, Southwest Jiaotong University, Chengdu, China
DOI
10.1371/journal.pone.0156173
저널
PLoS ONE
발행년도
2016
발행기관
Public Library of Science
피인용수
20
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0156173
토픽
Color Science and Applications
OpenAlex ID
W2412436235

평가 내용

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

초록

Specular reflection removal is indispensable to many computer vision tasks. However, most existing methods fail or degrade in complex real scenarios for their individual drawbacks. Benefiting from the light field imaging technology, this paper proposes a novel and accurate approach to remove specularity and improve image quality. We first capture images with specularity by the light field camera (Lytro ILLUM). After accurately estimating the image depth, a simple and concise threshold strategy is adopted to cluster the specular pixels into "unsaturated" and "saturated" category. Finally, a color variance analysis of multiple views and a local color refinement are individually conducted on the two categories to recover diffuse color information. Experimental evaluation by comparison with existed methods based on our light field dataset together with Stanford light field archive verifies the effectiveness of our proposed algorithm.

본문 52,493자

본문 펼치기
a11111 OPEN ACCESS Citation: Wang H, Xu C, Wang X, Zhang Y, Peng B (2016) Light Field Imaging Based Accurate Image Specular Highlight Removal. PLoS ONE 11(6): e0156173. doi:10.1371/journal.pone.0156173 Editor: You Yang, Huazhong University of Science and Technology, CHINA Received: November 22, 2015 Accepted: May 10, 2016 Published: June 2, 2016 Copyright: © 2016 Wang et al. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which permits](http://creativecommons.org/licenses/by/4.0/) unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are [available on Figshare (https://figshare.com/articles/](https://figshare.com/articles/Light_Field_Imaging_Based_Accurate_Image_Specular_Highlight_Removal/3384112) [Light_Field_Imaging_Based_Accurate_Image_](https://figshare.com/articles/Light_Field_Imaging_Based_Accurate_Image_Specular_Highlight_Removal/3384112) [Specular_Highlight_Removal/3384112).](https://figshare.com/articles/Light_Field_Imaging_Based_Accurate_Image_Specular_Highlight_Removal/3384112) Funding: This work is partially supported by the NSFC fund (61471213), Shenzhen Fundamental Research fund (JCYJ20140509172959961), Natural Science Foundation of Guangdong Province (2015A030310173), National High-tech R&D Program of China (863 Program, 2015AA015901) and the Science and Technology Planning Project of Sichuan Province under grant 2014SZ0207. The funders had no role in study design, data collection RESEARCH ARTICLE # Light Field Imaging Based Accurate Image Specular Highlight Removal Haoqian Wang <sup>1</sup>, Chenxue Xu <sup>1</sup>, Xingzheng Wang <sup>1</sup> *, Yongbing Zhang <sup>1</sup>, Bo Peng <sup>2</sup> 1 Shenzhen Key Laboratory of Broadband Network & Multimedia, Graduate School at Shenzhen, Tsinghua University, Shenzhen, China, 2 Department of Software Engineering, Southwest Jiaotong University, Chengdu, China - xingzheng.wang@sz.tsinghua.edu.cn ## Abstract Specular reflection removal is indispensable to many computer vision tasks. However, most existing methods fail or degrade in complex real scenarios for their individual drawbacks. Benefiting from the light field imaging technology, this paper proposes a novel and accurate approach to remove specularity and improve image quality. We first capture images with specularity by the light field camera (Lytro ILLUM). After accurately estimating the image depth, a simple and concise threshold strategy is adopted to cluster the specular pixels into “unsaturated” and “saturated” category. Finally, a color variance analysis of multiple views and a local color refinement are individually conducted on the two categories to recover dif fuse color information. Experimental evaluation by comparison with existed methods based on our light field dataset together with Stanford light field archive verifies the effectiveness of our proposed algorithm. Introduction Image specular reflection has long been problematic in computer vision tasks [1]. They appear as surface features, but in fact they are artifacts caused by illumination changes from different viewing angles [2]. Most algorithms in computer vision such as segmentation [3] (which typically assumes the intensity changes uniformly or smoothly across a surface), or stereo matching [4], recognition [5–9], image analysis [10–14]and tracking [15] (they attempt to match images taken from various conditions, i.e., viewing angle, illumination or distance, so they need a consistent surface of an object in different images) ignore the presence of specular pixels and work under the assumption of perfect diffuse surfaces. However, a vast majority of materials contain both diffuse and specular reflections in the real world. As a result, processing images with specular reflections using these algorithms can lead to significant inaccuracies [1, 16]. In recent years, various techniques try to handle the problem of specular reflections. Based on the number of input images, these methods could be divided into two main categories: multiple-image based and single-image based [1]. Multiple-image based approaches involve an image sequence of the same scene taken either from different viewpoints [16], with different illumination [17] or utilizing an additional polarizing filter. Nevertheless, obtaining such an PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 1 / 17 and analysis, decision to publish, or preparation of the manuscript. Competing Interests: The authors have declared that no competing interests exist. Highlight Removal Based on Light Field image sequence is difficult, time-consuming or even impractical [18–23]. Single-image based approaches require color or texture analysis [23–25]. They achieve acceptable results in some images, but they are unstable when the analyzed image has complicated textures and extreme specularities [23]. Benefiting from computational photography [26] and light field (LF) imaging technologies [27, 28], we propose an accurate and novel framework that uses LF cameras to remove specularity. A handheld LF camera mounts an array of microlens in front of the sensor, which could record the full 4D rays to describe the scene, so one can refocus the image after a passive single–shot capture and shift viewpoints within sub-apertures of the main lens. With a LF camera to capture multiple views of the scene in a LF image, we could avoid the implementation complexity of conventional multiple-image based specular removal methods. In our algorithm, by exploiting the LF image to extract perspectives and modify focus, specular pixels could be detected and classified into “unsaturated” and “saturated” types, then replaced by their diffuse color via a color variance analysis of multiple views and a local color refinement. Thus, specular reflections could be substantially eliminated while the color consistency is well maintained in the rest part of the image. Moreover, the proposed algorithm can handle images which contain non-chromatic (i.e. R = G = B) and saturated specular pixels. It’s tested on various databases: the indoor and outdoor LF images taken by our Lytro ILLUM camera and the LF images from the Stanford light field archive [29]. It’s compared against three competitive methods: Tan et al. [24], Shen et al. [30] and Yang et al. [23]. The remainder of this paper is organized as follows. Section II introduces a brief review of the previous work related to highlight removal. Section III presents the basic knowledge of light field data, physical properties of reflection and dichromatic reflection model. In Section IV, we elaborate our algorithm in detail. We provide experimental results for real images in Section V. Lastly, concluded remarks are made in Section VI. Related work Multiple-image based highlight removal methods This category utilizes a sequence of images, taking advantage of the different behaviors which these two reflections possess under specific conditions. Nayar et al. [31] achieved separation by incorporating polarization and color to obtain constraints on reflection components of each scene point, so the algorithm could work for textured surfaces. Unfortunately, obvious errors occur in the specular component on region boundaries due to chromatic aberration effects and mis-registration between polarization images. Later, Sato and Ikeuchi [32] examined a series of color images in a four-dimensional space and constructed a temporal-color space, which could describe the color change under the illumination densely varying with time. Lin and Shum [33] also changed the light direction to produce two color photometric images and estimated specular intensity from a linear model of surface reflectance, but when the surface color is similar to the illumination color, some specularity would be lost. In addition to that, light sources of the real world are usually fixed, especially in the outdoor scenes where light is not always controllable. These approaches have produced good results, but the need for polarization or changing light direction greatly restricts their applicability. Consequently, a number of researchers tried to fix the illumination and vary viewpoints to make the decomposition. Their basic ideas mainly utilize the fact that when viewing from various directions, the color of diffuse reflection doesn’t change, but that of specular reflection or a mixture of the two does. Using multi-view color images, Lee and Bajcsy [34] proposed a spectral differencing algorithm to seek specularities. Later, Lin et al. [16] integrated this work with multi-baseline stereo to yield good separation; nevertheless, large baseline would lead to severe PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 2 / 17 Highlight Removal Based on Light Field occlusions which might be mislabeled as specularity. Criminisi [35] looked into the Epipolar plane image (EPI) strips to detect specular pixels, but some artifacts showed up because of incorrect EPI-strip selection. Furthermore, configuring and adjusting the required cameramay not be easy. Single-image based highlight removal methods In the last few years, considerable effort has been devoted to this category. For multi-colored images, many single-image based methods involve explicit color segmentation [36, 37] which is often non-robust for complex textures and specularities, or require user assistance for highlight detection [2]. Shafer [38], who introduced the dichromatic reflection model, proposed a method based on a simple knowledge: by spectral projection in color space, points on a single surface must lie within a parallelogram and be bounded by diffuse and specular colors. Klinker [37] classified color pixels as matte (diffuse reflection only), highlight (specular and diffuse reflections) and clipped (highlight that exceeds the camera dynamic range), then produced a skewed T shape color distribution. However, it may cause serious inaccuracies on textured surfaces whose distributions are not T shaped. Avoiding segmentation, Tan and Ikeuchi [24] iteratively compared the intensity logarithmic differentiation of the input normalized image and the specular-free (SF) image to determine whether the normalized image contains only diffuse pixels. Shen et al. [30, 39] introduced a new modified SF image by adding a constant or pixel-dependent offset for each pixel. These SF image based methods can attain pleasing results on some images, but they require the input image has chromatic (R6¼G6¼B) surfaces because they heavily rely on color analysis [24]. They also need the specular component be pure white, or prior knowledge of illumination chromaticity which sometimes is not available. In addition, even the specular components are removed correctly, the original surface color may not be well preserved and produce dark diffuse images or noises. Yang et al. [23] proposed a real-time method by applying bilateral filtering to remove specularity. Although this method works robustly for many textured surfaces, it still cause artifacts at non-chromatic areas. Unlike many methods under an iterative framework, Nguyen et al. [40] provided a non-iterative solution by adopting tensor voting to get the reflectance distribution of an input image and removing specular and noise pixels as small tensors. Light field imaging As an important branch of computational photography, light field imaging has been a fairly hot research topic in computer vision community, which offers new possibilities for many computer vision tasks. Modern LF rendering is firstly proposed by Levoy and Hanrahan [27] and Gortler et al.[28]. Early LF imaging systems use a camera array to capture the full scene, which is usually heavy and impractical for daily use. Ng [41] inserted a microlens array between the sensor and main lens, creating a portable plenoptic camera which enables consumers to conduct some basic post-capture applications, such as refocusing and altering viewpoints. Despite of its primary capabilities, LF cameras can be applied to various tasks, such as depth estimation [42, 43], saliency detection [44], matting [45] and super-resolution [46]. In this paper, we will explain how LF imaging is employed to specularity removal. Priori Conceptions Light field structure As noted in [27], a light field which is defined as radiance along rays in empty space is typically represented as a 4D function. A number of models have been proposed to describe light fields, PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 3 / 17 Highlight Removal Based on Light Field such as the two-plane parameterization, sphere-sphere and sphere-plane parameterizations. In our paper, we represent the light field using the popular two-plane model, which records the intensity of a light ray passing through two parallel planes. For better understanding, it could be considered as a set of pinhole views from several viewpoints parallel to a common image plane in 3D space, as illustrated in Fig 1(a). The 2D plane ∏ contains the locations of viewpoints, which represents the angular domain and is parametrized by the coordinates (u,v), while the image plane Λ stands for the spatial domain and is parametrized by the coordinates (x,y). Hence, a 4D LF can be mapped by: I : L � P ! R; ðx; y; u; vÞ ! Iðx; y; u; vÞ ð1Þ By extracting the spatial pixels of the same viewpoints, we obtain multiple pinhole images where each represents an image captured from a slightly different perspective, as shown in Fig 1(b). With a LF image, [41] clearly specifies how to achieve refocusing by shearing. Focusing at different depths is equivalent to changing the distance between the lens and the film plane, giving rise to a shearing of the light ray trace on the ray-space. By similar triangles and ray-space coordinates transforming, we can establish a 4D shear of the light field that enables refocusing at different depths below: - - - - - x þ u 1 � <sup><u>1</u></sup> ; y þ v 1 � <sup><u>1</u></sup> ; u; v ð2Þ - - 1 � <sup><u>1</u></sup> ; y þ v 1 � <sup><u>1</u></sup> Iaðx; y; u; vÞ ¼ I0 x þ u 1 � <sup><u>1</u></sup> a a where the shear value α is the depth ratio of the synthetic film plane to the actual film plane, I0 Fig 1. (a) Two-plane representation of a LF image. (b) The multiple pinhole images of a LF image after decoding. This LF image was taken by <u>[43].</u> doi:10.1371/journal.pone.0156173.g001 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 4 / 17 Highlight Removal Based on Light Field denotes the input LF image and Iα denotes the sheared LF image by α. In this paper, α is used to substitute depth of the scene for that they have a positive linear correlation with each other. Furthermore, when the light field is rearranged to focus at a scene point, all pixels of the same scene point from available views are obtained. Physical properties of reflection To determine and separate two typical types of reflections: diffuse and specular, we first present a brief account of the formation process and the main differences between these two reflections. Theoretically, when light strikes an inhomogeneous opaque surface, it first passes through the interface between the air and the surface medium. Some light will promptly reflect back into the air producing specular reflection. The rest of light will penetrate through the body, undergo scattering from the colorant, and eventually be transmitted through the material, absorbed by the colorant, or re-emitted through the same interface by which it entered producing diffuse reflection. Therefore, the observed highlights on glossy surfaces are combinations of these two reflections. Basically, there are three characteristic differences between diffuse and specular reflections (Table 1). First, they have different degrees of polarization (the percentage of the light being polarized), which is often used in separation methods involving polarization [31, 38]. Second, their intensity distributions follow different models, which are directly applied to describe and approximate these two components [24]. Third, for most inhomogeneous surfaces, the specular reflection takes the illumination color because it has the relative spectral power distribution (SPD) of the illuminant. In contrast, the color of the diffuse reflection is equal to the surface color since the SPD of the diffuse reflection is altered by the object’s body SPD (resulted from interactions with colorant particles) [37, 38]. This is the most common basis in reflection separation algorithms. Caused by the fundamental characteristics above, the two reflections also hold some other distinct properties, such as view-point dependence, color and geometric distribution, also shown in Table 1. Dichromatic reflection model The dichromatic reflection model [38] is a simple reflectance model to determine the linear combinations of diffuse and specular reflection components from a standard color image. The total radiance L of inhomogeneous objects is the sum of two independent terms: the radiance Ld of the light reflected from the surface body and the radiance Ls of the light reflected at the interface: Lðl; l; v; nÞ ¼ Ldðl; l; v; nÞ þ Lsðl; l; v; nÞ ð3Þ where λ is the light wavelength, l and v are the light source and camera viewpoint directions Table 1. Differences of diffuse and specular reflections. Polarization Intensity Distribution Model SPD View-point Dependence Color Geometric Distribution Diffuse Reflection Specular Reflection unpolarized Lambert's Law the object's body SPD highly polarized isotropic concentrated in a compact lobe the illumination's <u>SPD</u> the Torrance-Sparrow reflection model or the Beckmann-Spizzichino <u>refection modell</u> independent the color of the object's surface dependent the color of the illumination doi:10.1371/journal.pone.0156173.t001 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 5 / 17 Highlight Removal Based on Light Field respectively, and n is the surface normal. Each component is decomposed into two parts: Lðl; l; v; nÞ ¼ wdðl; v; nÞcdðlÞ þ wsðl; v; nÞcsðlÞ ð4Þ The magnitude term w is a geometric scale factor which only depends on geometry shapes, while the composition term c is a relative SPD which only depends on wavelength. Note that the diffuse magnitude wd only depends on n and l, whereas the specular magnitude ws also changes with the camera viewpoint, resulting in the color intensity view angle dependent. For the sake of simplicity, we drop the l and n terms and project the scene by a digital camera. Therefore, a pixel p of the image is written as: LðpÞ ¼ wdðpÞcdðpÞ þ wsðpÞcsðpÞ ð5Þ where B and G indicate the color of the diffuse and specular reflection in the RGB channel. Proposed Method As illustrated in Fig 2, our algorithm consists of four parts as depth estimation, specularity detection, specularity removal and local refinement. Light field image depth estimation To achieve refocusing, a robust and accurate depth map of the LF image is required. Here we utilize the dense depth estimation algorithm by integrating both defocus and correspondence cues [42]. We firstly exploit the 4D epipolar image (EPI) derived from the LF data and make shears to operate refocusing. Then we present a simple contrast-based approach to compute the responses of two cues. With both local estimated cues, we combine them with a confidence measure and compute a global depth estimation using MRFs to get the final results. Defocus cue: Depth from defocus has been actively investigated either through using several images exposures or a complicated device to capture the data in one exposure [47]. Employing a LF camera allows us to reduce the image acquisition requirements and record multiple angular information of the scene for estimating depth from defocus. Defocus measures the sharpness, or contrast within a patch. If a patch on a textured surface is refocused at the correct depth, it commonly provides the strongest contrast. A contrast-based measure is adopted here to find the optimal α with the highest contrast at each pixel. By taking the sheared EPI, the average value of pixel {x, y} is calculated: <u>1</u> X �I aðx; yÞ ¼ ðu <sup>0</sup> ;v <sup>0</sup> Þ <sup>Iaðx; y; u0; v0Þ</sup> ð6Þ Nðu;vÞ where <sup>�</sup> I aðx; yÞ is the sheared image, N(u, v) is the number of angular pixels (u, v). By considering the spatial variance, the defocus cue is defined as: <u>1</u> X Daðx; yÞ ¼ ðx <sup>0</sup> ;y <sup>0</sup> Þ2WD <sup>jD�I aðx0; y0Þj</sup> ð7Þ jWDj where WD is the window size of the current pixel and Δ is the spatial Laplacian operator using the full patch. Accordingly, we obtain a defocus response for every pixel in the image at each α. Correspondence cue: LF cameras provide multiple views within the sub-apertures of the mainlens. Nevertheless, traditional multiple-view correspondence algorithms [16] require large baselines, so they are not suitable for short baseline settings of the LF camera [42]. Inspired by these traditional algorithms, we still aggregate the matching cost as correspondence cue over a window to estimate depth as well as allow for the characteristics of LF images. For a certain PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 6 / 17 Highlight Removal Based on Light Field <u>Fig 2.</u> <u>The framework of our algorithm.</u> doi:10.1371/journal.pone.0156173.g002 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 7 / 17 Highlight Removal Based on Light Field shear α, the matching cost for each spatial pixel is computed as the angular variance: f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i ffi ð8Þ f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f X saðx; yÞ ¼ sf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i ffi <u>1</u> X 2 <u>1</u> Nðu;vÞ ðu <sup>0</sup> ;v <sup>0</sup> Þ <sup>ðIaðx; y; u0; v0Þ �</sup> <sup>�I aðx; yÞÞ</sup> In an ideal case, if the matching cost for a spatial pixel p at α <sup>0</sup> is zero, it means all the angular pixels corresponding to p stand for viewpoints that converge on a single point on the scene, so α <sup>0</sup> corresponds to the optimal depth. However, due to noises, occlusions and specularities, it’s rather hard to find the ideal depth, so we search for the minima of the cost. For robustness, the variance is averaged in a small window WC: <u>1</u> Caðx; yÞ ¼ jWCj X ðx <sup>0</sup> ;y <sup>0</sup> Þ2WC <sup>saðx0; y0Þ</sup> ð9Þ For each pixel, both defocus and correspondence cues are obtained at different shear values. We maximize the spatial contrast for defocus and minimize the angular variance for correspondence across shears to find their optimal shear values a <sup>�</sup> D <sup>and a</sup> C <sup>�</sup> <sup>:</sup> <sup>�</sup> D <sup>and a</sup> C <sup>�</sup> C <sup>�</sup> <sup>:</sup> <sup>�</sup> D <sup>ðx; yÞ ¼ arg max</sup> a <sup>�</sup> a Daðx; yÞ <sup>�</sup> C <sup>ðx; yÞ ¼ arg max</sup> a <sup>�</sup> C a Caðx; yÞ ð10Þ Since the two cues may not reach their optimal values at the same α, their confidence are measured using Peak Ratio: Dconf ðx; yÞ ¼ Da�D Cconf ðx; yÞ ¼ Ca��D �D <sup>ðx; yÞ=Da��</sup> D <sup>��</sup> D <sup>ðx; yÞ</sup> ð11Þ D <sup>�</sup> <sup>ðx; yÞ</sup> ��D <sup>ðx; yÞ=Ca</sup> D <sup>�</sup> where α <sup>��</sup> is the next optimal α of defocus or correspondence cue. It produces higher confidence when the optimal α is significantly higher or lower than others, implying the estimation is more precise. Defocus cue operates better at occlusions, repeating patterns and noise, so it produces consistent but blurry depth maps. Meanwhile, correspondence cue performs more robustly at bright or dark features of the image and preserves more defined depth results at edges, but is inconsistent in noisy regions. Fortunately, confidence measures enable us to combine the reliable region from each cue and acquire a globally optimized depth α <sup>�</sup> . Specularity detection Specularity detection is essential to our algorithm. Specular pixels only account for a small percentage for most natural images, operating removal process on all pixels wastes massive time and storage. From observation, a glossy surface often exhibits color with higher intensities than a diffuse surface of the same color. In some extreme cases, the color and intensity of illumination dominate the appearance of highlights. If the light source color is uniform in every channel, the highlight pixels may tend to look white. Since many state-of-the-art specularity removal methods [24, 30] assume white illumination, they regard non-chromatic areas to be highlight and fail to separate specular and diffuse components in these areas. As mentioned before, the color and intensity of highlight (specular) scene points differ largely when viewpoint changes. However, because the short baseline of LF cameras leads to a relatively smaller viewpoint change, points at strong or large highlight areas may change slightly in color and intensity. We propose a simple threshold strategy to efficiently detect and PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 8 / 17 Highlight Removal Based on Light Field Fig 3. Specularity detection. (a) displays a LF image with the specular area (red patch) zoomed in (b). (c) shows <u>specular candidates only take a tiny proportion of image. The detection results on the red patch are shown in (d).</u> doi:10.1371/journal.pone.0156173.g003 classify specular points into “unsaturated” and “saturated” types: a saturated scene point displays highlight in all (u, v) views, while an unsaturated point presents various combinations of diffuse and specular color in different views. This strategy works like this: In the central-view image, a pixel p whose intensity is higher than a given threshold hthres is labelled as “specular candidate”. hthres can be adjusted within [0,255] according to the lowest intensity of specular pixels. Then, the pixels of the same candidate under all views are located by refocusing to its estimated depth and their variance are assessed. If the variance exceeds a given threshold varthres, p is accepted as “unsaturated”. Otherwise, p is “saturated” or it reflects non-chromatic diffuse color. In implementation, we set 0.002 for varthres and 150 for hthres. Fig 3 shows an example of specularity detection. Specularity removal This section deals with “unsaturated” specular pixels to recover their original diffuse color. The depth map that was generated before is applied to refocus and create multiple views. For an “unsaturated” pixel {x, y} in the central view, we remap the original LF image I0 at its depth α <sup>�</sup> (x, y) to obtain the same scene points in all (u, v) views according to Eq 1. Then, conduct color analysis within u, v of each x, y: we use k-means clustering to classify them into two clusters in PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 9 / 17 Highlight Removal Based on Light Field HSI color space and record their centroids. We denote the cluster whose centroid has a higher intensity as diffuse+specular set with the centroid color M1, and the other cluster as diffuse only set with the centroid color M2. Based on the dichromatic reflection model, if the magnitude wd and ws are set to 1, the two centroids are written as: M1 ¼ B þ G M2 ¼ B ð12Þ where B and G represent the color of diffuse and specular components. With known M1 and M2, G could be determined by simply subtracting the two equations. We also offer a confidence metric to measure the accuracy for each unsaturated pixel. Assuming that higher confidence occurs at the pixel with higher M1 intensity and larger twocentroid distance, the metric is constructed as: conf ¼ expð� <sup><u>b0</u></sup> jM <sup><u>b0</u></sup> <u>b1</u> jM1j <sup>�</sup> jM1 � M2j <sup>þ</sup> <sup><u>b</u></sup> R <sup><u>2</u></sup> R <sup><u>2</u></sup> <sup>~~Þ~~</sup> ð13Þ where R is the average intra-cluster distance, β0, β1, β2 are constant parameters. In our implementation, both β0, β1 are set to 0.5, β2 is set to 1. For each pixel labeled as “unsaturated”, we subtract the specular term G to restore their original diffuse color. By looking through a small window around x, y, u, v, we compute a weighted G by favouring higher confidence and smaller difference between I0(x, y, u, v) and its neighbor’s M1. The specular component is removed by: Idðx; y; u; vÞ ¼ Iðx; y; u; vÞ �hw �jM1ðx <sup>0</sup> ; y <sup>0</sup> Þ � M2ðx <sup>0</sup> ; y <sup>0</sup> Þji w ¼ expf�g=ðConf ðx <sup>0</sup> ; y <sup>0</sup> Þ �jIðx; y; u; vÞ � M1ðx <sup>0</sup> ; y <sup>0</sup> ÞjÞg where x <sup>0</sup>,y <sup>0</sup> are within the search window around x, y, u, v, and h.i represents the expected value. We use a 15 × 15 window and 1 for γ in implementation. Local refinement ð14Þ Due to the small baseline, a scene point at specular regions which is saturated in all viewpoints is common. Angularly saturated pixels exhibit the strongest intensity of the light source color and totally lose their diffuse terms. Removing specularities in the former step only takes effect on unsaturated pixels, so it may create highlight holes in the middle of the specular area where saturated pixels always occur. To remove specularities entirely, we apply a local color refinement to fill these holes and gain a final diffuse image. We assume that the color and texture of a point vary smoothly in its local area, which holds true for most specular images. Consequently, the color information of saturated pixels could be remedied with the color information of its neighbors. We implement this by using K nearest neighbors. For a particular saturated pixel, we find k nearest points that are non-specular around it and assign weight to constrain the nearer neighbors contribute more to the average than more distant ones. Then, the corresponding pixels of the saturated point {x, y} in all (u, v) views are replaced by averaging its neighbors {x <sup>i</sup>, y <sup>i</sup> |i = 1, . . . k}. 8 < X <u>1</u> wi I0ðx <sup>i</sup> ; y <sup>i</sup> ; u; vÞ; if fx; yg is saturated; Irðx; y; u; vÞ ¼ i¼1;...k wi ð15Þ : i¼1;...k I0ðx; y; u; vÞ; others: where wi = 2 <sup>i</sup> . In our study, k is set to 4 to achieve steady and reliable results. PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 10 / 17 Highlight Removal Based on Light Field Experiments & Comparisons To validate the effectiveness of our proposed approach, we test it on multiple images with multi-color and highly textured surfaces captured by Lytro ILLUM, together with the LF images which are captured by a commercial Canon Digital camera fixed on a moving Lego Mindstorms gantry from the Stanford light field archive. For Lytro ILLUM, indoor scenarios are taken under controlled illumination condition (incandescents) and outdoor scenarios are under uncontrolled wild environment (sunlight). The camera parameters: exposure: ISO: auto, focal length: 9.5–77.8 mm (30–250 mm equivalent), lens aperture: Constant f/2.0. Considering views on the borders of the main lens do not capture light as much as the views on the center, only the central 7 × 7 views are used to construct the LF image. We compare our work against three currently popular single-image based algorithms: Tan et al. [24], Shen et al. 30] and Yang et al. [23]. Their source code is freely available on the authors’ websites [48–50]. We only make comparisons with the single-image based algorithms because the existing multiple-image based techniques require images taken under various conditions or have large baselines, making it impracticable to compare with them in the same setting. To acquire a single image input, the original LF data is refocused to the specular area. Then the diffuse output is generated under the authors’ default settings. We also refocus our refined LF image at the same depth for comparison. Qualitative analysis Recovering the LF diffuse image. Fig 4 illustrates one indoor and one outdoor example of our proposed method. The displayed images are the 4D LF images which contains cropped Fig 4. Two processing examples of the proposed method. The first and third rows (from left to right) display the LF input image, LF image after recovering unsaturated pixels, LF image after recovering saturated pixels, and the estimated depth of the central view. The specular area is marked by a red patch. The second and fourth rows show the zoom-in specular areas of the upper corresponding LF images, and specular <u>components.</u> doi:10.1371/journal.pone.0156173.g004 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 11 / 17 Highlight Removal Based on Light Field microlens-images, except that the depth map is from the central pinhole image. By zooming in the specular area on the hat and the leaf, we easily observe that unsaturated and saturated pixels are correctly restored to their original diffuse color in two steps. The close-up patch of specular component is also provided. Note that the color of specular components have been enhanced for easier visibility throughout this paper. Diffuse results for Lytro ILLUM images. In Fig 5, the indoor and outdoor objects have glossy surfaces which are marked by red rectangles. Our approach correctly weakens the specular intensity, successfully recovers diffuse color, and well preserves the consistency of other regions, while Shen, Tan and Yang can cause obvious mistakes, particularly at white and textured areas. In detail, Shen’s method creates black holes on the non-chromatic area (the eyes in Toy1 and nose in Toy2) and the highlight in Plant1 is not removed completely yet. Besides, the color of diffuse areas slightly differs to the original image (the hat in Toy1, the face in Toy2). Anyway, it produces good results on five images. About the color information, Tan’s results are significantly darker than the original images and bring easy-to-see errors, e.g. losing color Fig 5. Diffuse results for Lytro ILLUM images. The first row shows the refocused original images and their corresponding zoom-in specular areas. The second and third rows are diffuse and specular images of our proposed method. The other three rows are the diffuse images of Shen et.al. [30], Tan et.al. [24] and Yang et. <u>al. [23].</u> doi:10.1371/journal.pone.0156173.g005 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 12 / 17 Highlight Removal Based on Light Field consistency, losing texture information and creating inexistent edges. Yang produces comparative results in Plant2 and Box, but gives rise to black holes in Toy1 and Toy2 and inconsistent color in Plant1. Non-specular areas have been ruined to different degrees in these methods, which largely reduce image quality. The results show our algorithm outperforms them. Diffuse results for Stanford light field archive images. Fig 6 illustrates three challenging images from the Stanford light field archive. The first image is a Lego Technic truck which has very complex geometry. Our proposed method properly reduces the highlight on the wheels without damaging its geometry and brightness. The second image is a chess board with pieces, which have specular reflections of various intensities. Compared to our diffuse result, Tan loses almost all the information of the image while Shen and Yang destroy the color constancy of background. The last is a chunk of amethyst with interesting specularities and some translucency. After the processing steps for unsaturated and saturated pixels, strong highlights in red and green rectangles are removed acceptably. However, the rest methods fail at it. Quantitative analysis Subjective evaluation metrics. To evaluate our approach in a quantized way, we invite 50 volunteers from different gender and age to score the specular removal results of all methods. Given an image with specular items, human’s brain can automatically fix the specular parts and illustrate the diffuse version of this image. Since it’s rather individual dependent, for each image, we omit the highest/lowest score and average scores to decrease subjective bias. For every image, the volunteers are required to rate two indexes: SA and IQ. SA is for specularity <u>Fig 6.</u> <u>Experiments of the Stanford light field archive.</u> doi:10.1371/journal.pone.0156173.g006 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 13 / 17 Highlight Removal Based on Light Field Table 2. The scores of the specular removal results. Toy1 Toy2 Box Plant1 Plant2 Lego truck Chess Amethyst SA IN SA IN SA IN SA IN SA IN SA IN SA IN SA IN Proposed method 80.1 85.3 82.1 87.1 82.2 79.6 85.5 89.6 88.7 90.7 69.0 78.3 81.4 74.4 82.5 80.1 Shen et al. 68.4 72.5 60.7 69.5 83.4 75.4 57.8 66.2 81.4 85.2 64.5 69.2 77.4 51.9 47.8 59.4 Tan et al. 53.2 45.0 47.5 37.5 59.8 51.2 55.2 40.1 50.6 47.5 35.3 32.7 15.3 10.3 27.2 20.4 <u>Yang et al.</u> <u>73.4</u> <u>69.3</u> <u>65.2</u> <u>59.8</u> <u>86.7</u> <u>82.3</u> <u>72.3</u> <u>69.6</u> <u>67.4</u> <u>77.0</u> <u>60.2</u> <u>59.4</u> <u>33.0</u> <u>36.6</u> <u>56.0</u> <u>63.3</u> doi:10.1371/journal.pone.0156173.t002 accuracy, which is graded based on the accuracy of specular components separated by each method compared with the one he has in mind. IN is for image naturalness because preserving naturalness is essential for highlight removal methods to achieve pleasing perceptual quality. Both the two scores are ranging from 0~100, where 0~20 means very poor, 20~40 means poor, 40~60 means fair, 60~80 means good and 80–100 means very good. The greater value of the score, the better quality of the image. The average scores are shown in Table 2, clearly our algorithm is superior to the other three methods in most specular images. Objective evaluation metrics. The volunteers are also asked to mark the areas where highlights occur. We average the manually marked regions and regard them as the highlight area ground truth to provide an objective evaluation. Note that this manually marked regions doesn’t contain the highlight intensity information, so we change the specular component image of each scene to a binary image under the control of the same threshold. Then the basic measures used in evaluating classification results: precision, recall and F-measure (harmonic mean of precision and recall compared to ground truth) are calculated to test the accuracy of highlight detection, as shown in Tables 3, 4 and 5. From our observation, people tend to draw Table 3. The precision of the specular removal results. Toy1 Toy2 Box Plant1 Plant2 Lego truck Chess Amethyst Proposed method 0.9634 0.8570 0.8121 0.8681 0.7862 0.3152 0.7137 0.8311 Shen et al. 0.0548 0.7198 0.9952 0.0381 0.8293 0.1257 0.0230 0.0664 Tan et al. 0.0402 0.0823 0.4067 0.0073 0.0425 0.0528 0.0496 0.0759 <u>Yang et al.</u> <u>0.0656</u> <u>0.2488</u> <u>0.8832</u> <u>0.0303</u> <u>0.0691</u> <u>0.0643</u> <u>0.0263</u> <u>0.0699</u> doi:10.1371/journal.pone.0156173.t003 Table 4. The recall of the specular removal results. Toy1 Toy2 Box Plant1 Plant2 Lego truck Chess Amethyst Proposed method 0.5313 0.2024 0.3121 0.3379 0.3274 0.3042 0.6522 0.5155 Shen et al. 0.1573 0.2625 0.2046 0.0070 0.1173 0.4857 0.3780 0.4809 Tan et al. 0.9676 0.7911 0.3734 0.1103 0.5158 0.7771 0.9873 0.6572 <u>Yang et al.</u> <u>0.2940</u> <u>0.4354</u> <u>0.2643</u> <u>0.0752</u> <u>0.1914</u> <u>0.5139</u> <u>0.2364</u> <u>0.6336</u> doi:10.1371/journal.pone.0156173.t004 Table 5. The F-measure of the specular removal results. Toy1 Toy2 Box Plant1 Plant2 Lego truck Chess Amethyst Proposed method 0.6849 0.3275 0.4509 0.4865 0.4623 0.3096 0.6816 0.6363 Shen et al. 0.0813 0.3847 0.3394 0.0118 0.2055 0.1997 0.0434 0.1167 Tan et al. 0.0772 0.1491 0.3893 0.0137 0.0785 0.0989 0.0945 0.1361 <u>Yang et al.</u> <u>0.1073</u> <u>0.3167</u> <u>0.4068</u> <u>0.0432</u> <u>0.1015</u> <u>0.1143</u> <u>0.0473</u> <u>0.1259</u> doi:10.1371/journal.pone.0156173.t005 PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 14 / 17 Highlight Removal Based on Light Field lines around the relatively stronger and larger highlight areas, and overlook weak and small ones. Our algorithm has a higher precision than other methods among most images while the recall of ours is actually common. The F-measure, which take the performance of both precision and recall into consideration, demonstrates the effectiveness of our method. The precision of other techniques is much lower because non-chromatic (white or gray) areas which they regard as highlights are possibly not included in the manually marked highlights. In addition, Tan achieves a considerably high recall, but it suffers from a poor precision, because it includes most true highlight pixels at the expense of even more detected false highlights. Conclusions We have presented a novel and accurate specular reflection removal methodology based on light field imaging, which extensively exploits the spatial and angular information of the 4D LF together with the characteristics of diffuse and specular reflections. In our methodology, the diffuse image is first recovered by removing the specular effects on “unsaturated” pixels, and then refined locally on “saturated” pixels. The classification and recovering steps on two types of specular pixels makes our approach applicable to various surfaces with more complex and stronger highlights. We have experimented on multiple real world LF images from our Lytro ILLUM and the Stanford light field archive with both qualitative and quantitative analysis. The results demonstrate that our algorithm achieve excellent performance, especially in non-chromatic and textured areas, while properly preserving color constancy on non-specular areas. Still, our method does not work well at mirrors or extremely specular surfaces. Achieving higher accuracy of specularity detection and improving robustness of a larger area of highlight are left as future works. Acknowledgments This work is partially supported by the NSFC fund (61471213), Shenzhen Fundamental Research fund (JCYJ20140509172959961), Natural Science Foundation of Guangdong Province (2015A030310173), National High-tech R&D Program of China (863 Program, 2015AA015901) and the Science and Technology Planning Project of Sichuan Province under Grant 2014SZ0207. Author Contributions Conceived and designed the experiments: CXX XZW. Performed the experiments: CXX XZW. Analyzed the data: HQW CXX XZW YBZ BP. Contributed reagents/materials/analysis tools: HQW CXX XZW YBZ BP. Wrote the paper: HQW CXX XZW YBZ BP. References 1. Artusi A, Banterle F, Chetverikov D. A survey of specularity removal methods. Computer Graphics Forum. 2011 Aug 2; 30(8): 2208–30. 2. Tan P, Lin S, Quan L, Shum HY. Highlight removal by illumination-constrained inpainting. Proceedings of IEEE International Conference on Computer Vision (ICCV); 2003 Oct 13–16; IEEE Computer Society; 2003. 3. Lam CP, Yang AY, Elhamifar E, Sastry SS. Multiscale TILT Feature Detection with Application to Geometric Image Segmentation. Proceedings of IEEE International Conference on Computer Vision Workshops (ICCVW); IEEE Computer Society; 2013. 4. Heo YS, Lee KM, Lee SU. Robust stereo matching using adaptive normalized cross-correlation. IEEE Trans. Pattern. Anal. Mach. Intel. 2011 Apr; 33(4): 807–22. 5. Chen T, Yin W, Zhou XS, Comaniciu D, Huang TS. Total variation models for variable lighting face recognition. IEEE Trans. Pattern. Anal. Mach. Intel. 2006 Sep; 28(9): 1519–24. PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 15 / 17 Highlight Removal Based on Light Field 6. Shen L, Bai L, Ji Z. FPCODE: An efficient approach for multi-modal biometrics. International Journal of Pattern Recognition and Artificial Intelligence. 2011; 25(2): 273–86. 7. Liu F, Zhang D, Shen L. Study on novel curvature features for 3D fingerprint recognition. Neurocomputing. 2015; 168(1): 599–608. 8. Zhu Z, Jia S, He S, Sun Y, Ji Z, Shen L. Three-dimensional gabor feature extraction for hyperspectral imagery classification using a memetic framework. Information Sciences. 2015; 298(1): 274–87. 9. Jian M, Lam KM, Dong J, Shen L. Visual-patch-attention-aware saliency detection. IEEE Transactions on Cybernetics. 2015; [45(8): 1575–86. doi: 10.1109/TCYB.2014.2356200 PMID: 25291809](http://dx.doi.org/10.1109/TCYB.2014.2356200) 10. Kong H, Lai Z, Wang X, Liu F. Breast Cancer Discriminant Feature Analysis for Diagnosis via Jointly Sparse Learning. Neurocomputing. 2016 Feb; 177: 198–205. 11. Li K, Yang J, Jiang J. Nonrigid Structure From Motion via Sparse Representation. IEEE Transactions on Cybernetics.2015 Aug; [45(8): 1401–13. doi: 10.1109/TCYB.2014.2351831 PMID: 26186752](http://dx.doi.org/10.1109/TCYB.2014.2351831) 12. Zhu Y, Li K, Jiang J. Video super-resolution based on automatic key-frame selection and featureguided variational optical flow. Signal Processing: Image Communication.2014 Sep; 29(8): 875–86. 13. Yang Y, Wang X, Liu Q, Xu M, Yu L. A bundled-optimization model of multiview dense depth map synthesis for dynamic scene reconstruction. Information Sciences. 2015 Nov; 320: 306–19. 14. Yang Y, Wang X, Guan T, Shen J, Yu L. A multi-dimensional image quality prediction model for usergenerated images in social networks. Information Sciences. 2014 Oct 10; 281: 601–10. 15. Zhang J, McMillan L, Yu J. Robust tracking and stereo matching under variable illumination. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition; IEEE Computer Society; 2006. 16. Lin S, Li Y, Kang SB, Tong X, Shum HY. Diffuse-specular separation and depth recovery from image sequences. Computer Vision—ECCV 2002. 2002; 210–24. 17. Nayar SK, Krishnan G, Grossberg MD, Raskar R. Fast separation of direct and global components of a scene using high frequency illumination. ACM Transactions on Graphics (TOG). 2006; 25(3): 935–44. 18. Lai Z, Xu Y, Chen Q, Yang J, Zhang D. Multilinear sparse principal component analysis. IEEE Transactions on Neural Networks and Learning Systems. 2014; [25(10): 1942–50. doi: 10.1109/TNNLS.2013.](http://dx.doi.org/10.1109/TNNLS.2013.2297381) [2297381 PMID: 25291746](http://dx.doi.org/10.1109/TNNLS.2013.2297381) 19. Lai Z, Wong W, Xu Y, Yang J, Tang J, Zhang D. Approximate orthogonal sparse embedding for dimensionality reduction. IEEE Transactions on Neural Networks and Learning Systems.2015; 27(4): [723–35. doi: 10.1109/TNNLS.2015.2422994 PMID: 25955995](http://dx.doi.org/10.1109/TNNLS.2015.2422994) 20. Wong W, Lai Z, Xu Y, Wen J. Joint tensor feature analysis for visual object recognition. IEEE Transactions on Cybernetics. 2015; [45(11): 2425–36. doi: 10.1109/TCYB.2014.2374452 PMID: 26470058](http://dx.doi.org/10.1109/TCYB.2014.2374452) 21. Zhu Z, Jia S, Ji Z. Towards a memetic feature selection paradigm. IEEE Computational Intelligence Magazine. 2010; 5(2): 41–53. 22. Lai Z, Wong W, Xu Y. Sparse alignment for robust tensor learning. IEEE Transactions on Neural Networks and Learning Systems. 2014; [25(10): 1779–92. doi: 10.1109/TNNLS.2013.2295717 PMID:](http://dx.doi.org/10.1109/TNNLS.2013.2295717) [25291733](http://www.ncbi.nlm.nih.gov/pubmed/25291733) 23. Yang Q, Tang J, Ahuja N. Efficient and Robust Specular Highlight Removal. IEEE Trans. Pattern. Anal. Mach. Intel. 2015 Jun; 37(6): 1304–11. 24. Tan RT, Ikeuchi K. Separating reflection components of textured surfaces using a single image. IEEE Trans. Pattern. Anal. Mach. Intel. 2005 Feb; 27(2): 178–93. 25. Tao MW, Wang TC, Malik J, Ramamoorthi R. Depth estimation for glossy surfaces with light-field cameras. Computer Vision—ECCV 2014 workshops. 2014; 533–47. 26. Raskar R, Tumblin J. Computational Photography: Mastering New Techniques for Lenses, Lighting, and Sensors. Natick: AK Peters; 2009. 27. Levoy M, Hanrahan P. Light field rendering. Proceedings of the 23rd annual conference on Computer graphics and interactive techniques. ACM; 1996. 28. Gortler SJ, Grzeszczuk R, Szeliski R, Cohen MF. The lumigraph. Proceedings of the 23rd annual conference on Computer graphics and interactive techniques. ACM; 1996. 29. [Adams A. The (New) Stanford Light Field Archive. 2008. Available: http://lightfield.stanford.edu/lfs.html.](http://lightfield.stanford.edu/lfs.html) 30. Shen HL, Zhang HG, Shao SJ, Xin JH. Chromaticity-based separation of reflection components in a single image. Pattern Recognition. 2008; 41(8): 2461–9. 31. Nayar SK, Fang XS, Boult T. Separation of reflection components using color and polarization. International Journal of Computer Vision. 1997; 21(3): 163–86. 32. Sato Y, Ikeuchi K. Temporal-color space analysis of reflection. JOSA A. 1994; 11(11): 2990–3002. PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 16 / 17 Highlight Removal Based on Light Field 33. Lin S, Shum HY. Separation of diffuse and specular reflection in color images. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition; IEEE Computer Society; 2001. 34. Lee SW, Bajcsy R. Detection of specularity using color and multiple views. Computer Vision—ECCV 1992. 1992; 99–114. 35. Criminisi A, Kang SB, Swaminathan R, Szeliski R, Anandan P. Extracting layers and analyzing their specular properties using epipolar-plane-image analysis. Computer vision and image understanding. 2005; 97(1): 51–85. 36. Bajcsy R, Lee SW, Leonardis A. Detection of diffuse and specular interface reflections and inter-reflections by color image segmentation. International Journal of Computer Vision. 1996; 17(3): 241–72. 37. Klinker GJ, Shafer SA, Kanade T. The measurement of highlights in color images. International Journal of Computer Vision. 1988; 2(1): 7–32. 38. Shafer SA. Using color to separate reflection components. Color Research & Application. 1985; 10(4): 210–18. 39. Shen HL, Cai QY. Simple and efficient method for specularity removal in an image. Applied optics. 2009; [48(14): 2711–19. PMID: 19424394](http://www.ncbi.nlm.nih.gov/pubmed/19424394) 40. Nguyen T, Vo QN, Kim SH, Yang HJ, Lee GS. A novel and effective method for specular detection and removal by tensor voting. Proceedings of IEEE Conference on Image Processing; IEEE Computer Society; 2014. 41. Ng R, Levoy M, Bredif M, Duval G, Horowitz M, Hanrahan P. Light field photography with a hand-held plenoptic camera. Computer Science Technical Report CSTR. 2005; 2(11). 42. Tao MW, Hadap S, Malik J, Ramamoorthi R. Depth from combining defocus and correspondence using light-field cameras. Proceedings of IEEE International Conference on Computer Vision (ICCV); IEEE Computer Society; 2013. 43. Jeon HG, Park J, Choe G, Park J, Bok Y, Tai YW et al. Accurate Depth Map Estimation from a Lenslet Light Field Camera. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition; IEEE Computer Society; 2015. 44. Li N, Ye J, Ji Y, Ling H, Yu J. Saliency detection on light field. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition; IEEE Computer Society; 2014. 45. Cho D, Kim S, Tai YW. Consistent Matting for Light Field Images. Computer Vision–ECCV 2014. 2014; 90–104. 46. Bishop TE, Zanetti S, Favaro P. Light field superresolution. Proceedings of IEEE International Conference on Computational Photography (ICCP); IEEE Computer Society; 2009. p. 1–9. 47. Watanabe M, Nayar SK. Rational filters for passive depth from defocus. International Journal of Computer Vision. 1998; 27(3): 203–25. 48. [Tan's sourcecode. Available: http://php-robbytan.rhcloud.com/textureSeparation/results.html.](http://php-robbytan.rhcloud.com/textureSeparation/results.html) 49. [Shen's sourcecode. Available: http://www.ivlab.org/publications.html.](http://www.ivlab.org/publications.html) 50. [Yang's sourcecode. Available: http://www.cs.cityu.edu.hk/~qiyang/publications.html.](http://www.cs.cityu.edu.hk/~qiyang/publications.html) PLOS ONE | DOI:10 1371/journal pone 0156173 June 2 2016 17 / 17

섹션 본문 43문단 · 30,539자

(제목 없음)

1Specular reflection removal is indispensable to many computer vision tasks. However, most existing methods fail or degrade in complex real scenarios for their individual drawbacks. Benefiting from the light field imaging technology, this paper proposes a novel and accurate approach to remove specularity and improve image quality. We first capture images with specularity by the light field camera (Lytro ILLUM). After accurately estimating the image depth, a simple and concise threshold strategy is adopted to cluster the specular pixels into "unsaturated" and "saturated" category. Finally, a color variance analysis of multiple views and a local color refinement are individually conducted on the two categories to recover diffuse color information. Experimental evaluation by comparison with existed methods based on our light field dataset together with Stanford light field archive verifies the effectiveness of our proposed algorithm. The funders had no role in study design, data collection image sequence is difficult, time-consuming or even impractical[18][19][20][21][22][23]. Single-image based approaches require color or texture analysis[23][24][25]. They achieve acceptable results in some images, but they are unstable when the analyzed image has complicated textures and extreme specularities[23].Benefiting from computational photography[26]and light field (LF) imaging technologies[27,28], we propose an accurate and novel framework that uses LF cameras to remove specularity. A handheld LF camera mounts an array of microlens in front of the sensor, which could record the full 4D rays to describe the scene, so one can refocus the image after a passive single-shot capture and shift viewpoints within sub-apertures of the main lens. With a LF camera to capture multiple views of the scene in a LF image, we could avoid the implementation complexity of conventional multiple-image based specular removal methods. In our algorithm, by exploiting the LF image to extract perspectives and modify focus, specular pixels could be detected and classified into "unsaturated" and "saturated" types, then replaced by their diffuse color via a color variance analysis of multiple views and a local color refinement. Thus, specular reflections could be substantially eliminated while the color consistency is well maintained in the rest part of the image. Moreover, the proposed algorithm can handle images which contain non-chromatic (i.e. R = G = B) and saturated specular pixels. It's tested on various databases: the indoor and outdoor LF images taken by our Lytro ILLUM camera and the LF images from

Introduction

2Image specular reflection has long been problematic in computer vision tasks [1]. They appear as surface features, but in fact they are artifacts caused by illumination changes from different viewing angles [2]. Most algorithms in computer vision such as segmentation [3] (which typically assumes the intensity changes uniformly or smoothly across a surface), or stereo matching [4], recognition [5][6][7][8][9], image analysis [10][11][12][13][14]and tracking [15] (they attempt to match images taken from various conditions, i.e., viewing angle, illumination or distance, so they need a consistent surface of an object in different images) ignore the presence of specular pixels and work under the assumption of perfect diffuse surfaces. However, a vast majority of materials contain both diffuse and specular reflections in the real world. As a result, processing images with specular reflections using these algorithms can lead to significant inaccuracies [1,16].

3In recent years, various techniques try to handle the problem of specular reflections. Based on the number of input images, these methods could be divided into two main categories: multiple-image based and single-image based [1]. Multiple-image based approaches involve an image sequence of the same scene taken either from different viewpoints [16], with different illumination [17] or utilizing an additional polarizing filter. Nevertheless, obtaining such an

Multiple-image based highlight removal methods

4This category utilizes a sequence of images, taking advantage of the different behaviors which these two reflections possess under specific conditions. Nayar et al. [31] achieved separation by incorporating polarization and color to obtain constraints on reflection components of each scene point, so the algorithm could work for textured surfaces. Unfortunately, obvious errors occur in the specular component on region boundaries due to chromatic aberration effects and mis-registration between polarization images. Later, Sato and Ikeuchi [32] examined a series of color images in a four-dimensional space and constructed a temporal-color space, which could describe the color change under the illumination densely varying with time. Lin and Shum [33] also changed the light direction to produce two color photometric images and estimated specular intensity from a linear model of surface reflectance, but when the surface color is similar to the illumination color, some specularity would be lost. In addition to that, light sources of the real world are usually fixed, especially in the outdoor scenes where light is not always controllable. These approaches have produced good results, but the need for polarization or changing light direction greatly restricts their applicability.

5Consequently, a number of researchers tried to fix the illumination and vary viewpoints to make the decomposition. Their basic ideas mainly utilize the fact that when viewing from various directions, the color of diffuse reflection doesn't change, but that of specular reflection or a mixture of the two does. Using multi-view color images, Lee and Bajcsy [34] proposed a spectral differencing algorithm to seek specularities. Later, Lin et al. [16] integrated this work with multi-baseline stereo to yield good separation; nevertheless, large baseline would lead to severe occlusions which might be mislabeled as specularity. Criminisi [35] looked into the Epipolar plane image (EPI) strips to detect specular pixels, but some artifacts showed up because of incorrect EPI-strip selection. Furthermore, configuring and adjusting the required cameramay not be easy.

Single-image based highlight removal methods

6In the last few years, considerable effort has been devoted to this category. For multi-colored images, many single-image based methods involve explicit color segmentation [36,37] which is often non-robust for complex textures and specularities, or require user assistance for highlight detection [2]. Shafer [38], who introduced the dichromatic reflection model, proposed a method based on a simple knowledge: by spectral projection in color space, points on a single surface must lie within a parallelogram and be bounded by diffuse and specular colors. Klinker [37] classified color pixels as matte (diffuse reflection only), highlight (specular and diffuse reflections) and clipped (highlight that exceeds the camera dynamic range), then produced a skewed T shape color distribution. However, it may cause serious inaccuracies on textured surfaces whose distributions are not T shaped.

7Avoiding segmentation, Tan and Ikeuchi [24] iteratively compared the intensity logarithmic differentiation of the input normalized image and the specular-free (SF) image to determine whether the normalized image contains only diffuse pixels. Shen et al. [30,39] introduced a new modified SF image by adding a constant or pixel-dependent offset for each pixel. These SF image based methods can attain pleasing results on some images, but they require the input image has chromatic (R6 ¼G6 ¼B) surfaces because they heavily rely on color analysis [24]. They also need the specular component be pure white, or prior knowledge of illumination chromaticity which sometimes is not available. In addition, even the specular components are removed correctly, the original surface color may not be well preserved and produce dark diffuse images or noises. Yang et al. [23] proposed a real-time method by applying bilateral filtering to remove specularity. Although this method works robustly for many textured surfaces, it still cause artifacts at non-chromatic areas. Unlike many methods under an iterative framework, Nguyen et al. [40] provided a non-iterative solution by adopting tensor voting to get the reflectance distribution of an input image and removing specular and noise pixels as small tensors.

Light field imaging

8As an important branch of computational photography, light field imaging has been a fairly hot research topic in computer vision community, which offers new possibilities for many computer vision tasks. Modern LF rendering is firstly proposed by Levoy and Hanrahan [27] and Gortler et al. [28]. Early LF imaging systems use a camera array to capture the full scene, which is usually heavy and impractical for daily use. Ng [41] inserted a microlens array between the sensor and main lens, creating a portable plenoptic camera which enables consumers to conduct some basic post-capture applications, such as refocusing and altering viewpoints. Despite of its primary capabilities, LF cameras can be applied to various tasks, such as depth estimation [42,43], saliency detection [44], matting [45] and super-resolution [46]. In this paper, we will explain how LF imaging is employed to specularity removal.

9such as the two-plane parameterization, sphere-sphere and sphere-plane parameterizations. In our paper, we represent the light field using the popular two-plane model, which records the intensity of a light ray passing through two parallel planes. For better understanding, it could be considered as a set of pinhole views from several viewpoints parallel to a common image plane in 3D space, as illustrated in Fig 1(a). The 2D plane ∏ contains the locations of viewpoints, which represents the angular domain and is parametrized by the coordinates (u,v), while the image plane Λ stands for the spatial domain and is parametrized by the coordinates (x,y). Hence, a 4D LF can be mapped by:

10I : L Â P ! R; ðx; y; u; vÞ ! Iðx; y; u; vÞ ð 1Þ

11By extracting the spatial pixels of the same viewpoints, we obtain multiple pinhole images where each represents an image captured from a slightly different perspective, as shown in Fig 1(b).

12With a LF image, [41] clearly specifies how to achieve refocusing by shearing. Focusing at different depths is equivalent to changing the distance between the lens and the film plane, giving rise to a shearing of the light ray trace on the ray-space. By similar triangles and ray-space coordinates transforming, we can establish a 4D shear of the light field that enables refocusing at different depths below:

13where the shear value α is the depth ratio of the synthetic film plane to the actual film plane, I 0 The multiple pinhole images of a LF image after decoding. This LF image was taken by [43].

14denotes the input LF image and I α denotes the sheared LF image by α. In this paper, α is used to substitute depth of the scene for that they have a positive linear correlation with each other. Furthermore, when the light field is rearranged to focus at a scene point, all pixels of the same scene point from available views are obtained.

Physical properties of reflection

15To determine and separate two typical types of reflections: diffuse and specular, we first present a brief account of the formation process and the main differences between these two reflections. Theoretically, when light strikes an inhomogeneous opaque surface, it first passes through the interface between the air and the surface medium. Some light will promptly reflect back into the air producing specular reflection. The rest of light will penetrate through the body, undergo scattering from the colorant, and eventually be transmitted through the material, absorbed by the colorant, or re-emitted through the same interface by which it entered producing diffuse reflection. Therefore, the observed highlights on glossy surfaces are combinations of these two reflections.

16Basically, there are three characteristic differences between diffuse and specular reflections (Table 1). First, they have different degrees of polarization (the percentage of the light being polarized), which is often used in separation methods involving polarization [31,38]. Second, their intensity distributions follow different models, which are directly applied to describe and approximate these two components [24]. Third, for most inhomogeneous surfaces, the specular reflection takes the illumination color because it has the relative spectral power distribution (SPD) of the illuminant. In contrast, the color of the diffuse reflection is equal to the surface color since the SPD of the diffuse reflection is altered by the object's body SPD (resulted from interactions with colorant particles) [37,38]. This is the most common basis in reflection separation algorithms. Caused by the fundamental characteristics above, the two reflections also hold some other distinct properties, such as view-point dependence, color and geometric distribution, also shown in Table 1.

Dichromatic reflection model

17The dichromatic reflection model [38] is a simple reflectance model to determine the linear combinations of diffuse and specular reflection components from a standard color image. The total radiance L of inhomogeneous objects is the sum of two independent terms: the radiance L d of the light reflected from the surface body and the radiance L s of the light reflected at the interface:

18where λ is the light wavelength, l and v are the light source and camera viewpoint directions The magnitude term w is a geometric scale factor which only depends on geometry shapes, while the composition term c is a relative SPD which only depends on wavelength.

19Note that the diffuse magnitude w d only depends on n and l, whereas the specular magnitude w s also changes with the camera viewpoint, resulting in the color intensity view angle dependent. For the sake of simplicity, we drop the l and n terms and project the scene by a digital camera. Therefore, a pixel p of the image is written as:

20where B and G indicate the color of the diffuse and specular reflection in the RGB channel.

Proposed Method

21As illustrated in Fig 2, our algorithm consists of four parts as depth estimation, specularity detection, specularity removal and local refinement.

Light field image depth estimation

22To achieve refocusing, a robust and accurate depth map of the LF image is required. Here we utilize the dense depth estimation algorithm by integrating both defocus and correspondence cues [42]. We firstly exploit the 4D epipolar image (EPI) derived from the LF data and make shears to operate refocusing. Then we present a simple contrast-based approach to compute the responses of two cues. With both local estimated cues, we combine them with a confidence measure and compute a global depth estimation using MRFs to get the final results. Defocus cue: Depth from defocus has been actively investigated either through using several images exposures or a complicated device to capture the data in one exposure [47]. Employing a LF camera allows us to reduce the image acquisition requirements and record multiple angular information of the scene for estimating depth from defocus. Defocus measures the sharpness, or contrast within a patch. If a patch on a textured surface is refocused at the correct depth, it commonly provides the strongest contrast. A contrast-based measure is adopted here to find the optimal α with the highest contrast at each pixel. By taking the sheared EPI, the average value of pixel {x, y} is calculated:

23where I a ðx; yÞ is the sheared image, N (u, v) is the number of angular pixels (u, v). By considering the spatial variance, the defocus cue is defined as:

24where W D is the window size of the current pixel and Δ is the spatial Laplacian operator using the full patch. Accordingly, we obtain a defocus response for every pixel in the image at each α.

25Correspondence cue: LF cameras provide multiple views within the sub-apertures of the mainlens. Nevertheless, traditional multiple-view correspondence algorithms [16] require large baselines, so they are not suitable for short baseline settings of the LF camera [42]. Inspired by these traditional algorithms, we still aggregate the matching cost as correspondence cue over a window to estimate depth as well as allow for the characteristics of LF images. For a certain

26In an ideal case, if the matching cost for a spatial pixel p at α 0 is zero, it means all the angular pixels corresponding to p stand for viewpoints that converge on a single point on the scene, so α 0 corresponds to the optimal depth. However, due to noises, occlusions and specularities, it's rather hard to find the ideal depth, so we search for the minima of the cost. For robustness, the variance is averaged in a small window W C :

27For each pixel, both defocus and correspondence cues are obtained at different shear values. We maximize the spatial contrast for defocus and minimize the angular variance for correspondence across shears to find their optimal shear values a à D and a à C :

28Since the two cues may not reach their optimal values at the same α, their confidence are measured using Peak Ratio:

29where α ÃÃ is the next optimal α of defocus or correspondence cue. It produces higher confidence when the optimal α is significantly higher or lower than others, implying the estimation is more precise. Defocus cue operates better at occlusions, repeating patterns and noise, so it produces consistent but blurry depth maps. Meanwhile, correspondence cue performs more robustly at bright or dark features of the image and preserves more defined depth results at edges, but is inconsistent in noisy regions. Fortunately, confidence measures enable us to combine the reliable region from each cue and acquire a globally optimized depth α Ã .

Specularity detection

30Specularity detection is essential to our algorithm. Specular pixels only account for a small percentage for most natural images, operating removal process on all pixels wastes massive time and storage. From observation, a glossy surface often exhibits color with higher intensities than a diffuse surface of the same color. In some extreme cases, the color and intensity of illumination dominate the appearance of highlights. If the light source color is uniform in every channel, the highlight pixels may tend to look white. Since many state-of-the-art specularity removal methods [24,30] assume white illumination, they regard non-chromatic areas to be highlight and fail to separate specular and diffuse components in these areas.

31As mentioned before, the color and intensity of highlight (specular) scene points differ largely when viewpoint changes. However, because the short baseline of LF cameras leads to a relatively smaller viewpoint change, points at strong or large highlight areas may change slightly in color and intensity. We propose a simple threshold strategy to efficiently detect and classify specular points into "unsaturated" and "saturated" types: a saturated scene point displays highlight in all (u, v) views, while an unsaturated point presents various combinations of diffuse and specular color in different views. This strategy works like this: In the central-view image, a pixel p whose intensity is higher than a given threshold h thres is labelled as "specular candidate". h thres can be adjusted within [0,255] according to the lowest intensity of specular pixels. Then, the pixels of the same candidate under all views are located by refocusing to its estimated depth and their variance are assessed. If the variance exceeds a given threshold var thres , p is accepted as "unsaturated". Otherwise, p is "saturated" or it reflects non-chromatic diffuse color. In implementation, we set 0.002 for var thres and 150 for h thres . Fig 3 shows an example of specularity detection.

Specularity removal

32This section deals with "unsaturated" specular pixels to recover their original diffuse color. The depth map that was generated before is applied to refocus and create multiple views. For an "unsaturated" pixel {x, y} in the central view, we remap the original LF image I 0 at its depth α Ã (x, y) to obtain the same scene points in all (u, v) views according to Eq 1. Then, conduct color analysis within u, v of each x, y: we use k-means clustering to classify them into two clusters in HSI color space and record their centroids. We denote the cluster whose centroid has a higher intensity as diffuse+specular set with the centroid color M 1 , and the other cluster as diffuse only set with the centroid color M 2 . Based on the dichromatic reflection model, if the magnitude w d and w s are set to 1, the two centroids are written as:

33where B and G represent the color of diffuse and specular components. With known M 1 and M 2 , G could be determined by simply subtracting the two equations. We also offer a confidence metric to measure the accuracy for each unsaturated pixel. Assuming that higher confidence occurs at the pixel with higher M 1 intensity and larger twocentroid distance, the metric is constructed as:

34where R is the average intra-cluster distance, β 0 , β 1 , β 2 are constant parameters. In our implementation, both β 0, β 1 are set to 0.5, β 2 is set to 1. For each pixel labeled as "unsaturated", we subtract the specular term G to restore their original diffuse color. By looking through a small window around x, y, u, v, we compute a weighted G by favouring higher confidence and smaller difference between I 0 (x, y, u, v) and its neighbor's M 1 . The specular component is removed by:

Local refinement

35Due to the small baseline, a scene point at specular regions which is saturated in all viewpoints is common. Angularly saturated pixels exhibit the strongest intensity of the light source color and totally lose their diffuse terms. Removing specularities in the former step only takes effect on unsaturated pixels, so it may create highlight holes in the middle of the specular area where saturated pixels always occur. To remove specularities entirely, we apply a local color refinement to fill these holes and gain a final diffuse image. We assume that the color and texture of a point vary smoothly in its local area, which holds true for most specular images. Consequently, the color information of saturated pixels could be remedied with the color information of its neighbors. We implement this by using K nearest neighbors. For a particular saturated pixel, we find k nearest points that are non-specular around it and assign weight to constrain the nearer neighbors contribute more to the average than more distant ones. Then, the corresponding pixels of the saturated point {x, y} in all (u, v) views are replaced by averaging its neighbors {x i , y i |i = 1, . . . k}. I r ðx; y; u; vÞ ¼ I 0 ðx; y; u; vÞ; others:

36where w i = 2 i . In our study, k is set to 4 to achieve steady and reliable results.

Experiments & Comparisons

37To validate the effectiveness of our proposed approach, we test it on multiple images with multi-color and highly textured surfaces captured by Lytro ILLUM, together with the LF images which are captured by a commercial Canon Digital camera fixed on a moving Lego Mindstorms gantry from the Stanford light field archive. For Lytro ILLUM, indoor scenarios are taken under controlled illumination condition (incandescents) and outdoor scenarios are under uncontrolled wild environment (sunlight). The camera parameters: exposure: ISO: auto, focal length: 9.5-77.8 mm (30-250 mm equivalent), lens aperture: Constant f/2.0. Considering views on the borders of the main lens do not capture light as much as the views on the center, only the central 7 × 7 views are used to construct the LF image. We compare our work against three currently popular single-image based algorithms: Tan et al. [24], Shen et al. 30] and Yang et al. [23]. Their source code is freely available on the authors' websites [48][49][50]. We only make comparisons with the single-image based algorithms because the existing multiple-image based techniques require images taken under various conditions or have large baselines, making it impracticable to compare with them in the same setting. To acquire a single image input, the original LF data is refocused to the specular area. Then the diffuse output is generated under the authors' default settings. We also refocus our refined LF image at the same depth for comparison.

Qualitative analysis

38Recovering the LF diffuse image. microlens-images, except that the depth map is from the central pinhole image. By zooming in the specular area on the hat and the leaf, we easily observe that unsaturated and saturated pixels are correctly restored to their original diffuse color in two steps. The close-up patch of specular component is also provided. Note that the color of specular components have been enhanced for easier visibility throughout this paper.

39Diffuse results for Lytro ILLUM images. In Fig 5, the indoor and outdoor objects have glossy surfaces which are marked by red rectangles. Our approach correctly weakens the specular intensity, successfully recovers diffuse color, and well preserves the consistency of other regions, while Shen, Tan and Yang can cause obvious mistakes, particularly at white and textured areas. In detail, Shen's method creates black holes on the non-chromatic area (the eyes in Toy1 and nose in Toy2) and the highlight in Plant1 is not removed completely yet. Besides, the color of diffuse areas slightly differs to the original image (the hat in Toy1, the face in Toy2). Anyway, it produces good results on five images. About the color information, Tan's results are significantly darker than the original images and bring easy-to-see errors, e.g. losing color consistency, losing texture information and creating inexistent edges. Yang produces comparative results in Plant2 and Box, but gives rise to black holes in Toy1 and Toy2 and inconsistent color in Plant1. Non-specular areas have been ruined to different degrees in these methods, which largely reduce image quality. The results show our algorithm outperforms them.

40Diffuse results for Stanford light field archive images. Fig 6 illustrates three challenging images from the Stanford light field archive. The first image is a Lego Technic truck which has very complex geometry. Our proposed method properly reduces the highlight on the wheels without damaging its geometry and brightness. The second image is a chess board with pieces, which have specular reflections of various intensities. Compared to our diffuse result, Tan loses almost all the information of the image while Shen and Yang destroy the color constancy of background. The last is a chunk of amethyst with interesting specularities and some translucency. After the processing steps for unsaturated and saturated pixels, strong highlights in red and green rectangles are removed acceptably. However, the rest methods fail at it.

Quantitative analysis

41Subjective evaluation metrics. To evaluate our approach in a quantized way, we invite 50 volunteers from different gender and age to score the specular removal results of all methods. Given an image with specular items, human's brain can automatically fix the specular parts and illustrate the diffuse version of this image. Since it's rather individual dependent, for each image, we omit the highest/lowest score and average scores to decrease subjective bias. For every image, the volunteers are required to rate two indexes: SA and IQ. SA is for specularity accuracy, which is graded based on the accuracy of specular components separated by each method compared with the one he has in mind. IN is for image naturalness because preserving naturalness is essential for highlight removal methods to achieve pleasing perceptual quality. Both the two scores are ranging from 0~100, where 0~20 means very poor, 20~40 means poor, 40~60 means fair, 60~80 means good and 80-100 means very good. The greater value of the score, the better quality of the image. The average scores are shown in Table 2, clearly our algorithm is superior to the other three methods in most specular images.

42Objective evaluation metrics. The volunteers are also asked to mark the areas where highlights occur. We average the manually marked regions and regard them as the highlight area ground truth to provide an objective evaluation. Note that this manually marked regions doesn't contain the highlight intensity information, so we change the specular component image of each scene to a binary image under the control of the same threshold. Then the basic measures used in evaluating classification results: precision, recall and F-measure (harmonic mean of precision and recall compared to ground truth) are calculated to test the accuracy of highlight detection, as shown in Tables 3, 4 and 5. From our observation, people tend to draw lines around the relatively stronger and larger highlight areas, and overlook weak and small ones. Our algorithm has a higher precision than other methods among most images while the recall of ours is actually common. The F-measure, which take the performance of both precision and recall into consideration, demonstrates the effectiveness of our method. The precision of other techniques is much lower because non-chromatic (white or gray) areas which they regard as highlights are possibly not included in the manually marked highlights. In addition, Tan achieves a considerably high recall, but it suffers from a poor precision, because it includes most true highlight pixels at the expense of even more detected false highlights.

Conclusions

43We have presented a novel and accurate specular reflection removal methodology based on light field imaging, which extensively exploits the spatial and angular information of the 4D LF together with the characteristics of diffuse and specular reflections. In our methodology, the diffuse image is first recovered by removing the specular effects on "unsaturated" pixels, and then refined locally on "saturated" pixels. The classification and recovering steps on two types of specular pixels makes our approach applicable to various surfaces with more complex and stronger highlights. We have experimented on multiple real world LF images from our Lytro ILLUM and the Stanford light field archive with both qualitative and quantitative analysis. The results demonstrate that our algorithm achieve excellent performance, especially in non-chromatic and textured areas, while properly preserving color constancy on non-specular areas. Still, our method does not work well at mirrors or extremely specular surfaces. Achieving higher accuracy of specularity detection and improving robustness of a larger area of highlight are left as future works.

참고문헌 50건

  1. Depth Estimation for Glossy Surfaces with Light-Field Cameras Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-16181-5_41
  2. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1998 10.1023/a:1007905828438
  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. Detection of specularity using colour and multiple views Image and Vision Computing · Elsevier BV · 1992 10.1016/0262-8856(92)90009-r
  6. Accurate depth map estimation from a lenslet light field camera 2015 10.1109/cvpr.2015.7298762
  7. Nonrigid Structure From Motion via Sparse Representation IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcyb.2014.2351831
  8. Multilinear Sparse Principal Component Analysis IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tnnls.2013.2297381
  9. Using color to separate reflection components Color Research & Application · Wiley · 1985 10.1002/col.5080100409
  10. Video super-resolution based on automatic key-frame selection and feature-guided variational optical flow Signal Processing Image Communication · Elsevier BV · 2014 10.1016/j.image.2014.06.005
  11. FPCODE: AN EFFICIENT APPROACH FOR MULTI-MODAL BIOMETRICS International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2011 10.1142/s0218001411008555
  12. Separating reflection components of textured surfaces using a single image 2003 10.1109/iccv.2003.1238440
  13. A bundled-optimization model of multiview dense depth map synthesis for dynamic scene reconstruction Information Sciences · Elsevier BV · 2014 10.1016/j.ins.2014.11.014
  14. A multi-dimensional image quality prediction model for user-generated images in social networks Information Sciences · Elsevier BV · 2014 10.1016/j.ins.2014.03.016
  15. Visual-Patch-Attention-Aware Saliency Detection IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcyb.2014.2356200
  16. Saliency Detection on Light Field 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2014 10.1109/cvpr.2014.359
  17. Non-rigid structure from motion via sparse representation 2022 IEEE International Conference on Multimedia and Expo (ICME) · 2014 10.1109/icme.2014.6890160
  18. 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
  19. Light field rendering 1996 10.1145/237170.237199
  20. Sparse Alignment for Robust Tensor Learning IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tnnls.2013.2295717
  21. Chromaticity-based separation of reflection components in a single image Pattern Recognition · Elsevier BV · 2008 10.1016/j.patcog.2008.01.026
  22. Joint Tensor Feature Analysis For Visual Object Recognition IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcyb.2014.2374452
  23. Efficient and Robust Specular Highlight Removal IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2014 10.1109/tpami.2014.2360402
  24. A novel and effective method for specular detection and removal by tensor voting 2022 IEEE International Conference on Image Processing (ICIP) · 2014 10.1109/icip.2014.7025211
  25. Light field superresolution 2009 10.1109/iccphot.2009.5559010
  26. 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
  27. Robust Stereo Matching Using Adaptive Normalized Cross-Correlation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2010 10.1109/tpami.2010.136
  28. Extracting layers and analyzing their specular properties using epipolar-plane-image analysis Computer Vision and Image Understanding · Elsevier BV · 2004 10.1016/j.cviu.2004.06.001
  29. A Survey of Specularity Removal Methods Computer Graphics Forum · Wiley · 2011 10.1111/j.1467-8659.2011.01971.x
  30. Highlight removal by illumination-constrained inpainting 2003 10.1109/iccv.2003.1238333
  31. The measurement of highlights in color images International Journal of Computer Vision · Springer Science+Business Media · 1988 10.1007/bf00836279
  32. Simple and efficient method for specularity removal in an image Applied Optics · Optica Publishing Group · 2009 10.1364/ao.48.002711
  33. Fast separation of direct and global components of a scene using high frequency illumination ACM Transactions on Graphics · Association for Computing Machinery · 2006 10.1145/1141911.1141977
  34. Three-dimensional Gabor feature extraction for hyperspectral imagery classification using a memetic framework Information Sciences · Elsevier BV · 2014 10.1016/j.ins.2014.11.045
  35. Towards a Memetic Feature Selection Paradigm [Application Notes IEEE Computational Intelligence Magazine · Institute of Electrical and Electronics Engineers · 2010 10.1109/mci.2010.936311
  36. Light Field Photography with a Hand-held Plenoptic Camera HAL (Le Centre pour la Communication Scientifique Directe) · Centre National de la Recherche Scientifique · 2005
  37. Separation of diffuse and specular reflection in color images 2005 10.1109/cvpr.2001.990495
  38. Robust Tracking and Stereo Matching under Variable Illumination 2006 10.1109/cvpr.2006.260
  39. Total variation models for variable lighting face recognition IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2006 10.1109/tpami.2006.195
  40. Depth from Combining Defocus and Correspondence Using Light-Field Cameras 2013 10.1109/iccv.2013.89
  41. Multiscale TILT Feature Detection with Application to Geometric Image Segmentation IEEE International Conference on Computer Vision Workshops · 2013 10.1109/iccvw.2013.79
  42. Breast cancer discriminant feature analysis for diagnosis via jointly sparse learning Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.11.033
  43. Consistent Matting for Light Field Images Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10593-2_7
  44. Computational Photography 2009 10.1364/cosi.2009.ctua1
  45. The lumigraph 1996 10.1145/237170.237200
  46. Approximate Orthogonal Sparse Embedding for Dimensionality Reduction IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tnnls.2015.2422994
  47. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1997 10.1023/a:1007937815113
  48. Detection of specularity using color and multiple views Lecture notes in computer science · Springer Science+Business Media · 1992 10.1007/3-540-55426-2_13
  49. Study on novel Curvature Features for 3D fingerprint recognition Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.05.065
  50. Computational Photography: Mastering New Techniques for Lenses, Lighting, and Sensors A. K. Peters, Ltd. eBooks · 2009