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

Three-Dimensional Measurement for Specular Reflection Surface Based on Reflection Component Separation and Priority Region Filling Theory

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (24) 패션(코오롱FnC)

기본 정보

저자
  1. Xiaoming Sun — The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China
  2. Ye Liu — The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China
  3. Xiaoyang Yu — The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China
  4. Haibin Wu — The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China
  5. Ning Zhang — The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China
DOI
10.3390/s17010215
저널
Sensors
발행년도
2017
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
27
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s17010215
토픽
Color Science and Applications
OpenAlex ID
W2581668567

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(24) 패션(코오롱FnC)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
three-dimensional measurement, specular highlight removal, structured light, 3D reconstruction, clothing design
판단 근거
본 논문은 정밀한 3D 측정을 위해 정반사(specular reflection)로 인한 하이라이트를 제거하는 알고리즘을 다룹니다. 이는 자동차 인테리어 소재(3)의 표면 품질 검사나 패션(24) 분야의 의류 디자인/형태 측정 시스템의 정밀도를 높이는 분석 기술로 응용 가능합니다.
R&D 활용 포인트
자동차 내장재(시트, 도어패널 등)나 의류 소재의 표면 형상 및 품질을 비접촉식 3D 스캐닝으로 검사할 때, 광택으로 인한 측정 오류를 줄이는 알고리즘으로 활용할 수 있습니다.
평가 입력
본문 39,968자 중 30,032자 발췌

초록

Due to the strong reflection property of materials with smooth surfaces like ceramic and metal, it will cause saturation and the highlight phenomenon in the image when taking pictures of those materials. In order to solve this problem, a new algorithm which is based on reflection component separation (RCS) and priority region filling theory is designed. Firstly, the specular pixels in the image are found by comparing the pixel parameters. Then, the reflection components are separated and processed. However, for ceramic, metal and other objects with strong specular highlight, RCS theory will change color information of highlight pixels due to larger specular reflection component. In this situation, priority region filling theory was used to restore the color information. Finally, we implement 3D experiments on objects with strong reflecting surfaces like ceramic plate, ceramic bottle, marble pot and yellow plate. Experimental results show that, with the proposed method, the highlight caused by the strong reflecting surface can be well suppressed. The highlight pixel number of ceramic plate, ceramic bottle, marble pot and yellow plate, is decreased by 43.8 times, 41.4 times, 33.0 times, and 10.1 times. Three-dimensional reconstruction results show that highlight areas were significantly reduced.

본문 39,968자

