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

Spectral Reflectance Estimation from Camera Response Using Local Optimal Dataset and Neural Networks

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (2) 샤무드(인공피혁)(24) 패션(코오롱FnC)

기본 정보

저자
  1. Shoji Tominaga — Department of Business and Informatics, Nagano University, Ueda 386-1298, Japan|||Department of Computer Science, Norwegian University of Science and Technology, 2815 Gjøvik, Norway
  2. Hideaki Sakai — Professor Emeritus, Kyoto University, Kyoto 606-8501, Japan
DOI
10.3390/jimaging10090222
저널
Journal of Imaging
발행년도
2024
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/jimaging10090222
토픽
Color Science and Applications
OpenAlex ID
W4402366240

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(2) 샤무드(인공피혁), (24) 패션(코오롱FnC)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
surface-spectral reflectance, camera response, neural network, color difference, RGB camera
판단 근거
본 논문은 카메라 응답을 통해 물체의 분광 반사율을 추정하는 알고리즘을 다루고 있습니다. 이는 자동차 인테리어 소재(3)나 패션 소재(24)의 색상 구현 및 품질 관리(Colorimetry)를 위한 광학적 분석 기법으로 응용될 수 있습니다.
R&D 활용 포인트
자동차 내장재나 기능성 섬유의 색상 정밀 측정 및 품질 검사 공정에서 AI 기반의 비파괴 분광 분석 모델로 활용 가능합니다.
평가 입력
본문 48,558자 중 30,032자 발췌

초록

In this study, a novel method is proposed to estimate surface-spectral reflectance from camera responses that combine model-based and training-based approaches. An imaging system is modeled using the spectral sensitivity functions of an RGB camera, spectral power distributions of multiple light sources, unknown surface-spectral reflectance, additive noise, and a gain parameter. The estimation procedure comprises two main stages: (1) selecting the local optimal reflectance dataset from a reflectance database and (2) determining the best estimate by applying a neural network to the local optimal dataset only. In stage (1), the camera responses are predicted for the respective reflectances in the database, and the optimal candidates are selected in the order of lowest prediction error. In stage (2), most reflectance training data are obtained by a convex linear combination of local optimal data using weighting coefficients based on random numbers. A feed-forward neural network with one hidden layer is used to map the observation space onto the spectral reflectance space. In addition, the reflectance estimation is repeated by generating multiple sets of random numbers, and the median of a set of estimated reflectances is determined as the final estimate of the reflectance. Experimental results show that the estimation accuracies exceed those of other methods.

본문 48,558자

