Spectral Reflectance Estimation from Camera Response Using Local Optimal Dataset and Neural Networks
간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (2) 샤무드(인공피혁)(24) 패션(코오롱FnC)
기본 정보
- 저자
- DOI
- 10.3390/jimaging10090222
- 저널
- Journal of Imaging
- 발행년도
- 2024
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/jimaging10090222
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4402366240
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 모빌리티 소재 · (3) 자동차 인테리어 소재
- 부 분야
- (2) 샤무드(인공피혁), (24) 패션(코오롱FnC)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- surface-spectral reflectance, camera response, neural network, color difference, RGB camera
- 판단 근거
- 본 논문은 카메라 응답을 통해 물체의 분광 반사율을 추정하는 알고리즘을 다루고 있습니다. 이는 자동차 인테리어 소재(3)나 패션 소재(24)의 색상 구현 및 품질 관리(Colorimetry)를 위한 광학적 분석 기법으로 응용될 수 있습니다.
- R&D 활용 포인트
- 자동차 내장재나 기능성 섬유의 색상 정밀 측정 및 품질 검사 공정에서 AI 기반의 비파괴 분광 분석 모델로 활용 가능합니다.
- 평가 입력
- 본문 48,558자 중 30,032자 발췌
초록
본문 48,558자
본문 펼치기
섹션 본문 135문단 · 46,039자
(제목 없음)
1In this study, a novel method is proposed to estimate surface-spectral reflectance from camera responses that combine model-based and training-based approaches.An imaging system is modeled using the spectral sensitivity functions of an RGB camera, spectral power distributions of multiple light sources, unknown surface-spectral reflectance, additive noise, and a gain parameter.The estimation procedure comprises two main stages: (1) selecting the local optimal reflectance dataset from a reflectance database and (2) determining the best estimate by applying a neural network to the local optimal dataset only.In stage (1), the camera responses are predicted for the respective reflectances in the database, and the optimal candidates are selected in the order of lowest prediction error.In stage (2), most reflectance training data are obtained by a convex linear combination of local optimal data using weighting coefficients based on random numbers.A feed-forward neural network with one hidden layer is used to map the observation space onto the spectral reflectance space.In addition, the reflectance estimation is repeated by generating multiple sets of random numbers, and the median of a set of estimated reflectances is determined as the final estimate of the reflectance.Experimental results show that the estimation accuracies exceed those of other methods.
Introduction
2Knowledge of the surface-spectral reflectances of objects is essential in fields such as color science, image science and technology, computer vision, and computer graphics.Therefore, issues in estimating the surface-spectral reflectances from camera responses have been studied alongside the development of cameras and imaging systems, leading to the proposal of numerous methods.Methods used to estimate the surface-spectral reflectances based on camera responses can be classified into two primary approaches: model-based approach [1][2][3][4][5][6][7][8][9][10][11][12][13][14] and training (or learning)-based approach .
3In the model-based approach, the camera responses are described using camera spectral sensitivities, surface-spectral reflectance, and illuminant spectral power distributions.This is the traditional and more commonly used approach and includes finite-dimensional modeling methods [1,3] and Wiener estimation methods [4][5][6][7][8][9][10][11][12].Wiener estimation methods are based on a statistical approach in which noise in the imaging system and a certain spectral reflectance statistic are considered.Linear minimum mean square error (LMMSE) [13] is an improved Wiener estimation method.Recently, a method [14] was proposed to estimate the surface-spectral reflectances from camera responses using a local optimal reflectance dataset, in which a spectral reflectance database was utilized to locally determine the candidates to optimally estimate the spectral reflectance.The best spectral reflectance was effectively estimated using only the local optimal dataset without using the entire spectral reflectance database.
4The training-based approach is typically constructed without knowledge of the camera spectral sensitivities and illuminant spectral distributions.Rather, it uses a large training dataset, which is a large table comprising a pair of camera responses and the corresponding spectral reflectances.Regression methods directly establish the relationship between RGB responses and spectral reflectances and include support vector regression [19,20], kernel regression [21,22], and linear regression [23,24].
5In recent years, neural networks have been used in reflectance estimation problems in many areas.In fact, material reflectance or albedo was estimated based on a neural network approach [28][29][30][31].A neural network approach was proposed for leaf chlorophyll and carotenoid estimation using hyperspectral reflectance [32].Soil organic carbon was predicted using VNIR spectroscopy employing neural network modeling [33].Material type recognition was considered based on IR reflectances and color images [34].
6Regarding spectral reflectance estimation, the use of neural networks has been considered to construct a map between the low-dimensional color signal space and higherdimensional spectral space [35][36][37], where a neural network model optimized to predict color reflectance for multiple coating products was demonstrated in [35], and a map between the CMYK color space and the spectral space using neural networks was proposed in [36].In [37], a neural network method to estimate spectral reflectance was applied to a dual imaging system with a color projector and color camera, where mapping was constructed between six-dimensional color signals and the spectral space.The neural network was then trained using numerous samples with known spectral reflectance, including the Munsell dataset and the 24 color checker dataset.
7In this study, we propose a novel method that combines model-and training-based approaches to improve the estimation accuracy of spectral reflectance from image data.The proposed method comprises two stages.The first stage is based on the model base, where the local optimal reflectance dataset is selected as a set of the most reliable candidates for reflectance estimation from a standard reflectance database.The second stage employs a training-based method, where the best estimate is determined by applying a neural network method to the selected local optimal dataset only.Our imaging system is a multispectral image acquisition system extended from a simple RGB system, in which an RGB camera captures multiple images of an object scene under multiple light sources with different illuminant spectra in the visible range.
8In the following, Section 2 describes the observation model for an image-acquisition system that uses an RGB camera and multiple light sources.We adopt a general model in which the camera responses are described by combining camera spectral sensitivities, illuminant spectral power distributions, unknown surface-spectral reflectance, additive noise terms, and a gain parameter.
9Section 3 describes the development of the proposed spectral estimation method.First, we describe the selection of the local optimal reflectance dataset.The actual camera responses for the target object are compared with the observations predicted from the respective spectral reflectances in the reflectance database.Prediction errors are calculated for all reflectances in the database, and the local optimal candidates for reflectance estimation are selected in the order of the lowest prediction error.Second, we determine the best reflectance using a neural network based only on a locally optimal dataset.A random convex linear combination of the local optimal dataset becomes the training data of reflectance for the neural network, and the network is trained to minimize the mean square error (MSE).An additional procedure is presented to obtain reliable reflectance estimates.
10Section 4 presents the experiments performed to validate the proposed methods for estimating the surface spectral reflectances.Various mobile phone cameras, LED light sources, a standard spectral reflectance database, and standard test samples are used in these experiments.The performance of the proposed method is examined in detail and compared with that of other methods.
11Section 5 discusses the relationship between the statistics of the random numbers used and estimation accuracy.
Observation Model
12The observation model of our image-acquisition system is shown in Figure 1 (see [14]).It was constructed using an RGB camera with three color channels (c = 1, 2, 3) and multiple light sources with L different illuminant spectra (l = 1, 2,..., L).Hence, we obtained m = 3L observations for a single target object.The observation y i of the camera outputs is expressed as follows:
13where x(λ) is the surface-spectral reflectance of the target object, e l (λ) (l = 1, 2, . .., L) represent the spectral power distribution of the light sources, r c (λ) (c = 1, 2, 3) denote the spectral sensitivity functions of the camera.The wavelength λ is in the visible range of 400-700 nm.The additive noise n i in the imaging system is assumed to be white noise with zero mean and variance a and is uncorrelated with x(λ).Here, y i represent the digital camera outputs, while x(λ), e l (λ), and r c (λ) are physical quantities.The coefficient g in Equation ( 1) is a gain parameter used to convert the model outputs to the practical digital output.The parameter g is unique to the imaging system and depends on the conditions of the imaging system, such as the locations of the camera and light sources, including illumination intensities.How to determine the noise variance a and the gain parameter g was shown in [13].
14Section 5 discusses the relationship between the statistics of the random numbers used and estimation accuracy.
15The observation model of our image-acquisition system is shown in Figure 1 (see [14]).It was constructed using an RGB camera with three color channels (c = 1, 2, 3) and multiple light sources with L different illuminant spectra (l = 1, 2,..., L).Hence, we obtained m = 3L observations for a single target object.The observation i y of the camera outputs is expressed as follows:
16where ()
17x is the surface-spectral reflectance of the target object, () l e (l = 1, 2, …, L) represent the spectral power distribution of the light sources, () c r (c = 1, 2, 3) denote the spectral sensitivity functions of the camera.The wavelength is in the visible range of 400-700 nm.The additive noise i n in the imaging system is assumed to be white noise with zero mean and variance a and is uncorrelated with ()
18x .Here, 1) is a gain parameter used to convert the model outputs to the practical digital output.The parameter g is unique to the imaging system and depends on the conditions of the imaging system, such as the locations of the camera and light sources, including illumination intensities.How to determine the noise variance a and the gain parameter g was shown in [13].The spectral functions of reflectance, illuminants, and sensitivities are sampled at n wavelength points with equal intervals in the range of 400-700 nm and described using ndimensional column vectors as follows:
19,
20where i = 1, 2, …, L and c = 1, 2, 3.The discrete representation of the observation model is expressed as
21where The spectral functions of reflectance, illuminants, and sensitivities are sampled at n wavelength points with equal intervals in the range of 400-700 nm and described using n-dimensional column vectors as follows:
22where i = 1, 2, . .., L and c = 1, 2, 3.The discrete representation of the observation model is expressed as
23where
24The symbol (.*), superscript t, and ∆λ represent element-wise multiplication, matrix transposition, and the wavelength sampling interval, respectively.Therefore, A is an (m × n) matrix defined by the illuminant spectra and spectral sensitivities, and n is an n-dimensional noise vector.
Selection of Local Optimal Reflectance Dataset
25Figure 2 shows the standard database of surface-spectral reflectance used in this study, which comprises Dupont spectral data, Munsell spectral data, and various object spectral data, including manmade objects such as papers, paints, and plastics, as well as natural objects such as rocks, leaves, skins, oranges, and apples.This database is available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024), which is a dataset of 1776 spectral reflectances.Let N D (1776) be the number of spectral reflectances in a database.All spectral curves are sampled at 61 (=n) points with 5 nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors x i (i = 1, 2,. . ., N D ).
26( )
27The symbol (.*), superscript t, and represent element-wise multiplication, matrix transposition, and the wavelength sampling interval, respectively.Therefore, A is an (m × n) matrix defined by the illuminant spectra and spectral sensitivities, and n is an ndimensional noise vector.
28Figure 2 shows the standard database of surface-spectral reflectance used in this study, which comprises Dupont spectral data, Munsell spectral data, and various object spectral data, including manmade objects such as papers, paints, and plastics, as well as natural objects such as rocks, leaves, skins, oranges, and apples.This database is available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024), which is a dataset of 1776 spectral reflectances.Let D N (1776) be the number of spectral reflectances in a database.All spec- tral curves are sampled at 61 (=n) points with 5 nm intervals in the visible range of 400-700 nm and represented by 61-dimensional column vectors First, the observations are predicted using Equation (3) as an i gAx for each spectral reflectance i x in the database.The prediction error for observation y is then calculated as follows:
29where norm
30• is defined as
31. Secondly, the prediction errors are arranged in ascending order as (1)
32( 2 ) ( )
33, and the corresponding spectral reflectances are (1) x , ( 2 )
34x , …, ()
35x .Finally, the first K spectral reflectances, (1) x , ( 2 )
36x , …, () K x are selected as local optimal candidates to estimate the spectral reflectance.First, the observations are predicted using Equation (3) as an gAx i for each spectral reflectance x i in the database.The prediction error for observation y is then calculated as follows:
37where norm ∥•∥ 2 2 is defined as ∥z∥ 2 2 = z 2 1 + z 2 2 + . . .+ z 2 m .Secondly, the prediction errors are arranged in ascending order as
38, and the corresponding spectral reflectances are x (1) , x (2) , . ..,x (N D ) .Finally, the first K spectral reflectances,x (1) , x (2) , . ..,x (K) are selected as local optimal candidates to estimate the spectral reflectance.
Determination of Reflectance Estimate Using Neural Network
39The best estimate is determined using a neural network based only on the local optimal dataset x (1) , x (2) , . . ., x (K) .
Making the Training Data
40The training data are a large table comprising a pair of spectral reflectances and corresponding observations.The training data for the spectral reflectance are composed of the original local optimal dataset obtained in Section 3.1 and the augmented data made by the convex linear combination of the local optimal dataset.Let N T be the number of training data and xi (i = 1,2,. .., N T ) be the spectral reflectance used for training.The spectral reflectances are described as where the scalar weighting coefficients are normalized as
41In particular, we make the coefficients using random numbers as
42where u i is the random number with a uniform distribution over [0, 1].Each component of the generated xi in ( 6) lies between 0 and 1.The corresponding training data for the observations are as follows:
43where n i is the m-dimensional noise vector, whose j-th element (n i ) j (j = 1, 2,. . . ,m) is assumed to be Gaussian white noise with zero mean and variance a.Therefore, we generate additive noise using the random number randn with a standard normal distribution as follows:
Network Architecture and Learning Procedure
44We use a simple feed-forward neural network with one hidden layer to construct a mapping from the observation space to the spectral reflectance space.Because the observation and reflectance spaces have mand n-dimensions, respectively, the network is constructed with a structure of m-N-n, as shown in Figure 3, where N indicates the number of units in the hidden layer.
45spectral reflectances are described as ),
46where the scalar weighting coefficients are normalized as 1 1, 0.
47In particular, we make the coefficients using random numbers as ( )
48where i u is the random number with a uniform distribution over [0, 1].Each component of the generated ˆi x in (6) lies between 0 and 1.The corresponding training data for the observations are as follows:
49)
50where i n is the m-dimensional noise vector, whose j-th element ( )
51assumed to be Gaussian white noise with zero mean and variance a.Therefore, we generate additive noise using the random number randn with a standard normal distribution as follows:
52( )
53We use a simple feed-forward neural network with one hidden layer to construct a mapping from the observation space to the spectral reflectance space.Because the observation and reflectance spaces have m-and n-dimensions, respectively, the network is constructed with a structure of m-N-n, as shown in Figure 3, where N indicates the number of units in the hidden layer.The spectral reflectance corresponding to the test observation data tdata test is predicted using the trained network, as follows:
54x est = sim(net, tdata test ).
Determining the Optimal Reflectance Estimate
55Because the augmented training data are generated using random numbers, the reflectance estimates predicted above for spectral reflectance may include outliers that differ significantly from the predictions.To improve the reliability of the reflectance estimation, the reflectance estimation is repeated, and then the median in a set of the estimated reflectances is determined as the final spectral reflectance.
xfin = median({x est })
56Suppose we repeat the estimation process R times.Let x j,(k) be the estimate of the j-th element of the n-dimensional vector x est in the k-th trial, arranged in ascending order as x j,(1) ≤ x j,(2) ≤ • • • ≤ x j,(R) .The final estimate after taking the median is then described for odd and even numbers of iterations R as follows:
57Figure 4 depicts the overall flow of the proposed method for estimating spectral reflectance in three steps.
Experimental Setup
58We performed experiments to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data.We used a mobile phone camera, LED light sources, a standard spectral reflectance database, and standard test samples.The mobile phone camera was an Apple iPhone 6s with iOS; to further confirm the validity of the different cameras, we additionally used an Apple iPhone 8 with iOS and a Huawei P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.
59We performed experiments to validate the superiority of the proposed method for estimating surface-spectral reflectance from image data.We used a mobile phone camera, LED light sources, a standard spectral reflectance database, and standard test samples.The mobile phone camera was an Apple iPhone 6s with iOS; to further confirm the validity of the different cameras, we additionally used an Apple iPhone 8 with iOS and a Huawei P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.
60P10 lite with Android OS. Figure 5 shows the relative RGB spectral sensitivity functions of the Apple iPhone 6s.The numerical data for the spectral sensitivities are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).Camera images were captured in a lossless raw image format in an Adobe digital negative format.The dark response was measured under dark conditions and was discarded from the camera output.The camera depth was 12 bits.The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 6.The standard spectral reflectance database used in the experiments is shown in Figure 2.An X-Rite Color Checker Passport Photo was used as the standard test target to validate the reflectance estimation.This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter.The illumination light sources were seven (L = 7) LED light sources, the spectral power distributions of which are shown in Figure 6.The standard spectral reflectance database used in the experiments is shown in Figure 2.An X-Rite Color Checker Passport Photo was used as the standard test target to validate the reflectance estimation.This target comprised 24 color checkers whose spectral reflectance values were measured using a spectral colorimeter.Spectralon was used as a white reference standard to investigate the statistical properties of this imaging system, which was placed near the target samples.The positions are similar to those in the previous paper [13].The parameters g and a of the gain and noise variance in the observation model, respectively, were determined using the calibration method in [13] based on the Spectralon data.
61Since neural network processing takes a lot of time, we used a PC equipped with an NVIDIA GeForce RTX Graphics Processing Unit (GPU).
Bacic Performance of Proposed Method
62In a previous study [14], we investigated the number K of local optimal reflectance candidates using different reflectance estimation methods and found that the appropriate K value was in the range of 5-50.Therefore, we set K = 25 in the current experiments and generated the training data based on the local optimal dataset ( )
63, ,..., x x x
64. The 600 augmented reflectance data were obtained by linear combinations of the 25 local optimal reflectances according to Equations ( 6)-( 8).Overall, we had 625 ( T N ) spectral re- flectances as training data.Matrix A was created using the spectral sensitivity functions shown in Figure 5 and the spectral distributions of the light sources shown in Figure 6.
65The corresponding training data for the observation ˆi y were made for the respective re- Spectralon was used as a white reference standard to investigate the statistical properties of this imaging system, which was placed near the target samples.The positions are similar to those in the previous paper [13].The parameters g and a of the gain and noise variance in the observation model, respectively, were determined using the calibration method in [13] based on the Spectralon data.
66Since neural network processing takes a lot of time, we used a PC equipped with an NVIDIA GeForce RTX Graphics Processing Unit (GPU).
67In a previous study [14], we investigated the number K of local optimal reflectance candidates using different reflectance estimation methods and found that the appropriate K value was in the range of 5-50.Therefore, we set K = 25 in the current experiments and generated the training data based on the local optimal dataset x (1) , x (2) , . . ., x (25) .The 600 augmented reflectance data were obtained by linear combinations of the 25 local optimal reflectances according to Equations ( 6)- (8).Overall, we had 625 (N T ) spectral reflectances as training data.Matrix A was created using the spectral sensitivity functions shown in Figure 5 and the spectral distributions of the light sources shown in Figure 6.
68The corresponding training data for the observation ŷi were made for the respective reflectance xi (i = 1,2,. .., 625).The locally optimal reflectance dataset and training data were determined for each test target sample.
69Our feedforward network had a structure of 21-80-61 in Figure 3, which was constructed with 21 inputs, 1 hidden layer of 80 units, and 61 outputs.The total number of reflectance and observation pairs in our dataset for each sample was 625.Of these, 550 were randomly selected for training the network, and the remaining 75 were used as validation data to investigate the proposed network method.Each pair of training data constituted the network input and output.One period in which the entire training dataset was presented was defined as an epoch.The training was iterated for as many epochs as necessary to reduce the MSE to an acceptable level.After eight epochs, the error in the validation data was sufficiently small.
70The observation data for each test sample were input into the learned neural network to obtain an estimate of the spectral reflectance x est .Furthermore, to improve the estimation accuracy, we repeated the learning and testing process 10 times and finally adopted the median in the estimated reflectance set {x est } as the final spectral reflectance estimate xfin .
71Figure 7 shows the estimation results of the above procedure for the 24 spectral reflectance of the X-Rite Checker.In the figure, two types of curves are compared: bold curves indicate the estimated spectral reflectances for the 24 color checkers, and broken curves indicate the directly measured spectral reflectances.The average root-mean-square error (RMSE) was calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers: bold curves indicate the estimated spectral reflectances for the 24 color checkers, and broken curves indicate the directly measured spectral reflectances.The average root-meansquare error (RMSE) was calculated as the root of the average of the squared norm of the estimation error per wavelength over the 24 color checkers:
72fin, 1
ˆÊ[RMSE] 61
73ii i=
74The average RMSE was 0.0173.The estimated spectral curves in Figure 7 were smoothed using moving-average processing.However, this process hardly changed the errors.Furthermore, the performance of the proposed method was compared with those of other well-known state-of-the-art methods for estimating spectral reflectance.The estimation accuracies of the six methods were investigated using the same reflectance database, camera data, and test samples described above.Figure 8 compares the average RMSEs between the proposed method and the other methods, where the symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener, (2) original LMMSE [13], (3) local Wiener, (4) local LMMSE, (5) linear programming, and (6) quadratic programming [14], respectively.The local optimal dataset was used in Methods ( 3)-( 6).The estimation accuracy of the proposed method is The average RMSE was 0.0173.The estimated spectral curves in Figure 7 were smoothed using moving-average processing.However, this process hardly changed the errors.
75Furthermore, the performance of the proposed method was compared with those of other well-known state-of-the-art methods for estimating spectral reflectance.The estima-tion accuracies of the six methods were investigated using the same reflectance database, camera data, and test samples described above.Figure 8 compares the average RMSEs between the proposed method and the other methods, where the symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener, (2) original LMMSE [13], (3) local Wiener, (4) local LMMSE, (5) linear programming, and (6) quadratic programming [14], respectively.The local optimal dataset was used in Methods ( 3)-( 6).The estimation accuracy of the proposed method is significantly superior, although the RMSEs of ( 3)-( 6) vary slightly depending on the number of local optimal reflectance candidates K. (2) original LMMSE [13], (3) local Wiener [14], (4) local LMMSE [14], (5) linear programming [14], and (6) quadratic programming [14], respectively.
Effectiveness of Local Optimal Reflectance Dataset
76To confirm the effectiveness of the local optimal reflectance dataset in estimating spectral reflectance, we examined several reflectance estimation methods without using the local optimal dataset and with only a neural network.All the data in the standard spectral reflectance database were used without selection.
77First, by making the network structure multilayered and large-scale, complex mapping becomes possible to ensure that the estimation accuracy can be improved, even if learning takes a long time.Based on this idea, we constructed networks with three hidden layers with two types of structures: (1) 21-30-30-30-61 and (2) 21-30-40-50-61.The total number of training datasets was 1776; of these, 1576 reflectances were used for network training, and 200 reflectances were used for validation.The average RMSE after 10 epochs was 0.033003 and 0.0300666 for (1) and (2), respectively.Figure 9 shows the results estimated by network method (2) for the 24 spectral reflectances of the color checker.The estimation accuracy is significantly worse than the results in Section 4.2.(5) linear programming [14], and (6) quadratic programming [14], respectively.
78To confirm the effectiveness of the local optimal reflectance dataset in estimating spectral reflectance, we examined several reflectance estimation methods without using the local optimal dataset and with only a neural network.All the data in the standard spectral reflectance database were used without selection.
79First, by making the network structure multilayered and large-scale, complex mapping becomes possible to ensure that the estimation accuracy can be improved, even if learning takes a long time.Based on this idea, we constructed networks with three hidden layers with two types of structures: (1) 21-30-30-30-61 and (2) 21-30-40-50-61.The total number of training datasets was 1776; of these, 1576 reflectances were used for network training, and 200 reflectances were used for validation.The average RMSE after 10 epochs was 0.033003 and 0.0300666 for (1) and (2), respectively.Figure 9 shows the results estimated by network method (2) for the 24 spectral reflectances of the color checker.The estimation accuracy is significantly worse than the results in Section 4.2.
80Next, we considered improving the estimation accuracy by increasing the amount of training data.Additional spectral reflectances were obtained by augmentation with a convex linear combination of the original reflectance data.We randomly selected 10 reflectances from the original dataset and augmented the data using a convex linear combination of these, where the weighting coefficients were normalized to satisfy Equation (7).Among the data, 4000 reflectances were used for network training, and 200 reflectances were used for validation.The network structure was 21-30-30-30-61.In this third case (3), the average RMSE after 10 epochs was 0.031144.
81Thus, we see that the local optimal reflectance dataset is crucial for estimating the spectral reflectance.
Figure 9.
82Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.
83Next, we considered improving the estimation accuracy by increasing the amount of training data.Additional spectral reflectances were obtained by augmentation with a convex linear combination of the original reflectance data.We randomly selected 10 reflectances from the original dataset and augmented the data using a convex linear combination of these, where the weighting coefficients were normalized to satisfy Equation (7).Among the data, 4000 reflectances were used for network training, and 200 reflectances were used for validation.The network structure was 21-30-30-30-61.In this third case (3), the average RMSE after 10 epochs was 0.031144.
84Thus, we see that the local optimal reflectance dataset is crucial for estimating the spectral reflectance.
Validity to Different Cameras
85The performance evaluation described above was based on a single mobile phone camera, iPhone 6s.To further confirm the validity of the different cameras, we used an Apple iPhone 8 with iOS and Huawei P10 lite with Android OS.The spectral sensitivity function data for these cameras are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).The LED light sources, spectral reflectance database, and test samples of the 24 color checkers were the same as those shown in Section 4.1.Parameters g and a in the observation model were determined using the same calibration method.
86The 24 spectral reflectances of the X-Rite Color Checker were estimated based on the proposed method using observations from each camera, and the estimation accuracy was validated through comparison with other methods.The average RMSEs were 0.0144 and 0.0281 for Phone 8 and Huawei P10 lite, respectively.The estimation error increased when a Huawei camera was used.Figures 10 and 11 compare the average RMSEs between the proposed method and the six other methods for the iPhone 8 and Huawei P10 lite, respectively.The estimation accuracies of the proposed method are overwhelmingly superior for both cameras, as demonstrated in the iPhone 6s.Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.
87The performance evaluation described above was based on a single mobile phone camera, iPhone 6s.To further confirm the validity of the different cameras, we used an Apple iPhone 8 with iOS and Huawei P10 lite with Android OS.The spectral sensitivity function data for these cameras are available at http://ohlab.kic.ac.jp/ (accessed on 1 July 2024).The LED light sources, spectral reflectance database, and test samples of the 24 color checkers were the same as those shown in Section 4.1.Parameters g and a in the observation model were determined using the same calibration method.
88The 24 spectral reflectances of the X-Rite Color Checker were estimated based on the proposed method using observations from each camera, and the estimation accuracy was validated through comparison with other methods.The average RMSEs were 0.0144 and 0.0281 for Phone 8 and Huawei P10 lite, respectively.The estimation error increased when a Huawei camera was used.Figures 10 and 11 compare the average RMSEs between the proposed method and the six other methods for the iPhone 8 and Huawei P10 lite, respectively.The estimation accuracies of the proposed method are overwhelmingly superior for both cameras, as demonstrated in the iPhone 6s.
Relationship between the Statistics of Random Numbers and Estimation Accuracy
89Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.
90The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:
91where
92x are the local optimal reflectances and i u are independent and identically dis- tributed random numbers with 0 i u .Let and u be the standard deviation and mean of i u , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as
93Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.
94The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:
95where
96x are the local optimal reflectances and i u are independent and identically dis- tributed random numbers with 0 i u .Let and u be the standard deviation and mean of i u , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as
97Most training data for spectral reflectance are augmented data generated by a linear combination of local optimal datasets.The weighting coefficients are calculated using random numbers.Therefore, the final spectral reflectance estimates are affected by the statistics of the random numbers used.
98The augmented spectral reflectances defined in Equations ( 6)-( 8) are rewritten as follows:
99where x (i) are the local optimal reflectances and u i are independent and identically distributed random numbers with u i > 0. Let σ and u be the standard deviation and mean of u i , respectively.The coefficient of variation Cv is then defined as the standard deviation divided by the mean as
100This measure is a statistical index showing the relative variation of the random numbers.Let us calculate Cv for specific distributions of random numbers.(a) When u i following a uniform distribution over [0, 1], Cv = 1 √ 3 .
101(b) When u i following a chi-square (χ 2 ) distribution with one degree of freedom, Cv = √ 2. In case (b), the variation is √ 6 times larger than that in case (a).Because the coefficient of variation differs depending on the distribution of the random numbers, it is likely to affect the final estimation accuracy of the spectral reflectance.Therefore, in addition to the above experiments using uniform random numbers, we conducted experiments on spectral reflectance estimation using random numbers with a chi-square distribution and compared the estimation accuracies in both cases.Table 1 compares the average RMSEs of the reflectance estimation using random numbers with two different distributions and three different cameras.The training data for spectral reflectance based on uniform random numbers with smaller Cv are superior in terms of estimation accuracy.
Evaluation by Color Difference
102In this study, RMSE is mainly used for evaluating the accuracy of reflectance estimation.To make clear to what extent the deviation in the estimated reflectances is visible to the human eye, color difference rather than the RMSE of spectral difference may be useful.Therefore, we calculated CIEDE2000 values between the estimated reflectances and directly measured spectral reflectances for the 24 color checkers.
103Table 2 compares the average RMSEs and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE [13], the quadratic programming using local optimal reflectance dataset [14], and the proposed method.The were computed based on the spectral differences between estimated reflectances and directly measured spectral reflectances for the 24 color checkers, and the CIE DE2000s were calculated based on the color differences under CIE D65 light between estimated reflectances and directly measured spectral reflectances for the 24 color checkers.
Conclusions
104In this study, we have proposed a novel method that combines model-based and training-based approaches to improve the estimation accuracy of surface-spectral reflectance from the camera response to an object surface.A multispectral image acquisition system was modeled in the visible wavelength range using three spectral functions: the spectral sensitivities of an RGB camera, spectral power distributions of multiple LED light sources, and unknown surface-spectral reflectance.Camera response was described as a generalized linear model that includes additive noise and a gain parameter.
105The proposed method comprised two main stages: the first stage was based on the model base, where the local optimal reflectance dataset was selected as the most reliable candidate set from a standard reflectance database, and the second stage was based on the training-based method, where the best estimate was determined by applying a neural network method to the selected local optimal dataset only.
106In the first stage, the camera response observations were predicted for the respective reflectances in the database, and the local optimal candidates were selected in the order of the lowest error between the real observation and prediction.In the second stage, the training data for spectral reflectances consisted of the original locally optimal dataset and augmented data generated by a convex linear combination of this dataset, with weighting coefficients derived from random numbers.A simple feedforward neural network with one hidden layer was used to construct the mapping from the low-dimensional observation space using the camera response to the high-dimensional spectral reflectance space.
107The neural network was trained to minimize MSE.To further improve the reliability of the estimate, the reflectance estimation was repeated, and the median in a set of estimated reflectances was determined as the final spectral reflectance.
108Experiments were conducted using 3 mobile phone cameras, 7 LED light sources, a standard spectral reflectance database with 1776 reflectances, and 24 color checkers.The performance of the proposed method was examined in detail.We investigated estimation methods based on a neural network using the entire database without selection and confirmed the effectiveness of the local optimal reflectance dataset.We demonstrated that the estimation accuracies of the proposed method exceed those of the other methods.Furthermore, we discussed the statistics of the random numbers used, which affects the estimation accuracy.
109The strength of the proposed method is its outstanding estimation accuracy.However, the computation time for the current approach is long.When using a laptop computer equipped with an NVIDIA GeForce RTX GPU, it took about 25 h to obtain the estimation results for 24 color checkers after repetition of the learning and testing process 10 times.A key challenge for the future is reducing the computation time required for obtaining estimation results, which is heavily dependent on the processing speed of the computer used.
110digital camera outputs, while () x , () l e , and () c r are physical quantities.The coef- ficient g in Equation (
Figure 1 .
111Figure 1.Conceptual diagram of our image acquisition system [14].
112Figure 1.Conceptual diagram of our image acquisition system [14].
Figure 2 .
113Figure 2. Database of surface-spectral reflectance.
114Figure 2. Database of surface-spectral reflectance.
Figure 3 .
115Figure 3. Architecture of the feedforward neural network with a structure of m-N-n.Figure 3. Architecture of the feedforward neural network with a structure of m-N-n..
116Figure 3. Architecture of the feedforward neural network with a structure of m-N-n.Figure 3. Architecture of the feedforward neural network with a structure of m-N-n..The MATLAB machine learning functions are used to construct the network [38].Network training is performed using the following: net = feedforwardnet(N), net = train(net, xdata, tdata), where xdata and tdata indicate the training dataset and corresponding target (output) dataset, respectively, which have the following forms: xdata = [xdata train , xdata val , xdata test ], tdata = [tdata train , tdata val , tdata test ] The entire training data of spectral reflectances xi (i = 1, 2, . . ., N T ) are segmented randomly into xdata train for the network training and xdata val for validation.In the same way, the entire training data of the corresponding observations ŷi (i = 1, 2, . . ., N T ) are segmented into tdata train and tdata val .The training algorithm is based on the Levenberg-Marquardt method, and the training is iterated to reduce the MSE to an acceptable level.
117J. Imaging 2024, 10, x FOR PEER REVIEW 7 of 16
Figure 4 .
118Figure 4. Overall flow of the proposed method for estimating spectral reflectance in three steps.
119Figure 4. Overall flow of the proposed method for estimating spectral reflectance in three steps.
Figure 5 .
120Figure 5. Relative RGB spectral sensitivity functions of the Apple iPhone 6s [14].
121Figure 5. Relative RGB spectral sensitivity functions of the Apple iPhone 6s [14].
J 16 Figure 6 .
122Figure 6.Spectral power distributions of seven LED light sources used in current experiments [14].
Figure 6 .
123Figure 6.Spectral power distributions of seven LED light sources used in current experiments [14].
Figure 7 .
124Figure 7. Estimation results of the spectral reflectances for the 24 color checkers when applying the proposed method to the observations using the iPhone 6s.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.
125Figure 7. Estimation results of the spectral reflectances for the 24 color checkers when applying the proposed method to the observations using the iPhone 6s.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.
J 16 Figure 8 .
126Figure 8.Comparison of the average RMSEs between the proposed method and the other methods.The symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener [13],(2) original LMMSE[13], (3) local Wiener[14], (4) local LMMSE[14], (5) linear programming[14], and (6) quadratic programming[14], respectively.
Figure 8 .
127Figure 8.Comparison of the average RMSEs between the proposed method and the other methods.The symbols of Wiener, LMMSE, L_Wiener, L_LMMSE, Lp, and Qp represent the six estimation methods of (1) original Wiener [13], (2) original LMMSE [13], (3) local Wiener [14], (4) local LMMSE [14],(5) linear programming[14], and (6) quadratic programming[14], respectively.
Figure 9 .
128Figure 9. Estimation results of the spectral reflectances for the 24 color checkers when applying the network method (2) to the observations using the iPhone 6s without using the local optimal dataset.The bold and broken curves indicate, respectively, the estimated and directly measured spectral reflectances for the 24 color checkers.
Figure 10 .
129Figure 10.Comparison of the average RMSEs between the proposed method and the other methods when using iPhone 8.
Figure 11 .
130Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.
Figure 10 . 16 Figure 10 .
131Figure 10.Comparison of the average RMSEs between the proposed method and the other methods when using iPhone 8.
Figure 11 .
132Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.
133Figure 11.Comparison of the average RMSEs between the proposed method and the other methods when using Huawei P10 lite.
Table 1 .
134Comparison of the average RMSEs in reflectance estimation when using random numbers with two different distributions and using three different cameras.
Table 2 .
135Comparison of the average RMSE and the (average, median, 90% percentile) CIEDE2000 values between the three different methods of the original LMMSE, the quadratic programming, and the proposed method.
참고문헌 37건
- Training-Based Spectral Reconstruction from a Single RGB Image Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10584-0_13
- 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
- Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
- Representation and estimation of spectral reflectances using projection on PCA and wavelet bases Color Research & Application · Wiley · 2008 10.1002/col.20442
- 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
- Recovering spectral data from natural scenes with an RGB digital camera and colored filters Color Research & Application · Wiley · 2007 10.1002/col.20339
- Color reproduction from low-SNR multispectral images using spatio-spectral Wiener estimation Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.004106
- Reflectance reconstruction for multispectral imaging by adaptive Wiener estimation Optics Express · Optica Publishing Group · 2007 10.1364/oe.15.015545
- 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
- Multi- and Single-output Support Vector Regression for Spectral Reflectance Recovery 2012 10.1109/sitis.2012.121
- System design for accurately estimating the spectral reflectance of art paintings Applied Optics · Optica Publishing Group · 2000 10.1364/ao.39.006621
- 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
- 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
- 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
- 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
- Advances in Neural Networks – ISNN 2012 Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-31346-2
- Sparse Recovery of Hyperspectral Signal from Natural RGB Images Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46478-7_2
- 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
- Optimized method for spectral reflectance reconstruction from camera responses Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.028273
- Noise segmentation for improving performance of Wiener filter method in spectral reflectance estimation Color Research & Application · Wiley · 2018 10.1002/col.22200
- 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
- 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
- Spectra estimation from raw camera responses based on adaptive local-weighted linear regression Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.005165
- Spectral reflectance reconstruction with the locally weighted linear model Optical and Quantum Electronics · Springer Science+Business Media · 2019 10.1007/s11082-019-1887-8
- IR surface reflectance estimation and material type recognition using two-stream net and kinect camera 2019 10.1145/3306214.3338557
- Sequential adaptive estimation for spectral reflectance based on camera responses Optics Express · Optica Publishing Group · 2020 10.1364/oe.389614
- 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
- Single-Shot Neural Relighting and SVBRDF Estimation Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-58529-7_6
- Soil Organic Carbon Prediction using Visible–Near Infrared Reflectance Spectroscopy Employing Artificial Neural Network Modelling Current Science · Indian Academy of Sciences · 2020 10.18520/cs/v119/i2/377-381
- 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
- A convolution neural network for forest leaf chlorophyll and carotenoid estimation using hyperspectral reflectance International Journal of Applied Earth Observation and Geoinformation · Elsevier BV · 2022 10.1016/j.jag.2022.102719
- 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
- A Neural Network Approach to Estimating Color Reflectance with Product Independent Models Lecture notes in computer science · Springer Science+Business Media · 2022 10.1007/978-3-031-15934-3_66
- Spectral Reflectance Estimation from Camera Responses Using Local Optimal Dataset Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2023 10.3390/jimaging9020047
- CRefNet: Learning Consistent Reflectance Estimation With a Decoder-Sharing Transformer IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tvcg.2023.3337870
- MatTrans: Material Reflectance Property Estimation of Complex Objects with Transformer Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-981-97-2095-8_11
- Reflectance estimation for proximity sensing by vision-language models: utilizing distributional semantics for low-level cognition in robotics Advanced Robotics · Taylor & Francis · 2024 10.1080/01691864.2024.2393408