본문 펼치기
# _sensors_ _Article_ ## Three-Dimensional Measurement for Specular Reflection Surface Based on Reflection Component Separation and Priority Region Filling Theory Xiaoming Sun *, Ye Liu, Xiaoyang Yu *, Haibin Wu and Ning Zhang The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations, Harbin University of Science and Technology, Harbin 150080, China; yiqvtonggong@outlook.com (Y.L.); woo@hrbust.edu.cn (H.W.); zhnk2016@126.com (N.Z.) * Correspondence: xiaoming_66881982@163.com (X.S.); yuxiaoyang@hrbust.edu.cn (X.Y.) Academic Editor: Vittorio M. N. Passaro Received: 28 November 2016; Accepted: 17 January 2017; Published: 23 January 2017 Abstract: Due to the strong reflection property of materials with smooth surfaces like ceramic and metal, it will cause saturation and the highlight phenomenon in the image when taking pictures of those materials. In order to solve this problem, a new algorithm which is based on reflection component separation (RCS) and priority region filling theory is designed. Firstly, the specular pixels in the image are found by comparing the pixel parameters. Then, the reflection components are separated and processed. However, for ceramic, metal and other objects with strong specular highlight, RCS theory will change color information of highlight pixels due to larger specular reflection component. In this situation, priority region filling theory was used to restore the color information. Finally, we implement 3D experiments on objects with strong reflecting surfaces like ceramic plate, ceramic bottle, marble pot and yellow plate. Experimental results show that, with the proposed method, the highlight caused by the strong reflecting surface can be well suppressed. The highlight pixel number of ceramic plate, ceramic bottle, marble pot and yellow plate, is decreased by 43.8 times, 41.4 times, 33.0 times, and 10.1 times. Three-dimensional reconstruction results show that highlight areas were significantly reduced. Keywords: three-dimensional measurement; reflection component separation; specular highlight removal; priority region filling theory 1. Introduction Structured light (SL) vision measurement has drawn much attention due to its potential for three-dimensional (3D) applications to diverse areas, such as re-engineering, 3D games, industrial inspection, object recognition, and clothing design, to name only a few [1]. In the field of structured light, phase calculation-based fringe projection techniques are actively studied in academia and widely applied in industry because of the advantages of non-contact operation, full-field acquisition, high accuracy, fast data processing and low cost [2–4]. However, in virtually any real-world application, especially in industry, there are large numbers of specular objects need to be measured. Current fringe projection methods are unable to cope with scene regions that produce strong highlights due to specular reflection. Highlights can cause the camera saturation, change the gray distribution of the laser stripe, and influence the accuracy of stripe center extraction. Highlight removal remains a major challenge for SL vision measurement area [5]. Many methods have been developed for separating specular and diffuse reflection components. Shafer proposed dichromatic reflection model to separate reflection components [6]. Klinker et al. found T-shaped color distribution features of diffuse and highlights in the RGB color space to detect and _Sensors_ 2017, _17_, 215; doi:10.3390/s17010215 [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2017, _17_, 215 2 of 16 remove highlights, but this T-shaped color distribution is sensitive to noise [7]. Mallick et al. proposed a highlight removal method on the assumption that the color of light source was known, which can avoid segmentation algorithm of image [8]. Kokku et al. proposed template feature extraction method [9], but it is not useful for objects with complex features or no features. Yang [10] used a homomorphic filtering algorithm to remove highlights, which is based on partial differential equation. Chai put forward a method [11] based on a frequency domain filter. This method compared highlights and diffuse light frequency spectrum to make a frequency domain filter for removing highlights, but it was only applicable to the situation in which curvature change was not obvious. For the above-mentioned methods, segmentation needs to be performed, which limits the technique’s effectiveness. Wolff and Boult [12] used the polarization method to separate the reflection components. A key observation of their method is that, for most incident angles, specular reflections become polarized, while diffuse reflections are basically unpolarized. Nayar et al. [13] extended this work by considering colors instead of using the polarizing filter alone. Sohn [14] analyzed the relationship between specular objects and polarized reflectivity. Tsuru [15] used elliptical polarization method to measure 3D specular objects. However, the polarization method needed more polaroids, which increased the complexity of measurement. In addition, if an experiment used an unpolarized light source, it needs lots of images in different polarized directions. Rogerio Feris used multi-light sources to reduce the highlight region, but the highlight region area cannot be completely removed [16]. Y. Liu [17] used multiple images taken under different light sources to remove the highlight region. Qian [18] and Harding [19] took the same image from different angles to reduce highlights, but this method can create a complex splicing problem. Sato and Ikeuchi et al. [20,21] took a series of images by moving the light source, and analyzed the color information of multiple images to remove the specularities. G. H. Liu [22] used a multiple exposure method and adjusted exposure time to make the specularities unsaturated, but it can bring fringe center offset phenomenon, which cannot meet measurement accuracy requirements. Asundi [23] used the spray method to change the reflection characteristics of the metal surface to eliminate the specularities, but this method had certain corrosion to the blade surface. Jiang [24] used a spherical light source to measure the surface with strong reflection characteristics. In 2007, Guo [25] used a moving diffuse light source to reduce highlights. In 2012, the diffuser was applied to the strong reflection measurement field by Nayar [5]. In 2014, Sills [26] used the high power light emitting diode to irradiate surface of strong reflection directly. Through the above analysis, dichromatic reflection model is suitable for nonconductive material, but not for ceramics and metal surfaces. The polarization method is easy to cause the camera’s saturation when incident angle is close to 90 degrees, and it only works well for dielectric specular reflections as opposed to metallic specular reflections. Multi-light sources and the multi-exposure method still has overlapped parts of highlight regions. Some image processing methods require multiple images taken under specific conditions, but, for many applications, using multiple images is impractical. In addition, a single input image method requires complex color segmentation to deal with multi-colored images. For this problem, we proposed a specular highlight removal method based on reflection component separation (RCS) and priority pixel filling theory, which does not depend on either polarization or image segmentation. This method is based on color information completely without requiring any geometrical information of the object surface. Reflection component separation can reduce the intensity of highlight area, and make the specular reflection component of the object decrease. However, for ceramic, metal and other objects with strong specular highlight, RCS theory will change color information of highlight pixel due to larger specular reflection component. In this situation, the priority pixel filling theory was used to restore the color information. Finally, the proposed method was applied to reconstruct ceramic surfaces with strong specular highlights. _Sensors_ 2017, _17_, 215 3 of 16 2. Specular Highlight Removal Reflection component separation theory is proposed by Robby T. Tan, which is based on Shafer’s dichromatic reflection model [27]. In this theory, firstly, in order to reduce the pixel intensity, chroma values of two adjacent pixels are compared and the larger maximum chroma value is assigned to the smaller one. Then, each pair of adjacent pixels in the whole image are compared to reduce the image intensity. _2.1._ _Reflection Model_ As shown in Figure 1, the medium comprises the bulk of the matter and is approximately transparent in general, while the pigments selectively absorb the light and scatter it by reflection and refraction. Most inhomogeneous objects exhibit both diffuse and specular reflections. Considering these two reflection components, Shafer [6] proposed this dichromatic reflection components, which states that reflected lights of inhomogeneous objects are a linear combination of diffuse and specular reflection components. Normal Specular reflection Diffuse reflection Incident light Diffuse reflection Figure 1. Dichromatic reflection model. As a result, each pixel of the image taken by the Charge Coupled Device (CCD) is a linear combination of diffuse component and specular component, which can be described as Ω <sup>_S_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>,</sup> <sup>_x_</sup> <sup>)</sup> <sup>_B_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>+</sup> <sup>_β_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> Ω <sup>_B_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>,</sup> (1) _I_ ( _x_ ) = _α_ ( _x_ ) where _I_ ( _x_ ) is the color vector of image intensity, and the spatial parameter, and _x_ is the two-dimensional image coordinates. _α_ ( _x_ ) and _β_ ( _x_ ) are the weighting factors for diffuse and specular reflections, respectively. _S_ ( _λ_, _x_ ) is the diffuse spectral reflectance function and the parameter _λ_ represents wavelength of the light spectrum, while _B_ ( _λ_ ) is the spectral power distribution function of illumination. _Q_ ( _λ_ ) is the three element-vector of sensor sensitivity, and the integration is done over the visible spectrum Ω. For the sake of simplicity, Equation (1) can be written as: _I_ ( _x_ ) = _α_ ( _x_ ) _D_ ( _x_ ) + _β_ ( _x_ ) _G_, (2) where _D_ ( _x_ ) = <sup>�</sup> Ω <sup>_S_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>,</sup> <sup>_x_</sup> <sup>)</sup> <sup>_B_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>and</sup> <sup>_G_</sup> <sup>=</sup> <sup>�</sup> where _D_ ( _x_ ) = <sup>�</sup> Ω <sup>_S_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>,</sup> <sup>_x_</sup> <sup>)</sup> <sup>_B_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>and</sup> <sup>_G_</sup> <sup>=</sup> <sup>�</sup> Ω <sup>_B_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>.</sup> _α_ ( _x_ ) _D_ ( _x_ ) denotes the diffuse reflection component, while _β_ ( _x_ ) _G_ represents the specular reflection component. In the dichromatic reflection model, we also need to know the chroma of the image, which is defined as follows: _<u>I</u>_ <u>(</u> _<u>x</u>_ <u>)</u> _σ_ ( _x_ ) = _Ir_ ( _x_ ) + _Ig_ ( _x_ ) + _Ib_ ( _x_ ) <sup>,</sup> (3) In the dichromatic reflection model, we also need to know the chroma of the image, which is defined as follows: �. where _σ_ = - _σr_, _σg_, _σb_ _Sensors_ 2017, _17_, 215 4 of 16 When only the diffuse reflection component is contained in the pixel _β_ ( _x_ ) = 0, the chroma value is independent of the diffuse reflection weighting factor _α_ ( _x_ ). Therefore, the diffuse reflection chroma expression is: _<u>D</u>_ <u>(</u> _<u>x</u>_ <u>)</u> Λ( _x_ ) = _Dr_ ( _x_ ) + _Dg_ ( _x_ ) + _Db_ ( _x_ ) <sup>,</sup> (4) where Λ = _{_ Λ _r_, Λ _g_, Λ _b}_ . In the same way, when the pixels only have specular reflection component _α_ ( _x_ ) = 0, the chroma value of the pixel is independent of the specular reflection factor _β_ ( _x_ ). We call this specular chroma with the definition: _<u>G</u>_ Γ =, (5) _Gr_ + _Gg_ + _Gb_ where Γ = _{_ Γ _r_, Γ _g_, Γ _b}_ . Consequently, with regards to Equations (4) and (5), Equation (2) can be written in terms of chromaticity: _I_ ( _x_ ) = _md_ ( _x_ )Λ( _x_ ) + _ms_ ( _x_ )Γ, (6) where _md_ ( _x_ ) = _α_ ( _x_ )[ _Dr_ ( _x_ ) + _Dg_ ( _x_ ) + _Db_ ( _x_ )], _ms_ ( _x_ ) = _β_ ( _x_ )( _Gr_ + _Gg_ + _Gb_ ). _2.2._ _Selection of Highlight Pixels_ Firstly, we need to normalize the image and get the normalized image P and the specular-free image T. For the normalized image P, the normalized diffuse pixel is expressed as: _I′_ ( _x_ ) = _m′_ _d_ <sup>(</sup> <sup>_x_</sup> <sup>)Λ</sup> _′_ ( _x_ ), _′_ ( _x_ ) = _m′_ _′_ image T. For the normalized image P, the normalized diffuse pixel is expressed as: _I′_ ( _x_ ) = _m′_ _d_ <sup>(</sup> <sup>_x_</sup> <sup>)Λ</sup> _′_ ( _x_ ), if we apply logarithmics on this pixel, the equation becomes: _d_ <sup>(</sup> <sup>_x_</sup> <sup>)Λ</sup> _′_ ). (7) log( _I_ _′_ ( _x_ 1)) = log( _m′d_ <sup>(</sup> <sup>_x_</sup> <sup>1)) + log(Λ</sup> Then, we apply differentiation operation on this pixel, the equation becomes: _′_ ( _x_ 1)) = _<u>d</u>_ _′_ <sup>_I_</sup> _dx_ <sup>log(</sup> <sup>_md_</sup> _<u>d</u>_ _dx_ <sup>log(</sup> <sup>_I_</sup> _′_ ( _x_ 1)), (8) while, for the specular-free image T, we can obtain a corresponding pixel in the specular-free image. _o_ _′_ _o_ _o_ We describe it as _I_ ( _x_ 1) = _md_ <sup>(</sup> <sup>_x_</sup> <sup>1)</sup> <sup>_k_</sup> Λ, where _k_ and Λ are independent from the spatial parameter. Using the same operations, the logarithmic image intensity is expressed as: _′_ _d_ <sup>(</sup> <sup>_x_</sup> <sup>1)</sup> <sup>_k_</sup> _o_ Λ, where _k_ and We describe it as _o_ _I_ ( _x_ 1) = _m_ _o_ Λ). (9) log( _o_ _I_ ( _x_ 1)) = log( _md_ _′_ ( _x_ 1)) + log( _k_ ) + log( After taking the derivative, we can get to the equation: _<u>d</u>_ _I_ _dx_ <sup>log(</sup> _Io_ ( _x_ 1)) = <sup>_<u>d</u>_</sup> _dx_ <sup>log(</sup> <sup>_md_</sup> _Io_ ( _x_ 1)) = <sup>_<u>d</u>_</sup> _′_ ( _x_ 1)). (10) Based on the theory of intensity logarithmic differentiation, we can obtain _o_ _I_ ( _x_ )). (11) ∆( _x_ ) = _d_ log( _I_ _′_ ( _x_ )) _−_ _d_ log( If ∆ = 0, the two-neighboring pixels are diffuse pixels. If ∆ _̸_ = 0, the two-neighboring pixels may be specular reflection pixels or two discontinuous pixels or noise. We can be expressed as = 0 : _di f f use_, = 0 : _specular_ or color discontinuity. ∆( _x_ ) =    (12) _Sensors_ 2017, _17_, 215 5 of 16 Secondly, we need to determine whether the two pixels are discontinuous pixels. Here, we calculate the chroma difference between the two adjacent pixels in the R and G channels: _′_ _σr_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_σ_</sup> _′_ _′_ _g_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_σ_</sup> _g_ _′_ _g_ <sup>(</sup> <sup>_x −_</sup> <sup>1),</sup> (13) ∆ _r_ = _σr_ _′_ _r_ <sup>(</sup> <sup>_x −_</sup> <sup>1), ∆</sup> <sup>_g_</sup> <sup>=</sup> <sup>_σ_</sup> _′_ _b_ _′_ _b_ _′_ _<u>Ir</u>_ _r_ <sup>=</sup> _′_ _′_ _′_ _Ig_ _Ir′_ <sup>+</sup> <sup>_I_</sup> _g′_ _r′_ <sup>+</sup> <sup>_I_</sup> _I_ _g′_ <sup>+</sup> <sup>_I_</sup> _σ_ _′_ _<u>Ir</u>_ _Ir′_ <sup>+</sup> <sup>_I_</sup> _g′_ _r′_ <sup>+</sup> <sup>_I_</sup> _′_ , _σg_ <sup>=</sup> . (14) _g′_ <sup>+</sup> <sup>_I_</sup> When ∆ _r_ _>_ _R_ <sup>¯</sup> and ∆ _g_ _>_ _G_ <sup>¯</sup> ( _R_ <sup>¯</sup> and _G_ <sup>¯</sup> are constants), these two pixels are discontinuous. Otherwise, they are noise or specular reflection pixels. When two neighboring pixels have the same surface color, their chromaticity difference is small, even for specular pixels. Thus, we define _R_ <sup>¯</sup> = _G_ <sup>¯</sup> = 0.1. After the steps above, we also need to judge if the two pixels are specular reflection pixels or noise. Because the maximum chroma of the noise pixel is a constant value, the maximum chroma of the specular reflection pixel must be unequal. Therefore, we only need to determine if the two pixels chrominance maximum are equal. If they are the same, the two pixels are noise. Otherwise, at least one of them must be a specular pixel. Then, the same operation is done for all pixels iteratively. Finally, we will get the specular reflection pixels of the whole image. _2.3._ _Specular Reflection Component Removal Theory_ Figure 2 shows the relationship between diffuse and specular reflection components. _′_ _r_ <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>_I_</sup> _′_ _′_ _g_ <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>_I_</sup> _b_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_}_</sup> The maximum chromaticity can be written as: _σ_ ˜ <sup>_′_</sup> ( _x_ ) = <u>max(</u> _<u>Ir</u>_ <sup>_′_</sup> ( _<u>x</u>_ ), _<u>Ig</u>_ <sup>_′_</sup> ( _<u>x</u>_ ), _<u>Ib</u>_ <sup>_′_</sup> ( _<u>x</u>_ )) , where _{I_ _Ir_ <sup>_<u>′</u>_</sup> ( _x_ )+ _Ig_ <sup>_<u>′</u>_</sup> ( _x_ )+ _Ib_ <sup>_<u>′</u>_</sup> ( _x_ ) are obtained from a normalized image. For this maximum chromaticity intensity space, with its _x_ -axes representing _σ_ ˜ <sup>_′_</sup> and its _y_ -axes representing _I_ <sup>˜</sup> <sup>_′_</sup>, with _I_ <sup>˜</sup> <sup>_′_</sup> = max( _Ir′_ <sup>,</sup> <sup>_I_</sup> _g′_ <sup>,</sup> <sup>_I_</sup> _b′_ <sup>), the intensity of the specular</sup> representing _σ_ ˜ <sup>_′_</sup> and its _y_ -axes representing _I_ <sup>˜</sup> <sup>_′_</sup>, with _I_ <sup>˜</sup> <sup>_′_</sup> = max( _Ir′_ <sup>,</sup> <sup>_I_</sup> _g′_ <sup>,</sup> <sup>_I_</sup> _b′_ <sup>), the intensity of the specular</sup> component is always larger than diffuse components. _′_ _r_ <sup>,</sup> <sup>_I_</sup> _′_ _g_ <sup>,</sup> <sup>_I_</sup> ### I / 350 300 250 200 150 100 50 Specular refection Diffuse component Refection component 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8  / Figure 2. Relationship between diffuse and specular reflection components. The maximum chroma of the diffuse reflection component is not changed with the change of image intensity. However, the maximum chroma of the specular reflection component changes with the intensity of the image. The intensity of the specular reflection component decreases with the increase of the maximum chroma. Finally, the specular component will intersect with the diffuse component at one point. It means that only increasing the maximum chroma of the pixel points is needed, and the specular reflection component can be reduced. _Sensors_ 2017, _17_, 215 6 of 16 As shown in Figure 3, we choose three adjacent pixels in the image and defined them as a, b, and c. The specular reflection component of point a is the largest and the diffuse reflection component of point c is the largest, while point b is located in the middle of a and c. _I_ / a b c 0  / Figure 3. Maximum chroma space. Firstly, the maximum chromas of pixel a and pixel b are compared, and the greater the maximum chroma intensity, the weaker the specular reflection intensity. We can see from Figure 3 that the maximum chroma of point a is less than that of point b. Now, let the maximum chroma of point a be equal to that of b. Then, the specular reflection intensity of point a will be reduced, as shown in Figure 4a. Secondly, we compare the maximum chroma of b and c, and let the maximum chroma of b be equal to that of c. Then, the specular reflection intensity of b will decrease. While the maximum chroma of a is equal to the maximum chroma of b, the specular reflection component of a can be reduced. By analogy, we take iteration for all pixels of surrounding specular reflection area, and the specular reflection component of all pixels will decrease, so as to achieve the purpose of highlight removal. _I_ / _I_ / a b c 0  / a b c 0  / ( a ) ( b ) Figure 4. Reflection component separation. ( a ) gives the maximum chroma of b to a; and ( b ) gives the maximum chroma of c to b. 3. Highlight Region Inpainting Based on Priority Theory For some strongly reflective surfaces, such as ceramic, glass and metal surfaces, the highlight area is large, as shown in Figure 5a. After the specular reflection component removal method, as shown in Figure 5b, the highlight part has been removed, but the color information is lost and the highlight part becomes black. The reason is that the intensity of the specular reflection component is too large. As we _Sensors_ 2017, _17_, 215 7 of 16 know, specular reflection separation theory is used to subtract the specular reflection component from the pixel and obtain the diffuse reflection component. If the specular reflection component is too large, which almost occupies the whole pixel, the diffuse reflection component is negligible. Therefore, pixels of the highlight area will become black. ( a ) ( b ) Figure 5. Ceramic bottle processed by specular reflection component removal method. ( a ) input image of ceramic bottle; and ( b ) processed ceramic bottle. _3.1._ _Principal of Region Filling Method Based on Priority Theory_ Figure 6 is a notation diagram of a region-filling algorithm [28], the target region to be filled is indicated by Ω, and its contour is denoted as _δ_ Ω, which is the boundary of the area Ω and the source region Φ. Φ remains fixed and provides samples used in Ω. _ψp_ is a sampling window, and its size can be changed according to the different images. The point P is the center point of patch _ψp_, for some _p ∈_ _δ_ Ω, and its priority _P_ ( _p_ ) is defined as: _P_ ( _p_ ) = _C_ ( _p_ ) _D_ ( _p_ ), (15) where the _C_ ( _p_ ) is the confidence term, and _D_ ( _p_ ) is the data term. They show the continuity of the boundary point, which are defined as follows: ��� ��� _∇Ip⊥_ <sup>_· np_</sup> _C_ ( _p_ ) = ∑ _q∈ψp∩_ Ω _C_ ( _q_ ) , _D_ ( _p_ ) = <u>��</u> _ψp_ <u>��</u> , (16) _α_ where �� _ψp_ �� is the area of the _ψp_, _α_ is the normalized factor, and _⊥_ is the operation of the orthogonal.    p p n p  Ip  #### I  Figure 6. Image annotation. _Sensors_ 2017, _17_, 215 8 of 16 After calculation of priority _P_ ( _p_ ), the patch _ψ_ ˆ _p_ with highest priority is found. We then should find the module _ψq_ ˆ that is the most similar to the module _ψ_ ˆ _p_ in all modules. The _ψq_ ˆ should meet the following equation: �, (17) _ψq_ ˆ = arg min _ψq_ ˆ _∈_ Φ <sup>_d_</sup> - _ψ_ ˆ _p_, _ψq_ ˆ where the distance _d_ - _ψ_ ˆ _p_, _ψq_ ˆ� is defined as the sum of squared differences of the already filled pixels in the two patches. where the distance _d_ - _ψ_ ˆ _p_, _ψq_ ˆ After the eligible module _ψq_ ˆ was found, each pixel in sampling module _ψ_ ˆ _p_ was filled from its corresponding position inside _ψq_ ˆ. With the change in pixel of sampling module, priority will also be changed, so the priority should be calculated again. The detailed description is shown in Section 3.2. _3.2._ _Highlight Region Filling Algorithm_ We now proceed with the details of our algorithm. The detailed algorithm description is shown in Algorithm 1. Algorithm 1. Highlight region filling algorithm Selected Ω and defined Φ = _I −_ Ω Define _ψp_, and compute _P_ ( _p_ ) (WHILE) the area Ω has not been completely processed Find highest priority patch _ψ_ ˆ _p_ in Φ, and find module _ψq_ ˆ Copy data from _ψq_ ˆ to _ψ_ ˆ _p_ in Φ Updata _C_ ( _p_ ) 4. Experiment _4.1._ _System Introduction_ Figure 7 shows the system structure and measuring range. As shown in Figure 7a, the experimental measurement system consists of an industrial camera (DH-HV3151UC, Daheng Image, 2048 _×_ 1536, China Daheng Group, Inc., Beijing, China), a projector (InFocus In82, 1024 _×_ 768, Infocus Visual Digital Technology (Shenzhen) Co., Shenzhen, China) and two computers. After the calibration, stereo rectification, matching and disparity calculation, we can obtain the 3D information of the space points. The separations were processed by Inter Xeon CPU E5-2620 with 16 GB RAM memory. Figure 7b shows measuring range, where _O_ is the origin of the measured space, and the measuring range in the _x_ -, _y_ - and _z_ -direction is, respectively, 350 mm, 250 mm and 120 mm. ( a ) ( b ) Figure 7. System structure and measuring range. ( a ) system structure; and ( b ) measuring range. _Sensors_ 2017, _17_, 215 9 of 16 _4.2._ _Visual Comparisons_ In the experiment, the ceramic bottle, ceramic plate, marble pot and yellow plate were selected as the measured objects, which have strong reflection characteristics. Then, these images were processed by our proposed method in this paper, and processed images and original images were compared and analyzed. Figure 8 shows the ceramic bottle images projected by coded fringe pattern, in which there are obvious highlights. Figure 10b shows the reconstruction result without highlight removal, and the absence of information is caused due to specularities, as shown by the vacant areas in Figure 10d. Figure 9b shows the processed ceramic bottle with our method. As can be seen from Figure 9, the highlight region is significantly reduced. Figure 10c gives the three-dimensional reconstruction result of Figure 9, and the reconstructed effect is better than the effect in Figure 10b. Figure 8. Ceramic bottle influenced by highlight. Figure 9. Processed results of ceramic bottle with our method. _Sensors_ 2017, _17_, 215 10 of 16 ( a ) ( b ) ( c ) ( d ) ( e ) Figure 10. Comparison of the reconstruction of ceramic bottle before and after processing. ( a ) ceramic bottle; ( b ) before processing; ( c ) after processing; ( d ) enlarged view of red frame in ( b ); and ( e ) enlarged view of red frame in ( c ). Figure 11 gives the comparison of the ceramic plate with the projected pattern before and after processing. As shown in Figure 11a, the upper and lower parts of the image have obvious highlight area. By using the proposed method, from Figure 11b, it is obvious that highlight regions disappear. Figure 12 shows the comparison result of the reconstruction before and after processing. As shown in Figure 12b, due to the loss of stripe information, there are vacant areas brought by highlights. Figure 12c shows reconstruction results processed by the proposed method, and we can see that, after processing, the plate is well reconstructed, the reconstructed surface is fine and smooth, and the highlight area disappears. In order to test the effectiveness of this approach working with objects having different material, the marble pot was chosen as the measured object. Figure 14a shows the marble pot, of which the surface is slightly rougher than the ceramic surface. As shown in Figure 14a, the middle part and the base of the marble pot have obvious highlight areas. Figure 14b shows the reconstruction result without highlight removal, and the absence of information is caused by specularities, as shown by the vacant areas in Figure 14d. Figure 13 shows the comparison results of the marble pot before and after processing. Compared with Figure 13a, it is obviously that highlight phenomenon is eliminated in Figure 13b. Figure 14c shows reconstruction results processed by the proposed method, and we can see that, after processing, the marble pot is well reconstructed, and the highlight area disappears. _Sensors_ 2017, _17_, 215 11 of 16 ( a ) ( b ) Figure 11. Comparison of ceramic plate before and after processing. ( a ) ceramic plate influenced by highlights; and ( b ) processed ceramic plate with our method. ( a ) ( b ) ( c ) ( d ) ( e ) Figure 12. Comparison of the reconstruction of ceramic plate before and after processing. ( a ) ceramic plate; ( b ) before processing; ( c ) after processing; ( d ) enlarged view of red frame in ( b ); and ( e ) enlarged view of red frame in ( c ). In order to test the effectiveness of this approach working with objects having different colors, the yellow ceramic plate was chosen as the measured object. Figure 15 gives the comparison of yellow ceramic plate with the projected pattern before and after processing. As shown in Figure 15a, the upper part of the yellow plate has an obvious highlight area. By using the proposed method, from Figure 15b, it is obvious that the highlight region disappears. Figure 16 shows the comparison result of the reconstruction before and after processing. As shown in Figure 16b, due to the loss of stripe information, there are vacant areas brought by the highlights. Figure 16c shows reconstruction results processed by the proposed method, and we can see that, after processing, the plate is well reconstructed, and the highlight area disappears. _Sensors_ 2017, _17_, 215 12 of 16 ( a ) ( b ) Figure 13. Comparison of marble pot before and after processing. ( a ) marble pot influenced by highlights; and the ( b ) processed marble pot with our method. ( a ) ( b ) ( c ) ( d ) ( e ) Figure 14. Comparison of the reconstruction of marble pot before and after processing. ( a ) marble pot; ( b ) before processing; ( c ) after processing; ( d ) enlarged view of red frame in ( b ); and ( e ) enlarged view of red frame in ( c ). ( a ) Figure 15. _Cont._ _Sensors_ 2017, _17_, 215 13 of 16 ( b ) Figure 15. Comparison of yellow plate before and after processing. ( a ) yellow plate influenced by highlights; and ( b ) processed yellow plate with our method. ( a ) ( b ) ( c ) ( d ) ( e ) Figure 16. Comparison of the reconstruction of yellow plate before and after processing. ( a ) yellow plate; ( b ) before processing; ( c ) after processing; ( d ) enlarged view of red frame in ( b ); and ( e ) enlarged view of red frame in ( c ). In order to present 3D reconstruction results, as shown in Figure 17, we magnified the reconstruction surfaces. From Figure 17, we can see that ceramic plate, ceramic bottle, and marble pot are all vividly reconstructed. The magnified parts of the figure also prove that the details of these measured objects are clearly displayed and reconstructed surfaces are fine and smooth, which proves that the proposed approach is suitable for the object with highlight. _4.3._ _Quantitative Analysis_ In order to more intuitively describe the proposed highlight removal method, Table 1 gives the number of highlight pixels before and after the processing. For the ceramic bottle, the number of highlight pixels decreased from 10,326 to 236 by about 43.8 times. For the ceramic plate, the number of highlight pixels decreased by 41.4 times from 5637 to 136. For the marble pot, the number of highlight pixels decreased by 33.0 times from 3365 to 102. For the yellow plate, the number of highlight pixels decreased by 10.1 times from 162 to 16. _Sensors_ 2017, _17_, 215 14 of 16 ( a ) ( b ) Figure 17. 3D reconstruction results. ( a ) before processing; and ( b ) after processing. Table 1. The number of highlight pixels before and after the processing. The Number of Total Number of Pixels Measured Object Percentage Reduction Highlight Pixels in Red Frame Original image of ceramic bottle 10,326 88,660 11.6% 43.8 Processed image of ceramic bottle 236 0.27% original image of ceramic plate 5637 37492 15.0% 41.4 Processed image of ceramic plate 136 0.36% original image of marble pot 3365 62,944 5.3% 33.0 Processed image of marble pot 102 0.16% original image of yellow plate 162 9183 1.76% 10.1 Processed image of yellow plate 16 0.17% _4.4._ _Objective Performance Comparisons_ To evaluate the performance of the proposed approach in the present paper, we compare it with the color space conversion method [29]. For removing high-intensity regions in a single image, the color space conversion method extracts the excessively illuminated regions and changes their brightness. Figure 18 is the comparison result between the proposed method and the color space conversion method, as shown in Figure 18b. The highlights have been weakened, but the overall brightness of the image has changed. ( a ) ( b ) ( c ) Figure 18. Comparison result between the proposed method and the color space conversion method. ( a ) the original image; ( b ) color space conversion method; and ( c ) proposed method. _Sensors_ 2017, _17_, 215 15 of 16 5. Conclusions In a structured light 3D measurement field, when the object has a smooth surface, it can form a highlight area due to the specular reflection, and the distortion of the object will cause a measurement error. In this paper, for the purpose of removing highlight pixels effectively, we proposed a specular highlight removal method based on reflection component separation (RCS) and priority region filling theory, which does not depend on either polarization or image segmentation. Primarily, RCS theory is used to separate reflection components, i.e., determining the target highlight region. Then, priority region filling theory was used to restore the color information of the highlight region. Finally, we build up the system platform and implement 3D experiments on objects with strong reflecting surfaces like ceramic plates, bottles, marble pots and yellow plates. Experimental results show that with the proposed approach, the highlight pixel numbers of the ceramic bottle, ceramic plate, marble pot and yellow plate are decreased by 43.8 times, 41.4 times, 33.0 times and 10.1 times, which proves that this method can effectively remove the specular pixels. Furthermore, 3D reconstruction results of surfaces show that the reconstructed surface is fine and smooth, and the detail features of the measured objects are clearly displayed, which proves that the proposed approach is suitable for objects with strong reflecting surfaces. Future work may include integrating prior knowledge and machine learning to restore much larger highlight regions. Acknowledgments: This study was supported by the National Natural Science Foundation of China (61401126, 61571168), the Natural Science Foundation of Heilongjiang Province of China (QC2015083), and Heilongjiang Postdoctoral Financial Assistance (LBH-Z14121). Author Contributions: Xiaoming Sun and Xiaoyang Yu conceived and designed the experiments; Ye Liu performed the experiments; Haibin Wu and Xiaoming Sun analyzed the data; Ning Zhang contributed analysis tools; Xiaoming Sun wrote the paper. Conflicts of Interest: The authors declare no conflict of interest. References 1. Bui, L.Q.; Lee, S. Boundary Inheritance Codec for high-accuracy structured light three-dimensional reconstruction with comparative performance evaluation. _Appl._ _Opt._ 2013, _52_, 5355–5370. 2. Chen, F.; Brown, G.M.; Song, M. Overview of three dimensional shape measurement using optical methods. _Opt._ _Eng._ 2000, _39_, 10–22. 3. Blais, F. Review of 20 years of range sensor development. _Electron Imaging_ 2004, _13_, 231–240. 4. Zhang, Z.H. Review of single-shot 3D shape measurement by phase calculation-based fringe projection techniques. _Opt._ _Lasers Eng._ 2012, _50_, 1097–1106. 5. Nayar, S.K.; Gupta, M. Diffuse Structured Light. In Proceedings of the IEEE International Conference on Computational Photography, Seattle, WA, USA, 28–29 April 2012; pp. 1–11. 6. Shafer, S. Using color to separate reflection components. _Color Res._ _Appl._ 1985, _10_, 210–218. 7. Klinker, G.J.; Shafer, S.A.; Kanade, T. The measurement of highlights in color images. _Int._ _J. Comput._ _Vis._ 1988, _2_, 7–32. 8. Mallick, S.P.; Zickler, T.E.; Kriegman, D.J.; Belhumeur, P.N. Beyond lambert: Reconstructing specular surfaces using color. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, San Diego, CA, USA, 20–26 June 2005; pp. 619–626. 9. Kokku, R.; Brooksby, G. Improving 3D surface measurement accuracy on metallic surfaces. _Proc._ _SPIE_ 2005, _5856_, 618–624. 10. Yang, Y.M.; Fan, J.Z.; Zhao, J. Preprocessing for highly reflective surface defect image. _Opt._ _Precis._ _Eng._ 2010, _18_, 2288–2296. 11. Chai, Y.T.; Wang, Z.; Gao, J.M.; Huang, J.H. Highlight Removal Based on Frequency-Domain Filtering. _Laser Optoelectron. Prog._ 2013, _5_, 131–139. 12. Wolff, L.; Boult, T. Constraining object features using polarization reflectance model. _IEEE Trans._ _Pattern_ _Anal._ _Mach._ _Intell._ 1991, _13_, 635–657. _Sensors_ 2017, _17_, 215 16 of 16 13. Nayar, S.; Fang, X.; Boult, T. Removal of Specularities using Color and Polarization. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, New York, NY, USA, 15–18 June 1993. 14. Sohn, B.J.; Lee, S. Analytical relationship between polarized reflectivities on the specular surface. _Int._ _J._ _Remote Sens._ 2013, _34_, 2368–2374. 15. Tsuru, T. Tilt-ellipsometry of object surface by specular reflection for three-dimensional shape Measurement. _Opt._ _Express_ 2013, _21_, 6625–6632. 16. Feris, R.; Raskar, R.; Tan, K.H.; Turk, M. Non-photorealistic camera: Depth edge detection and stylized rendering using multi-flash imaging. _ACM Trans._ _Graph._ 2004, _23_, 679–688. 17. Liu, Y.K.; Su, X.Y.; Wu, Q.Y. Three Dimensional Shape Measurement for Specular Surface Based on Fringe Reflection. _Acta Opt._ _Sin._ 2006, _26_, 1636–1640. 18. Qian, X.P.; Harding, K.G. Computational approach for optimal sensor setup. _Opt._ _Eng._ 2003, _42_, 1238–1248. 19. Hu, Q.; Harding, K.G.; Du, X.; Hamilton, D. Shiny parts measurement using color separation. _Proc._ _SPIE_ 2005, _6000_, 125–132. 20. Sato, Y.; Ikeuchi, K. Temporal-color space analysis of reflection. _J. Opt._ _Soc._ _Am._ _A_ 2001, _11_, 2990–3002. 21. Zheng, J.Y.; Fukagawa, Y.; Abe, N. 3D surface estimation and model construction from specular motion in image sequences. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 1997, _19_, 513–520. 22. Liu, G.H.; Liu, X.Y.; Feng, Q.Y. 3D shape measurement of object with high dynamic range of objects with high dynamic range of surface reflectivity. _Appl._ _Opt._ 2011, _50_, 4557–4565. 23. Asundi, A.K. Moiré methods using computer-generated gratings. _Opt._ _Eng._ 1993, _32_, 107–116. 24. Jiang, Y.Z. Acquiring a Complete 3D Model from Specular Motion under the Illumination of Circular-Shaped Light Sources. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2000, _22_, 913–920. 25. Guo, H.W.; Tao, T. Specular surface measurement by using a moving diffusive structured light source. _Proc. SPIE_ 2007, _6834_, 683443E. 26. Sills, K.; Bone, G.M.; Capson, D. Defect identification on specular machined surfaces. _Mach._ _Vis._ _Appl._ 2014, _25_, 377–388. 27. Tan, R.T.; Ikeuchi, K. Separating Reflection Components of Textured Surfaces Using a Single Image. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2005, _27_, 178–193. 28. Criminisi, A.; Perez, P.; Toyama, K. Object removal by exemplar-based inpainting. In Proceedings of the 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Madison, WI, USA, 16–22 June 2003; pp. 1–8. 29. Wang, C.Q.; Zhu, F.W. Remving Highly Illuminated Regions from a Single Image. _J. Shanghai University_ 2007, _13_, 151–154. _⃝_ c 2017 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 43문단 · 22,206자