본문 펼치기
Journal of ## _Imaging_ _Article_ # Spectral Reflectance Estimation from Camera Response Using Local Optimal Dataset and Neural Networks Shoji Tominaga <sup>1,2,</sup> * and Hideaki Sakai <sup>3</sup> 1 Department of Computer Science, Norwegian University of Science and Technology, 2815 Gjøvik, Norway 2 Department of Business and Informatics, Nagano University, Ueda 386-1298, Japan 3 Professor Emeritus, Kyoto University, Kyoto 606-8501, Japan; hsakai@i.kyoto-u.ac.jp * Correspondence: shojitominaga12@gmail.com; Tel.: +81-90-2197-0543 Abstract: In this study, a novel method is proposed to estimate surface-spectral reflectance from camera responses that combine model-based and training-based approaches. An imaging system is modeled using the spectral sensitivity functions of an RGB camera, spectral power distributions of multiple light sources, unknown surface-spectral reflectance, additive noise, and a gain parameter. The estimation procedure comprises two main stages: (1) selecting the local optimal reflectance dataset from a reflectance database and (2) determining the best estimate by applying a neural network to the local optimal dataset only. In stage (1), the camera responses are predicted for the respective reflectances in the database, and the optimal candidates are selected in the order of lowest prediction error. In stage (2), most reflectance training data are obtained by a convex linear combination of local optimal data using weighting coefficients based on random numbers. A feed-forward neural network with one hidden layer is used to map the observation space onto the spectral reflectance space. In addition, the reflectance estimation is repeated by generating multiple sets of random numbers, and the median of a set of estimated reflectances is determined as the final estimate of the reflectance. Experimental results show that the estimation accuracies exceed those of other methods. Keywords: surface-spectral reflectance; reflectance estimation; multispectral imaging; local optimal dataset; neural network; training-based approach; model-based approach Citation: Tominaga, S.; Sakai, H. Spectral Reflectance Estimation from Camera Response Using Local Optimal Dataset and Neural Networks. _J. Imaging_ 2024, _10_, 222. [https://doi.org/10.3390/](https://doi.org/10.3390/jimaging10090222) [jimaging10090222](https://doi.org/10.3390/jimaging10090222) Received: 8 August 2024 Revised: 5 September 2024 Accepted: 6 September 2024 Published: 9 September 2024 Copyright: © 2024 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 [(https://](https://creativecommons.org/licenses/by/4.0/) [creativecommons.org/licenses/by/](https://creativecommons.org/licenses/by/4.0/) 4.0/). 1. Introduction Knowledge of the surface-spectral reflectances of objects is essential in fields such as color science, image science and technology, computer vision, and computer graphics. Therefore, issues in estimating the surface-spectral reflectances from camera responses have been studied alongside the development of cameras and imaging systems, leading to the proposal of numerous methods. Methods used to estimate the surface-spectral reflectances based on camera responses can be classified into two primary approaches: model-based approach [1–14] and training (or learning)-based approach [15–37]. In the model-based approach, the camera responses are described using camera spectral sensitivities, surface-spectral reflectance, and illuminant spectral power distributions. This is the traditional and more commonly used approach and includes finite-dimensional modeling methods [1,3] and Wiener estimation methods [4–12]. Wiener estimation methods are based on a statistical approach in which noise in the imaging system and a certain spectral reflectance statistic are considered. Linear minimum mean square error (LMMSE) [13] is an improved Wiener estimation method. Recently, a method [14] was proposed to estimate the surface-spectral reflectances from camera responses using a local optimal reflectance dataset, in which a spectral reflectance database was utilized to locally determine the candidates to optimally estimate the spectral reflectance. The best spectral reflectance was effectively estimated using only the local optimal dataset without using the entire spectral reflectance database. _J. Imaging_ 2024, _10_, 222 2 of 15 The training-based approach is typically constructed without knowledge of the camera spectral sensitivities and illuminant spectral distributions. Rather, it uses a large training dataset, which is a large table comprising a pair of camera responses and the corresponding spectral reflectances. Regression methods directly establish the relationship between RGB responses and spectral reflectances and include support vector regression [19,20], kernel regression [21,22], and linear regression [23,24]. In recent years, neural networks have been used in reflectance estimation problems in many areas. In fact, material reflectance or albedo was estimated based on a neural network approach [28–31]. A neural network approach was proposed for leaf chlorophyll and carotenoid estimation using hyperspectral reflectance [32]. Soil organic carbon was predicted using VNIR spectroscopy employing neural network modeling [33]. Material type recognition was considered based on IR reflectances and color images [34]. Regarding spectral reflectance estimation, the use of neural networks has been considered to construct a map between the low-dimensional color signal space and higherdimensional spectral space [35–37], where a neural network model optimized to predict color reflectance for multiple coating products was demonstrated in [35], and a map between the CMYK color space and the spectral space using neural networks was proposed in [36]. In [37], a neural network method to estimate spectral reflectance was applied to a dual imaging system with a color projector and color camera, where mapping was constructed between six-dimensional color signals and the spectral space. The neural network was then trained using numerous samples with known spectral reflectance, including the Munsell dataset and the 24 color checker dataset. In this study, we propose a novel method that combines model- and training-based approaches to improve the estimation accuracy of spectral reflectance from image data. The proposed method comprises two stages. The first stage is based on the model base, where the local optimal reflectance dataset is selected as a set of the most reliable candidates for reflectance estimation from a standard reflectance database. The second stage employs a training-based method, where the best estimate is determined by applying a neural network method to the selected local optimal dataset only. Our imaging system is a multispectral image acquisition system extended from a simple RGB system, in which an RGB camera captures multiple images of an object scene under multiple light sources with different illuminant spectra in the visible range. In the following, Section 2 describes the observation model for an image-acquisition system that uses an RGB camera and multiple light sources. We adopt a general model in which the camera responses are described by combining camera spectral sensitivities, illuminant spectral power distributions, unknown surface-spectral reflectance, additive noise terms, and a gain parameter. Section 3 describes the development of the proposed spectral estimation method. First, we describe the selection of the local optimal reflectance dataset. The actual camera responses for the target object are compared with the observations predicted from the respective spectral reflectances in the reflectance database. Prediction errors are calculated for all reflectances in the database, and the local optimal candidates for reflectance estimation are selected in the order of the lowest prediction error. Second, we determine the best reflectance using a neural network based only on a locally optimal dataset. A random convex linear combination of the local optimal dataset becomes the training data of reflectance for the neural network, and the network is trained to minimize the mean square error (MSE). An additional procedure is presented to obtain reliable reflectance estimates. Section 4 presents the experiments performed to validate the proposed methods for estimating the surface spectral reflectances. Various mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples are used in these experiments. The performance of the proposed method is examined in detail and compared with that of other methods. Section 5 discusses the relationship between the statistics of the random numbers used and estimation accuracy. _J. Imaging_ 2024, _10_, 222 3 of 15 2. Observation Model The observation model of our image-acquisition system is shown in Figure 1 (see [14]). It was constructed using an RGB camera with three color channels ( _c_ = 1, 2, 3) and multiple light sources with _L_ different illuminant spectra ( _l_ = 1, 2,..., _L_ ). Hence, we obtained _m_ = 3 _L_ observations for a single target object. The observation _yi_ of the camera outputs is expressed as follows: _yi_ = _g_ <sup>�</sup> <sup>700</sup> 400 <sup>_x_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_el_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_rc_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>+</sup> <sup>_ni_</sup> <sup>,</sup> (1) ( _i_ = 1, 2, . . ., _m_ ), where _x_ ( _λ_ ) is the surface-spectral reflectance of the target object, _el_ ( _λ_ ) ( _l_ = 1, 2, . . ., _L_ ) represent the spectral power distribution of the light sources, _rc_ ( _λ_ ) ( _c_ = 1, 2, 3) denote the spectral sensitivity functions of the camera. The wavelength _λ_ is in the visible range of 400–700 nm. The additive noise _ni_ in the imaging system is assumed to be white noise with zero mean and variance _a_ and is uncorrelated with _x_ ( _λ_ ). Here, _yi_ represent the digital camera outputs, while _x_ ( _λ_ ), _el_ ( _λ_ ), and _rc_ ( _λ_ ) are physical quantities. The coefficient _g_ in Equation (1) is a gain parameter used to convert the model outputs to the practical digital output. The parameter _g_ is unique to the imaging system and depends on the conditions of the imaging system, such as the locations of the camera and light sources, including illumination intensities. How to determine the noise variance _a_ and the gain parameter _g_ was shown in [13]. Figure 1. Conceptual diagram of our image acquisition system [14]. The spectral functions of reflectance, illuminants, and sensitivities are sampled at _n_ wavelength points with equal intervals in the range of 400–700 nm and described using _n_ -dimensional column vectors as follows:   _rc_ ( _λ_ 1) _rc_ ( _λ_ 2) ... _rc_ ( _λn_ )  (2) ,   _el_ ( _λ_ 1) _el_ ( _λ_ 2) ... _el_ ( _λn_ )  r _c_ = , _rc_ ( _λ_ 1) _rc_ ( _λ_ 2)  e _l_ = , x =   _x_ ( _λ_ 1) _x_ ( _λ_ 2) ... _x_ ( _λn_ ) _x_ ( _λ_ 1) _x_ ( _λ_ 2) where _i_ = 1, 2, . . ., _L_ and _c_ = 1, 2, 3. The discrete representation of the observation model is expressed as y = _g_ Ax + n, (3) where ( e 1. <sup>_∗_</sup> r 1) <sup>_t_</sup> ∆ _λ_ ( e 2. <sup>_∗_</sup> r 2) <sup>_t_</sup> ∆ _λ_ ... ( e _L_ . <sup>_∗_</sup> r 3) <sup>_t_</sup> ∆ _λ_   _y_ 1 _y_ 2 ... _ym_   _n_ 1 _n_ 2 ... _nm_  A = ,  (4)    _n_ 1 _n_ 2 y =   , n = The symbol (.*), superscript _t_, and ∆ _λ_ represent element-wise multiplication, matrix transposition, and the wavelength sampling interval, respectively. Therefore, A is an ( _m_ _×_ _n_ ) matrix defined by the illuminant spectra and spectral sensitivities, and _n_ is an _n_ -dimensional noise vector. _J. Imaging_ 2024, _10_, 222 4 of 15 3. Reflectance Estimation Method _3.1._ _Selection of Local Optimal Reflectance Dataset_ Figure 2 shows the standard database of surface-spectral reflectance used in this study, which comprises Dupont spectral data, Munsell spectral data, and various object spectral data, including manmade objects such as papers, paints, and plastics, as well as natural o <mark>bjects such as r</mark> ocks, leaves, skins, oranges, and apples. This database is available at [http://ohlab.kic.ac.jp/](http://ohlab.kic.ac.jp/) (accessed on 1 July 2024), which is a dataset of 1776 spectral reflectances. Let _ND_ (1776) be the number of spectral reflectances in a database. All spectral curves are sampled at 61 (= _n_ ) points with 5 nm intervals in the visible range of 400–700 nm and represented by 61-dimensional column vectors x _i_ ( _i_ = 1, 2,..., _ND_ ). Figure 2. Database of surface-spectral reflectance. First, the observations are predicted using Equation (3) as an _g_ Ax _i_ for each spectral reflectance x _i_ in the database. The prediction error for observation y is then calculated as follows: _Li_ = _∥_ y _−_ _g_ Ax _i∥_ <sup>2</sup> 2 <sup>2</sup> 2 <sup>(</sup> <sup>_i_</sup> <sup>= 1,</sup> <sup>2, . . .,</sup> <sup>_ND_</sup> <sup>),</sup> (5) where norm _∥•∥_ <sup>2</sup> 2 <sup>is defined as</sup> <sup>_∥_</sup> <sup>z</sup> <sup>_∥_</sup> 2 <sup>2</sup> <sup>=</sup> <sup>_z_</sup> <sup>2</sup> 1 <sup>+</sup> <sup>_z_</sup> 2 <sup>2</sup> <sup>+ . . . +</sup> <sup>_z_</sup> <sup>2</sup> _m_ <sup>.</sup> <sup>Secondly, the prediction errors</sup> are arranged in ascending order as _L_ (1) _≤_ _L_ (2) _≤· · ·_ _≤_ _L_ ( _ND_ ), and the corresponding spectral reflectances are x (1), x (2), . . ., x ( _ND_ ). Finally, the first K spectral reflectances, x (1), x (2), . . ., x ( _K_ ) are selected as local optimal candidates to estimate the spectral reflectance. _3.2._ _Determination of Reflectance Estimate Using Neural Network_ The best estimate is determined using a neural network based only on the local optimal . dataset x (1), x (2), . . ., x ( _K_ ) 3.2.1. Making the Training Data The training data are a large table comprising a pair of spectral reflectances and corresponding observations. The training data for the spectral reflectance are composed of the original local optimal dataset obtained in Section 3.1 and the augmented data made by the convex linear combination of the local optimal dataset. Let _NT_ be the number of training data and x^ _i_ ( _i_ = 1,2,. . ., _NT_ ) be the spectral reflectance used for training. The spectral reflectances are described as x^ _i_ = x ( _i_ ), ( _i_ = 1, 2, . . ., _K_ ) x^ _i_ = _α_ 1 x (1) + _α_ 2 x (2) + _· · ·_ + _αK_ x ( _K_ ), ( _i_ = _K_ + 1, _K_ + 2, . . ., _NT_ ), (6) _J. Imaging_ 2024, _10_, 222 5 of 15 where the scalar weighting coefficients are normalized as _K_ ∑ _i_ =1 _αi_ = 1, _αi_ _≥_ 0. (7) ( _i_ = 1, 2, . . ., _K_ ). In particular, we make the coefficients using random numbers as _αi_ = _ui_ /( _u_ 1 + _u_ 2 + _· · ·_ + _uK_ ) (8) where _ui_ is the random number with a uniform distribution over [0, 1]. Each component of the generated x^ _i_ in (6) lies between 0 and 1. The corresponding training data for the observations are as follows: y^ _i_ = _g_ A x^ _i_ + n _i_, ( _i_ = 1, 2, . . ., _NT_ ) (9) where n _i_ is the _m_ -dimensional noise vector, whose _j_ -th element ( n _i_ ) _j_ ( _j_ = 1, 2,..., _m_ ) is assumed to be Gaussian white noise with zero mean and variance _a_ . Therefore, we generate additive noise using the random number _<u>randn</u>_ with a standard normal distribution as follows: ( n _i_ ) _j_ = <sup>_√_</sup> _a ∗_ _randn_ (10) 3.2.2. Network Architecture and Learning Procedure We use a simple feed-forward neural network with one hidden layer to construct a mapping from the observation space to the spectral reflectance space. Because the observation and reflectance spaces have _m-_ and _n-_ dimensions, respectively, the network is constructed with a structure of _m-N-n_, as shown in Figure 3, where _N_ indicates the number of units in the hidden layer. Figure 3. Architecture of the feedforward neural network with a structure of _m-N-n._ . The MATLAB machine learning functions are used to construct the network [38]. Network training is performed using the following: net = feedforwardnet( _N_ ), net = train(net, xdata, tdata), where xdata and tdata indicate the training dataset and corresponding target (output) dataset, respectively, which have the following forms: xdata = [ xdata train, xdata val, xdata test], tdata = [ tdata train, tdata val, tdata test] The entire training data of spectral reflectances x^ _i_ ( _i_ = 1, 2, . . ., _NT_ ) are segmented randomly into xdata train for the network training and xdata val for validation. In the same way, the entire training data of the corresponding observations y^ _i_ ( _i_ = 1, 2, . . ., _NT_ ) are segmented into tdata train and tdata val. The training algorithm is based on the Levenberg– Marquardt method, and the training is iterated to reduce the MSE to an acceptable level. The entire training data of spectral reflectances way, the entire training data of the corresponding observations _J. Imaging_ 2024, _10_, 222 6 of 15 The spectral reflectance corresponding to the test observation data tdata test is predicted using the trained network, as follows: x est = sim ( net, tdata test). 3.2.3. Determining the Optimal Reflectance Estimate Because the augmented training data are generated using random numbers, the reflectance estimates predicted above for spectral reflectance may include outliers that differ significantly from the predictions. To improve the reliability of the reflectance estimation, the reflectance estimation is repeated, and then the median in a set of the estimated reflectances is determined as the final spectral reflectance. x^ fin = median ( _{_ x est _}_ ) Suppose we repeat the estimation process _R_ times. Let _xj_,( _k_ ) be the estimate of the _j_ -th element of the _n_ -dimensional vector x est in the _k-_ th trial, arranged in ascending order as _xj_,(1) _≤_ _xj_,(2) _≤· · · ≤_ _xj_,(R). The final estimate after taking the median is then described for odd and even numbers of iterations _R_ as follows: _x_ ˆ _j_, fin = - _xj_,( _<u>R</u>_ <u>+2</u> <u>1</u> <sup>)</sup> _R_ : odd <u>1</u> 2 _xj_,( _<u>R</u>_ 2 - ( _j_ = 1, 2, . . ., _n_ ) (11) _<u>R</u>_ 2 <sup>) +</sup> <sup>_xj_</sup> <sup>,(</sup> <sup>_<u>R</u>_</sup> 2 <sup>+1)</sup> _R_ : even <u>Figure</u> <u>4</u> <u>depicts</u> <u>the</u> <u>overall</u> <u>flow</u> <u>of</u> <u>the</u> <u>proposed</u> <u>method</u> <u>for</u> <u>estimating</u> <u>spectral</u> reflectance in three steps. Figure 4. Overall flow of the proposed method for estimating spectral reflectance in three steps. 4. Experimental Results _4.1._ _Experimental Setup_ We performed experiments to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data. We used a mobile phone camera, LED light sources, a standard spectral reflectance database, and standard test samples. The mobile phone camera was an Apple iPhone 6s with iOS; to further confirm the validity of the different cameras, we additionally used an Apple iPhone 8 with iOS and a Huawei P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s. The numerical data for the spectral sensitivities are available [at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).](http://ohlab.kic.ac.jp/) Camera images were captured in a lossle <mark>ss raw image f</mark> ormat in an Adobe digital negative format. The dark response was measured under dark conditions and was discarded from the camera output. The camera depth was 12 bits. _J. Imaging_ 2024, _10_, 222 7 of 15 Figure 5. Relative RGB spectral sensitivity functions of the Apple iPhone 6s [14]. The illumination light sources were seven ( _L_ = 7) LED light sources, the spectral power distributions of which are shown in Figure 6. The standard spectral reflectance database used in the experiments is shown in Figure 2. An X-Rite Color Checker Passport Photo was used as the standard test target to validate the reflectance estimation. This target comprised 24 color checkers whose spectral reflectance values were measured using a <u>spectral colorimeter.</u> Figure 6. Spectral power distributions of seven LED light sources used in current experiments [14]. Spectralon was used as a white reference standard to investigate the statistical properties of this imaging system, which was placed near the target samples. The positions are similar to those in the previous paper [13]. The parameters _g_ and _a_ of the gain and noise variance in the observation model, respectively, were determined using the calibration method in [13] based on the Spectralon data. Since neural network processing takes a lot of time, we used a PC equipped with an NVIDIA GeForce RTX Graphics Processing Unit (GPU). _4.2._ _Bacic Performance of Proposed Method_ In a previous study [14], we investigated the number _K_ of local optimal reflectance candidates using different reflectance estimation methods and found that the appropriate _K_ value was in the range of 5–50. Therefore, we set _K_ = 25 in the current experiments - and generated the training data based on the local optimal dataset x (1), x (2), . . ., x (25) . The 600 augmented reflectance data were obtained by linear combinations of the 25 local optimal reflectances according to Equations (6)–(8). Overall, we had 625 ( _NT_ ) spectral and generated the training data based on the local optimal dataset x (1), x (2), . . ., x (25) _J. Imaging_ 2024, _10_, 222 8 of 15 reflectances as training data. Matrix A was created using the spectral sensitivity functions shown in Figure 5 and the spectral distributions of the light sources shown in Figure 6. The corresponding training data for the observation y^ _i_ were made for the respective reflectance x^ _i_ ( _i_ = 1,2,. . ., 625). The locally optimal reflectance dataset and training data were determined for each test target sample. reflectance Our feedforward network had a structure of 21-80-61 in Figure 3, which was constructed with 21 inputs, 1 hidden layer of 80 units, and 61 outputs. The total number of reflectance and observation pairs in our dataset for each sample was 625. Of these, 550 were randomly selected for training the network, and the remaining 75 were used as validation data to investigate the proposed network method. Each pair of training data constituted the network input and output. One period in which the entire training dataset was presented was defined as an epoch. The training was iterated for as many epochs as necessary to reduce the MSE to an acceptable level. After eight epochs, the error in the validation data was sufficiently small. ~~The observation data for each test sample were input into the learned neural network~~ to obtain an estimate of the spectral reflectance x est. Furthermore, to improve the estimation accuracy, we repeated the learning and testing process 10 times and finally adopted the median in the estimated reflectance set _{_ x est _}_ as the final spectral reflectance estimate x^ fin. Figure 7 shows the estimation results of the above procedure for the 24 spectral reflectance of the X-Rite Color Checker. In the figure, two types of curves are compared: bold curves indicate the estimated spectral reflectances for the 24 color checkers, and broken curves indicate the directly measured spectral reflectances. The average root-mean-square error (RMSE) was calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers: /24 2 /61 ���� ˆE[RMSE] = �� 24 ### ∑ _i_ =1 ���� x _i −_ x^ fin, _i_ �1/2 (12) Figure 7. Estimation results of the spectral reflectances for the 24 color checkers when applying the proposed method to the observations using the iPhone 6s. The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers. The average RMSE was 0.0173. The estimated spectral curves in Figure 7 were smoothed using moving-average processing. However, this process hardly changed the errors. Furthermore, the performance of the proposed method was compared with those of other well-known state-of-the-art methods for estimating spectral reflectance. The estima _J. Imaging_ 2024, _10_, 222 9 of 15 tion accuracies of the six methods were investigated using the same reflectance database, camera data, and test samples described above. Figure 8 compares the average RMSEs between the proposed method and the other methods, where the symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener, (2) original LMMSE [13], (3) local Wiener, (4) local LMMSE, (5) linear programming, and (6) quadratic programming [14], respectively. The local optimal dataset was used in Methods (3)–(6). The estimation accuracy of the proposed method is significantly superior, <u>although</u> <u>the</u> <u>RMSEs</u> <u>of</u> <u>(3)–(6)</u> <u>vary</u> <u>slightly</u> <u>depending</u> <u>on</u> <u>the</u> <u>number</u> <u>of</u> <u>local</u> <u>optimal</u> reflectance candidates _K_ . Figure 8. Comparison of the average RMSEs between the proposed method and the other methods. The symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener [13], (2) original LMMSE [13], (3) local Wiener [14], (4) local LMMSE [14], (5) linear programming [14], and (6) quadratic programming [14], respectively. _4.3._ _Effectiveness of Local Optimal Reflectance Dataset_ To confirm the effectiveness of the local optimal reflectance dataset in estimating spectral reflectance, we examined several reflectance estimation methods without using the local optimal dataset and with only a neural network. All the data in the standard spectral reflectance database were used without selection. First, by making the network structure multilayered and large-scale, complex mapping becomes possible to ensure that the estimation accuracy can be improved, even if learning takes a long time. Based on this idea, we constructed networks with three hidden layers with two types of structures: (1) 21-30-30-30-61 and (2) 21-30-40-50-61. The total number of training datasets was 1776; of these, 1576 reflectances were used for network training, and 200 reflectances were used for validation. The average RMSE after 10 epochs was 0.033003 and 0.0300666 for (1) and (2), respectively. Figure 9 shows the results estimated by network method (2) for the 24 spectral reflectances of the color checker. The estimation accuracy is significantly worse than the results in Section 4.2. Next, we considered improving the estimation accuracy by increasing the amount of training data. Additional spectral reflectances were obtained by augmentation with a convex linear combination of the original reflectance data. We randomly selected 10 reflectances from the original dataset and augmented the data using a convex linear combination of these, where the weighting coefficients were normalized to satisfy Equation (7). Among the data, 4000 reflectances were used for network training, and 200 reflectances were used _J. Imaging_ 2024, _10_, 222 10 of 15 for validation. The network structure was 21-30-30-30-61. In this third case (3), the average RMSE after 10 epochs was 0.031144. Thus, we see that the local optimal reflectance dataset is crucial for estimating the <u>spectral reflectance.</u> Figure 9. Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset. The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers. _4.4._ _Validity to Different Cameras_ The performance evaluation described above was based on a single mobile phone camera, iPhone 6s. To further confirm the validity of the different cameras, we used an Apple iPhone 8 with iOS and Huawei P10 lite with Android OS. The spectral sensitivity [function data for these cameras are available at http://ohlab.kic.ac.jp/ (accessed on 1 July](http://ohlab.kic.ac.jp/) 2024). The LED light sources, spectral reflectance database, and test samples of the 24 color checkers were the same as those shown in Section 4.1. Parameters _g_ and _a_ in the observation model were determined using the same calibration method. The 24 spectral reflectances of the X-Rite Color Checker were estimated based on the proposed method using observations from each camera, and the estimation accuracy was validated through comparison with other methods. The average RMSEs were 0.0144 and 0.0281 for Phone 8 and Huawei P10 lite, respectively. The estimation error increased when a Huawei camera was used. Figures 10 and 11 compare the average RMSEs between the proposed method and the six other methods for the iPhone 8 and Huawei P10 lite, respectively. The estimation accuracies of the proposed method are overwhelmingly superior for both cameras, as demonstrated in the iPho <mark>ne 6s.</mark> _J. Imaging_ <u>2024</u> <u>,</u> _<u>10</u>_ <u>, 222</u> <u>11 of 15</u> Figure 10. Comparison of the average RMSEs between the proposed method and the other methods when using iPhone 8. Figure 11. Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite. 5. Discussion _5.1._ _Relationship between the Statistics of Random Numbers and Estimation Accuracy_ Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets. The weighting coefficients are calculated using random numbers. Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used. The augmented spectral reflectances defined in Equations (6)–(8) are rewritten as follows: x^ = _K_ ### ∑ _i_ =1 _<u>ui</u>_ _u_ 1 + _<u>u</u>_ ~~<u>2</u>~~ <u>+</u> _<u>· · ·</u>_ <u>+</u> _<u>u</u>_ _~~<u>K</u>~~_ x ( _i_ ), ( _i_ = 1, 2, . . ., _K_ ) (13) where x ( _i_ ) are the local optimal reflectances and _ui_ are independent and identically distributed random numbers with _ui_ _>_ 0. Let _σ_ and _<u>u</u>_ be the standard deviation and mean of _ui_, respectively. The coefficient of variation _Cv_ is then defined as the standard deviation divided by the mean as _Cv_ = <sup>_<u>σ</u>_</sup> _<u>u</u>_ <sup>.</sup> (14) This measure is a statistical index showing the relative variation of the random numbers. Let us calculate _Cv_ for specific distributions of random numbers. (a) When _ui_ following a uniform distribution over [0, 1], _Cv_ = _~~√~~_ <u>13</u> <sup>.</sup> _J. Imaging_ 2024, _10_, 222 12 of 15 (b) Wh _√_ <u>en</u> _ui_ following a chi-square ( _χ_ <sup>2</sup> ) distribution with one degree of freedom, _Cv_ = 2. _√_ _√_ _Cv_ = 2. In case (b), the variation is _√_ In case (b), the variation is 6 times larger than that in case (a). Because the coefficient of variation differs depending on the distribution of the random numbers, it is likely to affect the final estimation accuracy of the spectral reflectance. Therefore, in addition to the above experiments using uniform random numbers, we conducted experiments on spectral reflectance estimation using random numbers with a chi-square distribution and compared the estimation accuracies in both cases. Table 1 compares the average RMSEs of the reflectance estimation using random numbers with two different distributions and three different cameras. The training data for spectral reflectance based on uniform random numbers with smaller _Cv_ are superior in terms of estimation accuracy. Table 1. Comparison of the average RMSEs in reflectance estimation when using random numbers with two different distributions and using three different cameras. iPhone 6s iPhone 8 Huawei P10 Lite Uniform distribution 0.0173 0.0144 0.0281 Chi-square 0.0195 0.0158 0.0296 distribution _5.2._ _Evaluation by Color Difference_ In this study, RMSE is mainly used for evaluating the accuracy of reflectance estimation. To make clear to what extent the deviation in the estimated reflectances is visible to the human eye, color difference rather than the RMSE of spectral difference may be useful. Therefore, we calculated CIEDE2000 values between the estimated reflectances and directly measured spectral reflectances for the 24 color checkers. Table 2 compares the average RMSEs and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE [13], the quadratic programming using local optimal reflectance dataset [14], and the proposed method. The RMSEs were computed based on the spectral differences between estimated reflectances and directly measured spectral reflectances for the 24 color checkers, and the CIE DE2000s were calculated based on the color differences under CIE D65 light between estimated reflectances and directly measured spectral reflectances for the 24 color checkers. Table 2. Comparison of the average RMSE and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE, the quadratic programming, and the proposed method. RMSE Average CIEDE2000 Average CIEDE2000 Median CIEDE2000 90% Percentile <u>Original LMMSE [13]</u> <u>0.0347</u> <u>2.756</u> <u>3.090</u> <u>3.726</u> <u>Quadratic programming [14]</u> <u>0.0272</u> <u>1.576</u> <u>1.060</u> <u>3.653</u> Proposed method 0.0173 1.087 0.0677 2.790 6. Conclusions In this study, we have proposed a novel method that combines model-based and training-based approaches to improve the estimation accuracy of surface-spectral reflectance from the camera response to an object surface. A multispectral image acquisition system was modeled in the visible wavelength range using three spectral functions: the spectral sensitivities of an RGB camera, spectral power distributions of multiple LED light sources, and unknown surface-spectral reflectance. Camera response was described as a generalized linear model that includes additive noise and a gain parameter. The proposed method comprised two main stages: the first stage was based on the model base, where the local optimal reflectance dataset was selected as the most reliable _J. Imaging_ 2024, _10_, 222 13 of 15 candidate set from a standard reflectance database, and the second stage was based on the training-based method, where the best estimate was determined by applying a neural network method to the selected local optimal dataset only. In the first stage, the camera response observations were predicted for the respective reflectances in the database, and the local optimal candidates were selected in the order of the lowest error between the real observation and prediction. In the second stage, the training data for spectral reflectances consisted of the original locally optimal dataset and augmented data generated by a convex linear combination of this dataset, with weighting coefficients derived from random numbers. A simple feedforward neural network with one hidden layer was used to construct the mapping from the low-dimensional observation space using the camera response to the high-dimensional spectral reflectance space. The neural network was trained to minimize MSE. To further improve the reliability of the estimate, the reflectance estimation was repeated, and the median in a set of estimated reflectances was determined as the final spectral reflectance. Experiments were conducted using 3 mobile phone cameras, 7 LED light sources, a standard spectral reflectance database with 1776 reflectances, and 24 color checkers. The performance of the proposed method was examined in detail. We investigated estimation methods based on a neural network using the entire database without selection and confirmed the effectiveness of the local optimal reflectance dataset. We demonstrated that the estimation accuracies of the proposed method exceed those of the other methods. Furthermore, we discussed the statistics of the random numbers used, which affects the estimation accuracy. The strength of the proposed method is its outstanding estimation accuracy. However, the computation time for the current approach is long. When using a laptop computer equipped with an NVIDIA GeForce RTX GPU, it took about 25 h to obtain the estimation results for 24 color checkers after repetition of the learning and testing process 10 times. A key challenge for the future is reducing the computation time required for obtaining estimation results, which is heavily dependent on the processing speed of the computer used. Author Contributions: Conceptualization, S.T. and H.S.; methodology, S.T. and H.S. software, S.T.; validation, S.T.; formal analysis, S.T. and H.S.; investigation, S.T. and H.S.; resources, S.T.; data curation, S.T. and H.S.; writing—original draft preparation, S.T.; writing—review and editing, S.T. and H.S.; visualization, S.T. and H.S.; supervision, S.T. and H.S.; project administration, S.T.; funding acquisition, S.T. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by a Grant-in-Aid for Scientific Research (C) Grant Number 24K15014. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: Data underlying the results presented in this paper are available at [http://ohlab.kic.ac.jp/ (accessed on 1 August 2024).](http://ohlab.kic.ac.jp/) Acknowledgments: The authors would like to thank Shogo Nishi at Osaka Electro-Communication University and Ryo Ohtera at Kobe Institute of Computing for their assistance with the multiband image data. Conflicts of Interest: The authors declare no conflicts of interest. References 1. Tominaga, S. Multichannel vision system for estimating surface and illumination functions. _J. Opt._ _Soc._ _Am._ _A_ 1996, _13_, 2163–2173. [[CrossRef]](https://doi.org/10.1364/JOSAA.13.002163) 2. Imai, F.H.; Berns, R.S. Spectral estimation using trichromatic digital cameras. In Proceedings of the International Symposium on Multispectral Imaging and Color Reproduction for Digital Archives, Chiba, Japan, 21–22 October 1999; Chiba University: Chiba, Japan, 1999; pp. 42–49. 3. Mansouri, A.; Sliwa, T.; Hardeberg, J.Y.; Voisin, Y. Representation and estimation of spectral reflectances using projection on PCA and wavelet bases. _Color Res._ _Appl._ 2008, _33_, 485–493. [[CrossRef]](https://doi.org/10.1002/col.20442) _J. Imaging_ 2024, _10_, 222 14 of 15 4. Haneishi, H.; Hasegawa, T.; Hosoi, A.; Yokoyama, Y.; Tsumura, N.; Miyake, Y. System design for accurately estimating the spectral reflectance of art paintings. _Appl._ _Opt._ 2000, _39_, 6621–6632. [[CrossRef]](https://doi.org/10.1364/AO.39.006621) 5. Shimano, N. Recovery of spectral reflectances of objects being imaged without prior knowledge. _IEEE Trans._ _Image Process._ 2006, _15_, 1848–1856. [[CrossRef] [PubMed]](https://doi.org/10.1109/TIP.2006.877069) 6. Stigell, P.; Miyata, K.; Hauta-Kasari, M. Wiener estimation method in estimating of spectral reflectance from RGB images. _Pattern_ _Recognit._ _Image Anal._ 2007, _17_, 233–242. [[CrossRef]](https://doi.org/10.1134/S1054661807020101) 7. Shen, H.L.; Cai, P.-Q.; Shao, S.-J.; Xin, J.H. Reflectance reconstruction for multispectral imaging by adaptive Wiener estimation. _Opt._ _Express_ 2007, _15_, 15545–15554. [[CrossRef] [PubMed]](https://doi.org/10.1364/OE.15.015545) 8. Murakami, Y.; Fukura, K.; Yamaguchi, M.; Ohyama, N. Color reproduction from low-SNR multispectral images using spatiospectral Wiener estimation. _Opt._ _Express_ 2008, _16_, 4106–4120. [[CrossRef]](https://doi.org/10.1364/OE.16.004106) 9. Urban, P.; Rosen, M.R.; Berns, R.S. Spectral image reconstruction using an edge preserving spatio-spectral Wiener estimation. _J._ _Opt._ _Soc._ _Am._ _A_ 2009, _26_, 1865–1875. [[CrossRef]](https://doi.org/10.1364/JOSAA.26.001865) 10. Peyvandi, S.; Amirshahi, S.H.; Hernández-Andrés, J.; Nieves, J.L.; Romero, J. Generalized inverse-approach model for spectralsignal recovery. _IEEE Trans._ _Image Process._ 2013, _22_, 501–510. [[CrossRef]](https://doi.org/10.1109/TIP.2012.2218823) 11. Yoo, J.H.; Kim, D.C.; Ha, H.G.; Ha, Y.H. Adaptive spectral reflectance reconstruction method based on Wiener estimation using a similar training set. _J. Imaging Sci._ _Technol._ 2016, _60_, jist0108. [[CrossRef]](https://doi.org/10.2352/J.ImagingSci.Technol.2016.60.2.020503) 12. Nahavandi, A.M. Noise segmentation for improving performance of Wiener filter method in spectral reflectance estimation. _Color_ _Res._ _Appl._ 2018, _43_, 341–348. [[CrossRef]](https://doi.org/10.1002/col.22200) 13. Tominaga, S.; Nishi, S.; Ohtera, R.; Sakai, H. Improved method for spectral reflectance estimation and application to mobile phone cameras. _J. Opt._ _Soc._ _Am._ _A_ 2022, _39_, 494–508. [[CrossRef] [PubMed]](https://doi.org/10.1364/JOSAA.449347) 14. Tominaga, S.; Sakai, H. Spectral reflectance estimation from camera responses using local optimal dataset. _J. Imaging_ 2023, _9_, 47. [[CrossRef] [PubMed]](https://doi.org/10.3390/jimaging9020047) 15. Zhang, W.F.; Yang, P.; Dai, D.Q.; Nehorai, A. Reflectance estimation using local regression methods. In _Advances_ _in_ _Neural_ _Networks—ISNN 2012 Proceedings of the 9th International Symposium on Neural Networks, ISNN 2012, Shenyang, China, 11–14 July_ _2012_ ; Springer: Berlin/Heidelberg, Germany, 2012; pp. 116–122. 16. Valero, E.M.; Nieves, J.L.; Nascimento, S.M.C.; Amano, K.; Foster, D.H. Recovering spectral data from natural scenes with an RGB digital camera and colored filters. _Color Res._ _Appl._ 2007, _32_, 352–360. [[CrossRef]](https://doi.org/10.1002/col.20339) 17. Nguyen, R.M.H.; Prasad, D.K.; Brown, M.S. Training-based spectral reconstruction from a single RGB image. In _Computer_ _Vision–ECCV 2014 Proceedings of the 13th European Conference, Zurich, Switzerland, 6–12 September 2014_ ; Springer: Berlin/Heidelberg, Germany, 2014; pp. 186–201. [[CrossRef]](https://doi.org/10.1007/978-3-319-10584-0_13) 18. Liang, J.; Wan, X. Optimized method for spectral reflectance reconstruction from camera responses. _Opt._ _Express_ 2017, _25_, 28273–28287. [[CrossRef]](https://doi.org/10.1364/OE.25.028273) 19. Zhang, W.F.; Dai, D.Q. Spectral reflectance estimation from camera responses by support vector regression and a composite model. _J. Opt._ _Soc._ _Am._ _A_ 2008, _25_, 2286–2296. [[CrossRef]](https://doi.org/10.1364/JOSAA.25.002286) 20. Deger, F.; Mansouri, A.; Pedersen, M.; Hardeberg, J.Y.; Voisin, Y. Multi- and single-output support vector regression for spectral reflectance recovery. In Proceedings of the 2012 Eighth International Conference on Signal Image Technology and Internet Based Systems, Sorrento, Italy, 25–29 November 2012; pp. 805–809. 21. Heikkinen, V.; Camara, C.; Hirvonen, T.; Penttinen, N. Spectral imaging using consumer-level devices and kernel-based regression. _J. Opt._ _Soc._ _Am._ _A_ 2016, _33_, 1095–1110. [[CrossRef]](https://doi.org/10.1364/JOSAA.33.001095) 22. Heikkinen, V. Spectral reflectance estimation using Gaussian processes and combination kernels. _IEEE Trans._ _Image Process._ 2018, _27_, 3358–3373. [[CrossRef]](https://doi.org/10.1109/TIP.2018.2820839) 23. Cuan, K.; Lu, D.; Zhang, W. Spectral reflectance reconstruction with the locally weighted linear model. _Opt._ _Quantum Electron._ 2019, _51_, 175. [[CrossRef]](https://doi.org/10.1007/s11082-019-1887-8) 24. Liang, J.; Xiao, K.; Pointer, M.R.; Wan, X.; Li, C. Spectra estimation from raw camera responses based on adaptive local-weighted linear regression. _Opt._ _Express_ 2019, _27_, 5165–5180. [[CrossRef]](https://doi.org/10.1364/OE.27.005165) 25. Wang, L.; Wan, X.; Xiao, G.; Liang, J. Sequential adaptive estimation for spectral reflectance based on camera responses. _Opt._ _Express_ 2020, _28_, 25830–25842. [[CrossRef] [PubMed]](https://doi.org/10.1364/OE.389614) 26. Arad, B.; Ben-Shahar, O. Sparse recovery of hyperspectral signal from natural RGB images. In _Computer Vision—ECCV 2016_ _Proceedings of the 14th European Conference, Amsterdam, The Netherlands, 11–14 October 2016_ ; Springer: Cham, Switzerland, 2016; pp. 19–34. 27. Fu, Y.; Zheng, Y.; Zhang, L.; Huang, H. Spectral reflectance recovery from a single RGB image. _IEEE Trans._ _Comput._ _Imaging_ 2018, _4_, 382–394. [[CrossRef]](https://doi.org/10.1109/TCI.2018.2855445) 28. Sang, S.; Chandraker, M. Single-shot neural relighting and SVBRDF estimation. In _Computer Vision—ECCV 2020 Proceedings of the_ _16th European Conference, Glasgow, UK, 23–28 August 2020_ ; Springer: Berlin/Heidelberg, Germany, 2020; pp. 85–101. [[CrossRef]](https://doi.org/10.1007/978-3-030-58529-7_6) 29. Wu, L.; Cheng, B.; Chao, W.; Zhao, J.; Duan, F. MatTrans: Material reflectance property estimation of complex objects with transformer. In _Computational Visual Media Proceedings of the 12th International Conference, CVM 2024, Wellington, New Zealand,_ _10–12 April 2024_ ; Springer: Berlin/Heidelberg, Germany, 2024; pp. 197–217. [[CrossRef]](https://doi.org/10.1007/978-981-97-2095-8_11) 30. Osada, M.; Ricardez, G.A.G.; Suzuki, Y.; Taniguchi, T. Reflectance estimation for proximity sensing by vision-language models: Utilizing distributional semantics for low-level cognition in robotics. _Adv._ _Robot._ 2024, 1–15. [[CrossRef]](https://doi.org/10.1080/01691864.2024.2393408) _J. Imaging_ 2024, _10_, 222 15 of 15 31. Luo, J.; Zhao, N.; Li, W.; Richardt, C. CRefNet: Learning consistent reflectance estimation with a decoder-sharing transformer. _IEEE Trans._ _Vis._ _Comput._ _Graph._ 2024, _30_, 6407–6420. [[CrossRef] [PubMed]](https://doi.org/10.1109/TVCG.2023.3337870) 32. Shi, S.; Xu, L.; Gong, W.; Chen, B.; Chen, B.; Qu, F.; Tang, X.; Sun, J.; Yang, J. A convolution neural network for forest leaf chlorophyll and carotenoid estimation using hyperspectral reflectance. _Int._ _J. Appl._ _Earth Obs._ _Geoinf._ 2022, _108_, 102719. [[CrossRef]](https://doi.org/10.1016/j.jag.2022.102719) 33. George, K.J.; Kumar, S.; Raj, R.A. Soil organic carbon prediction using visible–near infrared reflectance spectroscopy employing artificial neural network modelling. _Curr._ _Sci._ 2020, _119_, 377–381. [[CrossRef]](https://doi.org/10.18520/cs/v119/i2/377-381) 34. Lee, S.Y.; Lim, H.S.; Ahn, S.C.; Lee, S.K. IR surface reflectance estimation and material type recognition using two-stream net and kinect camera. In Proceedings of the SIGGRAPH’19 Posters, Los Angeles, CA, USA, 28 July 2019. [[CrossRef]](https://doi.org/10.1145/3306214.3338557) 35. Akanuma, A.; Stamate, D. Neural network approach to estimating color reflectance with product independent models. In _Artificial_ _Neural Networks and Machine Learning—ICANN 2022 Proceedings of the 31st International Conference on Artificial Neural Networks,_ _Bristol, UK, 6–9 September 2022_ ; Springer Nature: Cham, Switzerland, 2022; pp. 803–806. [[CrossRef]](https://doi.org/10.1007/978-3-031-15934-3_66) 36. Pan, Q.; Katemake, P.; Westland, S. Neural networks for transformation to spectral spaces. In Proceedings of the 3rd Conference of the Asia Color Association, Changshu, China, 21–22 May 2016; pp. 125–128. 37. Zhang, J.; Meuret, Y.; Wang, X.; Smet, K.A.G. Improved and robust spectral reflectance estimation. _LEUKOS_ 2020, _17_, 359–379. [[CrossRef]](https://doi.org/10.1080/15502724.2020.1798246) 38. [Feedforwardnet. Available online: https://jp.mathworks.com/help/deeplearning/ref/feedforwardnet.html (accessed on 1 July 2024).](https://jp.mathworks.com/help/deeplearning/ref/feedforwardnet.html) Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

