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

Spectral Reflectance Estimation from Camera Responses Using Local Optimal Dataset

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

기본 정보

저자
  1. Shoji Tominaga — Department of Business and Informatics, Nagano University, Ueda 386-0032, 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/jimaging9020047
저널
Journal of Imaging
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/jimaging9020047
토픽
Color Science and Applications
OpenAlex ID
W4321372122

평가 내용

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

초록

A novel method is proposed to estimate surface-spectral reflectance from camera responses using a local optimal reflectance dataset. We adopt a multispectral imaging system that involves an RGB camera capturing multiple images under multiple light sources. A spectral reflectance database is utilized to locally determine the candidates to optimally estimate the spectral reflectance. The proposed estimation method comprises two stages: (1) selecting the local optimal reflectance dataset and (2) determining the best estimate using only the local optimal dataset. In (1), the camera responses are predicted for the respective reflectances in the database, and then the prediction errors are calculated to select the local optimal dataset. In (2), multiple methods are used; in particular, the Wiener and linear minimum mean square error estimators are used to calculate all statistics, based only on the local optimal dataset, and linear and quadratic programming methods are used to solve optimization problems with constraints. Experimental results using different mobile phone cameras show that the estimation accuracy has improved drastically. A much smaller local optimal dataset among spectral reflectance databases is enough to obtain the optimal estimates. The method has potential applications including fields of color science, image science and technology, computer vision, and graphics.

본문 52,117자

