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

Spectral reflectance estimation from one RGB image using self-interreflections in a concave object

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

기본 정보

저자
  1. Rada Deeb
  2. Damien Muselet
  3. Mathieu Hébert
  4. Alain Trémeau
DOI
10.1364/ao.57.004918
저널
Applied Optics
발행년도
2018
발행기관
Optica Publishing Group
피인용수
9
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1364/ao.57.004918
토픽
Color Science and Applications
OpenAlex ID
W2790292758

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(24) 패션(코오롱FnC)
R&D 측면
물성·성능 평가
확신도
0.70
근거 용어
spectral reflectance estimation, RGB image, metamerism, color gradient, Lambertian surface
판단 근거
본 논문은 단일 RGB 이미지를 통해 물체의 분광 반사율(spectral reflectance)을 추정하는 알고리즘을 다룹니다. 이는 자동차 인테리어 소재(3)나 패션 소재(24)의 색상 구현 및 메타머리즘(metamerism, 조건등색) 문제를 분석하고 평가하는 광학적 방법론으로 응용될 수 있습니다.
R&D 활용 포인트
자동차 내장재나 의류용 기능성 원단의 색상 재현성을 평가할 때, 고가의 분광광도계 대신 일반 RGB 카메라와 본 연구의 알고리즘을 활용하여 색상 물성을 신속하게 분석하는 기술로 활용 가능합니다.
평가 입력
본문 61,263자 중 30,032자 발췌

초록

Light interreflections occurring in a concave object generate a color gradient that is characteristic of the object's spectral reflectance. In this paper, we use this property in order to estimate the spectral reflectance of matte, uniformly colored, V-shaped surfaces from a single RGB image taken under directional lighting. First, simulations show that using one image of the concave object is equivalent to, and can even outperform, the state-of-the-art approaches based on three images taken under three lightings with different colors. Experiments on real images of folded papers were performed under unmeasured direct sunlight. The results show that our interreflection-based approach outperforms existing approaches, even when the latter are improved by a calibration step. The mathematical solution for the interreflection equation and the effect of surface parameters on the performance of the method are also discussed in this paper.

본문 61,263자