섹션 본문 135문단 · 46,039자

(제목 없음)

1In this study, a novel method is proposed to estimate surface-spectral reflectance from camera responses that combine model-based and training-based approaches.An imaging system is modeled using the spectral sensitivity functions of an RGB camera, spectral power distributions of multiple light sources, unknown surface-spectral reflectance, additive noise, and a gain parameter.The estimation procedure comprises two main stages: (1) selecting the local optimal reflectance dataset from a reflectance database and (2) determining the best estimate by applying a neural network to the local optimal dataset only.In stage (1), the camera responses are predicted for the respective reflectances in the database, and the optimal candidates are selected in the order of lowest prediction error.In stage (2), most reflectance training data are obtained by a convex linear combination of local optimal data using weighting coefficients based on random numbers.A feed-forward neural network with one hidden layer is used to map the observation space onto the spectral reflectance space.In addition, the reflectance estimation is repeated by generating multiple sets of random numbers, and the median of a set of estimated reflectances is determined as the final estimate of the reflectance.Experimental results show that the estimation accuracies exceed those of other methods.

Introduction

2Knowledge of the surface-spectral reflectances of objects is essential in fields such as color science, image science and technology, computer vision, and computer graphics.Therefore, issues in estimating the surface-spectral reflectances from camera responses have been studied alongside the development of cameras and imaging systems, leading to the proposal of numerous methods.Methods used to estimate the surface-spectral reflectances based on camera responses can be classified into two primary approaches: model-based approach [1][2][3][4][5][6][7][8][9][10][11][12][13][14] and training (or learning)-based approach .