(제목 없음)

1Due to the strong reflection property of materials with smooth surfaces like ceramic and metal, it will cause saturation and the highlight phenomenon in the image when taking pictures of those materials. In order to solve this problem, a new algorithm which is based on reflection component separation (RCS) and priority region filling theory is designed. Firstly, the specular pixels in the image are found by comparing the pixel parameters. Then, the reflection components are separated and processed. However, for ceramic, metal and other objects with strong specular highlight, RCS theory will change color information of highlight pixels due to larger specular reflection component. In this situation, priority region filling theory was used to restore the color information. Finally, we implement 3D experiments on objects with strong reflecting surfaces like ceramic plate, ceramic bottle, marble pot and yellow plate. Experimental results show that, with the proposed method, the highlight caused by the strong reflecting surface can be well suppressed. The highlight pixel number of ceramic plate, ceramic bottle, marble pot and yellow plate, is decreased by 43.8 times, 41.4 times, 33.0 times, and 10.1 times. Three-dimensional reconstruction results show that highlight areas were significantly reduced.

Introduction

2Structured light (SL) vision measurement has drawn much attention due to its potential for three-dimensional (3D) applications to diverse areas, such as re-engineering, 3D games, industrial inspection, object recognition, and clothing design, to name only a few [1]. In the field of structured light, phase calculation-based fringe projection techniques are actively studied in academia and widely applied in industry because of the advantages of non-contact operation, full-field acquisition, high accuracy, fast data processing and low cost [2][3][4]. However, in virtually any real-world application, especially in industry, there are large numbers of specular objects need to be measured. Current fringe projection methods are unable to cope with scene regions that produce strong highlights due to specular reflection. Highlights can cause the camera saturation, change the gray distribution of the laser stripe, and influence the accuracy of stripe center extraction. Highlight removal remains a major challenge for SL vision measurement area [5].