본문 펼치기
# Spectral reflectance estimation from one RGB image using self-interreflections in a concave object RADA DEEB <sup>1,*</sup> , DAMIEN MUSELET <sup>1</sup> , MATHIEU HEBERT <sup>1</sup> , AND ALAIN TRÉMEAU <sup>1</sup> 1 _University of Lyon, UJM-Saint-Etienne, CNRS, Institut d’Optique Graduate School, Laboratoire Hubert Curien UMR 5516, F-42023, SAINT-ETIENNE, France_ - _Corresponding author:_ _rada.deeb@univ-st-etienne.fr_ _Compiled March 6, 2018_ Light interreflections occurring in a concave object generate a color gradient which is characteristic of the object’s spectral reflectance. In this paper, we use this property in order to estimate the spectral reflectance of matte, uniformly colored, V-shaped surfaces from a single RGB image taken under directional lighting. First, simulations show that using one image of the concave object is equivalent to, and can even outperform, the state of the art approaches based on three images taken under three lightings with different colors. Experiments on real images of folded papers were performed under unmeasured direct sunlight. The results show that our interreflection-based approach outperforms existing approaches even when the latter are improved by a calibration step. The mathematical solution for the interreflection equation and the effect of surface parameters on the performance of the method are also discussed in this paper. © 2018 Optical Society of America _OCIS codes:_ _(110.4234) Multispectral imaging; (100.3190) Inverse problems; (330.1710) Color, measurement_ [http://dx.doi.org/10.1364/ao.XX.XXXXXX](http://dx.doi.org/10.1364/ao.XX.XXXXXX) 1. INTRODUCTION Can spectral reflectance of surfaces be measured with RGB cameras? This question is of high interest in many application fields since cameras are affordable and widely spread-used devices, in contrast to spectrophotometers or hyperspectral cameras. In computer vision, spectral description is often needed instead of tristimulus values. Tri-values, such as CIE 1931 XYZ or CIELAB, may not be sufficient in applications such as paint selection, cosmetics industry, fruit quality assessment, telemedicine and eHeritage. These applications require spectral acquisition of the light signal reflected by the object in order to allow the user to detect and avoid the case of metamerism (the case where different spectral reflectances map to the same tri-value). In order to obtain spectral data, there exist two main methods: the use of spectral cameras, or the use of RGB images captured under different light sources. Spectral cameras give very accurate results, but they are expensive, and therefore not affordable for the broadest range of customers. As an alternative to these spectral cameras, various approaches have been proposed using directly RGB images to extract spectral data. The state of the art in spectral reflectance estimation of surfaces from RGB images can be divided into two categories: _direct_ _methods_ as called in [1, 2], also named _observational-model based_ _methods_ in [3], and _indirect methods_ as called in [1, 2], also named _learning-based methods_ in [3]. In direct methods, the Spectral response of sensors and the spectral power distribution (SPD) of illuminants are considered to be known. A common approach of these methods is to combine trichromatic imaging with multiple light sources [4–10]. Park et al. [4] obtained spectral information by using RGB camera with a cluster of light sources with different spectral power distributions. They model the spectral reflectance of surfaces with a set of basis functions in order to reduce the dimensionality of the spectral space [11]. However, this approach received little attention mainly because of the need of several illuminants, which is incompatible with common situations where the surface is illuminated by ambient light. Later, Jiang et al. [9] proposed a more convenient solution, still based on various illuminants, by using commonly available lighting conditions, such as daylight at different times of a day, camera flash, ambient, fluorescent and tungsten lights. However, a calibration step is required in order to handle variations in color temperature and spectral properties of the used illuminants. More recently, Khan et al. [10] proposed the use of a portable screen-based lighting setup in order to estimate the spectral reflectance of the considered surface. The portable screen was used to give three lightings with red, green and blue colors. The capturing device is an RGB camera, therefore based on three different spectral responses, the spectral reflectance of the surface is expressed by nine coordinates in a basis of nine spectra. These basis functions are obtained by eigendecomposition of spectral reflectances of 1257 Munsell color chips discarding the part of the spectra that corresponds to the sensor-illuminant null-space. The use of several light sources is in general mandatory to in crease the number of equations needed to get the spectral values, together with the use of basis functions in order to decrease the dimensionality of the problem, therefore the number of spectral values to estimate. On the other hand, leaning-based approaches do not require any pre-knowledge of spectral responses of the sensors or spectral power distribution of the lighting system. They can be used with a single light source [3, 5, 12, 13]. However, these approaches depend on the quality of the learning set and on the choice of the regression method. It has been shown in [3], that if no high quality learning set is available, using multiple light sources becomes necessary in order to improve the quality of the results. In this work, we focus on relaxing the condition of multiple lightings and the need of calibrated settings in observationalbased approaches by using a concave surface rather than a convex one. This allows us to take benefit of the light interreflection phenomenon which takes place in every material concavity. This phenomenon provokes color gradients in the image of the concave surface characteristics of the material’s spectral reflectance. The latter can be therefore retrieved in a concrete application by using only one RGB image taken under daylight without the necessity of calibrating the camera under the acquisition configurations or measuring the incident irradiance. Interreflections denote the fact that all points in a concave surface mutually illuminate each other during a multiple light reflection process, depending on the reflective properties and the geometrical shape of the surface. The simplest case is a flat diffusing surface bent into two flat panels, called a V-shaped surface and illustrated in Figure (1) where the first successive light bounces on the two panels are featured. The phenomenon of interreflections has gained attention in computer graphics in order to improve the rendering quality of scenes where various objects exchange light between each other (typically a colored object close to a white wall) [14–16]. This phenomenon has also been studied in the domain of computer vision, mainly in order to remove this effect from the images to be able to retrieve the shape of an object (shape-from-shading methods) [17–22]. However, some approaches [23–25] in the literature focused on the use of interreflections as extra information in order to obtain surface spectral reflectance and illuminant spectral power distribution. The used methods were based on adjacent panels having different spectral reflectances, and only one bounce of interreflected light was considered. It has also been shown by Chandraker et al. [26] that interreflections can resolve generalized bas-relief ambiguity in uncalibrated photometric stereo as interreflections are distance-dependent phenomena. In a recent work [27], the importance of using infinite bounces instead of two bounces of light was shown and a model of interreflection for Lambertian surfaces taking into consideration infinite bounces was proposed. Starting form the same observation as Funt et al. [23], we think that a scene with interreflections holds a lot of information about the physical properties that lie behind. However, instead of using only one bounce of interreflection, thus only one RGB color representing interreflections, we propose to take into consideration all light bounces and to model the variations of RGB values per surface element by using the model proposed in [27]. These variations can be seen as a crucial source of information for spectral reflectance estimation. In this work, we first introduce the used interreflection model [27] which relates the variations of RGB values over a Lambertian concave surface to the reflectance of the surface, its shape, where _dPj_ denotes an infinitesimal area around point _Pj_, and the function _K_, called geometrical kernel, is defined for every pair of points in terms of the euclidean distance, _Pi_ _Pj_, between them, the surface normal of each of them, and a visibility term. For a pair of points _Pi_ and _Pj_ with surface normals, _Ni_ and _Nj_ respectively, geometrical kernel is given by: (a) (b) (c) Fig. 1. Decomposition of the irradiance received by _P_ 1: (a) Direct light, (b) first bounce of interreflection corresponding to what we call a two-bounce model, (c) second bounce of interreflection. For the sake of clarity, the sums over all the pixels (multiple arrows) are not illustrated here. the illuminant and the used camera. Then, this model is used for spectral reflectance estimation applied in the case of a folded surface with a uniform spectral reflectance. The main question we try to answer is, having a matte paper for example, how accurate its spectral reflectance can be estimated from a single RGB image by simply folding it? In other words, how much spectral information can interreflections carry in the RGB image? The paper is structured as follows: we first present the infinite-bounce interreflection model in Section 2 and the spectral reflectance estimation method in Section 4. We then report our experimental results in Section 5 and propose a discussion regarding the performance of the method in Section 6. Finally, conclusions are shown in Section 7. 2. INTERREFLECTION MODEL In this section, we explain the used interreflection model for Lambertian surfaces [27], starting by the bases of this model and ending by its extension to a spectral form. The total irradiance, _E_, in every point of a concave surface is the sum of direct irradiance, received from the light source, and indirect irradiance, made of a collection of light rays reflected once, twice, three times and so on, from each point to each other point of the surface before reaching the considered point. For Lambertian surfaces, irradiance in a given point _Pi_, received after one bounce of light from all other points _Pj_ of the surface with respective reflectances _rj_, can be related to the radiance after one bounce of light, _L_ 1, or to the irradiance received form direct light, _E_ 0, as follows: _Pj∈S_ <sup>_rj_</sup> _E_ 1( _Pi_ ) = = _Pj∈S_ <sup>_L_</sup> <sup>1</sup> <sup>_K_</sup> <sup>(</sup> <sup>_Pj_</sup> <sup>,</sup> <sup>_Pi_</sup> <sup>)</sup> <sup>_dPj_</sup> _<u>E</u>_ <u>0</u> _π_ <sup>_K_</sup> <sup>(</sup> <sup>_Pi_</sup> <sup>,</sup> <sup>_Pj_</sup> <sup>)</sup> <sup>_dPj_</sup> <sup>,</sup> (1) _K_ ( _Pi_, _Pj_ ) = <sup>(</sup> <sup>_⃗Ni_</sup> <sup>.</sup> <sup>_⃗Pi_</sup> <sup>_Pj_</sup> <sup>)(</sup> <sup>_⃗Nj_</sup> <sup>.</sup> <sup>_⃗PjPi_</sup> <sup>)</sup> <sup>_V_</sup> <sup>(</sup> <sup>_Pi_</sup> <sup>,</sup> <sup>_Pj_</sup> <sup>)</sup> In order to simplify the final equation, both the factor 1/ _π_ and the corresponding facet area can be included into the entries of matrix K . Thus, the matrix K can be redefined as follows: <sup>_⃗_</sup> <sup>_⃗_</sup> <sup>_⃗_</sup> <sup>_⃗_</sup> _Pi_ _Pj_ <sup>4</sup> , (2) _j_ where _V_ ( _Pi_, _Pj_ ) is the visibility term which takes 1 if the areas around these points can see each other and 0 otherwise. Similarly, taking into account the rays reflected twice on every pair of points with respective reflectances _rj_ and _rj′_ : K = <sup><u>1</u></sup> _π_ 0 _K_ 12 _S_ 2 . . _K_ 1 _mSm_ _K_ 21 _S_ 1 0 . . _K_ 2 _mSm_ . . 0 . . _Km_ 1 _S_ 1 . . . 0     (10) _Pj′ ∈S_ <sup>_rjrj′_</sup> _π_ <sup>_<u>E</u>_</sup> <sup><u>02</u></sup> <sup>_K_</sup> <sup>(</sup> <sup>_Pj′_</sup> <sup>,</sup> <sup>_Pj_</sup> <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_Pj_</sup> <sup>,</sup> <sup>_Pi_</sup> <sup>)</sup> <sup>_dPj′_</sup> <sup>_dPj_</sup> <sup>.</sup> (3) _E_ 2( _Pi_ ) = _Pj∈S_ and for the light rays reflected three times, by following the same reasoning line, we have: _S_ _E_ 3( _Pi_ ) = and so on. _S_ This matrix is symmetric only when all the facets are of equal size. Based on these definitions, Equations (5), (6) and (7) can be written in matrix form, respectively: E1 = KRE0, (11) E2 = ( KR ) <sup>2</sup> E0, (12) E3 = ( KR ) <sup>3</sup> E0, (13) where E0, E1, E2 and E3 are vectors of size _m_ containing the irradiances on each of the _m_ facets, due to light having undergone 0, 1, 2 or 3 bounces respectively. Then, the irradiane vector related to the irradiance values on each of the _m_ facets, after _n_ bounces of light, can be written as: _S_ <sup>_rjrj′_</sup> <sup>_rj′′_</sup> _π_ <sup>_<u>E</u>_</sup> <sup><u>03</u></sup> <sup>_K_</sup> <sup>(</sup> <sup>_Pj′′_</sup> <sup>,</sup> <sup>_Pj′_</sup> <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_Pj′_</sup> <sup>,</sup> <sup>_Pj_</sup> <sup>)</sup> _K_ ( _Pj_, _Pi_ ) _dPj′′_ _dPj′_ _dPj_ . (4) The above equations, containing integrals, cannot be analytically computed in the general case. However, by sampling the surface into a finite number of facets as proposed by Nayar _et al._ [17], a discrete version of the model can be obtained, providing a simpler mathematical formalism. A surface can be sampled into _m_ small facets, each facet is assumed uniformly illuminated, flat and uniform in reflectance. Let us denote as _Kij_ the geometrical kernel defined by Equation (2) where _Pi_ and _Pj_ are the centers of facets _i_ and _j_ of respective areas _Si_ and _Sj_ . Then, according to Equations (1), (3) and (4), the irradiance in a facet centered on _Pi_, after first, second and third bounces can be re-written as: _n_ ## ∑ _b_ =0 Eb . (14) E = _n_ ## ∑ _b_ =0 ( KR ) <sup>_b_</sup> E0 = This sum corresponds to a geometric series, which, when _n_ tends to infinity, converges to: E = ( I _−_ KR ) <sup>_−_</sup> <sup>1</sup> E0 . (15) The convergence is guaranteed for non fluorescent materials as shown in Appendix A. Equation (15) is a general expression of irradiance after infinite bounces of light for a Lambertian surface. It is a function of wavelength, as both the reflectance of the surface and the power distribution of the lighting are spectral functions. Likewise, the radiance vector containing radiances reflected from the _m_ facets towards the camera <sup>1</sup> is given by: _E_ 1( _Pi_ ) = _m_ ## ∑ _j_ =1 _rj_ _<u>E</u>_ <u>0</u> _π_ <sup>_KjiSj_</sup> <sup>,</sup> (5) _m_ ## E 2( Pi ) = ∑ _j_ =1 _m_ ## ∑ _j_ <sup>_′_</sup> =1 _rjrj′_ <sup>_<u>E</u>_</sup> <sup><u>0</u></sup> (6) _π_ <sup>2</sup> <sup>,</sup> <sup>_Kj′_</sup> <sup>_jKjiSj′_</sup> <sup>_Sj_</sup> <sup>,</sup> _rjrj′_ <sup>_<u>E</u>_</sup> <sup><u>0</u></sup> _π_ <sup>2</sup> _m_ ## ∑ _j_ <sup>_′′_</sup> =1 _E_ 3( _Pi_ ) = _m_ ## ∑ _j_ =1 _m_ ## ∑ _j_ <sup>_′_</sup> =1 _rjrj′_ _rj′′_ <sup>_<u>E</u>_</sup> <sup><u>0</u></sup> (7) _π_ <sup>3</sup> <sup>_Kj′′_</sup> <sup>_j′_</sup> <sup>_Kj′_</sup> <sup>_jKjiSj′′_</sup> <sup>_Sj′_</sup> <sup>_Sj_</sup> <sup>.</sup> These equations can be turned into a matrix formalism, allowing to consider all facets simultaneously. Let us define a symmetric matrix containing all the geometrical kernel values associated with all the pairs of facets on the surface:     (16) K = 0 _K_ 12 . . _K_ 1 _m_ _K_ 21 0 . . _K_ 2 _m_ . . 0 . . _Km_ 1 . . . 0 (8) L = <sup><u>1</u></sup> _π_ <sup>R</sup> <sup>(</sup> <sup>I</sup> <sup>_−_</sup> <sup>KR</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0</sup> = _π_ <sup><u>1</u></sup> <sup>(</sup> <sup>R</sup> <sup>_−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>K</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0</sup> <sup>.</sup> 3. SPECTRAL INTERREFLECTION MODEL Note that the zeros on the diagonal of K are due to the fact that rays cannot transit to a facet from itself. Let us also define a diagonal matrix R containing the spectral reflectances of the different facets for a single wavelength: In a vision system, radiance is captured by camera sensors, and converted to image intensity values, _ρ_ <sup>_k_</sup>, according to the spectral response _C_ <sup>_k_</sup> ( _λ_ ) of each camera sensor, _k_, as follows: _ρ_ <sup>_k_</sup> = _λ_ <sup>_Ck_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_L_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>.</sup> (17)  _r_    R = _r_ 1 0 ...... 0 0 _r_ 2 .... 0 . . . .... . . . ... 0 0 .. _rm_ (9) By sampling the light spectrum into _q_ wavebands, Equation (17) can be written in a matrix form: _ρ_ = CL _λ_, (18) 1For Lambertian surfaces, the radiance reflected from a facet toward the camera is the same as the radiance in any other direction where _ρ_ is a column vector of size _s_, containing the sensor values of a pixel for each of the _s_ channels, L _λ_ is a column vector of size _q_ containing the radiance values of the _q_ different wavebands, and C is the camera response matrix of size _s × q_ . Notice that Equation (18) is defined for one pixel and all wavelengths, whereas Equation (16) is defined for one wavelength and all pixels. Thus, in order to combine the two equations and to take into consideration all pixels and all wavebands at the same time, extending the matrices in both equations is needed. The vector _ρ_ is extended to vector _ρ_ _ext_ whose length is _ms_, where _m_ is the number of pixels in the image, and whose form is: 4. SPECTRAL REFLECTANCE ESTIMATION Now that we have related RGB values of pixels in an image of a concave surface to the spectral reflectance and the geometry of the surface, the illuminant SPD, and the sensor response functions, we propose to use the interreflection model in an inverse approach in order to estimate the spectral reflectance of a surface, i.e. matrix R _ext_, assuming that all other matrices and vectors in Equation (24) are known. The problem can be formulated as a constrained minimization one, and the objective function can be written as: _ext_ <sup>_−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>K</sup> <sup>_ext_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0ext</sup> <sup>)</sup> <sup>_|_</sup> <sup>2+</sup> ( _|_ _ρ_ _img −_ ( <sup><u>1</u></sup> _π_ _π_ <sup><u>1</u></sup> <sup>C</sup> <sup>_ext_</sup> <sup>(</sup> <sup>R</sup> _ext_ <sup>_−_</sup> <sup>1</sup> R - _ext_ = argmin R _ext_ <sup>2</sup> 1 .. _ρ_ <sup>2</sup> _m_ ... _ρ_ 1 <sup>_s_</sup> - _T_ , (19) 1 <sup>_s_</sup> .. _ρ_ <sup>_s_</sup> _m_ _ρ_ _ext_ = _ρ_ <sup>1</sup> 1 <sup>1</sup> 1 .. _ρ_ <sup>1</sup> _m_ _ρ_ <sup>2</sup> 1 (25) where superscript _T_ denotes the matrix transpose operator, and _α|_ <sup>_<u>δ</u>_</sup> <sup>2</sup> <sup>_<u>r</u>_</sup> <sup><u>(</u></sup> <sup>_<u>λ</u>_</sup> <sup><u>)</u></sup> _|_ <sup>2</sup> ), subject to _∀r_, 0 _< r_ _≤_ 1, _δλ_ <sup>2</sup> _ρ_ <sup>_j_</sup> _i_ <sup>_j_</sup> _i_ <sup>is the response of channel</sup> <sup>_j_</sup> <sup>at the pixel</sup> <sup>_i_</sup> <sup>.</sup> The irradiance vector E0 is extended in a similar way. The extended form, E0 _ext_, of length _mq_, is obtained by concatenating the E0 vectors for each wavelength the one after the other. The reflectance matrix R is extended to the square diagonal matrix R _ext_ of size _mq × mq_ . As R is defined for one wavelength, we can name it R _λ_, then the extended form is a concatenation of all diagonal matrices, R _λ_, on the diagonal of the new matrix: R _λ_ 1 0 ...... 0 . R _λ_ 2 ..... . . .... . 0 0 . ...... R _λq_   R _ext_ =   . (20) The geometrical kernel matrix K is extended to a _mq × mq_ block matrix whose blocks on the diagonal are K and all others are zero block matrices:  (21)  . K _ext_ =   K 0 ...... . . . . 0 . K . .... . . . . 0 0 .. . . . ...... K Finally, the camera response matrix is extended to the size _ms × mq_ to take into consideration all the pixels. In order to explain the form of matrix C _ext_, let us introduce the matrix C <sup>i</sup> _λ_ for a channel, _i_, of size _m × m_ : 0 0 .. . . . ...... _c_ <sup>_i_</sup> _λ_ 0 0 .. . . . ...... _c_ <sup>_i_</sup> _c_ <sup>_i_</sup> _λ_ 0 ...... . . . . 0 _c_ <sup>_i_</sup> C <sup>i</sup> _λ_ <sup>=</sup>   0 _c_ <sup>_i_</sup> _λ_ . .... . . . . 0 _c_ <sup>_i_</sup>  (22)  . The extended matrix form of C can then be written as:  C <sup>1</sup> _λ_ 1 C <sup>1</sup> _λ_ 2 ...... . . . . C <sup>1</sup> _λq_ C <sup>2</sup> _λ_ 1 C <sup>2</sup> _λ_ 2 ...... . . . . C <sup>2</sup> _λq_ . . . . . . . .  C <sup>s</sup> _λ_ 1 C <sup>s</sup> _λ_ 2 ...... . . . . C <sup>s</sup> _λq_ C _ext_ =   . (23) where _δ_ <sup>2</sup> _r_ ( _λ_ )/ _δλ_ <sup>2</sup> is a smoothness constraint controlled by the smoothness parameter _α_ . This constraint helps to remove numerical noise and to obtain a spectrum that has a smoother shape. This choice is widely adopted in optimization, and is motivated by the observation that natural reflectances tend to be smooth rather [4]. As seen before, existing approaches in the state of the art need to use multiple light sources, and to reduce the dimensionality of the problem by using basic functions in order to estimate spectral reflectance from RGB values. In our case, the use of a single image of the surface under one illuminant is made possible thanks to interreflections. The effects of these interreflections are more or less pronounced in the different areas of the surface, as illustrated in Figure 2. Thus, the camera output of a single folded surface contains many different colors which provides a number of equations sufficient to solve for the unknowns even without the use of basis functions. Thus, one of the main differences between our approach and the state of the art ones is that interreflections create a collection of different color values that are related in a non linear way to the spectral reflectance of the surface and can be used to solve an equation of a high dimension. Our model needs to analyze the whole area of the surface, whereas in approaches relying on flat surfaces, analyzing the color of one pixel (or a mean value taken over a small area) suffices. Since this problem is constrained and non-linear, it cannot be defined mathematically as an inverse problem [12]. The number of unknowns to estimate is related to the number of different spectral reflectances contained in the surface, if the latter is not uniform, and to the number of wavebands considered in the visible spectrum. Solving this problem in its general form is not an easy task for multiple reasons. Firstly, estimating the number of unknowns related to this equation is not straightforward given the non-linear nature of the model. Secondly, if different facets in the surface have different spectral reflectances, then there is no unique solution for Equation 25. For these reasons, we propose to focus on a special case where the surface has a homogeneous spectral reflectance over its whole area. A. Uniformly colored surface By focusing on the special case of a uniformly colored concave surface, a simplified model can be obtained giving a new version of the objective function. First, equation (16) can be written as: After the introduction of these new matrices, a generalized spectral form of Equation (16) can be written as: _ρ_ _ext_ = <sup><u>1</u></sup> _π_ _ext_ <sup>_−_</sup> <sup>1</sup> <sup>_−_</sup> <sup>K</sup> <sup>_ext_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0ext</sup> <sup>.</sup> (24) <sup><u>1</u></sup> _r_ <sup>I</sup> <sup>_−_</sup> <sup>K</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0</sup> <sup>,</sup> (26) _π_ <sup><u>1</u></sup> <sup>C</sup> <sup>_ext_</sup> <sup>(</sup> <sup>R</sup> _ext_ <sup>_−_</sup> <sup>1</sup> L = _π_ <sup><u>1</u></sup> <sup><u>1</u></sup> _π_ <sup>(</sup> <sup><u>1</u></sup> _r_   Q <sup>_−_</sup> _ext_ <sup>1</sup> <sup>=</sup>  Q <sup>_−_</sup> <sup>1</sup> 0 ...... 0 . Q <sup>_−_</sup> <sup>1</sup> ..... . . .... . 0  0 . ...... Q <sup>_−_</sup> <sup>1</sup> . (32) Equation (24) can be rewritten as: _ρ_ _ext_ = <sup><u>1</u></sup> (33) _π_ <sup>AB</sup> <sup>,</sup> A = C _ext_ Q _ext_ diag( Q <sup>_−_</sup> _ext_ <sup>1</sup> <sup>E0</sup> <sup>),</sup> (34) Fig. 2. Interreflection effect: simulated RGB colors of a folded green patch from the Macbeth Color Checker, discretized into 8x14 facets. where I is the identity matrix of size _m × m_ and _r_ the reflectance of the surface at the considered wavelength, assumed to be nonzero. Assuming a discretization into equal size facets, K is then symmetric and the formal expression can be rewritten based on _Eigendecomposition_ as: where and vec( _r_ <sup><u>1</u></sup> 1 <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1)</sup> _r_ <sup><u>1</u></sup> 1 <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1)</sup>   B =   . . , (35) vec( _r_ <sup><u>1</u></sup> _l_ <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1)</sup> L = _π_ <sup><u>1</u></sup> <sup><u>1</u></sup> _π_ <sup>(</sup> <sup><u>1</u></sup> _r_ <sup><u>1</u></sup> _r_ <sup>I</sup> <sup>_−_</sup> <sup>QGQ</sup> <sup>_−_</sup> <sup>1)</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0</sup> <sup>,</sup> (27) where vec is the vectorization operator. Note here that the calculation of the values in vector B is straightforward: as both G and I are diagonal matrices, the inverse of the matrix ( _r_ <sup><u>1</u></sup> _l_ <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>can</sup> <sup>be</sup> <sup>obtained</sup> <sup>by</sup> <sup>a</sup> <sup>simple</sup> division. Finally, since the surface is uniform, its spectral reflectance can be fully characterized by one vector R _λ_ of size _q_ . The minimization problem formulated in Equation (25) becomes: where Q contains the eigenvectors of K, and G is a diagonal matrix containing the eigenvalues of K . By developing this equation, we can write: L = _π_ <sup><u>1</u></sup> <sup><u>1</u></sup> _π_ <sup>Q</sup> <sup>(</sup> <sup><u>1</u></sup> _r_ <sup><u>1</u></sup> _r_ <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>Q</sup> <sup>_−_</sup> <sup>1</sup> <sup>E0</sup> (28) ), _δλ_ <sup>_<u>r</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>λ</u>_</sup> <sup><u>)</u></sup> ( _|_ _ρ_ _img −_ _π_ <sup><u>1</u></sup> _π_ <sup><u>1</u></sup> <sup>AB</sup> <sup>_|_</sup> <sup>2 +</sup> <sup>_α|_</sup> <sup>_<u>δ</u>_</sup> <sup>2</sup> _δλ_ <sup>_<u>r</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>λ</u>_</sup> <sup><u>)</u></sup> (36) As explained in the previous section, the extended version of matrix K, given by Equation (21), is organized into blocks on the diagonal. Then, the inverse of matrix ( R <sup>_−_</sup> _ext_ <sup>1</sup> <sup>_−_</sup> <sup>K</sup> <sup>_ext_</sup> <sup>), denoted</sup> as M, can be written as: R - _λ_ = argmin R _λ_ B. Implementation subject to _∀r_, 0 _< r_ _≤_ 1. Q ( _r_ <sup><u>1</u></sup> 1 <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>Q</sup> <sup>_−_</sup> <sup>1</sup> .. 0 . .. . 0 .. Q ( _r_ <sup><u>1</u></sup> _m_ <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>Q</sup> <sup>_−_</sup> <sup>1</sup> The form of the minimization problem described by Equation (36) is very handy: only one matrix inverse ( Q <sup>_−_</sup> <sup>1</sup> ) is needed and can be calculated before starting the minimization process. Our problem is still constrained and non-linear, but the number of variables to be estimated depends only on the number of wavebands considered. We can assume that this problem is convex, and that a local minimum optimization algorithm is able to give a good solution. A more detailed study of the nature of this problem will be explained in Section 6. The minimization method we chose is the interior point algorithm [14, 28]. This method is implemented under the function _fmincon_ function in Matlab(R) software by Mathworks. The minimization is done iteratively. 5. EXPERIMENTS AND RESULTS In order to verify the validity of the proposed model and its capacity to provide accurate spectral reflectances of Lambertian surfaces, we carried out various tests, first based on simulated images in order to estimate the optimal performance of the method, then based on real images in order to see the influence of the noise in the image and other geometrical imperfections.  (29) , M =   which can be further simplified as: ( _r_ <sup><u>1</u></sup> 1 <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> .. 0 . .. . 0 .. ( _r_ <sup><u>1</u></sup> _m_ <sup>I</sup> <sup>_−_</sup> <sup>G</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>  _ext_ <sup>,</sup> (30)  Q _−_ 1 M = Q _ext_ where and,     Q _ext_ =  Q 0 ...... 0 . Q ..... . . .... . 0  0 . ...... Q , (31) A. Case study For our tests on both synthetic and real camera data, we considered the following case study: a scene consisting of a Lambertian surface of uniform spectral reflectance, folded into a V-shaped surface of two similar planar square panels _S_ 1 and _S_ 2 with an angle of 45 <sup>_◦_</sup> between them. Each panel is discretized into 100 equally-sized facets. The geometrical kernel is then calculated using Monte Carlo estimation. Although, the results presented here are for a specific configuration, the effect of the angle and the discretization size will be studied later in Section 6. The V-cavities are illuminated frontally by collimated lighting parallel to the bisecting plane of the two panels, thus every facet is assumed to receive the same amount of lighting. B. Evaluation The performance of the spectral reflectance estimation is evaluated using the root mean square error (RMSE) calculated between the estimated spectral reflectance R <sup>�</sup> and the ground truth one R <sup>2</sup> : _RMSE_ ( R, R <sup>�</sup> ) = _|_ R _−_ R <sup>�</sup> _|_ <sup>2</sup> / _q_, (37) where _q_ is the number of wavebands. The performance is also evaluated in terms of color distance by using CIEDE00 distance [29], computed between the ground truth spectral reflectance, R, and the estimated one, R <sup>�</sup>, for a 10 <sup>_◦_</sup> standard observer and a CIE D65 illuminant. For real camera output data, we added the Pearson distance (PD) to the used metrics: _PD_ ( R, R <sup>�</sup> ) = 1 _−_ <sup><u>R</u></sup> <sup>_T_</sup> <sup><u>�</u></sup> <sup><u>R</u></sup> _|_ R _||_ R <sup>�</sup> _|_ . (38) The resulted RMSE and CIEDE00 values shown in Table 1 indicate that spectral reflectance is as accurately predicted by using the interreflection approach with one light as by using approaches based on several lightings, and it can be even more accurate. It is worth mentioning that using three different lights means performing the acquisition three times and using three lamps. D. Real data In this section, the results of our method on real camera output are presented. Camera outputs are taken under daylight and a standard illuminant SPD is used to simulate this light in the equations. To perform these experiments, we used a platform enabling us to fix two pieces of the same sample in a planar configuration and to set approximately an angle of 45 <sup>_◦_</sup> between them. We used six uniformly colored samples, one of them is a Red Munsell sample (5R 6/12), and the other five are textile samples shown in Figure 3. For each sample, we have a set of two patches of size 4 _×_ 4 cm. The ground truth spectral reflectances of these samples were measured using the Minolta X-Rite Color i7. For the acquisition, we used a Canon EOS 1000D camera with known spectral response functions to capture images in RAW format. The photos were taken under a sunny daylight in the early afternoon. Having in mind to propose a practical setup, we did not measure the spectral power distribution of this illuminant, instead we used the spectral power distribution of CIE D50 standard illuminant in the equations to represent the direct sunlight [30]. The intensity of the illuminant was not measured as well and the camera is used with various settings and focal lengths without any extra calibration process. Fig. 3. The set of used samples: the top-left sample is a Munsell paper (5R 6/12 Mat). The other samples are pieces of fabrics. Under the same settings, we also captured an image of all the available samples but this time without interreflection (flat samples). Before acquisition, a X-Rite Color Checker was added to each scene. Later, it was used to pre-calibrate the images when the tests with pre-calibration are performed. An example of a camera output used in the experiments is shown in Figure (4). RGB values of the image are extracted from an area selected by the user and corresponding to a whole area of one panel. A discretization size of 4 _×_ 4 mm is used to divide the selected area into 100 facets, each one attached to an RGB value corresponding to the mean RGB value over its area. Based on this discretization size, the geometrical kernel can be built using Monte Carlo estimation method according to the panels size and the angle between them. We also tested the methods described in [4] and [10] on images of similar flat samples while using only CIE D50 light and 3 basis functions. The RGB value given to these approaches is the This distance is independent of the magnitude, thus it helps in giving better evaluation based on the shape of the estimated spectral reflectance especially in case of non calibrated settings. C. Synthetic data We started by testing our method on synthetic data. For this sake, scenes with interreflections were simulated supposing a collimated light source with SPD corresponding to CIE D65 illuminant, a patch with a spectral reflectance of one of the Mackbeth ColorChecker patches, and a given geometry of Vshape. A SD-10 camera is considered whose response curves are similar to the ones used in [10]. Under these configurations, the RGB values for each of the patches of Macbeth ColorCheckers were obtained using our model [see Equation (33)]. Afterwards, these RGB values are used to estimate back the surface spectral reflectance. Our results are compared with the results of two other comparable approaches [4] and [10] relying on three different illuminants. We implemented these approaches and used the first 8 components of the Parkkinen basis as suggested in [4]. For our approach, we argue that there is no more need for reducing the dimensionality of the problem, thus we estimate the spectral reflectance from 400 nm to 700 nm in steps of 5 nm, giving a total of 61 values to be estimated. The size of the planar surfaces is set to 2 _×_ 2 cm and the smoothness parameter, _α_, is chosen to be 2.5. 2The ground truth spectral reflectance is the one used in the simulation in case of experiments on synthetic data. For real data, ground truth spectral reflectances are measured using a spectrometer. Table 1. Reflectance estimation accuracy for synthetic data ColorChecker24 ColorChecker240 Method No. Illuminants RMSE CIEDE00 RMSE CIEDE00 Park [4] 3 0.024 0.31 0.018 0.37 Khan [10] 3 0.018 0.31 0.011 0.30 Our Method 1 0.017 0.29 0.017 0.26 our approach performs better than the approaches [4] and [10] in both non-calibrated and pre-calibrated cases. Moreover, our results without pre-calibration seems comparable to the results of the two other approaches after pre-calibration. This shows that one can take a camera whose spectral response functions were measured previously in a lab, and use it in a complete non-calibrated settings, and use a standard SPD of light instead of measuring it and still get good spectral estimations with out model. Fig. 4. Example of acquisition: The Munsell V-cavity on the top and the X-Rite Color Checker on the bottom under direct sun light. mean value over an area selected by the user and corresponding to the surface of the patch. The used camera is not calibrated to the specific acquisition settings, and the intensity of light source is not measured. For these reasons, we separate the experiments into two categories: - With pre-calibration: we used the 24 patches of the Color Checker chart to learn second degree polynomial curves relating the expected red, green and blue values with the simulated red, green and blue ones respectively. Then, the learned transformation is applied on the image values used in the estimation. - Without pre-calibration: in this case, no pre-calibration is used to estimate the quantity of light entering the camera lens. Instead, we propose to normalize image values and simulated values on their respective sums in order to assume that they have similar amounts of energy. In order to apply these normalization steps, we reimplemented the approaches [4] and [10] using the same optimization algorithm as ours. Tables 2 and 3 show the results of our approach compared to [4] and [10]. Table 2 shows the mean values over all the patches of RMSE, DE00 and PD in case of pre-calibration. Table 3 shows the mean values over all the patches of RMSE, DE00 and PD when no pre-calibration is used. The results show that Table 4 shows the results of our approach compared to [4] and [10] for each of the used samples. On the one hand, the results of our approach are obtained without any pre-calibration. On the other hand, when applying the approaches [4] and [10], the precalibration step using the Color Checker chart was applied. By observing Table 4, one can see that in most cases our approach performed better even though no pre-calibration is performed in our case. An exception can be seen for two particular patches, the gray and the blue ones, where the surface is weakly reflective. Actually, interreflections help in spectral reflectance estimation only in case of surfaces with high reflectance in some wavebands. This is due to the fact that interreflections are very weak when the surface reflectance is low [27]. The estimated spectral reflectances compared to the ground truth ones are shown in Figure (5). In (5a), the graph shows that our approach without pre-calibration outperformed the approaches [4] and [10] after pre-calibration for the case of Munsell patch. However, in the case of low reflectance surfaces, for example the blue one, our approach failed to accurately estimate its spectral reflectance, see Figure (5b). But why interreflections help in case of non-calibrated settings? To answer this question, consider two different cases. In the first case, let us consider that the power of light used in the acquisition is multiplied by a factor _f_ 1, then by a factor _f_ 2. After normalization, RGB values with and without interreflections will be the same in both cases as the factors _f_ 1 and _f_ 2 are canceled by the normalization step. In the second case, consider instead two surfaces where the spectral reflectance of the first surface is _f_ times the spectral reflectance of the other one. Here, in case of flat surfaces, RGB values for both surfaces will be the same as the factor _f_ is canceled by the normalization step. However, in case of interreflections, and due to the fact that reflectance is raised to different powers with each bounce, the factor _f_ cannot be canceled by the normalization step and RGB values will differ between one surface and the other. Thus, interreflections help in distinguishing changes in spectral reflectance from changes in light power, and the variations of RGB values over the surface help in retrieving the correct spectral reflectance. Table 2. Reflectance estimation accuracy on real images taken under daylight after pre-calibration Method RMSE CIEDE00 PD Park [4] 0.060 3.76 0.009 Khan [10] 0.059 3.87 0.009 Our Method 0.046 3.82 0.008 Table 3. Reflectance estimation accuracy on real images taken under daylight without pre-calibration Method RMSE CIEDE00 PD Park [4] 0.143 8.02 0.012 Khan [10] 0.138 7.99 0.012 Our Method 0.061 5.62 0.012 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 Ground truth Our estimation Khan's estimation 0 400 450 500 550 600 650 700 Wavelength (nm) (a) A comparison of estimation for Munsell red patch 0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 Ground truth Our estimation Khan's estimation 0 400 450 500 550 600 650 700 Wavelength(nm) (b) A comparison of estimation for blue patch Fig. 5. Comparison between the estimated spectral reflectences and the ones measured with a spectrometer of some surfaces: in green the ground truth, in red the estimation based on our method without pre-calibration, in blue the estimation based on Khan et al. approach [10] after precalibration. 6. DISCUSSION In this section, we propose a detailed study of the influence on the estimation accuracy of the angle between the two panels and the chosen facet size. In addition, an analysis of the mathematical nature of the problem that we solve and the uniqueness of the solution is given. A. Study of the effect of angle and facet size We performed an experimental study on the effect of the angle between the two panels, on the accuracy of the spectral reflectance estimation using our method. Angles of 90 <sup>_◦_</sup>, 60 <sup>_◦_</sup>, 45 <sup>_◦_</sup> and 30 <sup>_◦_</sup> are used. Another parameter that may have an important effect on the results is the spatial sampling of the surface (size and number of facets). Discretization into 64, 100 and 256 facets on each planar surface is used. Results in term of RMSE and CIEDE00 are shown in Table 5. By observing changes of error values with angle in Table 5, it is clear that the error gets lower as the angle decreases. A smaller angle emphasizes the interreflection effects, especially near the joint border of the panels where light has more chance to bounce multiple times. In order to take advantage of this, a small discretization step is preferable to better observe the changes in RGB values per facet 6. Nonetheless, when observing the changes of errors with facet sizes in Table 5, it is noticeable that using different facet sizes did not significantly affect the errors in general. An interpretation of this observation may be related to the dimensionality of the problem: enough information can be obtained when the two surfaces get closer to each other without the need of a very small facet size. In other words, using more facets may not necessarily help in adding significantly different RGB values to help the optimization process. This depends on the choice of the angle and on the number of unknowns to be estimated. This question becomes more relevant in real situations, as a coarse discretization may be needed to avoid noise in the image and to reduce the computation time. If more accuracy is needed, an adaptive facet size can be adopted. However, the matrix K would be no more symmetric and the form proposed for the selfinterreflection case in Equation 33 would not be valid anymore. Practically speaking, angles between 45 <sup>_◦_</sup> and 60 <sup>_◦_</sup> are good choices. They are small enough for significant interreflections to happen, and big enough to let the surface receive sufficient amount of light. The panel should have at least the number of used facets, but it is recommended to have more in order to reduce the sensibility to image noise. The size of panels is optional: interreflections depend only on the relative size of the panels. B. Study of the uniqueness of solution The experiments reported in this study showed, empirically, the capacity of our interreflection-based method to provide rather good estimate of the spectral reflectance from one RGB image. However, since this method is neither a direct spectral reflectance measurement nor a direct combination of spectral measurements yielding a spectral reflectance, but the result of a mathematical optimization from RGB values, we must question the capacity of this operation to provide the expected spectral information, regardless of the experimental uncertainties. The question is not on the objective function that is optimized [see Equation 36], which relies on a well-established physical ground through the interreflection equation. The question is rather on the convergence of the optimization process, even though we could verify in all our tests that the iterative optimization algorithm is not sensible to the starting values. In absence of mathematical proof of convergence, which looks to be a hard mathematical problem, we cannot exclude the possibility that the optimization provides a spectrum totally different from the expected spectral reflectance. This is why we prefer the term "estimation" rather than "prediction" or "measurement". How Table 4. Details of reflectance estimation accuracy on real images taken under daylight Park [4] Khan [10] Our Method Patch Metric With pre-calibration With pre-calibration Without pre-calibration RMSE 0.078 0.078 0.055 Munsell Red Orange Cyan Red Blue Gray CIEDE00 5.03 5.38 4.74 PD 0.006 0.007 0.006 RMSE 0.076 0.069 0.061 CIEDE00 3.53 3.71 3.71 PD 0.004 0.004 0.006 RMSE 0.088 0.076 0.065 CIEDE00 3.44 3.40 5.89 PD 0.022 0.016 0.006 RMSE 0.088 0.10 0.069 CIEDE00 6.31 6.78 5.80 PD 0.019 0.026 0.012 RMSE 0.009 0.008 0.084 CIEDE00 2.88 2.77 8.74 PD 0.002 0.002 0.039 RMSE 0.022 0.021 0.035 CIEDE00 1.35 1.18 4.82 PD 0.001 0.001 0.004 Table 5. <u>Comparison of reflectance estimation accuracy for our method when using different angles and facet sizes</u> Angle 30 <sup>_◦_</sup> 45 <sup>_◦_</sup> 60 <sup>_◦_</sup> 90 <sup>_◦_</sup> Number of facets 64 100 256 64 100 256 64 100 256 64 100 256 RMSE 0.016 0.0158 0.0160 0.0189 0.0172 0.0170 0.0189 0.0181 0.0182 0.0250 0.0246 0.0244 CIEDE00 0.281 0.287 0.265 0.295 0.292 0.305 0.321 0.308 0.316 0.423 0.391 0.387 ever, physical arguments help us to claim that the results of the optimization process is most often strongly correlated with the surface’s spectral reflectance, which means that the range of spectral reflectances that the method would systematically fail to retrieve with reasonable tolerance is rather limited, and excludes most real materials. In order to understand why the method has good chance to converge towards the expected result, let us remind how interreflections intrinsically bring spectral information into the color image, especially in the case of V-shaped surfaces where color gradients are well visible (actually, under directional illumination, color gradients are always displayed except in the very special case of integrating spheres where the geometrical extent between every point and every other point is constant, which results in a homogeneous color over the whole sphere and therefore an absence of color gradient). The color gradient comes from the fact that the radiances perceived from the different points of the surface contain different populations of photons having bounced different numbers of times in average in the concavity before reaching the sensor: near the external edges of the panels, photons have more chance to escape the concavity after one bounce (these photons form a flux proportional to the incident spectral irradiance and the reflectance of the surface), whereas near the joint-edge, they have more chance to strike the surface again after each bounce, therefore to bounce many times (the corresponding flux is proportional to the incident spectral irradiance and a combination of the reflectance, its square, its cube, and so on...). Hence, the radiance _L_ ( _λ_ ) viewed from a given point _P_ can be approximated as: where _r_ ( _λ_ ) denotes the surface reflectance, _qj_ are factors related to the surface geometry, and _n_ is the highest significant number of bounces undergone by the photons which transit from point _P_ to the sensor. The number _n_ increases from the external edges _LP_ ( _λ_ ) = _n_ ## ∑ _j_ =1 _qjr_ <sup>_j_</sup> ( _λ_ ) (39) (a) Two Munsell sheets with an angle of 45 <sup>_◦_</sup> (b) Two Munsell sheets with an angle of 60 <sup>_◦_</sup> Fig. 6. Effect of angle change on image RGB values where it is typically around 1 _−_ 2, to the joint edge between the panels where it can reach extremely high values. Since the spectral radiance is a non-linear function of _n_, the collection of spectral radiances viewed over the surface form a spectral space with appreciable dimensionality (which explains why there is no need with this method to use various illuminants or decrease the dimensionality of the spectral space of the considered samples). Once captured by the sensors, the collection of spectral radiances is converted into a collection of RGB values, all correlated with the spectral radiance of the surface. If we modify the spectral reflectance of the surface, it is possible that the RGB values given by the sensors in one point are not modified (case of metamerism), but it is almost impossible that the R, G, and B values remain unmodified for all the points, even in very special cases of spectral reflectances as shown in Figure (7a) through a multi-rectangular function. The two experimental spectral reflectance functions in Figure (7a) give exactly the same camera response with the SD-10 camera under CIE D65 illuminant. Using our model, we obtained the RGB values corresponding to each of these reflectences for a surface bent with an angle of 60 deg. Then, we used our objective function to find back the spectral reflectances. This is done without using the smoothness term in order to not affect the solution. Figure (7b) shows the estimated spectral reflectance for both these spectral reflectances. Therefore, the collection of RGB values displayed by an image of surface with known geometry, illuminant and sensor, seems to be a signature of the spectral reflectance of the surface: it is almost impossible to find a surface with different spectral reflectance that would display similar set of RGB colors in the same experimental configuration. This means that two metameric flat surfaces cannot be metameric anymore once bent in concave shape. 0.6 0.5 0.4 0.3 0.2 0.1 0 400 450 500 550 600 650 700 Wavelength (nm) (a) Spectral reflectances giving the same RGB values when the surfaces are flat 0.6 0.5 0.4 0.3 0.2 0.1 0 400 450 500 550 600 650 700 Wavelength (nm) (b) Spectral reflectance estimation for both spectra: in Red the estimation for the step-shaped spectrum, in green the estimation for the smooth one _α_ Fig. 7. Experimental study on the uniqueness of the solution. 7. CONCLUSION In this paper, we presented a study of the effect of interreflections on spectral reflectance estimation. The fact that a surface is concave leads its surface elements to reflect light towards each other so the light bounces multiple times between them. The number of bounces and their importance are defined by the geometry of the scene, and the location of each surface element in the object. This is the reason why different pixels of the same uniformly colored surface in an image may have different RGB values when interreflections occur. The results of our experiments showed that when using a uniformly colored surface, the whole spectral reflectance can be found with a good precision from a single RGB image of a concave surface taken under direct daylight. This performance is achieved without the need of any pre-calibration or specific acquisition settings. In addition, we presented a detailed study of the effect of the angle and the facet size on the quality of spectral reflectance estimation. Furthermore, the uniqueness of the solution has been analyzed. The proposed solution is valid in case of collimated homogeneous light without taking into consideration the ambient light. We think that the model can be further enhanced by treating ambient light as well as direct light. Moreover, the surfaces used in the experiments were not fully Lambertian, they show some specularity at grazing incidence of light. Thus, providing a more general form of the interreflections model could be appreciable in order to enhance the accuracy of the method in real scenarios. APPENDIX A: PROOF OF CONVERGENCE OF THE GE- OMETRIC SERIES OF IRRADIANCE The irradiance vector after _n_ bounces of light can be written as a sum of irradiance after one bounce, two bounces, three bounces,..., and _n_ bounces of light as expressed in Equation (14). This sum is a geometric series of the form _a_ + _ar_ + _ar_ <sup>2</sup> + ... + _ar_ <sup>_n_</sup> . Thus, Equation (14) can be written as: E = ( I _−_ ( KR ) <sup>_n_</sup> )( I _−_ KR ) <sup>_−_</sup> <sup>1</sup> E0 . (40) Then, when _n_ tends to infinity, the irradiance vector is written as expressed in Equation (15): E = ( I _−_ KR ) <sup>_−_</sup> <sup>1</sup> E0, (41) which can be shown by proving that I _−_ ( KR ) <sup>∞</sup> tends to the identity matrix, or that ( KR ) <sup>∞</sup> tends to the zero matrix. A nonnegative matrix, A, is said to be _substochastic_ if it satisfies the two following conditions: - ∑ _j aij_ _≤_ 1 - There is at least one element in each column that is strictly superior to zero. It has been proven in [31] that the spectral radius of _substochas-_ _tic_ matrices is strictly less than one and that for a _substochastic_ matrix A : lim (42) _n→_ ∞ <sup>A</sup> <sup>_n_</sup> <sup>= 0</sup> In our case, R is a square diagonal matrix containing the spectral reflectances of the different facets of the surface at a single wavelength. A surface reflectance is necessarily superior or equal to 0 and inferior or equal to 1 in case of non-florescent materials. Thus, the sum of each of its column is inferior or equal to one. However, in order to satisfy the second condition, an assumption that the surface reflectance is strictly superior to zero should be made. This assumption is met in the spectral reflectance of real surfaces. K is also a square matrix, each of its columns represents the geometrical relation between a facet and all the other facets in the surface. In radiometric terms, this geometrical relation is related to the geometrical extent <sup>3</sup>, and when integrated over the hemisphere around an infinitesimal point, this term is equal to _π_ . Each column of K represents an integration over a part of the hemisphere, and every term in this matrix is divided by _π_, then the sum of each column of this matrix is inferior or equal to one. Then, both R and K are _substochastic_ matrices, and: lim (43) _n→_ ∞ <sup>(</sup> <sup>KR</sup> <sup>)</sup> <sup>_n_</sup> <sup>= 0.</sup> REFERENCES 1. Y. Zhao and R. S. Berns, “Image-based spectral reflectance reconstruction using the matrix r method,” Color Research & Application 32, 343–351 (2007). 2. A. Ribes and F. Schmitt, “Linear inverse problems in imaging,” IEEE Signal Processing Magazine 25 (2008). 3. V. Heikkinen, C. Cámara, T. Hirvonen, and N. Penttinen, “Spectral imaging using consumer-level devices and kernel-based regression,” JOSA A 33, 1095–1110 (2016). 4. J.-I. Park, M.-H. Lee, M. D. Grossberg, and S. K. Nayar, “Multispectral imaging using multiplexed illumination,” in “Computer Vision, 2007. ICCV 2007. IEEE 11th International Conference on,” (IEEE, 2007), pp. 1–8. 3The geometrical extent can be also found under the name étendue 5. V. Heikkinen, R. Lenz, T. Jetsu, J. Parkkinen, M. Hauta-Kasari, and T. Jääskeläinen, “Evaluation and unification of some methods for estimating reflectance spectra from rgb images,” JOSA A 25, 2444–2458 (2008). 6. C. Chi, H. Yoo, and M. Ben-Ezra, “Multi-spectral imaging by optimized wide band illumination,” International Journal of Computer Vision 86, 140 (2010). 7. Y. Fu, A. Lam, I. Sato, T. Okabe, and Y. Sato, “Reflectance and fluorescence spectral recovery via actively lit rgb images,” IEEE transactions on pattern analysis and machine intelligence 38, 1313–1326 (2016). 8. S. Han, I. Sato, T. Okabe, and Y. Sato, “Fast spectral reflectance recovery using dlp projector,” International journal of computer vision 110, 172– 184 (2014). 9. J. Jiang and J. Gu, “Recovering spectral reflectance under commonly available lighting conditions,” in “Computer Vision and Pattern Recognition Workshops (CVPRW), 2012 IEEE Computer Society Conference on,” (IEEE, 2012), pp. 1–8. 10. R. Khan, J. Van de Weijer, D. Karatzas, and D. Muselet, “Towards multispectral data acquisition with hand-held devices,” in “Image Processing (ICIP), 2013 20th IEEE International Conference on,” (IEEE, 2013), pp. 2053–2057. 11. J. L. Dannemiller, “Spectral reflectance of natural objects: how many basis functions are necessary?” JOSA A 9, 507–515 (1992). 12. V. Heikkinen, T. Jetsu, J. Parkkinen, M. Hauta-Kasari, T. Jaaskelainen, and S. D. Lee, “Regularized learning framework in the estimation of reflectance spectra from camera responses,” JOSA A 24, 2673–2683 (2007). 13. V. Heikkinen, A. Mirhashemi, and J. Alho, “Link functions and matérn kernel in the estimation of reflectance spectra from rgb responses,” JOSA A 30, 2444–2454 (2013). 14. R. H. Byrd, M. E. Hribar, and J. Nocedal, “An interior point algorithm for large-scale nonlinear programming,” SIAM Journal on Optimization 9, 877–900 (1999). 15. M. Pharr, W. Jakob, and G. Humphreys, _Physically based rendering:_ _From theory to implementation_ (Morgan Kaufmann, 2016). 16. H. W. Jensen, _Realistic_ _image_ _synthesis_ _using_ _photon_ _mapping_, vol. 364 (Ak Peters Natick, 2001). 17. S. K. Nayar, K. Ikeuchi, and T. Kanade, “Shape from interreflections,” International Journal of Computer Vision 6, 173–195 (1991). 18. S. K. Nayar and Y. Gong, “Colored interreflections and shape recovery,” in “Image Understanding Workshop,” (1992), pp. 333–343. 19. S. M. Seitz, Y. Matsushita, and K. N. Kutulakos, “A theory of inverse light transport,” in “Computer Vision, 2005. ICCV 2005. Tenth IEEE International Conference on,”, vol. 2 (IEEE, 2005), vol. 2, pp. 1440– 1447. 20. B. V. Funt and M. S. Drew, “Color space analysis of mutual illumination,” Pattern Analysis and Machine Intelligence, IEEE Transactions on 15, 1319–1326 (1993). 21. M. Liao, X. Huang, and R. Yang, “Interreflection removal for photometric stereo by using spectrum-dependent albedo,” in “Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on,” (IEEE, 2011), pp. 689–696. 22. Y. Fu, A. Lam, Y. Matsushita, I. Sato, and Y. Sato, “Interreflection removal using fluorescence,” in “European Conference on Computer Vision,” (Springer, 2014), pp. 203–217. 23. B. V. Funt, M. S. Drew, and J. Ho, “Color constancy from mutual reflection,” International Journal of Computer Vision 6, 5–24 (1991). 24. M. S. Drew and B. V. Funt, “Calculating surface reflectance using a single-bounce model of mutual reflection,” in “Computer Vision, 1990. Proceedings, Third International Conference on,” (IEEE, 1990), pp. 394– 399. 25. J. Ho, B. V. Funt, and M. S. Drew, “Separating a color signal into illumination and surface reflectance components: Theory and applications,” IEEE Transactions on Pattern Analysis and Machine Intelligence 12, 966–977 (1990). 26. M. K. Chandraker, F. Kahl, and D. J. Kriegman, “Reflections on the generalized bas-relief ambiguity,” in “Computer Vision and Pattern Recognition, 2005. CVPR 2005. IEEE Computer Society Conference on,”, vol. 1 (IEEE, 2005), vol. 1, pp. 788–795. 27. R. Deeb, D. Muselet, M. Hebert, and A. Tremeau, “Interreflections in computer vision: A survey and an introduction to spectral infinite-bounce model,” Journal of Mathematical Imaging and Vision pp. 1–20 (2017). 28. M. Kojima, S. Mizuno, and A. Yoshise, “A primal-dual interior point algorithm for linear programming,” in “Progress in mathematical programming,” (Springer, 1989), pp. 29–47. 29. M. R. Luo, G. Cui, and B. Rigg, “The development of the cie 2000 colour-difference formula: Ciede2000,” Color Research & Application 26, 340–350 (2001). 30. N. Ohta and A. Robertson, _Colorimetry:_ _fundamentals and applications_ (John Wiley & Sons, 2006). 31. M. Hébert, “Compositional model for predicting multilayer reflectances and transmittances in color reproduction,” Ph.D. thesis, Ecole Polytechnique Fédérale de Lausanne (2006).