3In the model-based approach, the camera responses are described using camera spectral sensitivities, surface-spectral reflectance, and illuminant spectral power distributions.This is the traditional and more commonly used approach and includes finite-dimensional modeling methods [1,3] and Wiener estimation methods [4][5][6][7][8][9][10][11][12].Wiener estimation methods are based on a statistical approach in which noise in the imaging system and a certain spectral reflectance statistic are considered.Linear minimum mean square error (LMMSE) [13] is an improved Wiener estimation method.Recently, a method [14] was proposed to estimate the surface-spectral reflectances from camera responses using a local optimal reflectance dataset, in which a spectral reflectance database was utilized to locally determine the candidates to optimally estimate the spectral reflectance.The best spectral reflectance was effectively estimated using only the local optimal dataset without using the entire spectral reflectance database.

4The training-based approach is typically constructed without knowledge of the camera spectral sensitivities and illuminant spectral distributions.Rather, it uses a large training dataset, which is a large table comprising a pair of camera responses and the corresponding spectral reflectances.Regression methods directly establish the relationship between RGB responses and spectral reflectances and include support vector regression [19,20], kernel regression [21,22], and linear regression [23,24].

5In recent years, neural networks have been used in reflectance estimation problems in many areas.In fact, material reflectance or albedo was estimated based on a neural network approach [28][29][30][31].A neural network approach was proposed for leaf chlorophyll and carotenoid estimation using hyperspectral reflectance [32].Soil organic carbon was predicted using VNIR spectroscopy employing neural network modeling [33].Material type recognition was considered based on IR reflectances and color images [34].