본문 펼치기
Introduction Surface-spectral reflectance is typically defined as the ratio of light reflected from an object's surface to the incident light as a function of wavelength. It provides physical features that are inherent and discriminative to the surfaces of objects composed of different materials, such as natural and man-made objects. Hence, knowledge regarding the spectral reflectance of objects can be applied extensively to color science, image science and technology, computer vision, and computer graphics. Problems in estimating the surface-spectral reflectance from camera responses have been investigated concurrently with the development of cameras and imaging systems; consequently, many methods have been proposed. Introduction Spectral reflectance estimation methods 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] and training (or learning)based approach [14][15][16][17][18][19][20][21][22][23][24][25][26]. Introduction In the model-based approach, camera responses are described using camera spectral sensitivities, surface-spectral reflectance, and illuminant spectral power distributions. This approach is the more typically used approach and includes finite-dimensional modeling methods [1,3] and Wiener estimation methods [4][5][6][7][8][9][10][11][12]. The Wiener estimation methods are based on a statistical approach, in which noise in the imaging system and a certain statistic of the spectral reflectance are considered. The Wiener estimation methods are one of the most typically used and reliable methods when the spectral sensitivity functions of the imaging system are known. Recently, an improved estimation method, known as the "linear minimum mean square error (LMMSE)" method [13] was proposed to minimize the estimation error of spectral reflectance. Its estimation accuracy was theoretically verified to be better than that of the conventional Wiener method. Introduction The training-based approach is typically constructed without knowledge regarding the camera spectral sensitivities and illuminant spectral distributions; instead, a large training dataset, which is a large table comprising a pair of camera responses and the corresponding spectral reflectances, is used. Regression methods directly establish the relationship between RGB responses and spectral reflectances and include support vector regression [17,18], kernel regression [19,20], linear regression [21,22], and neural networks [26]. This method does not necessitate the assumption of a linear relationship between RGB values and the spectral sensitivity function and allows the camera response to be mapped nonlinearly to the spectral sensitivity function. Therefore, raw camera data are not required. However, this approach requires a significant amount of training data to establish reliable mapping and can be utilized solely for a specific imaging system. The camera responses are acquired under specific conditions of the illumination environment and imaging geometries, and the corresponding spectral reflectances are measured using a spectrometer or obtained using a spectral imaging device. Thus, the training data depend on the illumination environment, unless an additional operation such as white balance is implemented [24,25]. Introduction Recently, software that can store images captured as raw data has become publicly available when using digital single-lens reflex (DSLR) cameras and mobile phone cameras. The spectral sensitivity function represents the image sensor output per unit of incident light energy at each wavelength within the spectral range in which the camera system operates. This function results in a linear relationship between the camera inputs and outputs using raw image data [27]. Under these conditions, spectral sensitivity can be measured using monochromatic light. The measured spectral sensitivities for different cameras have been published [27,28]; for instance, databases for 28 DSLR cameras [29] and 20 mobile phone cameras [30] are currently available. Considering recent imaging environments on software development and database availability, as the model-based approach does not require prior training, it can be a more direct estimation method for estimating surface-spectral reflectances. Introduction In this paper, we propose a novel method to effectively use a reflectance database and significantly improve the estimation accuracy of spectral reflectance from image data acquired using an RGB digital camera. The imaging system is a multispectral image acquisition system extended from a simple RGB system, where an RGB camera captures multiple images of an object scene under multiple light sources with different illuminant spectra in the visible range. We adopt a general imaging model, in which the camera responses are described by combining the camera spectral sensitivities, surface-spectral reflectance, illuminant spectral power distributions, additive noise terms, and gain parameters. Introduction We do not use the entire data of the spectral reflectance database, but effectively select a subset of the database to optimally estimate the spectral reflectance. Similar ideas were proposed for recovering spectral reflectance from tristimulus values [31] and for adaptively reconstructing spectral reflectance based on the Wiener estimator from image data [7,11]. In this study, we estimate the spectral reflectance from image data in two stages. In the first stage, a set of the most reliable candidates for the optimal estimation of the spectral reflectance is selected from the reflectance database based on observations of a target object surface, which is known as the local optimal reflectance dataset. In the second stage, the best reflectance is estimated using only the local optimal dataset. We present multiple estimation algorithms that can provide the best estimates, i.e., those that minimize the estimation error. One class of algorithms comprises the statistical method, where the mean values, autocorrelation matrices, and covariance matrices are calculated from locally extracted optimal data only and then used as the statistical characteristics to describe the best estimate. Another class comprises a mathematical programming method that uses local optimal reflectances and solves the optimization problem to minimize the prediction error under weight constraints. Introduction In the following, Section 2 describes an observation model for a multispectral image acquisition system that uses an RGB camera and multiple light sources. The model is constructed with three spectral functions, i.e., known camera spectral sensitivities, known illuminant spectra, and unknown surface-spectral reflectance, and includes two parameters, i.e., gain and independent noise. Section 3 describes the selection of a local optimal reflectance dataset. The camera responses recorded from an actual object are compared with observations predicted from the respective spectral reflectance in the reflectance database. The prediction errors calculated for all reflectances in the database are arranged in ascending order, and only a certain number of spectral reflectances from the beginning are selected as the local optimal candidates for spectral reflectance estimation. Introduction Section 4 describes the method used to determine the best reflectance estimate using the local optimal dataset. The Wiener and LMMSE estimators are proposed as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming methods are proposed as second-class methods for solving optimization problems under constraints imposed. Introduction Section 5 presents the experiments performed to validate the proposed methods for estimating surface-spectral reflectance. Different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples are used in those experiments. The performances of the proposed methods are examined in detail and compared with those of other methods. Observation Model The observation model for our multispectral image acquisition system is depicted schematically in Figure 1. It is 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). Therefore, we obtain m = 3 L observations for a single target object. Because a linear relationship exists between the camera responses and surface-spectral reflectance (see [27]), we express the observations y i as Observation Model where x(λ) is the surface-spectral reflectance of the target object, e l (λ) (l = 1, 2, . . . , L) represents the spectral power distribution of the light sources, r c (λ) and (c = 1, 2, 3) denotes 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 represents the digital camera outputs, while x(λ), e l (λ), and r c (λ) are physical quantities. The coefficient g in Equation (1) is the weight used to convert the model outputs to the practical digital outputs, called the gain parameter. 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 coefficient g in Equation (1) is the weight used to convert the model outputs to the practical digital outputs, called the gain parameter. 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]. Observation Model 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: Observation Model . . . Observation Model where l = 1, 2, . . . , L and c = 1, 2, 3. The discrete representation of the observation model is expressed as follows: Observation Model where Observation Model The symbol (.*), superscript t, and ∆λ represent elementwise multiplication, matrix transposition, and the wavelength sampling interval, respectively. Therefore, A is an (m × n) matrix defined by the illuminant spectra and the spectral sensitivities, and n is an n-dimensional noise vector. Selection of Local Optimal Reflectance Dataset Previously, adaptive Wiener estimation methods were proposed to improve the estimation accuracy of spectral reflectance, where training samples were adaptively selected to perform autocorrelation matrix calculation in the Wiener estimator [7,11]. Although the original Wiener estimator uses all data of a spectral reflectance database, the basic idea of the adaptive method is as follows: if the training reflectance samples for calculating the autocorrelation matrix are close to the target reflectance and close to each other, then the estimation may be reliable. Therefore, first, the spectral reflectance estimatex all is calculated from observation y using the original Wiener estimator. Second, the spectral similarity or distance x all − x i 2 is calculated between the estimated spectral reflectancex all and each spectral reflectance x i in the original database. Third, a set of spectral reflectances x i is selected based on the similarity or distance from the reflectance database. However, we should note that because the estimatex all obtained in the first step is contaminated with the estimation error, the most similar reflectances or the reflectances with the shortest distance tox all are not necessarily the best estimates. Selection of Local Optimal Reflectance Dataset Herein, we propose a more direct method for selecting a local optimal reflectance dataset. Let N be the number of spectral reflectances in the database. First, we predict the observations using Equation (3) in the form of gAx i for each spectral reflectance x i (i = 1, 2, ..., N) in the database, as shown in Figure 2. Second, we calculate the prediction error for observation y as follows: Selection of Local Optimal Reflectance Dataset where the norm • 2 2 is defined as z 2 2 = z 2 1 + z 2 2 + . . . + z 2 m . Third, the prediction errors are arranged in the ascending order as L (1) ≤ L (2) ≤ · · · ≤ L (N) , and the corresponding spectral reflectances are x (1) , x (2) , . . . , x (N) . Finally, the first K spectral reflectances x (1) , x (2) , . . . , x (K) are selected as the local optimal candidates to estimate the spectral reflectance. The superiority of this method is demonstrated in subsequent experiments. i 1, 2, ..., N) in the database, as shown in Figure 2. Second, we calculate the prediction error for observation y as follows: Selection of Local Optimal Reflectance Dataset where the norm 2 2 • is defined as ... m z z z = + + + z . Third, the prediction errors are arranged in the ascending order as (1) (2) ( ) N L L L ≤ ≤ ≤  , and the corresponding spectral reflectances are (1) x , (2) x , …, ( ) N x . Finally, the first K spectral reflectances (1) x , (2) x , …, ( ) K x are selected as the local optimal candidates to estimate the spectral reflectance. The superiority of this method is demonstrated in subsequent experiments. Determination of Reflectance Estimate Using Local Optimal Dataset The best spectral reflectance estimate can be obtained using only the local optimal reflectance dataset. We herein propose four algorithms that can yield the best estimates, which minimize the estimation error. The Wiener estimator and LMMSE estimator are used as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming are applied as second-class methods for solving optimization problems under constraints imposed. Local Wiener Method The estimate of x, x, is written in the formˆ, = x By where B is an (n × m) matrix. The matrix B is determined to minimize the mean-square error (MSE) between the estimate x and original x, which is defined as Determination of Reflectance Estimate Using Local Optimal Dataset The best spectral reflectance estimate can be obtained using only the local optimal reflectance dataset. We herein propose four algorithms that can yield the best estimates, which minimize the estimation error. The Wiener estimator and LMMSE estimator are used as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming are applied as second-class methods for solving optimization problems under constraints imposed. Local Wiener Method The estimate of x,x, is written in the formx = By, where B is an (n × m) matrix. The matrix B is determined to minimize the mean-square error (MSE) between the estimatex and original x, which is defined as Local Wiener Method where the expectation operator E[x] denotes the mean or average of x, and tr(X) represents the trace of a square matrix X. Consequently, the estimate is solved aŝ Local Wiener Method where R is the autocorrelation matrix E xx t , and I is the (n × n) identity matrix, with 1's in the diagonal and 0's elsewhere. Local Wiener Method Although the autocorrelation matrix is typically calculated using all available datasets of various spectral reflectances, in this study, R is calculated using only the K local optimal reflectances. When we define an (n × K) matrix X as Local Wiener Method The autocorrelation matrix can be more statistically precise compared with using a dataset that includes many other reflectances. Local LMMSE Method In LMMSE estimation, the estimatex is determined in the more general formx = By + b, where b is an n-dimensional constant vector. Because the average surface-spectral reflectance is not zero, we set the averages of x and y as E[x] = x 0 and E[y] = y 0 = gAx 0 , respectively, and the optimal estimate to minimize the MSE is expressed aŝ Local LMMSE Method where P is the covariance matrix of x, defined as [13]. When we compare the estimation error J 2 of the LMMSE estimator to the error J 1 of the Wiener estimator, a clear relationship exists, i.e., J 1 ≥ J 2 (see [13]). In other words, the estimation accuracy of the LMMSE estimator always exceeds that of the Wiener estimator. Local LMMSE Method In this study, the average of surface-spectra reflectance is calculated as Local LMMSE Method The covariance matrix is calculated using only the K local optimal reflectances and the average as Local LMMSE Method Notably, because the covariance matrix is approximated using a small number of spectral reflectances, the relationship J 1 ≥ J 2 does not necessarily hold. Linear Programming Method The spectral reflectance is estimated in a linear combination of K local optimal data aŝ Linear Programming Method where α i (i = 1, 2, . . . , K) are weighting coefficients. Let Linear Programming Method x j be the j-th element of the estimate, Linear Programming Method Because of the physical constraint of spectral reflectance, we have Linear Programming Method As a sufficient condition to satisfy this constraint, we define a constraint on α i as follows: Linear Programming Method Next, we consider the L 1 -norm minimization problem as follows: Linear Programming Method where Linear Programming Method This minimization is equivalent to the following linear programming problem (see [32]): Linear Programming Method In addition, when we define a K-dimensional column vector p with all elements equal to 1, we can rewrite the constraint on the weights in Equation (16) Linear Programming Method Therefore, the linear programming problem above can be summarized as Linear Programming Method where [0 0 · · · 0 1 1 · · · 1] denotes a (1 × (K + m)) matrix comprising K 0's and m 1's, and l m denotes an (m × m) identity matrix. The MATLAB function "linprog" is available for solving the present problem [33]. To utilize this function, we introduce the following matrices: Linear Programming Method Subsequently, we can use z = linprog(f, H, h) to solve the linear programming problem. The solution is given as Linear Programming Method whereα = α 1α2 · · ·α K t is the optimal estimate of the weights. The spectral reflectance estimate is written asx = Xα. Quadratic Programming Method Next, we consider the following L 2 -norm minimization problem: Quadratic Programming Method where F and α are defined in Equations (18) and (19), respectively. Quadratic programming is the optimization problem of identifying a vector z that minimizes a quadratic function Quadratic Programming Method Dz ≤ d (inequality constraint) or D eq z = d eq (equality constraint). Quadratic Programming Method J. Imaging 2023, 9,47 8 of 18 Quadratic Programming Method The current L 2 -norm minimization problem can be rewritten to fit the quadratic programming problem as follows: Quadratic Programming Method The MATLAB function "quadprog" is available for solving the present problem [34]. To utilize this function, we define the function arguments as Quadratic Programming Method Then, z = quadprog(H, f, D, d, D eq , d eq ) solves the quadratic programming problem. Quadratic Programming Method The solution is z =α, and the spectral reflectance estimate is written asx = Xα. Figure 3 depicts the overall flow of the proposed methods for estimating spectral reflectance in two stages, where the first stage is to select the local optimal dataset suitable for the observed camera outputs from the original reflectance database and the second stage is to determine the reflectance estimate using the local optimal dataset only. Overall Flow of Estimation Procedure J. Imaging 2023, 9, x FOR PEER REVIEW 9 of 20 for the observed camera outputs from the original reflectance database and the second stage is to determine the reflectance estimate using the local optimal dataset only. Experimental Setup Experiments were conducted to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data. We used different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples. Three mobile phone cameras selected from iOS and Android phone cameras were (1) Apple iPhone 6s (Protek, Shanghai, China), (2) Apple iPhone 8 (Protek, Shanghai, China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits. Experimental Setup Experiments were conducted to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data. We used different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples. Three mobile phone cameras selected from iOS and Android phone cameras were (1) Apple iPhone 6s (Protek, Shanghai, China), (2) Apple iPhone 8 (Protek, Shanghai, China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits. Experimental Setup China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits. The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 5. The standard spectral reflectance database used in this paper is available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023), which is a dataset of 1776 (=N) spectral reflectances and comprised of Dupont spectral data, Munsell spectral data, and various object spectral data, including man-made objects and natural objects. All spectral curves were sampled at 61 (=n) points with 5-nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors. The X-Rite Color Checker Passport Photo (X-Rite, Grand Rapids, MI, USA) was used as the standard test target to validate 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 5. The standard spectral reflectance database used in this paper is available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023), which is a dataset of 1776 (=N) spectral reflectances and comprised of Dupont spectral data, Munsell spectral data, and various object spectral data, including man-made objects and natural objects. All spectral curves were sampled at 61 (=n) points with 5-nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors. The X-Rite Color Checker Passport Photo (X-Rite, Grand Rapids, MI, USA) was used as the standard test target to validate reflectance estimation. This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter. Spectralon (Labsphere, North Sutton, NH, USA) was used as a white reference standard and was placed near the target samples. The cameras were placed close to the target, and the light sources were placed a little apart from the target. These positions are the same as 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 and L1-norm minimization. Performances of Proposed Methods First, we examined the performances of the proposed Wiener and LMMSE methods using the local optimal reflectance dataset. Figure 6 shows the average root-mean-square errors (RMSEs) for the 24 color checkers as a function of the number K of the local optimal reflectances when the two methods were applied to the image data using the Apple iPhone 6s. In the figure, "L_Wiener" and "L_LMMSE" represent the local Wiener and LMMSE methods using the local optimal dataset in Sections 4.1 and 4.2, respectively, and "Wiener" and "LMMSE" represent the respective original methods using all data. Because Spectralon (Labsphere, North Sutton, NH, USA) was used as a white reference standard and was placed near the target samples. The cameras were placed close to the target, and the light sources were placed a little apart from the target. These positions are the same as 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 and L1-norm minimization. Performances of Proposed Methods First, we examined the performances of the proposed Wiener and LMMSE methods using the local optimal reflectance dataset. Figure 6 shows the average root-mean-square errors (RMSEs) for the 24 color checkers as a function of the number K of the local optimal reflectances when the two methods were applied to the image data using the Apple iPhone 6s. In the figure, "L_Wiener" and "L_LMMSE" represent the local Wiener and LMMSE methods using the local optimal dataset in Sections 4.1 and 4.2, respectively, and "Wiener" and "LMMSE" represent the respective original methods using all data. Because the original methods use all the spectral reflectances in the database, the average RMSEs are constant values of 0.03537 and 0.03479 for the Wiener and LMMSE methods, respectively, independently of K. The average RMSE is calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers, i.e., Figure 6 clearly suggests that the estimation accuracies of L_Wiener and L_LMMSE approach the accuracies of the original methods as the number K of the local optimal reflectances used in the reflectance estimation increases. Based on our observations, the estimation improves as K decreases, as compared with the case in the original methods. In other words, the proposed methods are more effective for smaller K values. The results yielded by the Apple iPhone 6s are similar to those yielded by the mobile phone cameras, Apple iPhone 8, and Huawei P10 lite. Performances of Proposed Methods Small values of K are preferred to simplify the estimation. Figures 7-9 depict the average RMSEs yielded by each of the four proposed methods for the 24-color checkers in the range of small K of 5-50, when applying the methods to the image data acquired using the Apple iPhone 6s, Apple iPhone 8, and Huawei P10 lite. The symbols Lp and Qp denote the linear programming and quadratic programming methods in Sections 4.3 and 4.4, respectively. As shown in each figure depicting the results of the mobile phone cameras, all the proposed methods in this range are significantly more accurate than the original Wiener and LMMSE methods. We disregarded the performance curves of the average RMSEs in the range of K < 5 owing to their instability. Among the proposed methods, the best one cannot be determined within this range. However, the quadratic programming method appears to be significantly better than the others, as its error in the large range of K for all cameras used remains low. As can be seen from Figures 7-9, the average RMSEs using Huawei P10 lite are significantly worse. We investigated this point, and found that, although the first part in the local optimal reflectance dataset (1) x , (2) x , ..., ( ) K x was the same for both Apple iPhones 6s and 8, the corresponding part selected for Huawei P10 lite was different from iPhones. This difference in the selected optimal dataset was reflected in the estimation results. This calculation was changed from the calculation presented in [13]. Figure 6 clearly suggests that the estimation accuracies of L_Wiener and L_LMMSE approach the accuracies of the original methods as the number K of the local optimal reflectances used in the reflectance estimation increases. Based on our observations, the estimation improves as K decreases, as compared with the case in the original methods. In other words, the proposed methods are more effective for smaller K values. The results yielded by the Apple iPhone 6s are similar to those yielded by the mobile phone cameras, Apple iPhone 8, and Huawei P10 lite. Performances of Proposed Methods Small values of K are preferred to simplify the estimation. Figures 7-9 depict the average RMSEs yielded by each of the four proposed methods for the 24-color checkers in the range of small K of 5-50, when applying the methods to the image data acquired using the Apple iPhone 6s, Apple iPhone 8, and Huawei P10 lite. The symbols Lp and Qp denote the linear programming and quadratic programming methods in Sections 4.3 and 4.4, respectively. As shown in each figure depicting the results of the mobile phone cameras, all the proposed methods in this range are significantly more accurate than the original Wiener and LMMSE methods. We disregarded the performance curves of the average RMSEs in the range of K < 5 owing to their instability. Among the proposed methods, the best one cannot be determined within this range. However, the quadratic programming method appears to be significantly better than the others, as its error in the large range of K for all cameras used remains low. As can be seen from Figures 7-9, the average RMSEs using Huawei P10 lite are significantly worse. We investigated this point, and found that, although the first part in the local optimal reflectance dataset x (1) , x (2) , ..., x (K) was the same for both Apple iPhones 6s and 8, the corresponding part selected for Huawei P10 lite was different from iPhones. This difference in the selected optimal dataset was reflected in the estimation results. Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflectance for the 24 color checkers. The spectral curves of the 23 local optimal reflectances are Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflec- Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflec- Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflectance for the 24 color checkers. The spectral curves of the 23 local optimal reflectances are shown in Figure 10, where the broken red curve represents the measured spectral reflectance x 2 . A set of spectral reflectances close to x 2 was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for x 2 are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method. Performances of Proposed Methods J. Imaging 2023, 9, x FOR PEER REVIEW 13 of 20 shown in Figure 10, where the broken red curve represents the measured spectral reflectance 2 Performances of Proposed Methods x . A set of spectral reflectances close to 2 x was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for 2 Performances of Proposed Methods x are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method. x in 24 color checkers. Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance 2 Performances of Proposed Methods x . shown in Figure 10, where the broken red curve represents the measured spectral reflectance 2 Performances of Proposed Methods x . A set of spectral reflectances close to 2 x was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for 2 Performances of Proposed Methods x are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method. x in 24 color checkers. Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance 2 Performances of Proposed Methods x . Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance x 2 . Performances of Proposed Methods Furthermore, it should be noted that the proposed methods based on the local optimal dataset increase obviously in computation time, in comparison with the direct Wiener and LMMSE methods based on the original dataset. All computations in experiments were executed using MATLAB (R2022b) on the PC of Panasonic CF-LX6 (Panasonic, Osaka, Japan). The average computation time for the direct Wiener and LMMSE methods was about 0.0045 s. Also, the computation time was compared using the L_Wiener method, L_LMMSE method, linear programming method, and quadratic programming method. The average computation times when using K = 23 local optimal reflectances were 0.1958, 0.1932, 0.5325, and 0.3425 s, respectively. The determination of the local optimal dataset in the first stage took a lot of time. Local Optimal Reflectance Dataset We changed the selection of a local optimal reflectance dataset. Although we here proposed using the prediction error (y − gAx i ) for the observation, the previous adaptive Wiener estimation methods were based on the estimation error x all − x i [7,11]. The estimatex all was calculated using the original Wiener estimator based on all the spectral reflectances in the database. Subsequently, the local optimal spectral reflectances were selected based on (1) a similarity measure, e.g., the spectral angle, or (2) a distance measure, e.g., the MSE. Local Optimal Reflectance Dataset First, we examined the spectral angle, which represents the spectral similarity between two vectors in a high-dimensional spectral space. In our case, the spectral angle θ is defined 1, 2, . . . , N). As θ i decreases, the two vectorsx all and x i become increasingly similar. The angles θ i for all reflectances were arranged in descending order, and the first K spectral reflectances were selected as the locally optimal dataset. However, the average RMSEs were greater than the error of the original Wiener estimator; in other words, the spectral angle did not yield the expected result. Local Optimal Reflectance Dataset Second, we examined the MSE N). We calculated the estimatê x all by the Wiener and LMMSE estimators using all the reflectance data. The MSEs for all reflectances were arranged in ascending order, and the first K spectral reflectances were selected. Figure 12 shows a comparison of the average RMSEs for the 24-color checkers along with the results yielded by the proposed method shown in Figure 7, when using the iPhone 6s. In Figure 12, Single RGB-Based Spectral Estimation Spectral reflectance estimation was often performed using RGB image data from a single-color camera instead of a multispectral imaging system, particularly in the trainingbased approach. This is because the imaging system is easy to use without modification and eliminates the need for camera spectral sensitivity functions. A broadband light source was preferred in the single RGB imaging system. Single RGB-Based Spectral Estimation Typical methods for efficiently determining reflectance estimates from local optimal training samples were (1) nonlinear expansion of RGB data and (2) introduction of weighting factors (see [16,22]). For (1), consider an example that [r g b] is expanded to We performed experiments for the single RGB-based spectral estimation based on method (2), where an incandescent lamp with the spectral power distribution shown in Figure 13 was used as a broadband light source. The experimental results are shown in Figure 14, where the RGB images for the 24-color checkers were acquired using the iPhone 6s. Because the camera spectral sensitivities were known in our case, we first predicted the camera outputs for each of the training reflectance samples as i i g = y Ax without capturing actual images; subsequently, we calculated an (n × K) reflectance matrix X and a (3 Single RGB-Based Spectral Estimation Spectral reflectance estimation was often performed using RGB image data from a single-color camera instead of a multispectral imaging system, particularly in the trainingbased approach. This is because the imaging system is easy to use without modification and eliminates the need for camera spectral sensitivity functions. A broadband light source was preferred in the single RGB imaging system. Single RGB-Based Spectral Estimation Typical methods for efficiently determining reflectance estimates from local optimal training samples were (1) nonlinear expansion of RGB data and (2) introduction of weighting factors (see [16,22]). For (1), consider an example that [r g b] is expanded to 1 r g b r 2 g 2 b 2 rg gb br . Our experimental results suggested that the nonlinear expansion method did not perform well because of its instability. For (2), consider an example where inverse distances such as 1/ y − y i 2 2 1/2 (i = 1, 2, . . . , K) are applied to the local optimal reflectances as weighting coefficients. Single RGB-Based Spectral Estimation We performed experiments for the single RGB-based spectral estimation based on method (2), where an incandescent lamp with the spectral power distribution shown in Figure 13 was used as a broadband light source. The experimental results are shown in Figure 14, where the RGB images for the 24-color checkers were acquired using the iPhone 6s. Because the camera spectral sensitivities were known in our case, we first predicted the camera outputs for each of the training reflectance samples as y i = gAx i without capturing actual images; subsequently, we calculated an (n × K) reflectance matrix X and a (3 × K) observation matrix Y in the forms X = x (1) x (2) · · · x (K) and Y = gAX. We defined a (K × K) weighting matrix as Single RGB-Based Spectral Estimation where w ii = 1/ y − y i Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison. Single RGB-Based Spectral Estimation Based on the previous pseudo-inverse method (see [16,22]), the estimate x based on the local optimal dataset was calculated as ˆ, = x Qy (31) where Single RGB-Based Spectral Estimation The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison. Single RGB-Based Spectral Estimation Based on the previous pseudo-inverse method (see [16,22]), the estimate x based on the local optimal dataset was calculated as ˆ, = x Qy (31) where Single RGB-Based Spectral Estimation The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed Figure 14. Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison. Single RGB-Based Spectral Estimation Based on the previous pseudo-inverse method (see [16,22]), the estimatex based on the local optimal dataset was calculated aŝ Single RGB-Based Spectral Estimation where Single RGB-Based Spectral Estimation The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed LMMSE, linear programming, and quadratic programming methods for the single RGB images without using weights, respectively. In addition, the estimation accuracies of the linear and quadratic programming methods exceed those of L_Wiener and L_LMMSE. Single RGB-Based Spectral Estimation The four bold curves at the bottom of Figure 14 depict the average RMSEs in Figure 7 reconstructed using the multispectral imaging system for comparison. The multispectral imaging system is clearly superior to the single RGB imaging system. From the viewpoint of the estimation procedure, we should note that the statistical methods require the variance of the system noise, whereas mathematical programming methods do not require such statistical knowledge. Single RGB-Based Spectral Estimation Using the single-exposure method, there are other methods than using the local optimal dataset. Here, we applied two methods to the present problem and examined the performances; one was the interpolation method [35] and another was the weighted principal component analysis (PCA) method [36]. In the interpolation method, all spectral reflectances in the original database x i (i = 1, 2, . . . , N) were first mapped into the threedimensional RGB space by y i = gAx i , where four vertices with the RGB values defined a tetrahedron and the RGB space was partitioned by many different tetrahedrons. Next, we found a tetrahedron containing the observation y and estimated the RGB coordinates of y using the four vertices. This linear interpolation was applied to the corresponding four spectral reflectances in the database to obtain the reflectance estimate. The MATLAB function "delaunayTriangulation" was used for the tetrahedrization procedure. Single RGB-Based Spectral Estimation In the weighted PCA method, the spectra reflectances were represented as the weighted sum of three orthogonal basis functions. The basis functions are called the principal component vectors, which are obtained by the singular value decomposition of the original reflectance data matrix or the eigendecomposition of the data covariance matrix. We used the same weights as Equation (30) and the (N × N) weighting matrix W in Equation (29) was applied to the original data matrix. Single RGB-Based Spectral Estimation In experimental results for the interpolation method, we could not find suitable tetrahedrons for the 17th (green) and 19th (white) patches among the X-rite color checkers. This was because the coordinates of these patches were out of the gamut determined by the original reflectance database, which was a disadvantage of the interpolation method. The average RMSE except for the two patches was 0.0642. The average RMSE for 24 color patches using the weighted PCA method was 0.0629. For comparison, when we applied the Wiener method to the same RGB values of the observations y i (i = 1, 2, ..., 24), the average RMSE was 0.0618. Thus, both interpolation and weighted PCA methods were inferior to the Wiener method and also to any results shown in Figure 14. The reason for this may be that the interpolation and weighted PCA methods neglected the system noise. Conclusions We have proposed a novel method to estimate the surface-spectral reflectance from camera responses using a local optimal reflectance dataset. The imaging system was a multispectral image acquisition system, where an RGB camera was used to capture multiple images of an object scene under multiple light sources with different illuminant spectra. The camera responses in the multispectral imaging system were described by combining the camera spectral sensitivities, surface-spectral reflectance, illuminant spectra, additive noise terms, and gain parameters. Conclusions The proposed spectral estimation method was constructed in two stages. In the first stage, the local optimal reflectance dataset was selected as a set of the most reliable candidates for the optimal estimation of the spectral reflectance from the reflectance database. We predicted the observations of the camera responses for the respective spectral reflectances in the database, which were then compared with the camera responses observed from an actual object. The optimal reflectance dataset was selected so that the prediction error was minimized. In the second stage, the best reflectance was estimated using only the local optimal dataset. We proposed multiple estimation methods of two statistical methods using the Wiener and LMMSE estimators and two mathematical programming methods using linear and quadratic programming. Conclusions Experiments were conducted using three mobile phone cameras, seven LED light sources, and a standard spectral reflectance database. First, we examined the performances of the proposed methods. All the proposed methods were significantly more accurate than the methods without using the local optimal reflectance dataset. In particular, the quadratic programming method performed much better than the other three methods. Next, we compared the proposed method with the previous methods. Our method, which involved selecting the local optimal reflectance dataset, is superior to the previous adaptive method. Additionally, we performed a comparison with the single RGB-based approach, the result of which demonstrated the superiority of the multispectral imaging approach. Conclusions We point out that the proposed approach has good features. The estimation algorithm is simple and effective. A much smaller local optimal dataset consisting of about 20 reflectances among 1776 spectral reflectance data is enough to obtain the optimal estimates. Also, the mathematical programming methods based on linear and quadratic programming without requiring noise covariance enable simpler estimations. Conclusions As the parameters of gain and noise are imaging condition dependent and multiple exposures are required, the present multispectral imaging system may not be easy to apply in open or uncontrolled illumination/lighting environments, such as the normal natural scene. Full development of an imaging system and spectral estimation method available in an open environment remains as future work.