섹션 본문

섹션 본문이 없습니다.

참고문헌 20건

  1. Image‐based spectral reflectance reconstruction using the matrix R method Color Research & Application · Wiley · 2007 10.1002/col.20341
  2. Linear inverse problems in imaging IEEE Signal Processing Magazine · Institute of Electrical and Electronics Engineers · 2008 10.1109/msp.2008.923099
  3. Spectral imaging using consumer-level devices and kernel-based regression Journal of the Optical Society of America A · Optica Publishing Group · 2016 10.1364/josaa.33.001095
  4. Evaluation and unification of some methods for estimating reflectance spectra from RGB images Journal of the Optical Society of America A · Optica Publishing Group · 2008 10.1364/josaa.25.002444
  5. Multi-Spectral Imaging by Optimized Wide Band Illumination International Journal of Computer Vision · Springer Science+Business Media · 2008 10.1007/s11263-008-0176-y
  6. Reflectance and Fluorescence Spectral Recovery via Actively Lit RGB Images IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2439270
  7. Fast Spectral Reflectance Recovery Using DLP Projector International Journal of Computer Vision · Springer Science+Business Media · 2013 10.1007/s11263-013-0687-z
  8. Spectral reflectance of natural objects: how many basis functions are necessary? Journal of the Optical Society of America A · Optica Publishing Group · 1992 10.1364/josaa.9.000507
  9. Regularized learning framework in the estimation of reflectance spectra from camera responses Journal of the Optical Society of America A · Optica Publishing Group · 2007 10.1364/josaa.24.002673
  10. Link functions and Matérn kernel in the estimation of reflectance spectra from RGB responses Journal of the Optical Society of America A · Optica Publishing Group · 2013 10.1364/josaa.30.002444
  11. An Interior Point Algorithm for Large-Scale Nonlinear Programming SIAM Journal on Optimization · Society for Industrial and Applied Mathematics · 1999 10.1137/s1052623497325107
  12. Shape from interreflections International Journal of Computer Vision · Springer Science+Business Media · 1991 10.1007/bf00115695
  13. Color space analysis of mutual illumination IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1993 10.1109/34.250838
  14. Color constancy from mutual reflection International Journal of Computer Vision · Springer Science+Business Media · 1991 10.1007/bf00127123
  15. Calculating surface reflectance using a single-bounce model of mutual reflection 2002 10.1109/iccv.1990.139559
  16. Separating a color signal into illumination and surface reflectance components: theory and applications IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1990 10.1109/34.58869
  17. Interreflections in Computer Vision: A Survey and an Introduction to Spectral Infinite-Bounce Model Journal of Mathematical Imaging and Vision · Springer Science+Business Media · 2017 10.1007/s10851-017-0781-x
  18. A Primal-Dual Interior Point Algorithm for Linear Programming Springer eBooks · Springer Nature · 1989 10.1007/978-1-4613-9617-8_2
  19. The development of the CIE 2000 colour‐difference formula: CIEDE2000 Color Research & Application · Wiley · 2001 10.1002/col.1049
  20. Color and spectral analysis of daylight in southern Europe Journal of the Optical Society of America A · Optica Publishing Group · 2001 10.1364/josaa.18.001325