6Regarding spectral reflectance estimation, the use of neural networks has been considered to construct a map between the low-dimensional color signal space and higherdimensional spectral space [35][36][37], where a neural network model optimized to predict color reflectance for multiple coating products was demonstrated in [35], and a map between the CMYK color space and the spectral space using neural networks was proposed in [36].In [37], a neural network method to estimate spectral reflectance was applied to a dual imaging system with a color projector and color camera, where mapping was constructed between six-dimensional color signals and the spectral space.The neural network was then trained using numerous samples with known spectral reflectance, including the Munsell dataset and the 24 color checker dataset.

7In this study, we propose a novel method that combines model-and training-based approaches to improve the estimation accuracy of spectral reflectance from image data.The proposed method comprises two stages.The first stage is based on the model base, where the local optimal reflectance dataset is selected as a set of the most reliable candidates for reflectance estimation from a standard reflectance database.The second stage employs a training-based method, where the best estimate is determined by applying a neural network method to the selected local optimal dataset only.Our imaging system is a multispectral image acquisition system extended from a simple RGB system, in which an RGB camera captures multiple images of an object scene under multiple light sources with different illuminant spectra in the visible range.

8In the following, Section 2 describes the observation model for an image-acquisition system that uses an RGB camera and multiple light sources.We adopt a general model in which the camera responses are described by combining camera spectral sensitivities, illuminant spectral power distributions, unknown surface-spectral reflectance, additive noise terms, and a gain parameter.

9Section 3 describes the development of the proposed spectral estimation method.First, we describe the selection of the local optimal reflectance dataset.The actual camera responses for the target object are compared with the observations predicted from the respective spectral reflectances in the reflectance database.Prediction errors are calculated for all reflectances in the database, and the local optimal candidates for reflectance estimation are selected in the order of the lowest prediction error.Second, we determine the best reflectance using a neural network based only on a locally optimal dataset.A random convex linear combination of the local optimal dataset becomes the training data of reflectance for the neural network, and the network is trained to minimize the mean square error (MSE).An additional procedure is presented to obtain reliable reflectance estimates.

10Section 4 presents the experiments performed to validate the proposed methods for estimating the surface spectral reflectances.Various mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples are used in these experiments.The performance of the proposed method is examined in detail and compared with that of other methods.

11Section 5 discusses the relationship between the statistics of the random numbers used and estimation accuracy.

Observation Model

12The observation model of our image-acquisition system is shown in Figure 1 (see [14]).It was constructed using an RGB camera with three color channels (c = 1, 2, 3) and multiple light sources with L different illuminant spectra (l = 1, 2,..., L).Hence, we obtained m = 3L observations for a single target object.The observation y i of the camera outputs is expressed as follows:

13where x(λ) is the surface-spectral reflectance of the target object, e l (λ) (l = 1, 2, . .., L) represent the spectral power distribution of the light sources, r c (λ) (c = 1, 2, 3) denote the spectral sensitivity functions of the camera.The wavelength λ is in the visible range of 400-700 nm.The additive noise n i in the imaging system is assumed to be white noise with zero mean and variance a and is uncorrelated with x(λ).Here, y i represent the digital camera outputs, while x(λ), e l (λ), and r c (λ) are physical quantities.The coefficient g in Equation ( 1) is a gain parameter used to convert the model outputs to the practical digital output.The parameter g is unique to the imaging system and depends on the conditions of the imaging system, such as the locations of the camera and light sources, including illumination intensities.How to determine the noise variance a and the gain parameter g was shown in [13].

14Section 5 discusses the relationship between the statistics of the random numbers used and estimation accuracy.

15The observation model of our image-acquisition system is shown in Figure 1 (see [14]).It was constructed using an RGB camera with three color channels (c = 1, 2, 3) and multiple light sources with L different illuminant spectra (l = 1, 2,..., L).Hence, we obtained m = 3L observations for a single target object.The observation i y of the camera outputs is expressed as follows:

16where ()

17x  is the surface-spectral reflectance of the target object, () l e  (l = 1, 2, …, L) represent the spectral power distribution of the light sources, () c r  (c = 1, 2, 3) denote the spectral sensitivity functions of the camera.The wavelength  is in the visible range of 400-700 nm.The additive noise i n in the imaging system is assumed to be white noise with zero mean and variance a and is uncorrelated with ()

18x  .Here, 1) is a gain parameter used to convert the model outputs to the practical digital output.The parameter g is unique to the imaging system and depends on the conditions of the imaging system, such as the locations of the camera and light sources, including illumination intensities.How to determine the noise variance a and the gain parameter g was shown in [13].The spectral functions of reflectance, illuminants, and sensitivities are sampled at n wavelength points with equal intervals in the range of 400-700 nm and described using ndimensional column vectors as follows:

19,

20where i = 1, 2, …, L and c = 1, 2, 3.The discrete representation of the observation model is expressed as

21where The spectral functions of reflectance, illuminants, and sensitivities are sampled at n wavelength points with equal intervals in the range of 400-700 nm and described using n-dimensional column vectors as follows:

22where i = 1, 2, . .., L and c = 1, 2, 3.The discrete representation of the observation model is expressed as

23where

24The symbol (.*), superscript t, and ∆λ represent element-wise multiplication, matrix transposition, and the wavelength sampling interval, respectively.Therefore, A is an (m × n) matrix defined by the illuminant spectra and spectral sensitivities, and n is an n-dimensional noise vector.

Selection of Local Optimal Reflectance Dataset

25Figure 2 shows the standard database of surface-spectral reflectance used in this study, which comprises Dupont spectral data, Munsell spectral data, and various object spectral data, including manmade objects such as papers, paints, and plastics, as well as natural objects such as rocks, leaves, skins, oranges, and apples.This database is available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024), which is a dataset of 1776 spectral reflectances.Let N D (1776) be the number of spectral reflectances in a database.All spectral curves are sampled at 61 (=n) points with 5 nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors x i (i = 1, 2,. . ., N D ).

26( )

27The symbol (.*), superscript t, and   represent element-wise multiplication, matrix transposition, and the wavelength sampling interval, respectively.Therefore, A is an (m × n) matrix defined by the illuminant spectra and spectral sensitivities, and n is an ndimensional noise vector.

28Figure 2 shows the standard database of surface-spectral reflectance used in this study, which comprises Dupont spectral data, Munsell spectral data, and various object spectral data, including manmade objects such as papers, paints, and plastics, as well as natural objects such as rocks, leaves, skins, oranges, and apples.This database is available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024), which is a dataset of 1776 spectral reflectances.Let D N (1776) be the number of spectral reflectances in a database.All spec- tral curves are sampled at 61 (=n) points with 5 nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors First, the observations are predicted using Equation (3) as an i gAx for each spectral reflectance i x in the database.The prediction error for observation y is then calculated as follows:

29where norm

30• is defined as

31. Secondly, the prediction errors are arranged in ascending order as (1)

32( 2 ) ( )

33, and the corresponding spectral reflectances are (1) x , ( 2 )

34x , …, ()

35x .Finally, the first K spectral reflectances, (1) x , ( 2 )

36x , …, () K x are selected as local optimal candidates to estimate the spectral reflectance.First, the observations are predicted using Equation (3) as an gAx i for each spectral reflectance x i in the database.The prediction error for observation y is then calculated as follows:

37where norm ∥•∥ 2 2 is defined as ∥z∥ 2 2 = z 2 1 + z 2 2 + . . .+ z 2 m .Secondly, the prediction errors are arranged in ascending order as

38, and the corresponding spectral reflectances are x (1) , x (2) , . ..,x (N D ) .Finally, the first K spectral reflectances,x (1) , x (2) , . ..,x (K) are selected as local optimal candidates to estimate the spectral reflectance.

Determination of Reflectance Estimate Using Neural Network

39The best estimate is determined using a neural network based only on the local optimal dataset x (1) , x (2) , . . ., x (K) .

Making the Training Data

40The training data are a large table comprising a pair of spectral reflectances and corresponding observations.The training data for the spectral reflectance are composed of the original local optimal dataset obtained in Section 3.1 and the augmented data made by the convex linear combination of the local optimal dataset.Let N T be the number of training data and xi (i = 1,2,. .., N T ) be the spectral reflectance used for training.The spectral reflectances are described as where the scalar weighting coefficients are normalized as

41In particular, we make the coefficients using random numbers as

42where u i is the random number with a uniform distribution over [0, 1].Each component of the generated xi in ( 6) lies between 0 and 1.The corresponding training data for the observations are as follows:

43where n i is the m-dimensional noise vector, whose j-th element (n i ) j (j = 1, 2,. . . ,m) is assumed to be Gaussian white noise with zero mean and variance a.Therefore, we generate additive noise using the random number randn with a standard normal distribution as follows:

Network Architecture and Learning Procedure

44We use a simple feed-forward neural network with one hidden layer to construct a mapping from the observation space to the spectral reflectance space.Because the observation and reflectance spaces have mand n-dimensions, respectively, the network is constructed with a structure of m-N-n, as shown in Figure 3, where N indicates the number of units in the hidden layer.

45spectral reflectances are described as ),

46where the scalar weighting coefficients are normalized as 1 1, 0.

47In particular, we make the coefficients using random numbers as ( )

48where i u is the random number with a uniform distribution over [0, 1].Each component of the generated ˆi x in (6) lies between 0 and 1.The corresponding training data for the observations are as follows:

49)

50where i n is the m-dimensional noise vector, whose j-th element ( )

51assumed to be Gaussian white noise with zero mean and variance a.Therefore, we generate additive noise using the random number randn with a standard normal distribution as follows:

52( )

53We use a simple feed-forward neural network with one hidden layer to construct a mapping from the observation space to the spectral reflectance space.Because the observation and reflectance spaces have m-and n-dimensions, respectively, the network is constructed with a structure of m-N-n, as shown in Figure 3, where N indicates the number of units in the hidden layer.The spectral reflectance corresponding to the test observation data tdata test is predicted using the trained network, as follows:

54x est = sim(net, tdata test ).

Determining the Optimal Reflectance Estimate

55Because the augmented training data are generated using random numbers, the reflectance estimates predicted above for spectral reflectance may include outliers that differ significantly from the predictions.To improve the reliability of the reflectance estimation, the reflectance estimation is repeated, and then the median in a set of the estimated reflectances is determined as the final spectral reflectance.

xfin = median({x est })

56Suppose we repeat the estimation process R times.Let x j,(k) be the estimate of the j-th element of the n-dimensional vector x est in the k-th trial, arranged in ascending order as x j,(1) ≤ x j,(2) ≤ • • • ≤ x j,(R) .The final estimate after taking the median is then described for odd and even numbers of iterations R as follows:

57Figure 4 depicts the overall flow of the proposed method for estimating spectral reflectance in three steps.

Experimental Setup

58We performed experiments to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data.We used a mobile phone camera, LED light sources, a standard spectral reflectance database, and standard test samples.The mobile phone camera was an Apple iPhone 6s with iOS; to further confirm the validity of the different cameras, we additionally used an Apple iPhone 8 with iOS and a Huawei P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.

59We performed experiments to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data.We used a mobile phone camera, LED light sources, a standard spectral reflectance database, and standard test samples.The mobile phone camera was an Apple iPhone 6s with iOS; to further confirm the validity of the different cameras, we additionally used an Apple iPhone 8 with iOS and a Huawei P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.

60P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 6.The standard spectral reflectance database used in the experiments is shown in Figure 2.An X-Rite Color Checker Passport Photo was used as the standard test target to validate the reflectance estimation.This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter.The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 6.The standard spectral reflectance database used in the experiments is shown in Figure 2.An X-Rite Color Checker Passport Photo was used as the standard test target to validate the reflectance estimation.This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter.Spectralon was used as a white reference standard to investigate the statistical properties of this imaging system, which was placed near the target samples.The positions are similar to those in the previous paper [13].The parameters g and a of the gain and noise variance in the observation model, respectively, were determined using the calibration method in [13] based on the Spectralon data.

61Since neural network processing takes a lot of time, we used a PC equipped with an NVIDIA GeForce RTX Graphics Processing Unit (GPU).

Bacic Performance of Proposed Method

62In a previous study [14], we investigated the number K of local optimal reflectance candidates using different reflectance estimation methods and found that the appropriate K value was in the range of 5-50.Therefore, we set K = 25 in the current experiments and generated the training data based on the local optimal dataset ( )

63, ,..., x x x

64. The 600 augmented reflectance data were obtained by linear combinations of the 25 local optimal reflectances according to Equations ( 6)-( 8).Overall, we had 625 ( T N ) spectral re- flectances as training data.Matrix A was created using the spectral sensitivity functions shown in Figure 5 and the spectral distributions of the light sources shown in Figure 6.

65The corresponding training data for the observation ˆi y were made for the respective re- Spectralon was used as a white reference standard to investigate the statistical properties of this imaging system, which was placed near the target samples.The positions are similar to those in the previous paper [13].The parameters g and a of the gain and noise variance in the observation model, respectively, were determined using the calibration method in [13] based on the Spectralon data.

66Since neural network processing takes a lot of time, we used a PC equipped with an NVIDIA GeForce RTX Graphics Processing Unit (GPU).

67In a previous study [14], we investigated the number K of local optimal reflectance candidates using different reflectance estimation methods and found that the appropriate K value was in the range of 5-50.Therefore, we set K = 25 in the current experiments and generated the training data based on the local optimal dataset x (1) , x (2) , . . ., x (25) .The 600 augmented reflectance data were obtained by linear combinations of the 25 local optimal reflectances according to Equations ( 6)- (8).Overall, we had 625 (N T ) spectral reflectances as training data.Matrix A was created using the spectral sensitivity functions shown in Figure 5 and the spectral distributions of the light sources shown in Figure 6.