3Many methods have been developed for separating specular and diffuse reflection components. Shafer proposed dichromatic reflection model to separate reflection components [6]. Klinker et al. found T-shaped color distribution features of diffuse and highlights in the RGB color space to detect and remove highlights, but this T-shaped color distribution is sensitive to noise [7]. Mallick et al. proposed a highlight removal method on the assumption that the color of light source was known, which can avoid segmentation algorithm of image [8]. Kokku et al. proposed template feature extraction method [9], but it is not useful for objects with complex features or no features. Yang [10] used a homomorphic filtering algorithm to remove highlights, which is based on partial differential equation. Chai put forward a method [11] based on a frequency domain filter. This method compared highlights and diffuse light frequency spectrum to make a frequency domain filter for removing highlights, but it was only applicable to the situation in which curvature change was not obvious.

4For the above-mentioned methods, segmentation needs to be performed, which limits the technique's effectiveness. Wolff and Boult [12] used the polarization method to separate the reflection components. A key observation of their method is that, for most incident angles, specular reflections become polarized, while diffuse reflections are basically unpolarized. Nayar et al. [13] extended this work by considering colors instead of using the polarizing filter alone. Sohn [14] analyzed the relationship between specular objects and polarized reflectivity. Tsuru [15] used elliptical polarization method to measure 3D specular objects. However, the polarization method needed more polaroids, which increased the complexity of measurement. In addition, if an experiment used an unpolarized light source, it needs lots of images in different polarized directions.