섹션 본문 96문단 · 49,380자

Introduction

2Surface-spectral reflectance is typically defined as the ratio of light reflected from an object's surface to the incident light as a function of wavelength. It provides physical features that are inherent and discriminative to the surfaces of objects composed of different materials, such as natural and man-made objects. Hence, knowledge regarding the spectral reflectance of objects can be applied extensively to color science, image science and technology, computer vision, and computer graphics. Problems in estimating the surface-spectral reflectance from camera responses have been investigated concurrently with the development of cameras and imaging systems; consequently, many methods have been proposed.

3Spectral reflectance estimation methods 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] and training (or learning)based approach [14][15][16][17][18][19][20][21][22][23][24][25][26].

4In the model-based approach, camera responses are described using camera spectral sensitivities, surface-spectral reflectance, and illuminant spectral power distributions. This approach is the more typically used approach and includes finite-dimensional modeling methods [1,3] and Wiener estimation methods [4][5][6][7][8][9][10][11][12]. The Wiener estimation methods are based on a statistical approach, in which noise in the imaging system and a certain statistic of the spectral reflectance are considered. The Wiener estimation methods are one of the most typically used and reliable methods when the spectral sensitivity functions of the imaging system are known. Recently, an improved estimation method, known as the "linear minimum mean square error (LMMSE)" method [13] was proposed to minimize the estimation error of spectral reflectance. Its estimation accuracy was theoretically verified to be better than that of the conventional Wiener method.