68The corresponding training data for the observation ŷi were made for the respective reflectance xi (i = 1,2,. .., 625).The locally optimal reflectance dataset and training data were determined for each test target sample.

69Our feedforward network had a structure of 21-80-61 in Figure 3, which was constructed with 21 inputs, 1 hidden layer of 80 units, and 61 outputs.The total number of reflectance and observation pairs in our dataset for each sample was 625.Of these, 550 were randomly selected for training the network, and the remaining 75 were used as validation data to investigate the proposed network method.Each pair of training data constituted the network input and output.One period in which the entire training dataset was presented was defined as an epoch.The training was iterated for as many epochs as necessary to reduce the MSE to an acceptable level.After eight epochs, the error in the validation data was sufficiently small.

70The observation data for each test sample were input into the learned neural network to obtain an estimate of the spectral reflectance x est .Furthermore, to improve the estimation accuracy, we repeated the learning and testing process 10 times and finally adopted the median in the estimated reflectance set {x est } as the final spectral reflectance estimate xfin .

71Figure 7 shows the estimation results of the above procedure for the 24 spectral reflectance of the X-Rite Checker.In the figure, two types of curves are compared: bold curves indicate the estimated spectral reflectances for the 24 color checkers, and broken curves indicate the directly measured spectral reflectances.The average root-mean-square error (RMSE) was calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers: bold curves indicate the estimated spectral reflectances for the 24 color checkers, and broken curves indicate the directly measured spectral reflectances.The average root-meansquare error (RMSE) was calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers:

72fin, 1

ˆÊ[RMSE] 61

73ii i=

74The average RMSE was 0.0173.The estimated spectral curves in Figure 7 were smoothed using moving-average processing.However, this process hardly changed the errors.Furthermore, the performance of the proposed method was compared with those of other well-known state-of-the-art methods for estimating spectral reflectance.The estimation accuracies of the six methods were investigated using the same reflectance database, camera data, and test samples described above.Figure 8 compares the average RMSEs between the proposed method and the other methods, where the symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener, (2) original LMMSE [13], (3) local Wiener, (4) local LMMSE, (5) linear programming, and (6) quadratic programming [14], respectively.The local optimal dataset was used in Methods ( 3)-( 6).The estimation accuracy of the proposed method is The average RMSE was 0.0173.The estimated spectral curves in Figure 7 were smoothed using moving-average processing.However, this process hardly changed the errors.

75Furthermore, the performance of the proposed method was compared with those of other well-known state-of-the-art methods for estimating spectral reflectance.The estima-tion accuracies of the six methods were investigated using the same reflectance database, camera data, and test samples described above.Figure 8 compares the average RMSEs between the proposed method and the other methods, where the symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener, (2) original LMMSE [13], (3) local Wiener, (4) local LMMSE, (5) linear programming, and (6) quadratic programming [14], respectively.The local optimal dataset was used in Methods ( 3)-( 6).The estimation accuracy of the proposed method is significantly superior, although the RMSEs of ( 3)-( 6) vary slightly depending on the number of local optimal reflectance candidates K. (2) original LMMSE [13], (3) local Wiener [14], (4) local LMMSE [14], (5) linear programming [14], and (6) quadratic programming [14], respectively.

Effectiveness of Local Optimal Reflectance Dataset

76To confirm the effectiveness of the local optimal reflectance dataset in estimating spectral reflectance, we examined several reflectance estimation methods without using the local optimal dataset and with only a neural network.All the data in the standard spectral reflectance database were used without selection.

77First, by making the network structure multilayered and large-scale, complex mapping becomes possible to ensure that the estimation accuracy can be improved, even if learning takes a long time.Based on this idea, we constructed networks with three hidden layers with two types of structures: (1) 21-30-30-30-61 and (2) 21-30-40-50-61.The total number of training datasets was 1776; of these, 1576 reflectances were used for network training, and 200 reflectances were used for validation.The average RMSE after 10 epochs was 0.033003 and 0.0300666 for (1) and (2), respectively.Figure 9 shows the results estimated by network method (2) for the 24 spectral reflectances of the color checker.The estimation accuracy is significantly worse than the results in Section 4.2.(5) linear programming [14], and (6) quadratic programming [14], respectively.

78To confirm the effectiveness of the local optimal reflectance dataset in estimating spectral reflectance, we examined several reflectance estimation methods without using the local optimal dataset and with only a neural network.All the data in the standard spectral reflectance database were used without selection.

79First, by making the network structure multilayered and large-scale, complex mapping becomes possible to ensure that the estimation accuracy can be improved, even if learning takes a long time.Based on this idea, we constructed networks with three hidden layers with two types of structures: (1) 21-30-30-30-61 and (2) 21-30-40-50-61.The total number of training datasets was 1776; of these, 1576 reflectances were used for network training, and 200 reflectances were used for validation.The average RMSE after 10 epochs was 0.033003 and 0.0300666 for (1) and (2), respectively.Figure 9 shows the results estimated by network method (2) for the 24 spectral reflectances of the color checker.The estimation accuracy is significantly worse than the results in Section 4.2.

80Next, we considered improving the estimation accuracy by increasing the amount of training data.Additional spectral reflectances were obtained by augmentation with a convex linear combination of the original reflectance data.We randomly selected 10 reflectances from the original dataset and augmented the data using a convex linear combination of these, where the weighting coefficients were normalized to satisfy Equation (7).Among the data, 4000 reflectances were used for network training, and 200 reflectances were used for validation.The network structure was 21-30-30-30-61.In this third case (3), the average RMSE after 10 epochs was 0.031144.

81Thus, we see that the local optimal reflectance dataset is crucial for estimating the spectral reflectance.

Figure 9.

82Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.

83Next, we considered improving the estimation accuracy by increasing the amount of training data.Additional spectral reflectances were obtained by augmentation with a convex linear combination of the original reflectance data.We randomly selected 10 reflectances from the original dataset and augmented the data using a convex linear combination of these, where the weighting coefficients were normalized to satisfy Equation (7).Among the data, 4000 reflectances were used for network training, and 200 reflectances were used for validation.The network structure was 21-30-30-30-61.In this third case (3), the average RMSE after 10 epochs was 0.031144.

84Thus, we see that the local optimal reflectance dataset is crucial for estimating the spectral reflectance.

Validity to Different Cameras

85The performance evaluation described above was based on a single mobile phone camera, iPhone 6s.To further confirm the validity of the different cameras, we used an Apple iPhone 8 with iOS and Huawei P10 lite with Android OS.The spectral sensitivity function data for these cameras are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).The LED light sources, spectral reflectance database, and test samples of the 24 color checkers were the same as those shown in Section 4.1.Parameters g and a in the observation model were determined using the same calibration method.

86The 24 spectral reflectances of the X-Rite Color Checker were estimated based on the proposed method using observations from each camera, and the estimation accuracy was validated through comparison with other methods.The average RMSEs were 0.0144 and 0.0281 for Phone 8 and Huawei P10 lite, respectively.The estimation error increased when a Huawei camera was used.Figures 10 and 11 compare the average RMSEs between the proposed method and the six other methods for the iPhone 8 and Huawei P10 lite, respectively.The estimation accuracies of the proposed method are overwhelmingly superior for both cameras, as demonstrated in the iPhone 6s.Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.

87The performance evaluation described above was based on a single mobile phone camera, iPhone 6s.To further confirm the validity of the different cameras, we used an Apple iPhone 8 with iOS and Huawei P10 lite with Android OS.The spectral sensitivity function data for these cameras are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).The LED light sources, spectral reflectance database, and test samples of the 24 color checkers were the same as those shown in Section 4.1.Parameters g and a in the observation model were determined using the same calibration method.

88The 24 spectral reflectances of the X-Rite Color Checker were estimated based on the proposed method using observations from each camera, and the estimation accuracy was validated through comparison with other methods.The average RMSEs were 0.0144 and 0.0281 for Phone 8 and Huawei P10 lite, respectively.The estimation error increased when a Huawei camera was used.Figures 10 and 11 compare the average RMSEs between the proposed method and the six other methods for the iPhone 8 and Huawei P10 lite, respectively.The estimation accuracies of the proposed method are overwhelmingly superior for both cameras, as demonstrated in the iPhone 6s.

Relationship between the Statistics of Random Numbers and Estimation Accuracy

89Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.

90The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:

91where

92x are the local optimal reflectances and i u are independent and identically dis- tributed random numbers with 0 i u  .Let  and u be the standard deviation and mean of i u , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as

93Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.

94The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:

95where

96x are the local optimal reflectances and i u are independent and identically dis- tributed random numbers with 0 i u  .Let  and u be the standard deviation and mean of i u , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as

97Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.

98The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:

99where x (i) are the local optimal reflectances and u i are independent and identically distributed random numbers with u i > 0. Let σ and u be the standard deviation and mean of u i , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as

100This measure is a statistical index showing the relative variation of the random numbers.Let us calculate Cv for specific distributions of random numbers.(a) When u i following a uniform distribution over [0, 1], Cv = 1 √ 3 .

101(b) When u i following a chi-square (χ 2 ) distribution with one degree of freedom, Cv = √ 2. In case (b), the variation is √ 6 times larger than that in case (a).Because the coefficient of variation differs depending on the distribution of the random numbers, it is likely to affect the final estimation accuracy of the spectral reflectance.Therefore, in addition to the above experiments using uniform random numbers, we conducted experiments on spectral reflectance estimation using random numbers with a chi-square distribution and compared the estimation accuracies in both cases.Table 1 compares the average RMSEs of the reflectance estimation using random numbers with two different distributions and three different cameras.The training data for spectral reflectance based on uniform random numbers with smaller Cv are superior in terms of estimation accuracy.

Evaluation by Color Difference

102In this study, RMSE is mainly used for evaluating the accuracy of reflectance estimation.To make clear to what extent the deviation in the estimated reflectances is visible to the human eye, color difference rather than the RMSE of spectral difference may be useful.Therefore, we calculated CIEDE2000 values between the estimated reflectances and directly measured spectral reflectances for the 24 color checkers.

103Table 2 compares the average RMSEs and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE [13], the quadratic programming using local optimal reflectance dataset [14], and the proposed method.The were computed based on the spectral differences between estimated reflectances and directly measured spectral reflectances for the 24 color checkers, and the CIE DE2000s were calculated based on the color differences under CIE D65 light between estimated reflectances and directly measured spectral reflectances for the 24 color checkers.

Conclusions