5Rogerio Feris used multi-light sources to reduce the highlight region, but the highlight region area cannot be completely removed [16]. Y. Liu [17] used multiple images taken under different light sources to remove the highlight region. Qian [18] and Harding [19] took the same image from different angles to reduce highlights, but this method can create a complex splicing problem. Sato and Ikeuchi et al. [20,21] took a series of images by moving the light source, and analyzed the color information of multiple images to remove the specularities. G. H. Liu [22] used a multiple exposure method and adjusted exposure time to make the specularities unsaturated, but it can bring fringe center offset phenomenon, which cannot meet measurement accuracy requirements. Asundi [23] used the spray method to change the reflection characteristics of the metal surface to eliminate the specularities, but this method had certain corrosion to the blade surface. Jiang [24] used a spherical light source to measure the surface with strong reflection characteristics. In 2007, Guo [25] used a moving diffuse light source to reduce highlights. In 2012, the diffuser was applied to the strong reflection measurement field by Nayar [5]. In 2014, Sills [26] used the high power light emitting diode to irradiate surface of strong reflection directly.

6Through the above analysis, dichromatic reflection model is suitable for nonconductive material, but not for ceramics and metal surfaces. The polarization method is easy to cause the camera's saturation when incident angle is close to 90 degrees, and it only works well for dielectric specular reflections as opposed to metallic specular reflections. Multi-light sources and the multi-exposure method still has overlapped parts of highlight regions. Some image processing methods require multiple images taken under specific conditions, but, for many applications, using multiple images is impractical. In addition, a single input image method requires complex color segmentation to deal with multi-colored images.