5The training-based approach is typically constructed without knowledge regarding the camera spectral sensitivities and illuminant spectral distributions; instead, a large training dataset, which is a large table comprising a pair of camera responses and the corresponding spectral reflectances, is used. Regression methods directly establish the relationship between RGB responses and spectral reflectances and include support vector regression [17,18], kernel regression [19,20], linear regression [21,22], and neural networks [26]. This method does not necessitate the assumption of a linear relationship between RGB values and the spectral sensitivity function and allows the camera response to be mapped nonlinearly to the spectral sensitivity function. Therefore, raw camera data are not required. However, this approach requires a significant amount of training data to establish reliable mapping and can be utilized solely for a specific imaging system. The camera responses are acquired under specific conditions of the illumination environment and imaging geometries, and the corresponding spectral reflectances are measured using a spectrometer or obtained using a spectral imaging device. Thus, the training data depend on the illumination environment, unless an additional operation such as white balance is implemented [24,25].

6Recently, software that can store images captured as raw data has become publicly available when using digital single-lens reflex (DSLR) cameras and mobile phone cameras. The spectral sensitivity function represents the image sensor output per unit of incident light energy at each wavelength within the spectral range in which the camera system operates. This function results in a linear relationship between the camera inputs and outputs using raw image data [27]. Under these conditions, spectral sensitivity can be measured using monochromatic light. The measured spectral sensitivities for different cameras have been published [27,28]; for instance, databases for 28 DSLR cameras [29] and 20 mobile phone cameras [30] are currently available. Considering recent imaging environments on software development and database availability, as the model-based approach does not require prior training, it can be a more direct estimation method for estimating surface-spectral reflectances.