104In this study, we have proposed a novel method that combines model-based and training-based approaches to improve the estimation accuracy of surface-spectral reflectance from the camera response to an object surface.A multispectral image acquisition system was modeled in the visible wavelength range using three spectral functions: the spectral sensitivities of an RGB camera, spectral power distributions of multiple LED light sources, and unknown surface-spectral reflectance.Camera response was described as a generalized linear model that includes additive noise and a gain parameter.

105The proposed method comprised two main stages: the first stage was based on the model base, where the local optimal reflectance dataset was selected as the most reliable candidate set from a standard reflectance database, and the second stage was based on the training-based method, where the best estimate was determined by applying a neural network method to the selected local optimal dataset only.

106In the first stage, the camera response observations were predicted for the respective reflectances in the database, and the local optimal candidates were selected in the order of the lowest error between the real observation and prediction.In the second stage, the training data for spectral reflectances consisted of the original locally optimal dataset and augmented data generated by a convex linear combination of this dataset, with weighting coefficients derived from random numbers.A simple feedforward neural network with one hidden layer was used to construct the mapping from the low-dimensional observation space using the camera response to the high-dimensional spectral reflectance space.

107The neural network was trained to minimize MSE.To further improve the reliability of the estimate, the reflectance estimation was repeated, and the median in a set of estimated reflectances was determined as the final spectral reflectance.

108Experiments were conducted using 3 mobile phone cameras, 7 LED light sources, a standard spectral reflectance database with 1776 reflectances, and 24 color checkers.The performance of the proposed method was examined in detail.We investigated estimation methods based on a neural network using the entire database without selection and confirmed the effectiveness of the local optimal reflectance dataset.We demonstrated that the estimation accuracies of the proposed method exceed those of the other methods.Furthermore, we discussed the statistics of the random numbers used, which affects the estimation accuracy.

109The strength of the proposed method is its outstanding estimation accuracy.However, the computation time for the current approach is long.When using a laptop computer equipped with an NVIDIA GeForce RTX GPU, it took about 25 h to obtain the estimation results for 24 color checkers after repetition of the learning and testing process 10 times.A key challenge for the future is reducing the computation time required for obtaining estimation results, which is heavily dependent on the processing speed of the computer used.

110digital camera outputs, while () x  , () l e  , and () c r  are physical quantities.The coef- ficient g in Equation (

Figure 1 .

111Figure 1.Conceptual diagram of our image acquisition system [14].

112Figure 1.Conceptual diagram of our image acquisition system [14].

Figure 2 .

113Figure 2. Database of surface-spectral reflectance.

114Figure 2. Database of surface-spectral reflectance.

Figure 3 .

115Figure 3. Architecture of the feedforward neural network with a structure of m-N-n.Figure 3. Architecture of the feedforward neural network with a structure of m-N-n..

116Figure 3. Architecture of the feedforward neural network with a structure of m-N-n.Figure 3. Architecture of the feedforward neural network with a structure of m-N-n..The MATLAB machine learning functions are used to construct the network [38].Network training is performed using the following: net = feedforwardnet(N), net = train(net, xdata, tdata), where xdata and tdata indicate the training dataset and corresponding target (output) dataset, respectively, which have the following forms: xdata = [xdata train , xdata val , xdata test ], tdata = [tdata train , tdata val , tdata test ] The entire training data of spectral reflectances xi (i = 1, 2, . . ., N T ) are segmented randomly into xdata train for the network training and xdata val for validation.In the same way, the entire training data of the corresponding observations ŷi (i = 1, 2, . . ., N T ) are segmented into tdata train and tdata val .The training algorithm is based on the Levenberg-Marquardt method, and the training is iterated to reduce the MSE to an acceptable level.

117J. Imaging 2024, 10, x FOR PEER REVIEW 7 of 16

Figure 4 .

118Figure 4. Overall flow of the proposed method for estimating spectral reflectance in three steps.

119Figure 4. Overall flow of the proposed method for estimating spectral reflectance in three steps.

Figure 5 .

120Figure 5. Relative RGB spectral sensitivity functions of the Apple iPhone 6s [14].

121Figure 5. Relative RGB spectral sensitivity functions of the Apple iPhone 6s [14].

J 16 Figure 6 .

122Figure 6.Spectral power distributions of seven LED light sources used in current experiments [14].

Figure 6 .

123Figure 6.Spectral power distributions of seven LED light sources used in current experiments [14].

Figure 7 .

124Figure 7. Estimation results of the spectral reflectances for the 24 color checkers when applying the proposed method to the observations using the iPhone 6s.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.

125Figure 7. Estimation results of the spectral reflectances for the 24 color checkers when applying the proposed method to the observations using the iPhone 6s.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.

J 16 Figure 8 .

126Figure 8.Comparison of the average RMSEs between the proposed method and the other methods.The symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener [13],(2) original LMMSE[13], (3) local Wiener[14], (4) local LMMSE[14], (5) linear programming[14], and (6) quadratic programming[14], respectively.

Figure 8 .

127Figure 8.Comparison of the average RMSEs between the proposed method and the other methods.The symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener [13], (2) original LMMSE [13], (3) local Wiener [14], (4) local LMMSE [14],(5) linear programming[14], and (6) quadratic programming[14], respectively.

Figure 9 .

128Figure 9. Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.

Figure 10 .

129Figure 10.Comparison of the average RMSEs between the proposed method and the other methods when using iPhone 8.

Figure 11 .

130Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.

Figure 10 . 16 Figure 10 .

131Figure 10.Comparison of the average RMSEs between the proposed method and the other methods when using iPhone 8.

Figure 11 .

132Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.

133Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.

Table 1 .

134Comparison of the average RMSEs in reflectance estimation when using random numbers with two different distributions and using three different cameras.

Table 2 .

135Comparison of the average RMSE and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE, the quadratic programming, and the proposed method.

참고문헌 37건

  1. Training-Based Spectral Reconstruction from a Single RGB Image Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10584-0_13
  2. A Comparative Analysis of Spectral Reflectance Reconstruction in Various Spaces Using a Trichromatic Camera System Color and Imaging Conference · Society for Imaging Science & Technology · 1999 10.2352/cic.1999.7.1.art00005
  3. Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
  4. Representation and estimation of spectral reflectances using projection on PCA and wavelet bases Color Research & Application · Wiley · 2008 10.1002/col.20442
  5. Multichannel vision system for estimating surface and illumination functions Journal of the Optical Society of America A · Optica Publishing Group · 1996 10.1364/josaa.13.002163
  6. Recovering spectral data from natural scenes with an RGB digital camera and colored filters Color Research & Application · Wiley · 2007 10.1002/col.20339
  7. Color reproduction from low-SNR multispectral images using spatio-spectral Wiener estimation Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.004106
  8. Reflectance reconstruction for multispectral imaging by adaptive Wiener estimation Optics Express · Optica Publishing Group · 2007 10.1364/oe.15.015545
  9. Generalized Inverse-Approach Model for Spectral-Signal Recovery IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2012 10.1109/tip.2012.2218823
  10. Multi- and Single-output Support Vector Regression for Spectral Reflectance Recovery 2012 10.1109/sitis.2012.121
  11. System design for accurately estimating the spectral reflectance of art paintings Applied Optics · Optica Publishing Group · 2000 10.1364/ao.39.006621
  12. Recovery of spectral reflectances of objects being imaged without prior knowledge IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2006 10.1109/tip.2006.877069
  13. Spectral reflectance estimation from camera responses by support vector regression and a composite model Journal of the Optical Society of America A · Optica Publishing Group · 2008 10.1364/josaa.25.002286
  14. Spectral image reconstruction using an edge preserving spatio-spectral Wiener estimation Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.001865
  15. 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
  16. Advances in Neural Networks – ISNN 2012 Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-31346-2
  17. Sparse Recovery of Hyperspectral Signal from Natural RGB Images Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46478-7_2
  18. Adaptive Spectral Reflectance Reconstruction Method based on Wiener Estimation Using a Similar Training Set Journal of Imaging Science and Technology · Society for Imaging Science and Technology · 2015 10.2352/j.imagingsci.technol.2016.60.2.020503
  19. Optimized method for spectral reflectance reconstruction from camera responses Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.028273
  20. Noise segmentation for improving performance of Wiener filter method in spectral reflectance estimation Color Research & Application · Wiley · 2018 10.1002/col.22200
  21. Spectral Reflectance Estimation Using Gaussian Processes and Combination Kernels IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2820839
  22. Spectral Reflectance Recovery From a Single RGB Image IEEE Transactions on Computational Imaging · Institute of Electrical and Electronics Engineers · 2018 10.1109/tci.2018.2855445
  23. Spectra estimation from raw camera responses based on adaptive local-weighted linear regression Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.005165
  24. Spectral reflectance reconstruction with the locally weighted linear model Optical and Quantum Electronics · Springer Science+Business Media · 2019 10.1007/s11082-019-1887-8
  25. IR surface reflectance estimation and material type recognition using two-stream net and kinect camera 2019 10.1145/3306214.3338557
  26. Sequential adaptive estimation for spectral reflectance based on camera responses Optics Express · Optica Publishing Group · 2020 10.1364/oe.389614
  27. Improved and Robust Spectral Reflectance Estimation LEUKOS The Journal of the Illuminating Engineering Society of North America · Taylor & Francis · 2020 10.1080/15502724.2020.1798246
  28. Single-Shot Neural Relighting and SVBRDF Estimation Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-58529-7_6
  29. Soil Organic Carbon Prediction using Visible–Near Infrared Reflectance Spectroscopy Employing Artificial Neural Network Modelling Current Science · Indian Academy of Sciences · 2020 10.18520/cs/v119/i2/377-381
  30. Improved method for spectral reflectance estimation and application to mobile phone cameras Journal of the Optical Society of America A · Optica Publishing Group · 2022 10.1364/josaa.449347
  31. A convolution neural network for forest leaf chlorophyll and carotenoid estimation using hyperspectral reflectance International Journal of Applied Earth Observation and Geoinformation · Elsevier BV · 2022 10.1016/j.jag.2022.102719
  32. Improved method for spectral reflectance estimation and application to mobile phone cameras Journal of the Optical Society of America A · Optica Publishing Group · 2022 10.1364/josaa.449347
  33. A Neural Network Approach to Estimating Color Reflectance with Product Independent Models Lecture notes in computer science · Springer Science+Business Media · 2022 10.1007/978-3-031-15934-3_66
  34. Spectral Reflectance Estimation from Camera Responses Using Local Optimal Dataset Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2023 10.3390/jimaging9020047
  35. CRefNet: Learning Consistent Reflectance Estimation With a Decoder-Sharing Transformer IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tvcg.2023.3337870
  36. MatTrans: Material Reflectance Property Estimation of Complex Objects with Transformer Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-981-97-2095-8_11
  37. Reflectance estimation for proximity sensing by vision-language models: utilizing distributional semantics for low-level cognition in robotics Advanced Robotics · Taylor & Francis · 2024 10.1080/01691864.2024.2393408