7For this problem, we proposed a specular highlight removal method based on reflection component separation (RCS) and priority pixel filling theory, which does not depend on either polarization or image segmentation. This method is based on color information completely without requiring any geometrical information of the object surface. Reflection component separation can reduce the intensity of highlight area, and make the specular reflection component of the object decrease. However, for ceramic, metal and other objects with strong specular highlight, RCS theory will change color information of highlight pixel due to larger specular reflection component. In this situation, the priority pixel filling theory was used to restore the color information. Finally, the proposed method was applied to reconstruct ceramic surfaces with strong specular highlights.

Specular Highlight Removal

8Reflection component separation theory is proposed by Robby T. Tan, which is based on Shafer's dichromatic reflection model [27]. In this theory, firstly, in order to reduce the pixel intensity, chroma values of two adjacent pixels are compared and the larger maximum chroma value is assigned to the smaller one. Then, each pair of adjacent pixels in the whole image are compared to reduce the image intensity.

Reflection Model

9As shown in Figure 1, the medium comprises the bulk of the matter and is approximately transparent in general, while the pigments selectively absorb the light and scatter it by reflection and refraction. Most inhomogeneous objects exhibit both diffuse and specular reflections. Considering these two reflection components, Shafer [6] proposed this dichromatic reflection components, which states that reflected lights of inhomogeneous objects are a linear combination of diffuse and specular reflection components.