7In this paper, we propose a novel method to effectively use a reflectance database and significantly improve the estimation accuracy of spectral reflectance from image data acquired using an RGB digital camera. The imaging system is a multispectral image acquisition system extended from a simple RGB system, where an RGB camera captures multiple images of an object scene under multiple light sources with different illuminant spectra in the visible range. We adopt a general imaging model, in which the camera responses are described by combining the camera spectral sensitivities, surface-spectral reflectance, illuminant spectral power distributions, additive noise terms, and gain parameters.

8We do not use the entire data of the spectral reflectance database, but effectively select a subset of the database to optimally estimate the spectral reflectance. Similar ideas were proposed for recovering spectral reflectance from tristimulus values [31] and for adaptively reconstructing spectral reflectance based on the Wiener estimator from image data [7,11]. In this study, we estimate the spectral reflectance from image data in two stages. In the first stage, a set of the most reliable candidates for the optimal estimation of the spectral reflectance is selected from the reflectance database based on observations of a target object surface, which is known as the local optimal reflectance dataset. In the second stage, the best reflectance is estimated using only the local optimal dataset. We present multiple estimation algorithms that can provide the best estimates, i.e., those that minimize the estimation error. One class of algorithms comprises the statistical method, where the mean values, autocorrelation matrices, and covariance matrices are calculated from locally extracted optimal data only and then used as the statistical characteristics to describe the best estimate. Another class comprises a mathematical programming method that uses local optimal reflectances and solves the optimization problem to minimize the prediction error under weight constraints.

9In the following, Section 2 describes an observation model for a multispectral image acquisition system that uses an RGB camera and multiple light sources. The model is constructed with three spectral functions, i.e., known camera spectral sensitivities, known illuminant spectra, and unknown surface-spectral reflectance, and includes two parameters, i.e., gain and independent noise. Section 3 describes the selection of a local optimal reflectance dataset. The camera responses recorded from an actual object are compared with observations predicted from the respective spectral reflectance in the reflectance database. The prediction errors calculated for all reflectances in the database are arranged in ascending order, and only a certain number of spectral reflectances from the beginning are selected as the local optimal candidates for spectral reflectance estimation.

10Section 4 describes the method used to determine the best reflectance estimate using the local optimal dataset. The Wiener and LMMSE estimators are proposed as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming methods are proposed as second-class methods for solving optimization problems under constraints imposed.

11Section 5 presents the experiments performed to validate the proposed methods for estimating surface-spectral reflectance. Different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples are used in those experiments. The performances of the proposed methods are examined in detail and compared with those of other methods.

Observation Model

12The observation model for our multispectral image acquisition system is depicted schematically in Figure 1. It is 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). Therefore, we obtain m = 3 L observations for a single target object. Because a linear relationship exists between the camera responses and surface-spectral reflectance (see [27]), we express the observations y i as

13where x(λ) is the surface-spectral reflectance of the target object, e l (λ) (l = 1, 2, . . . , L) represents the spectral power distribution of the light sources, r c (λ) and (c = 1, 2, 3) denotes 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 represents the digital camera outputs, while x(λ), e l (λ), and r c (λ) are physical quantities. The coefficient g in Equation (1) is the weight used to convert the model outputs to the practical digital outputs, called the gain parameter. 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 coefficient g in Equation (1) is the weight used to convert the model outputs to the practical digital outputs, called the gain parameter. 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].

14The 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:

15. . .

16where l = 1, 2, . . . , L and c = 1, 2, 3. The discrete representation of the observation model is expressed as follows:

17where

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

Selection of Local Optimal Reflectance Dataset

19Previously, adaptive Wiener estimation methods were proposed to improve the estimation accuracy of spectral reflectance, where training samples were adaptively selected to perform autocorrelation matrix calculation in the Wiener estimator [7,11]. Although the original Wiener estimator uses all data of a spectral reflectance database, the basic idea of the adaptive method is as follows: if the training reflectance samples for calculating the autocorrelation matrix are close to the target reflectance and close to each other, then the estimation may be reliable. Therefore, first, the spectral reflectance estimatex all is calculated from observation y using the original Wiener estimator. Second, the spectral similarity or distance x all − x i 2 is calculated between the estimated spectral reflectancex all and each spectral reflectance x i in the original database. Third, a set of spectral reflectances x i is selected based on the similarity or distance from the reflectance database. However, we should note that because the estimatex all obtained in the first step is contaminated with the estimation error, the most similar reflectances or the reflectances with the shortest distance tox all are not necessarily the best estimates.

20Herein, we propose a more direct method for selecting a local optimal reflectance dataset. Let N be the number of spectral reflectances in the database. First, we predict the observations using Equation (3) in the form of gAx i for each spectral reflectance x i (i = 1, 2, ..., N) in the database, as shown in Figure 2. Second, we calculate the prediction error for observation y as follows:

21where the norm • 2 2 is defined as z 2 2 = z 2 1 + z 2 2 + . . . + z 2 m . Third, the prediction errors are arranged in the ascending order as L (1) ≤ L (2) ≤ · · · ≤ L (N) , and the corresponding spectral reflectances are x (1) , x (2) , . . . , x (N) . Finally, the first K spectral reflectances x (1) , x (2) , . . . , x (K) are selected as the local optimal candidates to estimate the spectral reflectance. The superiority of this method is demonstrated in subsequent experiments. i 1, 2, ..., N) in the database, as shown in Figure 2. Second, we calculate the prediction error for observation y as follows:

22where the norm 2 2 • is defined as ... m z z z = + + + z . Third, the prediction errors are arranged in the ascending order as (1) (2) ( ) N L L L ≤ ≤ ≤  , and the corresponding spectral reflectances are (1) x , (2) x , …, ( ) N x . Finally, the first K spectral reflectances (1) x , (2) x , …, ( ) K x are selected as the local optimal candidates to estimate the spectral reflectance. The superiority of this method is demonstrated in subsequent experiments.

Determination of Reflectance Estimate Using Local Optimal Dataset

23The best spectral reflectance estimate can be obtained using only the local optimal reflectance dataset. We herein propose four algorithms that can yield the best estimates, which minimize the estimation error. The Wiener estimator and LMMSE estimator are used as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming are applied as second-class methods for solving optimization problems under constraints imposed.