10where I(x) is the color vector of image intensity, and the spatial parameter, and x is the two-dimensional image coordinates. α(x) and β(x) are the weighting factors for diffuse and specular reflections, respectively. S(λ, x) is the diffuse spectral reflectance function and the parameter λ represents wavelength of the light spectrum, while B(λ) is the spectral power distribution function of illumination. Q(λ) is the three element-vector of sensor sensitivity, and the integration is done over the visible spectrum Ω. For the sake of simplicity, Equation (1) can be written as:

11where

12In the dichromatic reflection model, we also need to know the chroma of the image, which is defined as follows:

13where

14When only the diffuse reflection component is contained in the pixel β(x) = 0, the chroma value is independent of the diffuse reflection weighting factor α(x). Therefore, the diffuse reflection chroma expression is:

15where Λ = {Λ r , Λ g , Λ b }. In the same way, when the pixels only have specular reflection component α(x) = 0, the chroma value of the pixel is independent of the specular reflection factor β(x). We call this specular chroma with the definition:

16where Γ = {Γ r , Γ g , Γ b }. Consequently, with regards to Equations (4) and (5), Equation (2) can be written in terms of chromaticity:

17where

Selection of Highlight Pixels

18Firstly, we need to normalize the image and get the normalized image P and the specular-free image T. For the normalized image P, the normalized diffuse pixel is expressed as:

19if we apply logarithmics on this pixel, the equation becomes:

20Then, we apply differentiation operation on this pixel, the equation becomes:

21while, for the specular-free image T, we can obtain a corresponding pixel in the specular-free image.

22We describe it as

23Λ are independent from the spatial parameter. Using the same operations, the logarithmic image intensity is expressed as:

24After taking the derivative, we can get to the equation:

25Based on the theory of intensity logarithmic differentiation, we can obtain

26If ∆ = 0, the two-neighboring pixels are diffuse pixels. If ∆ = 0, the two-neighboring pixels may be specular reflection pixels or two discontinuous pixels or noise. We can be expressed as

27Secondly, we need to determine whether the two pixels are discontinuous pixels. Here, we calculate the chroma difference between the two adjacent pixels in the R and G channels:

28When ∆ r >R and ∆ g >Ḡ (R andḠ are constants), these two pixels are discontinuous. Otherwise, they are noise or specular reflection pixels. When two neighboring pixels have the same surface color, their chromaticity difference is small, even for specular pixels. Thus, we defineR =Ḡ = 0.1.

29After the steps above, we also need to judge if the two pixels are specular reflection pixels or noise. Because the maximum chroma of the noise pixel is a constant value, the maximum chroma of the specular reflection pixel must be unequal. Therefore, we only need to determine if the two pixels chrominance maximum are equal. If they are the same, the two pixels are noise. Otherwise, at least one of them must be a specular pixel. Then, the same operation is done for all pixels iteratively. Finally, we will get the specular reflection pixels of the whole image. Figure 2 shows the relationship between diffuse and specular reflection components.

Specular Reflection Component Removal Theory

30The maximum chromaticity can be written as:

31are obtained from a normalized image. For this maximum chromaticity intensity space, with its x-axes representingσ and its y-axes representingĨ , withĨ = max(I r , I g , I b ), the intensity of the specular component is always larger than diffuse components. Firstly, the maximum chromas of pixel a and pixel b are compared, and the greater the maximum chroma intensity, the weaker the specular reflection intensity. We can see from Figure 3 that the maximum chroma of point a is less than that of point b. Now, let the maximum chroma of point a be equal to that of b. Then, the specular reflection intensity of point a will be reduced, as shown in Figure 4a. Secondly, we compare the maximum chroma of b and c, and let the maximum chroma of b be equal to that of c. Then, the specular reflection intensity of b will decrease. While the maximum chroma of a is equal to the maximum chroma of b, the specular reflection component of a can be reduced. By analogy, we take iteration for all pixels of surrounding specular reflection area, and the specular reflection component of all pixels will decrease, so as to achieve the purpose of highlight removal.

Highlight Region Inpainting Based on Priority Theory

32For some strongly reflective surfaces, such as ceramic, glass and metal surfaces, the highlight area is large, as shown in Figure 5a. After the specular reflection component removal method, as shown in Figure 5b, the highlight part has been removed, but the color information is lost and the highlight part becomes black. The reason is that the intensity of the specular reflection component is too large. As we know, specular reflection separation theory is used to subtract the specular reflection component from the pixel and obtain the diffuse reflection component. If the specular reflection component is too large, which almost occupies the whole pixel, the diffuse reflection component is negligible. Therefore, pixels of the highlight area will become black. Figure 6 is a notation diagram of a region-filling algorithm [28], the target region to be filled is indicated by Ω, and its contour is denoted as δΩ, which is the boundary of the area Ω and the source region Φ. Φ remains fixed and provides samples used in Ω. ψ p is a sampling window, and its size can be changed according to the different images. The point P is the center point of patch ψ p , for some p ∈ δΩ, and its priority P (p) is defined as:

Principal of Region Filling Method Based on Priority Theory

33where the C (p) is the confidence term, and D (p) is the data term. They show the continuity of the boundary point, which are defined as follows:

34where ψ p is the area of the ψ p , α is the normalized factor, and ⊥ is the operation of the orthogonal. After calculation of priority P (p), the patch ψp with highest priority is found. We then should find the module ψq that is the most similar to the module ψp in all modules. The ψq should meet the following equation:

35where the distance d ψp, ψq is defined as the sum of squared differences of the already filled pixels in the two patches. After the eligible module ψq was found, each pixel in sampling module ψp was filled from its corresponding position inside ψq. With the change in pixel of sampling module, priority will also be changed, so the priority should be calculated again. The detailed description is shown in Section 3.2.

Highlight Region Filling Algorithm

36We now proceed with the details of our algorithm. The detailed algorithm description is shown in Algorithm 1.

Algorithm 1. Highlight region filling algorithm

37Selected Ω and defined Φ = I − Ω Define ψ p , and compute P (p) (WHILE) the area Ω has not been completely processed Find highest priority patch ψp in Φ, and find module ψq Copy data from ψq to ψp in Φ Updata C (p) Figure 7 shows the system structure and measuring range. As shown in Figure 7a, the experimental measurement system consists of an industrial camera (DH-HV3151UC, Daheng Image, 2048 × 1536, China Daheng Group, Inc., Beijing, China), a projector (InFocus In82, 1024 × 768, Infocus Visual Digital Technology (Shenzhen) Co., Shenzhen, China) and two computers. After the calibration, stereo rectification, matching and disparity calculation, we can obtain the 3D information of the space points. The separations were processed by Inter Xeon CPU E5-2620 with 16 GB RAM memory. Figure 7b shows measuring range, where O is the origin of the measured space, and the measuring range in the x-, yand z-direction is, respectively, 350 mm, 250 mm and 120 mm.

Visual Comparisons