Local Wiener Method

24The estimate of x, x, is written in the formˆ, = x By where B is an (n × m) matrix. The matrix B is determined to minimize the mean-square error (MSE) between the estimate x and original x, which is defined as

Determination of Reflectance Estimate Using Local Optimal Dataset

25The best spectral reflectance estimate can be obtained using only the local optimal reflectance dataset. We herein propose four algorithms that can yield the best estimates, which minimize the estimation error. The Wiener estimator and LMMSE estimator are used as first-class statistical methods based on a limited number of local optimal reflectance data. Linear programming and quadratic programming are applied as second-class methods for solving optimization problems under constraints imposed.

Local Wiener Method

26The estimate of x,x, is written in the formx = By, where B is an (n × m) matrix. The matrix B is determined to minimize the mean-square error (MSE) between the estimatex and original x, which is defined as

27where the expectation operator E[x] denotes the mean or average of x, and tr(X) represents the trace of a square matrix X. Consequently, the estimate is solved aŝ

28where R is the autocorrelation matrix E xx t , and I is the (n × n) identity matrix, with 1's in the diagonal and 0's elsewhere.

29Although the autocorrelation matrix is typically calculated using all available datasets of various spectral reflectances, in this study, R is calculated using only the K local optimal reflectances. When we define an (n × K) matrix X as

30The autocorrelation matrix can be more statistically precise compared with using a dataset that includes many other reflectances.

Local LMMSE Method

31In LMMSE estimation, the estimatex is determined in the more general formx = By + b, where b is an n-dimensional constant vector. Because the average surface-spectral reflectance is not zero, we set the averages of x and y as E[x] = x 0 and E[y] = y 0 = gAx 0 , respectively, and the optimal estimate to minimize the MSE is expressed aŝ

32where P is the covariance matrix of x, defined as [13]. When we compare the estimation error J 2 of the LMMSE estimator to the error J 1 of the Wiener estimator, a clear relationship exists, i.e., J 1 ≥ J 2 (see [13]). In other words, the estimation accuracy of the LMMSE estimator always exceeds that of the Wiener estimator.

33In this study, the average of surface-spectra reflectance is calculated as

34The covariance matrix is calculated using only the K local optimal reflectances and the average as

35Notably, because the covariance matrix is approximated using a small number of spectral reflectances, the relationship J 1 ≥ J 2 does not necessarily hold.

Linear Programming Method

36The spectral reflectance is estimated in a linear combination of K local optimal data aŝ

37where α i (i = 1, 2, . . . , K) are weighting coefficients. Let

38x j be the j-th element of the estimate,

39Because of the physical constraint of spectral reflectance, we have

40As a sufficient condition to satisfy this constraint, we define a constraint on α i as follows:

41Next, we consider the L 1 -norm minimization problem as follows:

42where

43This minimization is equivalent to the following linear programming problem (see [32]):

44In addition, when we define a K-dimensional column vector p with all elements equal to 1, we can rewrite the constraint on the weights in Equation (16)

45Therefore, the linear programming problem above can be summarized as

46where [0 0 · · · 0 1 1 · · · 1] denotes a (1 × (K + m)) matrix comprising K 0's and m 1's, and l m denotes an (m × m) identity matrix. The MATLAB function "linprog" is available for solving the present problem [33]. To utilize this function, we introduce the following matrices:

47Subsequently, we can use z = linprog(f, H, h) to solve the linear programming problem. The solution is given as

48whereα = α 1α2 · · ·α K t is the optimal estimate of the weights. The spectral reflectance estimate is written asx = Xα.

Quadratic Programming Method

49Next, we consider the following L 2 -norm minimization problem:

50where F and α are defined in Equations (18) and (19), respectively. Quadratic programming is the optimization problem of identifying a vector z that minimizes a quadratic function

51Dz ≤ d (inequality constraint) or D eq z = d eq (equality constraint).

52J. Imaging 2023, 9,47 8 of 18

53The current L 2 -norm minimization problem can be rewritten to fit the quadratic programming problem as follows:

54The MATLAB function "quadprog" is available for solving the present problem [34]. To utilize this function, we define the function arguments as

55Then, z = quadprog(H, f, D, d, D eq , d eq ) solves the quadratic programming problem.

56The solution is z =α, and the spectral reflectance estimate is written asx = Xα. Figure 3 depicts the overall flow of the proposed methods for estimating spectral reflectance in two stages, where the first stage is to select the local optimal dataset suitable for the observed camera outputs from the original reflectance database and the second stage is to determine the reflectance estimate using the local optimal dataset only.

Overall Flow of Estimation Procedure

57J. Imaging 2023, 9, x FOR PEER REVIEW 9 of 20 for the observed camera outputs from the original reflectance database and the second stage is to determine the reflectance estimate using the local optimal dataset only.

Experimental Setup

58Experiments were conducted to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data. We used different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples. Three mobile phone cameras selected from iOS and Android phone cameras were (1) Apple iPhone 6s (Protek, Shanghai, China), (2) Apple iPhone 8 (Protek, Shanghai, China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits.

59Experiments were conducted to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data. We used different mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples. Three mobile phone cameras selected from iOS and Android phone cameras were (1) Apple iPhone 6s (Protek, Shanghai, China), (2) Apple iPhone 8 (Protek, Shanghai, China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits.

60China)), and (3) Huawei P10 lite (Huawei, Shenzhen, China). Figure 4 shows the relative RGB spectral sensitivity functions, where the solid, broken, and dash-dot curves correspond to curves correspond to (1), (2), and (3), respectively. The numerical data of the spectral sensitivity functions are available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023). The camera images were captured in a lossless raw image format in Adobe digital negative format. The dark response was measured on all selected cameras and discarded from the camera output. The depth of the cameras employed was 12 bits. The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 5. The standard spectral reflectance database used in this paper is available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023), which is a dataset of 1776 (=N) spectral reflectances and comprised of Dupont spectral data, Munsell spectral data, and various object spectral data, including man-made objects and natural objects. All spectral curves were sampled at 61 (=n) points with 5-nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors. The X-Rite Color Checker Passport Photo (X-Rite, Grand Rapids, MI, USA) was used as the standard test target to validate 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 5. The standard spectral reflectance database used in this paper is available at http://ohlab.kic.ac.jp/ (accessed on 10 January 2023), which is a dataset of 1776 (=N) spectral reflectances and comprised of Dupont spectral data, Munsell spectral data, and various object spectral data, including man-made objects and natural objects. All spectral curves were sampled at 61 (=n) points with 5-nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors. The X-Rite Color Checker Passport Photo (X-Rite, Grand Rapids, MI, USA) was used as the standard test target to validate reflectance estimation. This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter. Spectralon (Labsphere, North Sutton, NH, USA) was used as a white reference standard and was placed near the target samples. The cameras were placed close to the target, and the light sources were placed a little apart from the target. These positions are the same as 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 and L1-norm minimization.

Performances of Proposed Methods

61First, we examined the performances of the proposed Wiener and LMMSE methods using the local optimal reflectance dataset. Figure 6 shows the average root-mean-square errors (RMSEs) for the 24 color checkers as a function of the number K of the local optimal reflectances when the two methods were applied to the image data using the Apple iPhone 6s. In the figure, "L_Wiener" and "L_LMMSE" represent the local Wiener and LMMSE methods using the local optimal dataset in Sections 4.1 and 4.2, respectively, and "Wiener" and "LMMSE" represent the respective original methods using all data. Because Spectralon (Labsphere, North Sutton, NH, USA) was used as a white reference standard and was placed near the target samples. The cameras were placed close to the target, and the light sources were placed a little apart from the target. These positions are the same as 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 and L1-norm minimization.

62First, we examined the performances of the proposed Wiener and LMMSE methods using the local optimal reflectance dataset. Figure 6 shows the average root-mean-square errors (RMSEs) for the 24 color checkers as a function of the number K of the local optimal reflectances when the two methods were applied to the image data using the Apple iPhone 6s. In the figure, "L_Wiener" and "L_LMMSE" represent the local Wiener and LMMSE methods using the local optimal dataset in Sections 4.1 and 4.2, respectively, and "Wiener" and "LMMSE" represent the respective original methods using all data. Because the original methods use all the spectral reflectances in the database, the average RMSEs are constant values of 0.03537 and 0.03479 for the Wiener and LMMSE methods, respectively, independently of K. The average RMSE is calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers, i.e., Figure 6 clearly suggests that the estimation accuracies of L_Wiener and L_LMMSE approach the accuracies of the original methods as the number K of the local optimal reflectances used in the reflectance estimation increases. Based on our observations, the estimation improves as K decreases, as compared with the case in the original methods. In other words, the proposed methods are more effective for smaller K values. The results yielded by the Apple iPhone 6s are similar to those yielded by the mobile phone cameras, Apple iPhone 8, and Huawei P10 lite.