38In the experiment, the ceramic bottle, ceramic plate, marble pot and yellow plate were selected as the measured objects, which have strong reflection characteristics. Then, these images were processed by our proposed method in this paper, and processed images and original images were compared and analyzed. Figure 8 shows the ceramic bottle images projected by coded fringe pattern, in which there are obvious highlights. Figure 10b shows the reconstruction result without highlight removal, and the absence of information is caused due to specularities, as shown by the vacant areas in Figure 10d. Figure 9b shows the processed ceramic bottle with our method. As can be seen from Figure 9, the highlight region is significantly reduced. Figure 10c gives the three-dimensional reconstruction result of Figure 9, and the reconstructed effect is better than the effect in Figure 10b. Figure 11 gives the comparison of the ceramic plate with the projected pattern before and after processing. As shown in Figure 11a, the upper and lower parts of the image have obvious highlight area. By using the proposed method, from Figure 11b, it is obvious that highlight regions disappear. Figure 12 shows the comparison result of the reconstruction before and after processing. As shown in Figure 12b, due to the loss of stripe information, there are vacant areas brought by highlights. Figure 12c shows reconstruction results processed by the proposed method, and we can see that, after processing, the plate is well reconstructed, the reconstructed surface is fine and smooth, and the highlight area disappears.

39In order to test the effectiveness of this approach working with objects having different material, the marble pot was chosen as the measured object. Figure 14a shows the marble pot, of which the surface is slightly rougher than the ceramic surface. As shown in Figure 14a, the middle part and the base of the marble pot have obvious highlight areas. Figure 14b shows the reconstruction result without highlight removal, and the absence of information is caused by specularities, as shown by the vacant areas in Figure 14d. Figure 13 shows the comparison results of the marble pot before and after processing. Compared with Figure 13a, it is obviously that highlight phenomenon is eliminated in Figure 13b. Figure 14c shows reconstruction results processed by the proposed method, and we can see that, after processing, the marble pot is well reconstructed, and the highlight area disappears. In order to test the effectiveness of this approach working with objects having different colors, the yellow ceramic plate was chosen as the measured object. Figure 15 gives the comparison of yellow ceramic plate with the projected pattern before and after processing. As shown in Figure 15a, the upper part of the yellow plate has an obvious highlight area. By using the proposed method, from Figure 15b, it is obvious that the highlight region disappears. Figure 16 shows the comparison result of the reconstruction before and after processing. As shown in Figure 16b, due to the loss of stripe information, there are vacant areas brought by the highlights. Figure 16c shows reconstruction results processed by the proposed method, and we can see that, after processing, the plate is well reconstructed, and the highlight area disappears. In order to present 3D reconstruction results, as shown in Figure 17, we magnified the reconstruction surfaces. From Figure 17, we can see that ceramic plate, ceramic bottle, and marble pot are all vividly reconstructed. The magnified parts of the figure also prove that the details of these measured objects are clearly displayed and reconstructed surfaces are fine and smooth, which proves that the proposed approach is suitable for the object with highlight.

Quantitative Analysis

40In order to more intuitively describe the proposed highlight removal method, Table 1 gives the number of highlight pixels before and after the processing. For the ceramic bottle, the number of highlight pixels decreased from 10,326 to 236 by about 43.8 times. For the ceramic plate, the number of highlight pixels decreased by 41.4 times from 5637 to 136. For the marble pot, the number of highlight pixels decreased by 33.0 times from 3365 to 102. For the yellow plate, the number of highlight pixels decreased by 10.1 times from 162 to 16.

Objective Performance Comparisons

41To evaluate the performance of the proposed approach in the present paper, we compare it with the color space conversion method [29]. For removing high-intensity regions in a single image, the color space conversion method extracts the excessively illuminated regions and changes their brightness. Figure 18 is the comparison result between the proposed method and the color space conversion method, as shown in Figure 18b. The highlights have been weakened, but the overall brightness of the image has changed.

Conclusions

42In a structured light 3D measurement field, when the object has a smooth surface, it can form a highlight area due to the specular reflection, and the distortion of the object will cause a measurement error. In this paper, for the purpose of removing highlight pixels effectively, we proposed a specular highlight removal method based on reflection component separation (RCS) and priority region filling theory, which does not depend on either polarization or image segmentation. Primarily, RCS theory is used to separate reflection components, i.e., determining the target highlight region. Then, priority region filling theory was used to restore the color information of the highlight region. Finally, we build up the system platform and implement 3D experiments on objects with strong reflecting surfaces like ceramic plates, bottles, marble pots and yellow plates.

43Experimental results show that with the proposed approach, the highlight pixel numbers of the ceramic bottle, ceramic plate, marble pot and yellow plate are decreased by 43.8 times, 41.4 times, 33.0 times and 10.1 times, which proves that this method can effectively remove the specular pixels. Furthermore, 3D reconstruction results of surfaces show that the reconstructed surface is fine and smooth, and the detail features of the measured objects are clearly displayed, which proves that the proposed approach is suitable for objects with strong reflecting surfaces. Future work may include integrating prior knowledge and machine learning to restore much larger highlight regions.

참고문헌 25건

  1. Temporal-color space analysis of reflection Journal of the Optical Society of America A · Optica Publishing Group · 1994 10.1364/josaa.11.002990
  2. Constraining object features using a polarization reflectance model IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1991 10.1109/34.85655
  3. Using color to separate reflection components Color Research & Application · Wiley · 1985 10.1002/col.5080100409
  4. Separating reflection components of textured surfaces using a single image 2003 10.1109/iccv.2003.1238440
  5. Specular surface measurement by using a moving diffusive structured light source Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2007 10.1117/12.757576
  6. Improving 3D surface measurement accuracy on metallic surfaces Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2005 10.1117/12.612243
  7. Review of single-shot 3D shape measurement by phase calculation-based fringe projection techniques Optics and Lasers in Engineering · Elsevier BV · 2012 10.1016/j.optlaseng.2012.01.007
  8. Shiny parts measurement using color separation Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2005 10.1117/12.629942
  9. Defect identification on specular machined surfaces Machine Vision and Applications · Springer Science+Business Media · 2013 10.1007/s00138-013-0590-1
  10. 3D shape measurement of objects with high dynamic range of surface reflectivity Applied Optics · Optica Publishing Group · 2011 10.1364/ao.50.004557
  11. Overview of three-dimensional shape measurement using optical methods Optical Engineering · SPIE · 2000 10.1117/1.602438
  12. Analytical relationship between polarized reflectivities on the specular surface International Journal of Remote Sensing · Taylor & Francis · 2012 10.1080/01431161.2012.744490
  13. Diffuse structured light 2012 10.1109/iccphot.2012.6215216
  14. Tilt-ellipsometry of object surface by specular reflection for three-dimensional shape measurement Optics Express · Optica Publishing Group · 2013 10.1364/oe.21.006625
  15. 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
  16. 3D surface estimation and model construction from specular motion in image sequences IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1997 10.1109/34.589212
  17. The measurement of highlights in color images International Journal of Computer Vision · Springer Science+Business Media · 1988 10.1007/bf00836279
  18. Boundary Inheritance Codec for high-accuracy structured light three-dimensional reconstruction with comparative performance evaluation Applied Optics · Optica Publishing Group · 2013 10.1364/ao.52.005355
  19. Moire methods using computer-generated gratings Optical Engineering · SPIE · 1993 10.1117/12.60083
  20. Non-photorealistic camera ACM Transactions on Graphics · Association for Computing Machinery · 2004 10.1145/1015706.1015779
  21. Computational approach for optimal sensor setup Optical Engineering · SPIE · 2003 10.1117/1.1566777
  22. Acquiring a complete 3D model from specular motion under the illumination of circular-shaped light sources IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2000 10.1109/34.868691
  23. Highlight Removal Based on Frequency-Domain Filtering Laser & Optoelectronics Progress · Shanghai Institute of Optics and Fine Mechanics · 2013 10.3788/lop50.051205
  24. Preprocessing for highly reflective surface defect image Optics and Precision Engineering · Chinese Academy of Sciences · 2010
  25. Review of 20 years of range sensor development Journal of Electronic Imaging · SPIE · 2004 10.1117/1.1631921