63Small values of K are preferred to simplify the estimation. Figures 7-9 depict the average RMSEs yielded by each of the four proposed methods for the 24-color checkers in the range of small K of 5-50, when applying the methods to the image data acquired using the Apple iPhone 6s, Apple iPhone 8, and Huawei P10 lite. The symbols Lp and Qp denote the linear programming and quadratic programming methods in Sections 4.3 and 4.4, respectively. As shown in each figure depicting the results of the mobile phone cameras, all the proposed methods in this range are significantly more accurate than the original Wiener and LMMSE methods. We disregarded the performance curves of the average RMSEs in the range of K < 5 owing to their instability. Among the proposed methods, the best one cannot be determined within this range. However, the quadratic programming method appears to be significantly better than the others, as its error in the large range of K for all cameras used remains low. As can be seen from Figures 7-9, the average RMSEs using Huawei P10 lite are significantly worse. We investigated this point, and found that, although the first part in the local optimal reflectance dataset (1) x , (2) x , ..., ( ) K x was the same for both Apple iPhones 6s and 8, the corresponding part selected for Huawei P10 lite was different from iPhones. This difference in the selected optimal dataset was reflected in the estimation results. This calculation was changed from the calculation presented in [13]. Figure 6 clearly suggests that the estimation accuracies of L_Wiener and L_LMMSE approach the accuracies of the original methods as the number K of the local optimal reflectances used in the reflectance estimation increases. Based on our observations, the estimation improves as K decreases, as compared with the case in the original methods. In other words, the proposed methods are more effective for smaller K values. The results yielded by the Apple iPhone 6s are similar to those yielded by the mobile phone cameras, Apple iPhone 8, and Huawei P10 lite.

64Small values of K are preferred to simplify the estimation. Figures 7-9 depict the average RMSEs yielded by each of the four proposed methods for the 24-color checkers in the range of small K of 5-50, when applying the methods to the image data acquired using the Apple iPhone 6s, Apple iPhone 8, and Huawei P10 lite. The symbols Lp and Qp denote the linear programming and quadratic programming methods in Sections 4.3 and 4.4, respectively. As shown in each figure depicting the results of the mobile phone cameras, all the proposed methods in this range are significantly more accurate than the original Wiener and LMMSE methods. We disregarded the performance curves of the average RMSEs in the range of K < 5 owing to their instability. Among the proposed methods, the best one cannot be determined within this range. However, the quadratic programming method appears to be significantly better than the others, as its error in the large range of K for all cameras used remains low. As can be seen from Figures 7-9, the average RMSEs using Huawei P10 lite are significantly worse. We investigated this point, and found that, although the first part in the local optimal reflectance dataset x (1) , x (2) , ..., x (K) was the same for both Apple iPhones 6s and 8, the corresponding part selected for Huawei P10 lite was different from iPhones. This difference in the selected optimal dataset was reflected in the estimation results. Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflectance for the 24 color checkers. The spectral curves of the 23 local optimal reflectances are Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflec- Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflec- Next, we comprehensively examined the estimation results for a specific spectral reflectance. The second patch among the color checkers represents light skin. We choose K = 23 as a representative value of K in the range 5-50. Suppose we use the image data of the iPhone 6s. Figures 10 and 11 show the estimation results for the second spectral reflectance for the 24 color checkers. The spectral curves of the 23 local optimal reflectances are shown in Figure 10, where the broken red curve represents the measured spectral reflectance x 2 . A set of spectral reflectances close to x 2 was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for x 2 are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method.

65J. Imaging 2023, 9, x FOR PEER REVIEW 13 of 20 shown in Figure 10, where the broken red curve represents the measured spectral reflectance 2

66x . A set of spectral reflectances close to 2 x was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for 2

67x are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method. x in 24 color checkers. Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance 2

68x . shown in Figure 10, where the broken red curve represents the measured spectral reflectance 2

69x . A set of spectral reflectances close to 2 x was selected from the database as the local optimal dataset. The spectral curves estimated using the four proposed methods for 2

70x are depicted in Figure 11, where the brown curves represent the spectral reflectances estimated via the original Wiener and LMMSE methods, and the two curves are overlapped and visually indistinguishable; the red curves represent the two estimates yielded by the proposed L_Wiener and L_LMMSE methods, and the blue curves represent the two estimates yielded by the proposed linear and quadratic programming methods based on the local optimal reflectances shown in Figure 10. In this case, the quadratic programming method achieved the best performance, although the estimated reflectance presented a spectral curve similar to that presented by the linear programming method. x in 24 color checkers. Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance 2

71x . Figure 11. Spectral curves estimated using the four proposed methods for spectral reflectance x 2 .

72Furthermore, it should be noted that the proposed methods based on the local optimal dataset increase obviously in computation time, in comparison with the direct Wiener and LMMSE methods based on the original dataset. All computations in experiments were executed using MATLAB (R2022b) on the PC of Panasonic CF-LX6 (Panasonic, Osaka, Japan). The average computation time for the direct Wiener and LMMSE methods was about 0.0045 s. Also, the computation time was compared using the L_Wiener method, L_LMMSE method, linear programming method, and quadratic programming method. The average computation times when using K = 23 local optimal reflectances were 0.1958, 0.1932, 0.5325, and 0.3425 s, respectively. The determination of the local optimal dataset in the first stage took a lot of time.

Local Optimal Reflectance Dataset

73We changed the selection of a local optimal reflectance dataset. Although we here proposed using the prediction error (y − gAx i ) for the observation, the previous adaptive Wiener estimation methods were based on the estimation error x all − x i [7,11]. The estimatex all was calculated using the original Wiener estimator based on all the spectral reflectances in the database. Subsequently, the local optimal spectral reflectances were selected based on (1) a similarity measure, e.g., the spectral angle, or (2) a distance measure, e.g., the MSE.

74First, we examined the spectral angle, which represents the spectral similarity between two vectors in a high-dimensional spectral space. In our case, the spectral angle θ is defined 1, 2, . . . , N). As θ i decreases, the two vectorsx all and x i become increasingly similar. The angles θ i for all reflectances were arranged in descending order, and the first K spectral reflectances were selected as the locally optimal dataset. However, the average RMSEs were greater than the error of the original Wiener estimator; in other words, the spectral angle did not yield the expected result.

75Second, we examined the MSE N). We calculated the estimatê x all by the Wiener and LMMSE estimators using all the reflectance data. The MSEs for all reflectances were arranged in ascending order, and the first K spectral reflectances were selected. Figure 12 shows a comparison of the average RMSEs for the 24-color checkers along with the results yielded by the proposed method shown in Figure 7, when using the iPhone 6s. In Figure 12,

Single RGB-Based Spectral Estimation

76Spectral reflectance estimation was often performed using RGB image data from a single-color camera instead of a multispectral imaging system, particularly in the trainingbased approach. This is because the imaging system is easy to use without modification and eliminates the need for camera spectral sensitivity functions. A broadband light source was preferred in the single RGB imaging system.

77Typical methods for efficiently determining reflectance estimates from local optimal training samples were (1) nonlinear expansion of RGB data and (2) introduction of weighting factors (see [16,22]). For (1), consider an example that [r g b] is expanded to We performed experiments for the single RGB-based spectral estimation based on method (2), where an incandescent lamp with the spectral power distribution shown in Figure 13 was used as a broadband light source. The experimental results are shown in Figure 14, where the RGB images for the 24-color checkers were acquired using the iPhone 6s. Because the camera spectral sensitivities were known in our case, we first predicted the camera outputs for each of the training reflectance samples as i i g = y Ax without capturing actual images; subsequently, we calculated an (n × K) reflectance matrix X and a (3

78Spectral reflectance estimation was often performed using RGB image data from a single-color camera instead of a multispectral imaging system, particularly in the trainingbased approach. This is because the imaging system is easy to use without modification and eliminates the need for camera spectral sensitivity functions. A broadband light source was preferred in the single RGB imaging system.

79Typical methods for efficiently determining reflectance estimates from local optimal training samples were (1) nonlinear expansion of RGB data and (2) introduction of weighting factors (see [16,22]). For (1), consider an example that [r g b] is expanded to 1 r g b r 2 g 2 b 2 rg gb br . Our experimental results suggested that the nonlinear expansion method did not perform well because of its instability. For (2), consider an example where inverse distances such as 1/ y − y i 2 2 1/2 (i = 1, 2, . . . , K) are applied to the local optimal reflectances as weighting coefficients.

80We performed experiments for the single RGB-based spectral estimation based on method (2), where an incandescent lamp with the spectral power distribution shown in Figure 13 was used as a broadband light source. The experimental results are shown in Figure 14, where the RGB images for the 24-color checkers were acquired using the iPhone 6s. Because the camera spectral sensitivities were known in our case, we first predicted the camera outputs for each of the training reflectance samples as y i = gAx i without capturing actual images; subsequently, we calculated an (n × K) reflectance matrix X and a (3 × K) observation matrix Y in the forms X = x (1) x (2) · · · x (K) and Y = gAX. We defined a (K × K) weighting matrix as

81where w ii = 1/ y − y i Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison.

82Based on the previous pseudo-inverse method (see [16,22]), the estimate x based on the local optimal dataset was calculated as ˆ, = x Qy (31) where

83The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison.

84Based on the previous pseudo-inverse method (see [16,22]), the estimate x based on the local optimal dataset was calculated as ˆ, = x Qy (31) where

85The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed Figure 14. Reflectance estimation results for single RGB-based spectral estimation, where RGB images for 24 color checkers were acquired using iPhone 6s. Pseudo_inv represents the average RMSEs yielded by the pseudo-inverse method using the weights as a function of the number of the selected local optimal reflectances. L_Wiener, L_MMSE, Lp, and Qp denote the proposed methods using the local optimal dataset without using the weights, respectively. Four spectral curves at bottom of the figure show the average RMSEs in Figure 7 reconstructed using a multispectral imaging system for comparison.

86Based on the previous pseudo-inverse method (see [16,22]), the estimatex based on the local optimal dataset was calculated aŝ

87where

88The symbol + denotes the pseudo-inverse of a matrix. The broken brown curve with Pseudo_inv in Figure 14 shows the average RMSEs obtained using the pseudo-inverse method as a function of the number of selected local optimal reflectances. The accuracy is similar to that of L_Wiener without using the weights presented in Section 4. A. In the figure, L_MMSE, Lp, and Qp denote the proposed LMMSE, linear programming, and quadratic programming methods for the single RGB images without using weights, respectively. In addition, the estimation accuracies of the linear and quadratic programming methods exceed those of L_Wiener and L_LMMSE.

89The four bold curves at the bottom of Figure 14 depict the average RMSEs in Figure 7 reconstructed using the multispectral imaging system for comparison. The multispectral imaging system is clearly superior to the single RGB imaging system. From the viewpoint of the estimation procedure, we should note that the statistical methods require the variance of the system noise, whereas mathematical programming methods do not require such statistical knowledge.

90Using the single-exposure method, there are other methods than using the local optimal dataset. Here, we applied two methods to the present problem and examined the performances; one was the interpolation method [35] and another was the weighted principal component analysis (PCA) method [36]. In the interpolation method, all spectral reflectances in the original database x i (i = 1, 2, . . . , N) were first mapped into the threedimensional RGB space by y i = gAx i , where four vertices with the RGB values defined a tetrahedron and the RGB space was partitioned by many different tetrahedrons. Next, we found a tetrahedron containing the observation y and estimated the RGB coordinates of y using the four vertices. This linear interpolation was applied to the corresponding four spectral reflectances in the database to obtain the reflectance estimate. The MATLAB function "delaunayTriangulation" was used for the tetrahedrization procedure.

91In the weighted PCA method, the spectra reflectances were represented as the weighted sum of three orthogonal basis functions. The basis functions are called the principal component vectors, which are obtained by the singular value decomposition of the original reflectance data matrix or the eigendecomposition of the data covariance matrix. We used the same weights as Equation (30) and the (N × N) weighting matrix W in Equation (29) was applied to the original data matrix.

92In experimental results for the interpolation method, we could not find suitable tetrahedrons for the 17th (green) and 19th (white) patches among the X-rite color checkers. This was because the coordinates of these patches were out of the gamut determined by the original reflectance database, which was a disadvantage of the interpolation method. The average RMSE except for the two patches was 0.0642. The average RMSE for 24 color patches using the weighted PCA method was 0.0629. For comparison, when we applied the Wiener method to the same RGB values of the observations y i (i = 1, 2, ..., 24), the average RMSE was 0.0618. Thus, both interpolation and weighted PCA methods were inferior to the Wiener method and also to any results shown in Figure 14. The reason for this may be that the interpolation and weighted PCA methods neglected the system noise.

Conclusions

93We have proposed a novel method to estimate the surface-spectral reflectance from camera responses using a local optimal reflectance dataset. The imaging system was a multispectral image acquisition system, where an RGB camera was used to capture multiple images of an object scene under multiple light sources with different illuminant spectra. The camera responses in the multispectral imaging system were described by combining the camera spectral sensitivities, surface-spectral reflectance, illuminant spectra, additive noise terms, and gain parameters.

94The proposed spectral estimation method was constructed in two stages. In the first stage, the local optimal reflectance dataset was selected as a set of the most reliable candidates for the optimal estimation of the spectral reflectance from the reflectance database. We predicted the observations of the camera responses for the respective spectral reflectances in the database, which were then compared with the camera responses observed from an actual object. The optimal reflectance dataset was selected so that the prediction error was minimized. In the second stage, the best reflectance was estimated using only the local optimal dataset. We proposed multiple estimation methods of two statistical methods using the Wiener and LMMSE estimators and two mathematical programming methods using linear and quadratic programming.

95Experiments were conducted using three mobile phone cameras, seven LED light sources, and a standard spectral reflectance database. First, we examined the performances of the proposed methods. All the proposed methods were significantly more accurate than the methods without using the local optimal reflectance dataset. In particular, the quadratic programming method performed much better than the other three methods. Next, we compared the proposed method with the previous methods. Our method, which involved selecting the local optimal reflectance dataset, is superior to the previous adaptive method. Additionally, we performed a comparison with the single RGB-based approach, the result of which demonstrated the superiority of the multispectral imaging approach.

96We point out that the proposed approach has good features. The estimation algorithm is simple and effective. A much smaller local optimal dataset consisting of about 20 reflectances among 1776 spectral reflectance data is enough to obtain the optimal estimates. Also, the mathematical programming methods based on linear and quadratic programming without requiring noise covariance enable simpler estimations.

97As the parameters of gain and noise are imaging condition dependent and multiple exposures are required, the present multispectral imaging system may not be easy to apply in open or uncontrolled illumination/lighting environments, such as the normal natural scene. Full development of an imaging system and spectral estimation method available in an open environment remains as future work.

참고문헌 31건

  1. 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
  2. Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
  3. Representation and estimation of spectral reflectances using projection on PCA and wavelet bases Color Research & Application · Wiley · 2008 10.1002/col.20442
  4. 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
  5. Recovering spectral data from natural scenes with an RGB digital camera and colored filters Color Research & Application · Wiley · 2007 10.1002/col.20339
  6. Color reproduction from low-SNR multispectral images using spatio-spectral Wiener estimation Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.004106
  7. Reconstruction of reflectance spectra using weighted principal component analysis Color Research & Application · Wiley · 2008 10.1002/col.20431
  8. Reflectance reconstruction for multispectral imaging by adaptive Wiener estimation Optics Express · Optica Publishing Group · 2007 10.1364/oe.15.015545
  9. Reconstruction of reflectance data using an interpolation technique Journal of the Optical Society of America A · Optica Publishing Group · 2009 10.1364/josaa.26.000613
  10. What is the space of spectral sensitivity functions for digital color cameras? 2013 10.1109/wacv.2013.6475015
  11. 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
  12. Multi- and Single-output Support Vector Regression for Spectral Reflectance Recovery 2012 10.1109/sitis.2012.121
  13. System design for accurately estimating the spectral reflectance of art paintings Applied Optics · Optica Publishing Group · 2000 10.1364/ao.39.006621
  14. 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
  15. 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
  16. 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
  17. 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
  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. Sequential adaptive estimation for spectral reflectance based on camera responses Optics Express · Optica Publishing Group · 2020 10.1364/oe.389614
  26. 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
  27. Measurement and Estimation of Spectral Sensitivity Functions for Mobile Phone Cameras Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21154985
  28. 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
  29. Least Absolute Deviations Birkhäuser Boston eBooks · 1984 10.1007/978-1-4684-8574-5
  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. Toward non-metameric reflectance recovery by emulating the spectral neighborhood using corresponding color information Journal of the Optical Society of America A · Optica Publishing Group · 2022 10.1364/josaa.451931