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

Spectral Filter Selection Based on Human Color Vision for Spectral Reflectance Recovery

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

기본 정보

저자
  1. Shijun Niu — Faculty of Light Industry, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250353, China
  2. Guangyuan Wu — Faculty of Light Industry, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250353, China
  3. Xiaozhou Li — State Key Laboratory of Biobased Material and Green Papermaking, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250353, China
DOI
10.3390/s23115225
저널
Sensors
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s23115225
토픽
Color Science and Applications
OpenAlex ID
W4378908814

평가 내용

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

초록

Spectral filters are an important part of a multispectral acquisition system, and the selection of suitable filters can improve the spectral recovery accuracy. In this paper, we propose an efficient human color vision-based method to recover spectral reflectance by the optimal filter selection. The original sensitivity curves of the filters are weighted using the LMS cone response function. The area enclosed by the weighted filter spectral sensitivity curves and the coordinate axis is calculated. The area is subtracted before weighting, and the three filters with the smallest reduction in the weighted area are used as the initial filters. The initial filters selected in this way are closest to the sensitivity function of the human visual system. After the three initial filters are combined with the remaining filters one by one, the filter sets are substituted into the spectral recovery model. The best filter sets under L-weighting, M-weighting, and S-weighting are selected according to the custom error score ranking. Finally, the optimal filter set is selected from the three optimal filter sets according to the custom error score ranking. The experimental results demonstrate that the proposed method outperforms existing methods in spectral and colorimetric accuracy, which also has good stability and robustness. This work will be useful for optimizing the spectral sensitivity of a multispectral acquisition system.

본문 61,220자

본문 펼치기
# _sensors_ _Article_ ## Spectral Filter Selection Based on Human Color Vision for Spectral Reflectance Recovery Shijun Niu <sup>1</sup> , Guangyuan Wu <sup>1,</sup> * and Xiaozhou Li <sup>2</sup> 1 Faculty of Light Industry, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250353, China; 10431210990@stu.qlu.edu.cn 2 State Key Laboratory of Biobased Material and Green Papermaking, Qilu University of Technology (Shandong Academy of Sciences), Jinan 250353, China; xzl@qlu.edu.cn * Correspondence: wuguangyuan@qlu.edu.cn Abstract: Spectral filters are an important part of a multispectral acquisition system, and the selection of suitable filters can improve the spectral recovery accuracy. In this paper, we propose an efficient human color vision-based method to recover spectral reflectance by the optimal filter selection. The original sensitivity curves of the filters are weighted using the LMS cone response function. The area enclosed by the weighted filter spectral sensitivity curves and the coordinate axis is calculated. The area is subtracted before weighting, and the three filters with the smallest reduction in the weighted area are used as the initial filters. The initial filters selected in this way are closest to the sensitivity function of the human visual system. After the three initial filters are combined with the remaining filters one by one, the filter sets are substituted into the spectral recovery model. The best filter sets under L-weighting, M-weighting, and S-weighting are selected according to the custom error score ranking. Finally, the optimal filter set is selected from the three optimal filter sets according to the custom error score ranking. The experimental results demonstrate that the proposed method outperforms existing methods in spectral and colorimetric accuracy, which also has good stability and robustness. This work will be useful for optimizing the spectral sensitivity of a multispectral acquisition system. Keywords: multispectral acquisition system; filter selection; spectral recovery; human color vision; weighted area selection; custom error score ranking Citation: Niu, S.; Wu, G.; Li, X. Spectral Filter Selection Based on Human Color Vision for Spectral Reflectance Recovery. _Sensors_ 2023, _23_, 5225. [https://doi.org/](https://doi.org/10.3390/s23115225) [10.3390/s23115225](https://doi.org/10.3390/s23115225) Academic Editor: Federico Angelini Received: 30 March 2023 Revised: 25 May 2023 Accepted: 27 May 2023 Published: 31 May 2023 Copyright: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license [(https://](https://creativecommons.org/licenses/by/4.0/) [creativecommons.org/licenses/by/](https://creativecommons.org/licenses/by/4.0/) 4.0/). 1. Introduction Over the last few decades, multispectral imaging technology has been widely used because it solves the “metameric issues” problem of a traditional three-color digital imaging camera and realizes the real recording of spectral information on the surface of objects. This technology has been gradually applied in museums, art galleries, computer graphics, spectral detection, etc. [1–6]. One of the most important components in a multispectral acquisition system is the set of optical filters that allows for acquisition in different bands of the visible light spectrum. The selection of a specific filter set from a given filter space clearly affects the accuracy of spectral recovery. Although using more filters usually improves the accuracy of the spectral recovery, it also increases the operational complexity, image acquisition time, and data volume accordingly. Therefore, some scholars have conducted a significant amount of research on how to achieve the optimal selection of filters. Filter set optimization has already been studied in some cases, but there are still many problems to be solved [7–11]. Some scholars have designed filters with optimal spectral sensitivity in theory based on specific optimization criteria [12–15]. However, the comprehensive effect of the optical path, light source, and sensor spectral characteristics makes the design process more complex. At the same time, the actual filter does not guarantee that the theoretically designed optimal filter has exactly the same spectral sensitivity. Another option is to select the best filter from the available filters. This exhaustive method is _Sensors_ 2023, _23_, 5225 2 of 23 practical when the total number of filters are small. However, with the increase of the total number of filters to be selected, the computational complexity of the exhaustive method increases dramatically, which makes it inapplicable [16]. With extensive research, multispectral filters no longer simply rely on empirical methods to select filter compositions. The filter vector analysis method (FVAM) [17] is a commonly used method for filter selection. Hardeberg first used the maximum linear independence (MLI) [18] method to select the spectral training set, and since then Li has applied it to filter selection [19]. The selection principle of the MLI method is that the transmission matrix of the selected filter set has the smallest number of conditions. The transmission vector maximization orthogonal method (MaxOr) [20] involves selecting the filter with the largest transmission vector norm as the preferred filter, and then using each filter to form the transmission space and select the filter set with the largest transmission space orthogonality. The linear distance maximization method (LDMM) [21] uses the linear distance between filter sensitivity vectors as the only criterion for selecting filter sets. FVAM directly selects filters to form filter sets by the mathematical properties of filter sensitivity curves, which is simple and time-saving, and the stability of the selecting results is better than that of the empirical method. However, the above method does not consider other parameters in a multispectral imaging system, such as the spectral distribution of the light source (SPD), the spectral sensitivity of the camera, and the characteristics of the imaging scene [16,22]. This leads to the fact that although the filter chosen by FVAM can guarantee the effectiveness of the first channel response of the multispectral camera, it is difficult to satisfy the optimization requirements of the whole system. Therefore, it is necessary to develop an optimized filtering method that integrates other factors in a multispectral imaging system and selects filter sets based on the spectral recovery effect and colorimetric accuracy of each group as a reference. In response to the problems of the above study, a filter selection method combining weighted area selection and custom error score ranking is proposed in this paper. The method can be divided into two parts: 1. The original sensitivity curve of the filter is weighted by the LMS cone response function. The area reduction rate of the filter before and after weighting is calculated, and the minimum area reduction rate is selected. The initial filters selected in this way are closest to the sensitivity function of the human visual system. 2. The three initial filters are combined with the remaining filters one by one, and each combination is substituted into the spectral reconstruction model to obtain the recovery results of the whole imaging system. The respective optimal filter sets under L-weighting, M-weighting, and S-weighting are selected according to the customized minimum recovery error, and then the optimal filter set is selected from the three optimal filter sets by comparing the error set scores. The innovation of the paper is to use the human visual system weighting in the filter vector analysis process so that the selected filters are closest to the human eye sensitivity curve. Other factors are integrated into the multispectral imaging system, and the filter sets are selected according to the spectral recovery effect and chromatic accuracy of each group. 2. Materials and Methods Spectral recovery needs to simulate the camera response process. This spectral imaging model is suitable for any known camera response process with spectral sensitivity. The multispectral imaging model can be described by Formula (1): _Pi_ = - 700 400 <sup>_E_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Rj_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_Qi_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>+</sup> <sup>_Ni_</sup> <sup>,</sup> (1) where _Pi_ is the response value of the _i_ th channel of the sensor, _E_ ( _λ_ ) is the illumination spectral power distribution (SPD) for each wavelength, _Rj_ ( _λ_ ) is the spectral reflectance of _Sensors_ 2023, _23_, 5225 3 of 23 sample _j_, _Qi_ ( _λ_ ) is the spectral sensitivity of the _i_ th channel of the sensor, _λ_ is the wavelength, and the sampling range is 400–700 nm, _Ni_ is the noise of the digital camera. According to Liang’s study [23], in order to simplify the calculation, the imaging model used in this paper does not consider the noise of the camera and assume that the illumination are equal power distribution. Formula (1) can be expressed in matrix form: _P_ = _M · R_, (2) where _P_ is the responses matrix, _M_ is the overall spectral sensitivity function matrix of the multispectral imaging system including the product of the matrix form of _E_ ( _λ_ ), _Rj_ ( _λ_ ) and _Qi_ ( _λ_ ), and _R_ is the original spectral reflectance matrix. Spectral recovery is a process of obtaining high-dimensional spectral reflectance with low-dimensional response values. There are various spectral recovery methods, such as the most common pseudo-inverse methods [24,25], principal component analysis methods [26], compressive sensing [27,28], Wiener estimation methods [29], and other methods [30–34]. This method used in this paper is the pseudo-inverse method, which can be expressed by Formula (3): _· P_ (3) _R_ = - _M_ <sup>_T_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> where ‘ _T_ ’ is the transposition of the matrix, and ‘ _−_ 1’ represents the inverse operation of the matrix. The pseudo-inverse method is used for spectral recovery. Firstly, the transformation matrix is calculated by training samples, and then the spectral reflectance of the testing sample is recovered by the transformation matrix of the known camera response. 3. The Proposed Method In this section, the flow chart of the proposed filter selection method is shown in Figure 1. The root mean square error (RMSE), goodness of fit coefficient (GFC), and color difference (∆ _E_ ) are used to evaluate the spectral recovery effect of the selected filter set. Figure 1. Filter selection operation schematic chart. This selection method can be divided into four main processes: weighted area selection, exhaustive combination, multispectral recovery, and custom error score ranking. Figure 1a of the flowchart is the first step of the operational process, where the original filters are weighted using the LMS cone response function. The three filters that select the _Sensors_ 2023, _23_, 5225 4 of 23 best match to the LMS cone response function of the human vision system are selected as the initial filters, which are based on the morphological and mathematical characteristics of the spectral sensitivity curves of the weighted filters. This process requires the calculation of the filter area reduction rate and the selection of the initial filters based on the area reduction rate. Figure 1b of the flowchart shows the second step of the operational process, in which the remaining filters are exhaustively combined with the initial filters one by one after the initial filters are identified. This step is an iterative process. When selecting the filters for the next channel, the L-weighted filter set, the M-weighted filter set, and the S-weighted filter set that performed best in the previous selecting process are used as the initial filter set, respectively. The remaining filters are combined with the initial filter set one by one in an exhaustive manner. Figure 1c of the flowchart is the third step of the operation flow. The third step is to recover the spectra of each group of filter combinations generated by the exhaustive method in the second step one by one, and to derive the recovery error and chromaticity error of each group of filters. Figure 1d of the flowchart is the first step of the operational process, and the optimal filter sets under L-weighted, M-weighted and S-weighted are selected according to the custom recovery error ranking. The optimal filter sets from the three optimal filter sets are selected by comparing the custom error score ranking. When the number of channels increases, the respective optimal filter sets under L-weighted, M-weighted and S-weighted are exhaustively combined with the remaining filters, and the second step is repeated according to the number of channels until the number of filters in the selected filter set equals the number of channels. _3.1._ _Weighted Area Selection_ There are three distinct photoreceptor cells on the retina of the human eye. The three optic cones are called _L_, _M_, and _S_ cones because they roughly correspond to the long, medium, and short wavelength range of the visible spectrum. In this paper, the filter is weighted by _L_, _M_, and _S_ to better match the selected filter set with the human visual. The weighting process is as shown in Formula (4): _Bn_ = _Vnbi_, (4) where _b_ denotes the original sensitivity curve of the filter; _i_ denotes the _i_ th filter; _V_ denotes the cone response function; _n_ denotes the number of cone response functions, and _B_ denotes the filter sensitivity function weighted by the LMS cone response functions. Formula (4) uses the response value of the LMS cone response functions to weight the filter at the same time, because of the sensitivity of the human eye in different wavebands, so this paper will consider using the waveband distance between the filter peak and the LMS curve peak to weight the filter, and the process is shown in Formulas (5) and (6). c _n_ = _|b_ maxi _−_ _V_ max _n|_ (5) _Cn_ = c _nbi_, (6) where _bmax_ denotes the band of the wave peak of the filter response value; _V_ max denotes the band of the wave peak of the LMS cone response functions; c _n_ denotes the distance between the filter peak and the LMS curve peak of the waveband, and _Cn_ denotes the filter sensitivity curve weighted by the band distance. The two-weighted filter sensitivity function is combined to obtain the final weighted filter sensitivity curve _Dn_, such as in Formula (7). _Dn_ = _BnCn_ (7) In this step of the operation, with the spectral band for the horizontal axis, the filter sensitivity response value for the vertical axis calculates the area of the filter sensitivity _Sensors_ 2023, _23_, 5225 5 of 23 curve before and after weighting, then subtracts the original area from the weighted area to get the area difference. Dividing the area difference from the original area, the area decreases the smallest filter, which is the selection of the preferred filter. The selecting process is as described in Formula (8). _Zn_ = arg _min_ <sup>_n_</sup> - _<u>Si −</u>_ _<u>Swi</u>_ _Si_ , (8) where _S_ represents the area of the unweighted filter; and _Sw_ represents the area of the weighted filter. By using Formula (8), we can obtain three preferred filters that best match the human eye’s _L_, _M_ and _S_ cone cells. _3.2._ _Exhaustive Combination_ We define _b_ 1, _b_ 2 and _b_ 3 as the three preferred filters that best match the human eye after weighting the _L_ -cone response function, _M_ -cone response function, and the _S_ -cone response function, respectively. The remaining filter is combined with the three filters separately, as shown in Formula (9). _K_ 1 = [ _b_ 1, _bi_ ] ( _i̸_ = 1) _K_ 2 = [ _b_ 2, _bi_ ] ( _i̸_ = 2) _K_ 3 = [ _b_ 3, _bi_ ] ( _i̸_ = 3), (9) where _K_ 1 _, K_ 2, and _K_ 3 respectively denotes the remaining filter set consisting of _b_ 1, _b_ 2, and _b_ 3. When selecting the filters for the next channel, the initial filter set selects the best performance to the previous selecting process in the _L_ -weighted filter set, _M_ -weighted filter set, and _S_ -weighted filter set, respectively. The remaining filters are then combined with the initial filter set one at a time in an exhaustive manner. _3.3._ _Multispectral Recovery_ After obtaining the filter set, the similarity between the training samples and the testing samples in the experiment also affects the final recovery accuracy. Therefore, the Euclidean distance between the response value of the training samples and the testing samples is used as a weighting function to optimize the recovery process and express it by using Formula (10). s _j_ = ( _p_ 1 _test −_ _p_ 1 _train_, _j_ ) <sup>2</sup> + ( _p_ 2 _test −_ _p_ 2 _train_, _j_ ) <sup>2</sup> + _· · ·_ + ( _pitest −_ _pitrain_, _j_ ) <sup>2</sup>, (10) where the _ptest_ is the response of the testing sample; the _ptrain_ is the response of the optimal local training sample; the subscript _j_ is the _j_ th sample of the training sample; and the _sj_ represents the Euclidean distance between the _j_ th training sample and the testing sample. The order is then ascending according to the distance between the training and testing samples. The first _N_ (1 _≤_ _N ≤_ _j_ ) training samples are selected as the local optimal training samples, and the inverse distance weighting (IDW) coefficient w _k_ is calculated for each selected local optimal training sample, as shown in Formula (11). <u>1</u> w _k_ = _sk_ + _ε_ <sup>,</sup> (11) where the subscript _k_ is the _k_ th sample of the local optimal training sample; _sk_ is the Euclidean distance between the _k_ th local optimal training sample, and the testing sample; ε _Sensors_ 2023, _23_, 5225 6 of 23 is a very small added value to avoid dividing the equality by zero, and ε = 0.001 is used. The weighted matrix _W_ is defined as in Formula (12).   _k×k_  _W_ =  _w_ 1 0 _· · ·_ 0 0 _w_ 2 0 0 ... 0 ... ... 0 0 _· · ·_ _wk_ (12) The transpose matrix _M_ in the spectral recovery Formula (2) can be expressed as: _M_ = _RTrainW_ ( _PTrainW_ ) <sup>_−_</sup> <sup>1</sup> (13) _R_ = _MPTest_, (14) where superscript ‘ _−_ 1’ represents the matrix violation; _RTrain_ is the optimal spectral reflectance of the selected local training sample; _PTrain_ is the normalized response value of the training sample; _PTest_ represents the normalized response value of the test sample; and _R_ is the corresponding reconstructed spectrum. _3.4._ _Custom Error Score Ranking_ Through the spatial vector analysis (FVAM) of the weighted filter, and only considering the characteristics of the filter itself, the three preferred filters have the best match for the visual sensitivity function of the human eye. The spectral recovery error and colorimetric error are calculated for each filter combination by combining the filter with other influence parameters in the multispectral acquisition system, and a custom minimum recovery error is used to select the optimal filter set. The recovered spectra of the filter sets are obtained in Formula (3). The root mean square error (RMSE), goodness of fit coefficient (GFC), color difference (∆ _E_ ), peak signalto-noise ratio (PSNR), and spectral angle map (SAM) are calculated and normalized. The recovery error is calculated as shown in Formula (15). _TOTALni_ = _RMSEi ×_ (1 _−_ _GFCi_ ) _×_ ∆ _Ei × PSNRi × SAMi_, (15) where _TOTALni_ is the custom recovery error corresponding to the _i_ th filter set consisting of the _n_ th preferred filter. The _RMSE_, _GFC_, ∆ _E_, _PSNR_ and _SAM_ is calculated by Formulas (16)–(20). _RMSE_ = - <u>1</u> _m_ <sup>(</sup> <sup>_Rtest −_</sup> <sup>_R_</sup> <sup>)</sup> <sup>_T_</sup> <sup>(</sup> <sup>_Rtest −_</sup> <sup>_R_</sup> <sup>)</sup> (16) _<u>Rtest</u>_ <sup>_T_</sup> _<u>R</u>_ _GFC_ = (17) _∥Rtest_ <sup>_T_</sup> _Rtest∥· ∥_ RR _∥_ ∆ _E_ <sup>_∗_</sup> _ab_ <sup>=</sup> �(∆ _L_ <sup>_∗_</sup> ) <sup>2</sup> + (∆ _a_ <sup>_∗_</sup> ) <sup>2</sup> + (∆ _b_ <sup>_∗_</sup> ) <sup>2</sup> (18) (19) _PSNR_ = 20 _log_ 10 - <u>1</u> _RMSE_ _SAM_ = cos <sup>_−_</sup> <sup>1</sup> ( _GFC_ ) (20) As shown in Formula (21), the filter set with the smallest custom recovery error is selected as the optimal filter set under the current number of channels. _Gn_ = _argmin_ <sup>_n_</sup> <sup>(</sup> <sup>_TOTALni_</sup> <sup>),</sup> (21) where _Gn_ represents the optimal filter set under the current number of channels. The Formulas (9) and (15)–(21) process can be repeated according to the number of channels in the multispectral imaging system. _Sensors_ 2023, _23_, 5225 7 of 23 4. Experiment To evaluate the performance of the method, comparative experiments are performed based on both simulated and actual multispectral acquisition systems. Four metrics are used to assess the accuracy of the recovery. CIE DE1976 (∆ _E_ *ab) and CIE DE2000 (∆ _E_ *00) are used as the reference indices to measure color difference. The root mean square error (RMSE) and goodness of fit coefficient (GFC) are used as the spectral reflectance indices. _4.1._ _Simulation Experiment_ To verify the performance of the proposed method, simulation experiments are first performed using a simulated multispectral acquisition system. The systematic noise treatment is not considered in the simulation experiments [23]. The filter data set comes from 15 filters designed at equal intervals by our laboratory. The sensitivity vectors are shown in Figure 2a. We used the CIE illuminant A as the reference light source, while the spectral power distribution of the light source is shown in Figure 2b. Each curve in Figure 2a represents the spectral sensitivity of a filter, and the different color curves represent different filters. ( a ) ( b ) Figure 2. ( a ) Filter spectral sensitivity; ( b ) the spectral power distribution of CIE illuminant A. The 1269 of Munsell Matt chips [35], 140 Color Checker SG [36], and the 354 Vrhel spectral dataset [37] are used in a simulation experiment. In order to make the experimental results more convincing, Munsell Matt chips are used as the training sample. The Munsell Matt chips, Color Checker SG, and the Vrhel spectral dataset are used as the testing samples. The spectral reflectance ranges from 400 to 700 at 10 nm intervals. Before selecting the preferred filter, the LMS cone response functions are shown in Figure 3a, and the filter curve weighted by LMS cone response function is shown in Figure 3b–d. The different color curves represent different filters. After the three preferred filters are obtained by the weighted area selection, the remaining filters are combined with the preferred filter to form a filter set. The spectral recovery error and colorimetric error are calculated and multiplied by each error parameter index, from which the filter set with the smallest custom error value is selected as the optimal filter set. Therefore, after the analysis of the spectral information data, the response value of the data information should also be analyzed. Before verifying the parameter indicators of the final selected filter set, the samples first need to be optimized first, and then an appropriate number of characteristic samples should be selected for spectral recovery according to the distance between the samples. To obtain the optimal parameters, the effect of contrast color error in the number of locally optimal training samples is explored, and the results are shown in Figure 4. According to Figure 4, 150 is selected as the number of locally optimal training samples in this experiment. _~~Sensors~~_ ~~2023~~ ~~,~~ _~~23~~_ ~~, 5225~~ ~~8 o~~ f 23 Figure 3. ( a ) the LMS cone response functions; ( b ) the filter transmission weighted by the _S_ response curve; ( c ) the filter transmission weighted by the _M_ response curve; and ( d ) the filter transmission weighted by the _L_ response curve. ( a ) ( b ) ( c ) Figure 4. ( a ) the relationship between CIE DE1976 color difference and the number of local optimal training samples in Munsell Matt chips; ( b ) the relationship between CIE DE1976 color difference and the number of Color Checker SG training samples; and ( c ) the relationship between CIE DE1976 color difference and the number of local optimal training samples in Vrhel spectral dataset. This study compares the spectral recovery accuracy and colorimetric accuracy of this method with three other existing methods under the same experimental conditions, and the results are shown in Table 1. We compare the recovery results of three samples under the same light source, thus verifying the performance of the method under different shooting _Sensors_ 2023, _23_, 5225 9 of 23 conditions. The experimental conditions in Table 1 result from using the Munsell Matt chips as the training samples and the testing samples, selecting the 3–7 channels, and using the other methods under the CIE illuminant A. Table 1. Results of different methods for recovery of the spectral reflectance of Munsell Matt chips. Munsell Matt Chips Illuminant Channel Method CIE DE1976 CIE DE2000 RMSE GFC Max Mean Max Mean Max Mean Mean <u>LDMM</u> <u>57.0162</u> <u>5.1927</u> <u>38.6427</u> <u>3.8584</u> <u>0.2281</u> <u>0.0233</u> <u>0.9932</u> <u>MLI</u> <u>24.529</u> <u>2.6168</u> <u>14.0742</u> <u>1.7299</u> <u>0.1768</u> <u>0.0153</u> <u>0.9961</u> <u>MaxOr</u> <u>57.0578</u> <u>5.6398</u> <u>38.6547</u> <u>4.2504</u> <u>0.2275</u> <u>0.0254</u> <u>0.9917</u> <u>Our</u> <u>11.1701</u> <u>1.3651</u> <u>7.6661</u> <u>0.9903</u> <u>0.1135</u> <u>0.0136</u> <u>0.9975</u> <u>LDMM</u> <u>33.0217</u> <u>4.4186</u> <u>27.2045</u> <u>3.0929</u> <u>0.1221</u> <u>0.0156</u> <u>0.997</u> <u>MLI</u> <u>19.9484</u> <u>1.4252</u> <u>10.4861</u> <u>0.9279</u> <u>0.1262</u> <u>0.0086</u> <u>0.9987</u> <u>MaxOr</u> <u>13.2427</u> <u>1.5711</u> <u>8.0956</u> <u>1.0936</u> <u>0.1222</u> <u>0.0114</u> <u>0.9982</u> <u>Our</u> <u>7.1393</u> <u>0.5538</u> <u>5.1553</u> <u>0.39</u> <u>0.1029</u> <u>0.0084</u> <u>0.9988</u> <u>LDMM</u> <u>13.5099</u> <u>1.5452</u> <u>7.3899</u> <u>1.0844</u> <u>0.0753</u> <u>0.0082</u> <u>0.9993</u> <u>MLI</u> <u>20.2998</u> <u>0.9775</u> <u>10.7919</u> <u>0.6506</u> <u>0.0845</u> <u>0.0054</u> <u>0.9994</u> <u>MaxOr</u> <u>13.1093</u> <u>1.4526</u> <u>7.4256</u> <u>1.0421</u> <u>0.1314</u> <u>0.0107</u> <u>0.9984</u> <u>Our</u> <u>8.7672</u> <u>0.5783</u> <u>6.2174</u> <u>0.4345</u> <u>0.0456</u> <u>0.0057</u> <u>0.9996</u> <u>LDMM</u> <u>4.3994</u> <u>0.5009</u> <u>2.7248</u> <u>0.3787</u> <u>0.0737</u> <u>0.0046</u> <u>0.9996</u> <u>MLI</u> <u>19.6554</u> <u>0.6257</u> <u>10.4579</u> <u>0.4594</u> <u>0.0809</u> <u>0.0045</u> <u>0.9995</u> <u>MaxOr</u> <u>11.0995</u> <u>0.7065</u> <u>7.1919</u> <u>0.523</u> <u>0.1222</u> <u>0.0064</u> <u>0.9992</u> <u>Our</u> <u>3.461</u> <u>0.2259</u> <u>2.3218</u> <u>0.1543</u> <u>0.0238</u> <u>0.0039</u> <u>0.9998</u> <u>LDMM</u> <u>1.7886</u> <u>0.4236</u> <u>1.3172</u> <u>0.3571</u> <u>0.0292</u> <u>0.0037</u> <u>0.9998</u> <u>MLI</u> <u>19.7661</u> <u>0.7179</u> <u>22.5273</u> <u>0.5512</u> <u>0.0397</u> <u>0.0039</u> <u>0.9997</u> <u>MaxOr</u> <u>6.6673</u> <u>0.6496</u> <u>4.4312</u> <u>0.4812</u> <u>0.0393</u> <u>0.0041</u> <u>0.9997</u> Our 1.3168 0.207 1.1546 0.1566 0.0235 0.0031 0.9999 The experimental results in Table 1 show that the maximum and mean color difference are the smallest under the different number of channels, and the proposed method is superior to other methods in terms of colorimetric metrics. In terms of spectral recovery, both the RMSE and GFC evaluation indices of the proposed method are better than the existing methods, which also means that this method has a good spectral recovery effect. To make the results more intuitive and to visualize the recovery data, this study used box plots to demonstrate the spectral and colorimetric recovery accuracy under the different methods, as shown in Figure 5. The boxplot is a standardized way of displaying the spectral recovery results, which are the minimum, maximum, median, and first and third quartiles. The value closest to the box indicates the best spectral recovery results, while the value farther from the box indicates the worst spectral recovery results. The * in the figure represents the anomaly, the farther the anomaly is from the box, the worse the spectral reconstruction effect. The box of the boxplot of the proposed method is smaller than other methods, and shows the best results in the maximum and mean. This more intuitively shows that the proposed method is superior to other methods. The experimental conditions in Table 2 are the result of using the Munsell Matt chips as the training sample at the CIE illuminant A, using the Color Checker SG as the testing sample, and selecting the 3–7 channels and the other methods used here. The box plots are shown in Figure 6. CIE Illuminant A 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel _Sensors_ 2023, _23_, 5225 10 of 23 Figure 5. A box plot of each parameter index of Munsell Matt chips under CIE illuminant A. Table 2. Results of different methods for restoring the spectral reflectance of Color Checker SG. Color Checker SG Illuminant Channel Method CIE DE1976 CIE DE2000 RMSE GFC Max Mean Max Mean Max Mean Mean <u>LDMM</u> <u>55.5548</u> <u>10.0086</u> <u>33.767</u> <u>7.2119</u> <u>0.2251</u> <u>0.0451</u> <u>0.9811</u> <u>MLI</u> <u>39.7361</u> <u>7.2702</u> <u>19.551</u> <u>4.3265</u> <u>0.1211</u> <u>0.031</u> <u>0.9924</u> ~~<u>MaxOr</u>~~ ~~<u>63.8962</u>~~ ~~<u>8.7004</u>~~ ~~<u>39.3476</u>~~ ~~<u>5.8597</u>~~ ~~<u>0.2407</u>~~ ~~<u>0.0425</u>~~ ~~<u>0.9811</u>~~ <u>Our</u> <u>18.0</u> ~~<u>88</u>~~ ~~<u>2.4002</u>~~ ~~<u>8.4941</u>~~ ~~<u>1.4732</u>~~ ~~<u>0.118</u>~~ ~~<u>0.0267</u>~~ ~~<u>0.9929</u>~~ <u>LDMM</u> <u>36.1135</u> <u>7.1297</u> <u>20.2838</u> <u>5.405</u> <u>0.0955</u> <u>0.0286</u> <u>0.994</u> <u>MLI</u> <u>34.7927</u> <u>4.8944</u> <u>11.4471</u> <u>2.7745</u> <u>0.0992</u> <u>0.0222</u> <u>0.9957</u> <u>MaxOr</u> <u>17.6</u> ~~<u>933</u>~~ ~~<u>2.7797</u>~~ ~~<u>8.8284</u>~~ ~~<u>1.826</u>~~ ~~<u>0.1149</u>~~ ~~<u>0.0258</u>~~ ~~<u>0.9942</u>~~ <u>Our</u> <u>5.96</u> ~~<u>32</u>~~ ~~<u>1.0257</u>~~ ~~<u>3.6337</u>~~ ~~<u>0.6766</u>~~ ~~<u>0.0931</u>~~ ~~<u>0.0201</u>~~ ~~<u>0.9962</u>~~ <u>LDMM</u> <u>11.7749</u> <u>2.9412</u> <u>9.3622</u> <u>2.1346</u> <u>0.072</u> <u>0.0188</u> <u>0.9978</u> <u>MLI</u> <u>17.6457</u> <u>3.722</u> <u>7.6177</u> <u>2.3171</u> <u>0.1382</u> <u>0.0198</u> <u>0.9967</u> <u>MaxOr</u> <u>18.8</u> ~~<u>567</u>~~ ~~<u>3.4702</u>~~ ~~<u>12.3189</u>~~ ~~<u>2.5038</u>~~ ~~<u>0.1591</u>~~ ~~<u>0.0264</u>~~ ~~<u>0.9931</u>~~ <u>Our</u> <u>4.3094</u> <u>0.9334</u> <u>2.5814</u> <u>0.6017</u> <u>0.049</u> <u>0.015</u> <u>0.9986</u> <u>LDMM</u> <u>4.9499</u> <u>1.1014</u> <u>2.9187</u> <u>0.8902</u> <u>0.0463</u> <u>0.0131</u> <u>0.9987</u> <u>MLI</u> <u>19.3011</u> <u>1.9112</u> <u>8.4144</u> <u>1.3322</u> <u>0.1577</u> <u>0.0136</u> <u>0.9974</u> <u>MaxOr</u> <u>6.8946</u> <u>1.4448</u> <u>4.477</u> <u>1.0773</u> <u>0.0768</u> <u>0.0151</u> <u>0.9974</u> <u>Our</u> <u>2.3641</u> <u>0.4807</u> <u>1.2719</u> <u>0.3264</u> <u>0.0443</u> <u>0.0129</u> <u>0.9989</u> <u>LDMM</u> <u>2.943</u> <u>0.5482</u> <u>1.1898</u> <u>0.3772</u> <u>0.0339</u> <u>0.0096</u> <u>0.9994</u> <u>MLI</u> <u>9.7884</u> <u>1.3752</u> <u>5.7661</u> <u>0.9455</u> <u>0.0429</u> <u>0.0084</u> <u>0.9992</u> <u>MaxOr</u> <u>11.8516</u> <u>1.3307</u> <u>4.8524</u> <u>1.0435</u> <u>0.0408</u> <u>0.0103</u> <u>0.9992</u> Our 2.5998 0.3604 0.9242 0.2355 0.0256 0.0071 0.9995 CIE Illuminant A 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel _Sensors_ 2023, _23_, 5225 11 of 23 Figure 6. A box plot of each parameter index of Color Checker SG under CIE illuminant A. With regard to Tables 2 and 3, and Figures 6 and 7, compared with the results in Table 1 and Figure 5, the spectral recovery accuracy and colorimetric accuracy are consistent with the Munsell Matt chips, and the proposed method still outperformed the other methods. This indicates that the presented method performs better and is more stable under different samples. <u>Table 3.</u> <u>Results of different methods for restoring the spectral reflectance of the Vrhel spectral dataset.</u> <u>Vrhel Spectral Dataset</u> Illuminant Channel Method ~~CIE DE1976~~ ~~CIE DE2000~~ ~~RMSE~~ ~~G~~ FC <u>Max</u> <u>Mean</u> <u>Max</u> <u>Mean</u> <u>Max</u> <u>Mean</u> <u>Mean</u> <u>LDMM</u> <u>55.2149</u> <u>13.4954</u> <u>35.9918</u> <u>9.631</u> <u>0.209</u> <u>0.0576</u> <u>0.9659</u> ~~<u>MLI</u>~~ ~~<u>33.342</u>~~ ~~<u>9.4129</u>~~ ~~<u>17.5367</u>~~ ~~<u>5.031</u>~~ ~~<u>0.1967</u>~~ ~~<u>0.0351</u>~~ ~~<u>0.</u>~~ <u>9841</u> <u>MaxOr</u> <u>56.4556</u> <u>11.6292</u> <u>36.4524</u> <u>8.2406</u> <u>0.1992</u> <u>0.0521</u> <u>0.9709</u> <u>Our</u> <u>18.3209</u> <u>2.6738</u> <u>8.7486</u> <u>1.6532</u> <u>0.1818</u> <u>0.0319</u> <u>0.9862</u> <u>LDMM</u> <u>70.5002</u> <u>10.0769</u> <u>28.8346</u> <u>7.1759</u> <u>0.2316</u> <u>0.0362</u> <u>0.9853</u> <u>MLI</u> <u>29.8968</u> <u>6.5727</u> <u>13.2888</u> <u>3.2126</u> <u>0.1687</u> <u>0.0286</u> <u>0.9804</u> <u>MaxOr</u> <u>25.6143</u> <u>3.7521</u> <u>15.2366</u> <u>2.4752</u> <u>0.1792</u> <u>0.0328</u> <u>0.987</u> <u>Our</u> <u>18.2029</u> <u>1.4805</u> <u>8.213</u> <u>0.91</u> <u>0.167</u> <u>0.0276</u> <u>0.9894</u> <u>LDMM</u> <u>27.6785</u> <u>5.5163</u> <u>14.3806</u> <u>4.0168</u> <u>0.1203</u> <u>0.0254</u> <u>0.9921</u> <u>MLI</u> <u>32.3953</u> <u>5.2023</u> <u>13.698</u> <u>2.6936</u> <u>0.1529</u> <u>0.0252</u> <u>0.9904</u> <u>MaxOr</u> <u>23.524</u> <u>4.2321</u> <u>14.2079</u> <u>2.9</u> <u>0.2085</u> <u>0.0398</u> <u>0.9763</u> <u>Our</u> <u>11.4684</u> <u>1.5269</u> <u>6.2996</u> <u>0.9421</u> <u>0.1173</u> <u>0.0177</u> <u>0.9955</u> <u>LDMM</u> <u>8.7184</u> <u>1.3675</u> <u>5.8822</u> <u>0.9994</u> <u>0.1062</u> <u>0.0193</u> <u>0.9945</u> <u>MLI</u> <u>16.9549</u> <u>2.8241</u> <u>10.3674</u> <u>1.7117</u> <u>0.1538</u> <u>0.0204</u> <u>0.9917</u> <u>MaxOr</u> <u>21.1351</u> <u>2.3253</u> <u>12.4645</u> <u>1.4938</u> <u>0.1706</u> <u>0.0226</u> <u>0.9893</u> <u>Our</u> <u>7.9256</u> <u>0.8298</u> <u>3.2125</u> <u>0.4499</u> <u>0.102</u> <u>0.0149</u> <u>0.995</u> <u>LDMM</u> <u>7.2469</u> <u>0.7687</u> <u>2.6931</u> <u>0.4839</u> <u>0.0871</u> <u>0.016</u> <u>0.9957</u> <u>MLI</u> <u>39.0504</u> <u>2.1657</u> <u>18.9024</u> <u>1.4431</u> <u>0.1144</u> <u>0.0122</u> <u>0.9917</u> <u>MaxOr</u> <u>10.8561</u> <u>1.6483</u> <u>7.202</u> <u>1.1442</u> <u>0.0884</u> <u>0.0125</u> <u>0.9945</u> Our 6.981 0.6664 1.6818 0.3561 0.0821 0.0113 0.9964 CIE Illuminant A 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel _Sensors_ 2023, _23_, 5225 <u>12 of 23</u> Figure 7. A box plot of each parameter index of the Vrhel spectral dataset under CIE illuminant A. In Figure 8, we randomly selected three samples of Munsell Matt chip training samples under CIE illumination A after spectral recovery using different methods in order to ~~compare the results of spectral ref~~ l ~~ectance curve recovery at 3-7 channels.~~ ~~It can be seen~~ that the method is closer to the original sample and has better performance. Figure 8. _Cont._ _Sensors_ 2023, _23_, 5225 13 of 23 Figure 8. Spectral reflectance recovery results from our proposed and existing methods with three randomly selected samples. After simple verification of the proposed method, and in order to show its good performance, it was applied to the spectral images [38]. Figures 9 and 10 depict two images selected from the CAVE Multispectral Image Database. The first multispectral image comes from the library in the database. The image content in this library is a common object in daily life. The second multispectral image comes from the real and fake library in the database. The image content in this library is obtained by putting real objects and imitations in life together. These two pictures are of common scenes from daily life. _~~Sensors~~_ ~~2023~~ ~~,~~ _~~23~~_ ~~, 5225~~ ~~14 of 2~~ 3 Figure 9. A results comparison of spectral images of different methods using the CIE 1964 color matching function as the spectral sensitivity; ( a ) MaxOr; ( b ) LDMM; ( c ) MLI; and ( d ) Proposed. It can easily be seen in Figure 10 that the results comparison of the spectral images uses the different methods to recover the spectral reflectance. Figure 9a represents the original RGB image. Figure 9 b–f is called the error map, which calculates the color difference of the spectral reflectance recovered by different methods. More red means a larger color difference, and more blue means a lesser color difference. A side-by-side comparison shows the effect of different methods for spectral image recovery, and by the color change, it can be seen that the method approach proposed in this paper is superior to other methods. Therefore, the proposed method shows better performance. _<u>Sensors</u>_ <u>2023</u> <u>,</u> _<u>23</u>_ <u>, 5225</u> <u>15 of 23</u> Figure 10. Results comparison of spectral images of different methods using the CIE 1964 color matching function as the spectral sensitivity ( a ) MaxOr; ( b ) LDMM; ( c ) MLI; and ( d ) Proposed. _4.2._ _Real Experiment_ This section involves the performing of real experiments in the dark room to further validate the proposed method. In this experiment, the IT8.7/3 color card is used as the data sample, which has 928 color blocks (Figure 11a). The response value of each color block are obtained using a Shot 5.0 multispectral camera with an ISO size of 50, an f-number-hole circle of F5.6, and an exposure time of 1/10 s. The real response values are extracted in the sRGB color space. The power distribution of the light source in the shooting environment is measured using the CS2000 spectroscopic radiometer, as shown in Figure 11b. The selection of the filter in the real experiment is still the same as in the simulation experiment, which is shown in Figure 11c. _Sensors_ 2023, _23_, 5225 16 of 23 ( a ) ( b ) ( c ) Figure 11. ( a ) IT8.7-3 CMYK target; ( b ) real spectral power distribution of the light source; ( c ) filters purchased in the laboratory. 4.2.1. Experimental Environment In order to obtain effective training sample color data and improve the accuracy of the data, a stable shooting environment must be determined before shooting. First, in the process of shooting color pictures, the camera itself and the settings of the lighting and the surroundings are very critical. The stability of the lighting includes both time and space. If the amount of light radiation received by the target object surface changes over time, or the amount of light radiation received by the color sample at different spatial locations varies, then the camera response value signal generated by the color is bound to change as well. In addition, it is known from the optics of the camera that the light radiation energy received by the photoreceptor is strongest in the central part and decreases along the radius due to the optical effect of the convex lens inside the camera. Therefore, the color samples are placed in the center area of the camera’s field of view as much as possible during the shooting, and the training and test samples are placed in the center of the two light sources, ensuring that the light reached the samples from a 45 <sup>_◦_</sup> angle and placing the samples 1.5 m away from the camera lens, as shown in Figure 12a. From the time the light sources are turned on, they are warmed up for 30 min, and the light intensity of the light sources are allowed to stabilize before shooting. The above operation ensures the lighting stability from both space and time, and the real experimental scenario is shown in Figure 12b. ( a ) ( b ) Figure 12. ( a ) Diagram of the shooting standard environment; ( b ) The real shooting environment. 4.2.2. Linear Calibration of Camera Response Values Correction All of the experimental data in Section 4.1 are simulated experiments conducted under ideal conditions, thus ignoring noise, and assuming that a multispectral acquisition system _Sensors_ 2023, _23_, 5225 17 of 23 has a perfect linear response model, which naturally produces smaller errors than the actual experiment. The response signal of the camera is obtained by the interaction of the light radiation energy incident on the sensor and the spectral response function of the camera, which is a set of linear data. However, in practice, the signal from the CCD or CMOS optical conversion of the multispectral camera will undergo a series of transmissions and compressions before it is outputted to the display device, at which time the response signal has become nonlinear data. If the camera signal acquired from the image is converted back to a linear response value [39], i.e., the digital signal of the camera is linearly corrected, then the spectrum recovered from the digital signal is as accurate as possible with the spectrum measured with a spectrometer, and an accurate spectral recovery effect is achieved. In this experiment, color blocks 19 to 24 of the 24 color card (Figure 13) are used as a grayscale, and Li’s [40] method is used to linearly correct the response values of the multispectral camera. Figure 13. Color blocks 19 to 24 of the 24 color checker. The photoelectric signal of the camera is linearly related to the optical radiation energy received by the CCD or CMOS, and the camera response value is also linearly related to the photoelectric signal of the camera. Therefore, this experiment achieves linear correction by establishing the conversion relationship between the camera response value and the CCD or CMOS optical radiation energy. The light radiation energy T is obtained by the product of the spectral power distribution of the light source _E_ ( _λ_ ) and the reflectance of the color spectrum of the object surface _R_ ( _λ_ ) (see Formula (22)). _T_ i = _E_ ( _λ_ ) _R_ ( _λ_ ) _dλ_ (22) Figure 14 shows the spectral reflectance curves of each gray sample, from which it can be seen that the reflectance curves of each color block remain basically horizontal, and the reflectance coefficients of each gray color block are similar. The six different color lines in Figure 14 represent the reflectance coefficients of the six gray color blocks.This indicates that the gradients of the gray color block we selected are uniform and reasonable, which can ensure the accuracy of the linear calibration data. _Sensors_ 2023, _23_, 5225 18 of 23 Figure 14. Spectral reflectance curves of gray samples. Before establishing the linear conversion formula between the light radiation energy and the camera response value, there is one more important operation, which is the normalization of the acquired data. The processed data will eventually be used to fit the linear formula. Table 4 shows an example of the normalization process for the experimental data of the third filter among the 15 filters to be selected. <u>Table 4.</u> <u>Light radiation energy T and camera response values for each gray sample.</u> ~~NO.~~ ~~T~~ ~~t~~ _~~P~~_ _p_ <u>1</u> <u>1.80</u> <u>1</u> <u>97.73</u> 1 ~~2~~ ~~1.19~~ ~~0.67~~ ~~75.13~~ 0.77 3 0.73 0.41 54.09 0.55 4 0.39 0.22 33.42 0.34 5 0.19 0.10 21.22 0.22 6 0.07 0.04 6.69 0.07 T represents the light radiation energy distribution derived from Formula (21), and t represents the light radiation energy distribution after normalization with the maximum value of T as a reference. _P_ represents the camera response value obtained by shooting, and _p_ represents the response value of the brightest color sample (white) selected as a standard to normalize the response signal of the grayscale color and obtain the normalized response value. In this experiment, the least squares method of curve fitting is used to obtain the linear conversion formula for each channel of the camera to achieve the linear correction of the digital signal. The linear conversion formula is established between the light radiation energy t and the camera response value, which can be realized by Formula (23). t = _f_ ( _x_ ) _· p_, (23) where _f_ ( _x_ ) represents the linear transformation formula, and the least squares implementation is implemented using the Matlab package. The final linear transformation formula selected was obtained by a Matlab calculation. _Sensors_ 2023, _23_, 5225 19 of 23 4.2.3. Experimental Result The linearly corrected camera response values are substituted into the multispectral imaging model (1), and subsequent calculations and selections are then performed as in the simulated experimental process to obtain the final experimental results. The real experimental results are shown in Table 5. The results showed that the proposed method was consistent with the simulation experiments in spectral recovery and color difference, and both outperformed the existing methods, proving that the actual experiments achieved better results, and that the method proposed in this study can be applied to real scenarios. Table 5. Results of different methods to recover spectral reflectance using IT8.7/3 samples. IT8.7/3 Illuminant Channel Method CIE DE1976 CIE DE2000 RMSE GFC Max Mean Max Mean Max Mean Mean <u>LDMM</u> <u>55.1072</u> <u>12.1706</u> <u>36.3163</u> <u>9.0247</u> <u>0.2433</u> <u>0.0462</u> <u>0.9833</u> <u>MLI</u> <u>72.3144</u> <u>12.0688</u> <u>33.6507</u> <u>7.2681</u> <u>0.1371</u> <u>0.0375</u> <u>0.9852</u> <u>MaxOr</u> <u>36.8347</u> <u>7.7783</u> <u>25.5001</u> <u>5.67</u> <u>0.2001</u> <u>0.0339</u> <u>0.9921</u> <u>Our</u> <u>14.5346</u> <u>3.5781</u> <u>9.8733</u> <u>2.5609</u> <u>0.1365</u> <u>0.0237</u> <u>0.9985</u> <u>LDMM</u> <u>60.3669</u> <u>8.6533</u> <u>40.3494</u> <u>6.4562</u> <u>0.1732</u> <u>0.0332</u> <u>0.9896</u> <u>MLI</u> <u>51.0632</u> <u>10.5935</u> <u>31.5347</u> <u>6.2469</u> <u>0.1404</u> <u>0.0328</u> <u>0.9883</u> <u>MaxOr</u> <u>15.4071</u> <u>3.4042</u> <u>10.873</u> <u>2.3232</u> <u>0.1393</u> <u>0.0229</u> <u>0.9989</u> <u>Our</u> <u>11.7962</u> <u>2.9112</u> <u>7.1387</u> <u>2.0037</u> <u>0.1382</u> <u>0.0199</u> <u>0.9992</u> <u>LDMM</u> <u>15.352</u> <u>3.2919</u> <u>10.559</u> <u>2.3487</u> <u>0.1731</u> <u>0.0216</u> <u>0.9981</u> <u>MLI</u> <u>42.5753</u> <u>5.4712</u> <u>14.8481</u> <u>3.36</u> <u>0.1357</u> <u>0.0227</u> <u>0.9974</u> <u>MaxOr</u> <u>15.3741</u> <u>3.3431</u> <u>10.711</u> <u>2.3564</u> <u>0.1658</u> <u>0.0218</u> <u>0.9979</u> <u>Our</u> <u>12.9502</u> <u>3.2026</u> <u>10.081</u> <u>2.3046</u> <u>0.1305</u> <u>0.0215</u> <u>0.9988</u> <u>LDMM</u> <u>11.5558</u> <u>2.6609</u> <u>7.8024</u> <u>1.8385</u> <u>0.1456</u> <u>0.0177</u> <u>0.9991</u> <u>MLI</u> <u>10.8503</u> <u>2.8403</u> <u>8.5263</u> <u>1.9531</u> <u>0.1164</u> <u>0.0187</u> <u>0.9991</u> <u>MaxOr</u> <u>13.0843</u> <u>2.7746</u> <u>6.2731</u> <u>1.8932</u> <u>0.1239</u> <u>0.0184</u> <u>0.9992</u> <u>Our</u> <u>10.4058</u> <u>2.6028</u> <u>7.6026</u> <u>1.7872</u> <u>0.1104</u> <u>0.0163</u> <u>0.9993</u> <u>LDMM</u> <u>11.175</u> <u>2.8872</u> <u>8.0676</u> <u>1.8862</u> <u>0.1416</u> <u>0.0174</u> <u>0.9991</u> <u>MLI</u> <u>11.7824</u> <u>2.7372</u> <u>7.3687</u> <u>1.888</u> <u>0.1133</u> <u>0.0179</u> <u>0.9992</u> <u>MaxOr</u> <u>11.9103</u> <u>2.6994</u> <u>7.061</u> <u>1.8502</u> <u>0.1423</u> <u>0.0173</u> <u>0.999</u> Our 10.91 2.6887 6.4923 1.8391 0.1107 0.0162 0.9992 Figure 15 shows the box plot distribution of the reference metrics for the present method compared with the existing methods, and Figure 16 shows the recovered spec<u>tral reflectance of three randomly selected detection samples, proving that the recovered</u> spectral reflectance is more accurate and has a lower color error than the existing methods. Figure 15. _Cont._ Real Illuminant 3 Channel 4 Channel 5 Channel 6 Channel 7 Channel _Sensors_ 2023, _23_, 5225 20 of 23 ~~Figure 15.~~ ~~A box plot of each parameter index of the IT8.7/3 dataset under real experimental co~~ nditions. Figure 16. Spectral reflectance recovery results from our proposed and existing methods with three randomly selected samples. _Sensors_ 2023, _23_, 5225 21 of 23 In summary, the high similarity between the simulated and actual experimental results confirms the superiority of this method. 5. Discussion and Conclusions This study proposes a filter selection method that combines weighted area selection and custom error score ranking. The filter that best matches the human visual system is selected as the initial filter by weighting the filters using the LMS cone response function in combination with the area reducing rate selecting. The initial filter is combined with the remaining filters one by one, and the spectral recovery error and chromaticity error are calculated and then multiplied to select the filter combination with the smallest custom recovery error. In the experiment, we used four color samples and five channel types to verify the performance of the proposed method. The results show that using seven channels and choosing Munsell color samples for the experiments gives the best results with a mean root mean square error of 0.0031 and a mean color difference of 0.1566. After validation by simulation and real experiments, the results show that the proposed method is better than other existing methods. By changing the data samples and the shooting environment, the method still outperforms other methods, showing good validity and robustness. This work will be useful for optimizing the spectral sensitivity of multispectral imaging sensors. Due to the influence of the number of filters purchased by the laboratory, the number of filters to be screened in this experiment is 15, and the amount of data is relatively small. The feasibility of the proposed method was demonstrated by the validation of this experiment, and more filters will be purchased to continue to verify the generality of this method. Author Contributions: Conceptualization, S.N. and G.W.; methodology, S.N. and G.W.; software, S.N. and G.W.; validation, S.N. and G.W.; formal analysis, S.N. and G.W.; investigation, S.N., G.W. and X.L.; resources, S.N. and G.W.; data curation, S.N. and G.W.; writing—original draft preparation, S.N. and G.W.; writing—review and editing, S.N., G.W. and X.L.; visualization, S.N. and G.W.; supervision, S.N. and G.W.; project administration, S.N. and G.W.; funding acquisition, G.W. and X.L. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by the Shandong Provincial Natural Science Foundation (ZR2020MF091), Key Lab of Intelligent and Green Flexographic Printing (ZBKT202101), Qilu University of Technology (Shandong Academy of Sciences) Pilot Project for Integrating Science, Education, and Industry (2022PX078), Foundation (ZZ20210108) of State Key Laboratory of Biobased Material and Green Papermaking, Qilu University of Technology, Shandong Academy of Sciences, Key Research and Development Program of Shandong Province (2018GGX106009). Data Availability Statement: The data presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request. Conflicts of Interest: The authors declare no conflict of interest. References 1. Liang, H. Advances in multispectral and hyperspectral imaging for archaeology and art conservation. _Appl._ _Phys._ _A_ 2012, _106_, 309–323. [[CrossRef]](https://doi.org/10.1007/s00339-011-6689-1) 2. Maali Amiri, M.; Garcia-Nieto, S.; Morillas, S.; Fairchild, M.D. Spectral Reflectance Recovery Using Fuzzy Logic System Training: Color Science Application. _Sensors_ 2020, _20_, 4726. [[CrossRef] [PubMed]](https://doi.org/10.3390/s20174726) 3. Raju, V.B.; Sazonov, E. Detection of Oil-Containing Dressing on Salad Leaves Using Multispectral Imaging. _IEEE Access_ 2020, _8_, 86196–86206. [[CrossRef]](https://doi.org/10.1109/ACCESS.2020.2992326) 4. Kim, S.; Kim, J.; Hwang, M.; Kim, M.; Jin Jo, S.; Je, M.; Jang, J.E.; Lee, D.H.; Hwang, J.Y. Smartphone-based multispectral imaging and machine-learning based analysis for discrimination between seborrheic dermatitis and psoriasis on the scalp. _Biomed._ _Opt._ _Express_ 2019, _10_, 879–891. [[CrossRef]](https://doi.org/10.1364/BOE.10.000879) 5. Shen, F.; Deng, H.; Yu, L.; Cai, F. Open-source mobile multispectral imaging system and its applications in biological sample sensing. _Spectrochim._ _Acta Part A Mol._ _Biomol._ _Spectrosc._ 2022, _280_, 121504. [[CrossRef]](https://doi.org/10.1016/j.saa.2022.121504) 6. Wang, T.; Shen, F.; Deng, H.; Cai, F.; Chen, S. Smartphone imaging spectrometer for egg/meat freshness monitoring. _Anal._ _Methods_ 2022, _14_, 508–517. [[CrossRef]](https://doi.org/10.1039/D1AY01726H) _Sensors_ 2023, _23_, 5225 22 of 23 7. Niu, S.; Wu, G.; Xiong, Y. Spectral filter selection for spectral reflectance recovery. In Proceedings of the Second International Conference on Sensors and Information Technology (ICSI 2022), Nanjing, China, 25–27 March 2022. 8. Huber-Lerner, M.; Hadar, O.; Rotman, S.R.; Huber-Shalem, R. Hyperspectral Band Selection for Anomaly Detection: The Role of Data Gaussianity. _IEEE J. Sel._ _Top._ _Appl._ _Earth Obs._ _Remote Sens._ 2016, _9_, 732–743. [[CrossRef]](https://doi.org/10.1109/JSTARS.2015.2487638) 9. Zhu, G.; Huang, Y.; Lei, J.; Bi, Z.; Xu, F. Unsupervised Hyperspectral Band Selection by Dominant Set Extraction. _IEEE Trans._ _Geosci._ _Remote Sens._ 2016, _54_, 227–239. [[CrossRef]](https://doi.org/10.1109/TGRS.2015.2453362) 10. Jean, M.; Jean, T.; François, G.; Michel, P.; Nicolas, R.; Jacques, L.; Yann, F. Influence of band selection and target estimation error on the performance of the matched filter in hyperspectral imaging. _Appl._ _Opt._ 2011, _50_, 4276–4285. 11. Ma, J.P.; Zheng, Z.B.; Tong, Q.X.; Zheng, L.F. An application of genetic algorithms on band selection for hyperspectral image classification. In Proceedings of the Second International Conference on Machine Learning and Cybernetics, Xi’an, China, 2–5 November 2003. 12. Sharma, G.; Trussell, H. Optimal Filter Design for Multi-illuminant Color Correction. In Proceedings of the IS&T/OSA’s Optics and Imaging in the Information Age, Springfield, Virginia, 13 February 2001. 13. Wolski, M.; Bouman, C.; Allebach, J.; Walowit, E. Optimization of sensor response functions for colorimetry of reflective and emissive objects. In Proceedings of the International Conference on Image Processing, Washington, DC, USA, 23–26 October 1995. 14. Vora, P.L.; Trussell, H.J. Mathematical methods for the design of color scanning filters. _IEEE Trans._ _Image Process._ 1997, _6_, 312–320. [[CrossRef]](https://doi.org/10.1109/83.551700) 15. Ng, D.Y.; Allebach, J.P. A subspace matching color filter design methodology for a multispectral imaging system. _IEEE Trans._ _Image Process._ 2006, _15_, 2631–2643. [[PubMed]](https://www.ncbi.nlm.nih.gov/pubmed/16948308) 16. Arad, B.; Ben-Shahar, O. Filter Selection for Hyperspectral Estimation. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 25 December 2017. 17. Li, S. Filter Selection for Optimizing the Spectral Sensitivity of Broadband Multispectral Cameras Based on Maximum Linear Independence. _Sensors_ 2018, _18_, 1455. [[CrossRef]](https://doi.org/10.3390/s18051455) 18. Brill, M.H. Acquisition and reproduction of color images: Colorimetric and multispectral approaches. _Color Res._ _Appl._ 2002, _27_, 304–306. [[CrossRef]](https://doi.org/10.1002/col.10073) 19. Li, S. Several Problems Research of Multispectral Imaging. Ph.D. Thesis, Beijing Institute of Technology, Beijing, China, 2007. 20. Schettini, R.; Novati, G.; Pellegri, P. Training set and filters selection for the efficient use of multispectral acquisition systems. In Proceedings of the Conference on Color in Graphics, Aachen, Germany, 5–8 April 2004. 21. Raimondo, P.P.N.G.S. Training Set Selection for Multispectral Imaging Systems Characterization. _J. Imaging Sci._ _Technol._ 2004, _48_, 203–210. 22. Li, S.; Liao, N.F.; Sun, Y.N. Optimal sensitivity of multispectral camera based on PCA. _Opto-Electron._ _Eng._ 2006, _33_, 127–132. 23. Liang, J.; Xiao, K.; Pointer, M.R.; Wan, X.; Li, C. Spectra estimation from raw camera responses based on adaptive local-weighted linear regression. _Opt._ _Express_ 2019, _27_, 5165–5180. [[CrossRef]](https://doi.org/10.1364/OE.27.005165) 24. Babaei, V.; Amirshahi, S.H.; Agahian, F. Using weighted pseudo-inverse method for recovery of reflectance spectra and analyzing the dataset in terms of normality. _Color Res._ _Appl._ 2011, _36_, 295–305. [[CrossRef]](https://doi.org/10.1002/col.20613) 25. Tzeng, D.Y.; Berns, R.S. A review of principal component analysis and its applications to color technology. _Color Res._ _Appl._ 2005, _30_, 84–98. [[CrossRef]](https://doi.org/10.1002/col.20086) 26. Wu, G. Reflectance spectra recovery from a single RGB image by adaptive compressive sensing. _Laser Phys._ _Lett._ 2019, _16_, 085208. [[CrossRef]](https://doi.org/10.1088/1612-202X/ab2b36) 27. Wu, G.; Xiong, Y.; Li, X. Spectral sparse recovery form a single RGB image. _Laser Phys._ _Lett._ 2021, _18_, 095201. [[CrossRef]](https://doi.org/10.1088/1612-202X/ac1276) 28. Nishidate, I.; Maeda, T.; Niizeki, K.; Aizu, Y. Estimation of Melanin and Hemoglobin Using Spectral Reflectance Images Reconstructed from a Digital RGB Image by the Wiener Estimation Method. _Sensors_ 2013, _13_, 7902–7915. [[CrossRef] [PubMed]](https://doi.org/10.3390/s130607902) 29. Stigell, P.; Miyata, K.; Hauta-Kasari, M. Wiener estimation method in estimating of spectral reflectance from RGB images. _Pattern_ _Recognit._ _Image Anal._ 2007, _17_, 233–242. [[CrossRef]](https://doi.org/10.1134/S1054661807020101) 30. Xiong, Y.; Wu, G.; Li, X.; Wang, X. Optimized clustering method for spectral reflectance recovery. _Front Psychol._ 2022, _13_, 1051286. [[CrossRef]](https://doi.org/10.3389/fpsyg.2022.1051286) 31. Wang, L.; Sole, A.; Hardeberg, J.Y. Densely Residual Network with Dual Attention for Hyperspectral Reconstruction from RGB Images. _Remote Sens._ 2022, _14_, 3128. [[CrossRef]](https://doi.org/10.3390/rs14133128) 32. Xiong, Y.; Wu, G.; Li, X.; Niu, S.; Han, X. Spectral reflectance recovery using convolutional neural network. In Proceedings of the International Conference on Optoelectronic Materials and Devices (ICOMD 2021), Guangzhou, China, 10–12 December 2021; pp. 63–67. 33. Arad, B.; Timofte, R.; Yahel, R.; Morag, N.; Bernat, A.; Cai, Y.; Lin, J.; Lin, Z.; Wang, H.; Zhang, Y. Ntire 2022 spectral recovery challenge and data set. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–20 June 2022; pp. 863–881. 34. Xiong, Y.; Wu, G.; Li, X. Optimized Method Based on Subspace Merging for Spectral Reflectance Recovery. _Sensors_ 2023, _23_, 3056. [[CrossRef]](https://doi.org/10.3390/s23063056) 35. University of Eastern Finland, Spectral Color Research Group. Available online: [http://www.uef.fi/web/spectral/-spectral-](http://www.uef.fi/web/spectral/-spectral-database) [database (accessed on 24 November 2022).](http://www.uef.fi/web/spectral/-spectral-database) _Sensors_ 2023, _23_, 5225 23 of 23 36. Wu, G.; Liu, Z.; Fang, E.; Yu, H. Recovery of spectral color information using weighted principal component analysis. _Optik_ 2015, _126_, 1249–1253. [[CrossRef]](https://doi.org/10.1016/j.ijleo.2015.03.026) 37. Vrhel, M.J.; Gershon, R.; Iwan, L.S. Measurement and analysis of object reflectance spectra. _Color_ _Res._ _Appl._ 1994, _19_, 4–9. [[CrossRef]](https://doi.org/10.1111/j.1520-6378.1994.tb00053.x) 38. Yasuma, F.; Mitsunaga, T.; Iso, D.; Nayar, S.K. Generalized Assorted Pixel Camera: Postcapture Control of Resolution, Dynamic Range, and Spectrum. _IEEE Trans._ _Image Process._ 2010, _19_, 2241–2253. [[CrossRef]](https://doi.org/10.1109/TIP.2010.2046811) 39. Chen, Y. Object Surface Color Spectrum Recovery Based on Digital Camera. Master’s Thesis, Zhejiang University, Hangzhou, China, 2008. 40. Li, B. Research on Multi-Spectral Image Acquisition Method Based on Three-Color Camera. Master’s Thesis, Qufu Normal University, Qufu, China, 2012. Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

섹션 본문 73문단 · 48,367자

(제목 없음)

1Spectral filters are an important part of a multispectral acquisition system, and the selection of suitable filters can improve the spectral recovery accuracy. In this paper, we propose an efficient human color vision-based method to recover spectral reflectance by the optimal filter selection. The original sensitivity curves of the filters are weighted using the LMS cone response function. The area enclosed by the weighted filter spectral sensitivity curves and the coordinate axis is calculated. The area is subtracted before weighting, and the three filters with the smallest reduction in the weighted area are used as the initial filters. The initial filters selected in this way are closest to the sensitivity function of the human visual system. After the three initial filters are combined with the remaining filters one by one, the filter sets are substituted into the spectral recovery model. The best filter sets under L-weighting, M-weighting, and S-weighting are selected according to the custom error score ranking. Finally, the optimal filter set is selected from the three optimal filter sets according to the custom error score ranking. The experimental results demonstrate that the proposed method outperforms existing methods in spectral and colorimetric accuracy, which also has good stability and robustness. This work will be useful for optimizing the spectral sensitivity of a multispectral acquisition system.

Introduction

2Over the last few decades, multispectral imaging technology has been widely used because it solves the "metameric issues" problem of a traditional three-color digital imaging camera and realizes the real recording of spectral information on the surface of objects. This technology has been gradually applied in museums, art galleries, computer graphics, spectral detection, etc. [1][2][3][4][5][6]. One of the most important components in a multispectral acquisition system is the set of optical filters that allows for acquisition in different bands of the visible light spectrum. The selection of a specific filter set from a given filter space clearly affects the accuracy of spectral recovery. Although using more filters usually improves the accuracy of the spectral recovery, it also increases the operational complexity, image acquisition time, and data volume accordingly. Therefore, some scholars have conducted a significant amount of research on how to achieve the optimal selection of filters.

3Filter set optimization has already been studied in some cases, but there are still many problems to be solved [7][8][9][10][11]. Some scholars have designed filters with optimal spectral sensitivity in theory based on specific optimization criteria [12][13][14][15]. However, the comprehensive effect of the optical path, light source, and sensor spectral characteristics makes the design process more complex. At the same time, the actual filter does not guarantee that the theoretically designed optimal filter has exactly the same spectral sensitivity. Another option is to select the best filter from the available filters. This exhaustive method is practical when the total number of filters are small. However, with the increase of the total number of filters to be selected, the computational complexity of the exhaustive method increases dramatically, which makes it inapplicable [16].

4With extensive research, multispectral filters no longer simply rely on empirical methods to select filter compositions. The filter vector analysis method (FVAM) [17] is a commonly used method for filter selection. Hardeberg first used the maximum linear independence (MLI) [18] method to select the spectral training set, and since then Li has applied it to filter selection [19]. The selection principle of the MLI method is that the transmission matrix of the selected filter set has the smallest number of conditions. The transmission vector maximization orthogonal method (MaxOr) [20] involves selecting the filter with the largest transmission vector norm as the preferred filter, and then using each filter to form the transmission space and select the filter set with the largest transmission space orthogonality. The linear distance maximization method (LDMM) [21] uses the linear distance between filter sensitivity vectors as the only criterion for selecting filter sets. FVAM directly selects filters to form filter sets by the mathematical properties of filter sensitivity curves, which is simple and time-saving, and the stability of the selecting results is better than that of the empirical method.

5However, the above method does not consider other parameters in a multispectral imaging system, such as the spectral distribution of the light source (SPD), the spectral sensitivity of the camera, and the characteristics of the imaging scene [16,22]. This leads to the fact that although the filter chosen by FVAM can guarantee the effectiveness of the first channel response of the multispectral camera, it is difficult to satisfy the optimization requirements of the whole system. Therefore, it is necessary to develop an optimized filtering method that integrates other factors in a multispectral imaging system and selects filter sets based on the spectral recovery effect and colorimetric accuracy of each group as a reference.

6In response to the problems of the above study, a filter selection method combining weighted area selection and custom error score ranking is proposed in this paper. The method can be divided into two parts:

71.

8The original sensitivity curve of the filter is weighted by the LMS cone response function. The area reduction rate of the filter before and after weighting is calculated, and the minimum area reduction rate is selected. The initial filters selected in this way are closest to the sensitivity function of the human visual system. 2.

9The three initial filters are combined with the remaining filters one by one, and each combination is substituted into the spectral reconstruction model to obtain the recovery results of the whole imaging system. The respective optimal filter sets under L-weighting, M-weighting, and S-weighting are selected according to the customized minimum recovery error, and then the optimal filter set is selected from the three optimal filter sets by comparing the error set scores.

10The innovation of the paper is to use the human visual system weighting in the filter vector analysis process so that the selected filters are closest to the human eye sensitivity curve. Other factors are integrated into the multispectral imaging system, and the filter sets are selected according to the spectral recovery effect and chromatic accuracy of each group.

Materials and Methods

11Spectral recovery needs to simulate the camera response process. This spectral imaging model is suitable for any known camera response process with spectral sensitivity. The multispectral imaging model can be described by Formula (1):

12where P i is the response value of the ith channel of the sensor, E(λ) is the illumination spectral power distribution (SPD) for each wavelength, R j (λ) is the spectral reflectance of sample j, Q i (λ) is the spectral sensitivity of the ith channel of the sensor, λ is the wavelength, and the sampling range is 400-700 nm, N i is the noise of the digital camera. According to Liang's study [23], in order to simplify the calculation, the imaging model used in this paper does not consider the noise of the camera and assume that the illumination are equal power distribution. Formula (1) can be expressed in matrix form:

13where P is the responses matrix, M is the overall spectral sensitivity function matrix of the multispectral imaging system including the product of the matrix form of E(λ), R j (λ) and Q i (λ), and R is the original spectral reflectance matrix. Spectral recovery is a process of obtaining high-dimensional spectral reflectance with low-dimensional response values. There are various spectral recovery methods, such as the most common pseudo-inverse methods [24,25], principal component analysis methods [26], compressive sensing [27,28], Wiener estimation methods [29], and other methods [30][31][32][33][34]. This method used in this paper is the pseudo-inverse method, which can be expressed by Formula (3):

14where 'T' is the transposition of the matrix, and '−1' represents the inverse operation of the matrix. The pseudo-inverse method is used for spectral recovery. Firstly, the transformation matrix is calculated by training samples, and then the spectral reflectance of the testing sample is recovered by the transformation matrix of the known camera response.

The Proposed Method

15In this section, the flow chart of the proposed filter selection method is shown in Figure 1. The root mean square error (RMSE), goodness of fit coefficient (GFC), and color difference (∆E) are used to evaluate the spectral recovery effect of the selected filter set.

16where is the response value of the ith channel of the sensor, is the illumination spectral power distribution (SPD) for each wavelength, is the spectral reflectance of sample j, is the spectral sensitivity of the ith channel of the sensor, λ is the wavelength, and the sampling range is 400-700 nm, Ni is the noise of the digital camera. According to Liang's study [23], in order to simplify the calculation, the imaging model used in this paper does not consider the noise of the camera and assume that the illumination are equal power distribution. Formula (1) can be expressed in matrix form:

17where P is the responses matrix, M is the overall spectral sensitivity function matrix of the multispectral imaging system including the product of the matrix form of λ , and , and R is the original spectral reflectance matrix. Spectral recovery is a process of obtaining high-dimensional spectral reflectance with low-dimensional response values. There are various spectral recovery methods, such as the most common pseudo-inverse methods [24,25], principal component analysis methods [26], compressive sensing [27,28], Wiener estimation methods [29], and other methods [30][31][32][33][34]. This method used in this paper is the pseudo-inverse method, which can be expressed by Formula (3):

18where 'T' is the transposition of the matrix, and ' 1' represents the inverse operation of the matrix. The pseudo-inverse method is used for spectral recovery. Firstly, the transformation matrix is calculated by training samples, and then the spectral reflectance of the testing sample is recovered by the transformation matrix of the known camera response.

19In this section, the flow chart of the proposed filter selection method is shown in Figure 1. The root mean square error (RMSE), goodness of fit coefficient (GFC), and color difference (ΔE) are used to evaluate the spectral recovery effect of the selected filter set. This selection method can be divided into four main processes: weighted area selection, exhaustive combination, multispectral recovery, and custom error score ranking. Figure 1a of the flowchart is the first step of the operational process, where the original filters are weighted using the LMS cone response function. The three filters that select the Sensors 2023, 23, 5225 4 of 23 best match to the LMS cone response function of the human vision system are selected as the initial filters, which are based on the morphological and mathematical characteristics of the spectral sensitivity curves of the weighted filters. This process requires the calculation of the filter area reduction rate and the selection of the initial filters based on the area reduction rate. Figure 1b of the flowchart shows the second step of the operational process, in which the remaining filters are exhaustively combined with the initial filters one by one after the initial filters are identified. This step is an iterative process. When selecting the filters for the next channel, the L-weighted filter set, the M-weighted filter set, and the S-weighted filter set that performed best in the previous selecting process are used as the initial filter set, respectively. The remaining filters are combined with the initial filter set one by one in an exhaustive manner. Figure 1c of the flowchart is the third step of the operation flow. The third step is to recover the spectra of each group of filter combinations generated by the exhaustive method in the second step one by one, and to derive the recovery error and chromaticity error of each group of filters. Figure 1d of the flowchart is the first step of the operational process, and the optimal filter sets under L-weighted, M-weighted and S-weighted are selected according to the custom recovery error ranking. The optimal filter sets from the three optimal filter sets are selected by comparing the custom error score ranking. When the number of channels increases, the respective optimal filter sets under L-weighted, M-weighted and S-weighted are exhaustively combined with the remaining filters, and the second step is repeated according to the number of channels until the number of filters in the selected filter set equals the number of channels.

Weighted Area Selection

20There are three distinct photoreceptor cells on the retina of the human eye. The three optic cones are called L, M, and S cones because they roughly correspond to the long, medium, and short wavelength range of the visible spectrum. In this paper, the filter is weighted by L, M, and S to better match the selected filter set with the human visual. The weighting process is as shown in Formula (4):

21where b denotes the original sensitivity curve of the filter; i denotes the ith filter; V denotes the cone response function; n denotes the number of cone response functions, and B denotes the filter sensitivity function weighted by the LMS cone response functions. Formula (4) uses the response value of the LMS cone response functions to weight the filter at the same time, because of the sensitivity of the human eye in different wavebands, so this paper will consider using the waveband distance between the filter peak and the LMS curve peak to weight the filter, and the process is shown in Formulas (5) and (6).

22where b max denotes the band of the wave peak of the filter response value; V max denotes the band of the wave peak of the LMS cone response functions; c n denotes the distance between the filter peak and the LMS curve peak of the waveband, and C n denotes the filter sensitivity curve weighted by the band distance. The two-weighted filter sensitivity function is combined to obtain the final weighted filter sensitivity curve D n , such as in Formula (7).

23In this step of the operation, with the spectral band for the horizontal axis, the filter sensitivity response value for the vertical axis calculates the area of the filter sensitivity curve before and after weighting, then subtracts the original area from the weighted area to get the area difference. Dividing the area difference from the original area, the area decreases the smallest filter, which is the selection of the preferred filter. The selecting process is as described in Formula (8).

24where S represents the area of the unweighted filter; and S w represents the area of the weighted filter. By using Formula (8), we can obtain three preferred filters that best match the human eye's L, M and S cone cells.

Exhaustive Combination

25We define b 1 , b 2 and b 3 as the three preferred filters that best match the human eye after weighting the L-cone response function, M-cone response function, and the S-cone response function, respectively. The remaining filter is combined with the three filters separately, as shown in Formula (9).

26where K 1 , K 2, and K 3 respectively denotes the remaining filter set consisting of b 1 , b 2, and b 3 . When selecting the filters for the next channel, the initial filter set selects the best performance to the previous selecting process in the L-weighted filter set, M-weighted filter set, and S-weighted filter set, respectively. The remaining filters are then combined with the initial filter set one at a time in an exhaustive manner.

Multispectral Recovery

27After obtaining the filter set, the similarity between the training samples and the testing samples in the experiment also affects the final recovery accuracy. Therefore, the Euclidean distance between the response value of the training samples and the testing samples is used as a weighting function to optimize the recovery process and express it by using Formula (10).

28where the p test is the response of the testing sample; the p train is the response of the optimal local training sample; the subscript j is the jth sample of the training sample; and the s j represents the Euclidean distance between the jth training sample and the testing sample. The order is then ascending according to the distance between the training and testing samples. The first N (1 ≤ N ≤ j) training samples are selected as the local optimal training samples, and the inverse distance weighting (IDW) coefficient w k is calculated for each selected local optimal training sample, as shown in Formula (11).

29where the subscript k is the kth sample of the local optimal training sample; s k is the Euclidean distance between the kth local optimal training sample, and the testing sample; ε is a very small added value to avoid dividing the equality by zero, and ε = 0.001 is used. The weighted matrix W is defined as in Formula (12).

30The transpose matrix M in the spectral recovery Formula (2) can be expressed as:

31where superscript '−1' represents the matrix violation; R Train is the optimal spectral reflectance of the selected local training sample; P Train is the normalized response value of the training sample; P Test represents the normalized response value of the test sample; and R is the corresponding reconstructed spectrum.

Custom Error Score Ranking

32Through the spatial vector analysis (FVAM) of the weighted filter, and only considering the characteristics of the filter itself, the three preferred filters have the best match for the visual sensitivity function of the human eye. The spectral recovery error and colorimetric error are calculated for each filter combination by combining the filter with other influence parameters in the multispectral acquisition system, and a custom minimum recovery error is used to select the optimal filter set.

33The recovered spectra of the filter sets are obtained in Formula (3). The root mean square error (RMSE), goodness of fit coefficient (GFC), color difference (∆E), peak signalto-noise ratio (PSNR), and spectral angle map (SAM) are calculated and normalized. The recovery error is calculated as shown in Formula (15).

34where TOTALn i is the custom recovery error corresponding to the ith filter set consisting of the nth preferred filter. The RMSE, GFC, ∆E, PSNR and SAM is calculated by Formulas (16)- (20).

35As shown in Formula (21), the filter set with the smallest custom recovery error is selected as the optimal filter set under the current number of channels.

36where G n represents the optimal filter set under the current number of channels. The Formulas (9) and (15)-(21) process can be repeated according to the number of channels in the multispectral imaging system.

Experiment

37To evaluate the performance of the method, comparative experiments are performed based on both simulated and actual multispectral acquisition systems. Four metrics are used to assess the accuracy of the recovery. CIE DE1976 (∆E* ab ) and CIE DE2000 (∆E* 00 ) are used as the reference indices to measure color difference. The root mean square error (RMSE) and goodness of fit coefficient (GFC) are used as the spectral reflectance indices.

Simulation Experiment

38To verify the performance of the proposed method, simulation experiments are first performed using a simulated multispectral acquisition system. The systematic noise treatment is not considered in the simulation experiments [23]. The filter data set comes from 15 filters designed at equal intervals by our laboratory. The sensitivity vectors are shown in Figure 2a. We used the CIE illuminant A as the reference light source, while the spectral power distribution of the light source is shown in Figure 2b. Each curve in Figure 2a represents the spectral sensitivity of a filter, and the different color curves represent different filters.

39where Gn represents the optimal filter set under the current number of channels. The Formulas (9), (15)-(21) process can be repeated according to the number of channels in the multispectral imaging system.

Experiment

40To evaluate the performance of the method, comparative experiments are performed based on both simulated and actual multispectral acquisition systems. Four metrics are used to assess the accuracy of the recovery. CIE DE1976 (∆E*ab) and CIE DE2000 (∆E*00) are used as the reference indices to measure color difference. The root mean square error (RMSE) and goodness of fit coefficient (GFC) are used as the spectral reflectance indices.

Simulation Experiment

41To verify the performance of the proposed method, simulation experiments are first performed using a simulated multispectral acquisition system. The systematic noise treatment is not considered in the simulation experiments [23]. The filter data set comes from 15 filters designed at equal intervals by our laboratory. The sensitivity vectors are shown in Figure 2a. We used the CIE illuminant A as the reference light source, while the spectral power distribution of the light source is shown in Figure 2b. Each curve in Figure 2a represents the spectral sensitivity of a filter, and the different color curves represent different filters. , 140 Color Checker SG [36], and the 354 Vrhel spectral dataset [37] are used in a simulation experiment. In order to make the experimental results more convincing, Munsell Matt chips are used as the training sample. The Munsell Matt chips, Color Checker SG, and the Vrhel spectral dataset are used as the testing samples. The spectral reflectance ranges from 400 to 700 at 10 nm intervals.

42Before selecting the preferred filter, the LMS cone response functions are shown in Figure 3a, and the filter curve weighted by LMS cone response function is shown in Figure 3b [36], and the 354 Vrhel spectral dataset [37] are used in a simulation experiment. In order to make the experimental results more convincing, Munsell Matt chips are used as the training sample. The Munsell Matt chips, Color Checker SG, and the Vrhel spectral dataset are used as the testing samples. The spectral reflectance ranges from 400 to 700 at 10 nm intervals.

43Before selecting the preferred filter, the LMS cone response functions are shown in Figure 3a, and the filter curve weighted by LMS cone response function is shown in Figure 3b-d. The different color curves represent different filters.

44After the three preferred filters are obtained by the weighted area selection, the remaining filters are combined with the preferred filter to form a filter set. The spectral recovery error and colorimetric error are calculated and multiplied by each error parameter index, from which the filter set with the smallest custom error value is selected as the optimal filter set. Therefore, after the analysis of the spectral information data, the response value of the data information should also be analyzed.

45Before verifying the parameter indicators of the final selected filter set, the samples first need to be optimized first, and then an appropriate number of characteristic samples should be selected for spectral recovery according to the distance between the samples. To obtain the optimal parameters, the effect of contrast color error in the number of locally optimal training samples is explored, and the results are shown in Figure 4. According to Figure 4, 150 is selected as the number of locally optimal training samples in this experiment. After the three preferred filters are obtained by the weighted area selection, the remaining filters are combined with the preferred filter to form a filter set. The spectral recovery error and colorimetric error are calculated and multiplied by each error parameter index, from which the filter set with the smallest custom error value is selected as the optimal filter set. Therefore, after the analysis of the spectral information data, the response value of the data information should also be analyzed.

46Before verifying the parameter indicators of the final selected filter set, the samples first need to be optimized first, and then an appropriate number of characteristic samples should be selected for spectral recovery according to the distance between the samples. To obtain the optimal parameters, the effect of contrast color error in the number of locally optimal training samples is explored, and the results are shown in Figure 4. According to Figure 4, 150 is selected as the number of locally optimal training samples in this experiment. After the three preferred filters are obtained by the weighted area selection, the remaining filters are combined with the preferred filter to form a filter set. The spectral recovery error and colorimetric error are calculated and multiplied by each error parameter index, from which the filter set with the smallest custom error value is selected as the optimal filter set. Therefore, after the analysis of the spectral information data, the response value of the data information should also be analyzed.

47Before verifying the parameter indicators of the final selected filter set, the samples first need to be optimized first, and then an appropriate number of characteristic samples should be selected for spectral recovery according to the distance between the samples. To obtain the optimal parameters, the effect of contrast color error in the number of locally optimal training samples is explored, and the results are shown in Figure 4. According to Figure 4, 150 is selected as the number of locally optimal training samples in this experiment. This study compares the spectral recovery accuracy and colorimetric accuracy of this method with three other existing methods under the same experimental conditions, and the results are shown in Table 1. We compare the recovery results of three samples under the same light source, thus verifying the performance of the method under different shooting conditions. The experimental conditions in Table 1 result from using the Munsell Matt chips as the training samples and the testing samples, selecting the 3-7 channels, and using the other methods under the CIE illuminant A. The experimental results in Table 1 show that the maximum and mean color difference are the smallest under the different number of channels, and the proposed method is superior to other methods in terms of colorimetric metrics. In terms of spectral recovery, both the RMSE and GFC evaluation indices of the proposed method are better than the existing methods, which also means that this method has a good spectral recovery effect.

48To make the results more intuitive and to visualize the recovery data, this study used box plots to demonstrate the spectral and colorimetric recovery accuracy under the different methods, as shown in Figure 5. The boxplot is a standardized way of displaying the spectral recovery results, which are the minimum, maximum, median, and first and third quartiles. The value closest to the box indicates the best spectral recovery results, while the value farther from the box indicates the worst spectral recovery results. The * in the figure represents the anomaly, the farther the anomaly is from the box, the worse the spectral reconstruction effect. The box of the boxplot of the proposed method is smaller than other methods, and shows the best results in the maximum and mean. This more intuitively shows that the proposed method is superior to other methods.

49The experimental conditions in Table 2 are the result of using the Munsell Matt chips as the training sample at the CIE illuminant A, using the Color Checker SG as the testing sample, and selecting the 3-7 channels and the other methods used here. The box plots are shown in Figure 6. The experimental conditions in Table 2 are the result of using the Munsell Matt chips as the training sample at the CIE illuminant A, using the Color Checker SG as the testing sample, and selecting the 3-7 channels and the other methods used here. The box plots are shown in Figure 6. With regard to Tables 2 and 3, and Figures 6 and 7, compared with the results in Table 1 and Figure 5, the spectral recovery accuracy and colorimetric accuracy are consistent with the Munsell Matt chips, and the proposed method still outperformed the other methods. This indicates that the presented method performs better and is more stable under different samples. With regard to Tables 2 and 3, and Figures 6 and 7, compared with the results in Table 1 and Figure 5, the spectral recovery accuracy and colorimetric accuracy are consistent with the Munsell Matt chips, and the proposed method still outperformed the other methods. This indicates that the presented method performs better and is more stable under different samples. In Figure 8, we randomly selected three samples of Munsell Matt chip training samples under CIE illumination A after spectral recovery using different methods in order to compare the results of spectral reflectance curve recovery at 3-7 channels. It can be seen that the method is closer to the original sample and has better performance. In Figure 8, we randomly selected three samples of Munsell Matt chip training samples under CIE illumination A after spectral recovery using different methods in order to compare the results of spectral reflectance curve recovery at 3-7 channels. It can be seen that the method is closer to the original sample and has better performance. After simple verification of the proposed method, and in order to show its good performance, it was applied to the spectral images [38]. After simple verification of the proposed method, and in order to show its good performance, it was applied to the spectral images [38]. It can easily be seen in Figure 10 that the results comparison of the spectral images uses the different methods to recover the spectral reflectance. Figure 9a represents the original RGB image. Figure 9 b-f is called the error map, which calculates the color difference of the spectral reflectance recovered by different methods. More red means a larger color difference, and more blue means a lesser color difference. A side-by-side comparison shows the effect of different methods for spectral image recovery, and by the color change, it can be seen that the method approach proposed in this paper is superior to other methods. Therefore, the proposed method shows better performance. It can easily be seen in Figure 10 that the results comparison of the spectral images uses the different methods to recover the spectral reflectance. Figure 9a represents the original RGB image. Figure 9 b-f is called the error map, which calculates the color difference of the spectral reflectance recovered by different methods. More red means a larger color difference, and more blue means a lesser color difference. A side-by-side comparison shows the effect of different methods for spectral image recovery, and by the color change, it can be seen that the method approach proposed in this paper is superior to other methods. Therefore, the proposed method shows better performance.

Real Experiment

50This section involves the performing of real experiments in the dark room to further validate the proposed method. In this experiment, the IT8.7/3 color card is used as the data sample, which has 928 color blocks (Figure 11a). The response value of each color block are obtained using a Shot 5.0 multispectral camera with an ISO size of 50, an f-number-

51This section involves the performing of real experiments in the dark room to further validate the proposed method. In this experiment, the IT8.7/3 color card is used as the data sample, which has 928 color blocks (Figure 11a). The response value of each color block are obtained using a Shot 5.0 multispectral camera with an ISO size of 50, an f-number-hole circle of F5.6, and an exposure time of 1/10 s. The real response values are extracted in the sRGB color space. The power distribution of the light source in the shooting environment is measured using the CS2000 spectroscopic radiometer, as shown in Figure 11b. The selection of the filter in the real experiment is still the same as in the simulation experiment, which is shown in Figure 11c. hole circle of F5.6, and an exposure time of 1/10 s. The real response values are extracted in the sRGB color space. The power distribution of the light source in the shooting environment is measured using the CS2000 spectroscopic radiometer, as shown in Figure 11b. The selection of the filter in the real experiment is still the same as in the simulation experiment, which is shown in Figure 11c.

Experimental Environment

52In order to obtain effective training sample color data and improve the accuracy of the data, a stable shooting environment must be determined before shooting.

53First, in the process of shooting color pictures, the camera itself and the settings of the lighting and the surroundings are very critical. The stability of the lighting includes both time and space. If the amount of light radiation received by the target object surface changes over time, or the amount of light radiation received by the color sample at different spatial locations varies, then the camera response value signal generated by the color is bound to change as well. In addition, it is known from the optics of the camera that the light radiation energy received by the photoreceptor is strongest in the central part and decreases along the radius due to the optical effect of the convex lens inside the camera. Therefore, the color samples are placed in the center area of the camera's field of view as much as possible during the shooting, and the training and test samples are placed in the center of the two light sources, ensuring that the light reached the samples from a 45° angle and placing the samples 1.5 m away from the camera lens, as shown in Figure 12a. From the time the light sources are turned on, they are warmed up for 30 min, and the light intensity of the light sources are allowed to stabilize before shooting. The above operation ensures the lighting stability from both space and time, and the real experimental scenario is shown in Figure 12b.

54In order to obtain effective training sample color data and improve the accuracy of the data, a stable shooting environment must be determined before shooting.

55First, in the process of shooting color pictures, the camera itself and the settings of the lighting and the surroundings are very critical. The stability of the lighting includes both time and space. If the amount of light radiation received by the target object surface changes over time, or the amount of light radiation received by the color sample at different spatial locations varies, then the camera response value signal generated by the color is bound to change as well. In addition, it is known from the optics of the camera that the light radiation energy received by the photoreceptor is strongest in the central part and decreases along the radius due to the optical effect of the convex lens inside the camera. Therefore, the color samples are placed in the center area of the camera's field of view as much as possible during the shooting, and the training and test samples are placed in the center of the two light sources, ensuring that the light reached the samples from a 45 • angle and placing the samples 1.5 m away from the camera lens, as shown in Figure 12a. From the time the light sources are turned on, they are warmed up for 30 min, and the light intensity of the light sources are allowed to stabilize before shooting. The above operation ensures the lighting stability from both space and time, and the real experimental scenario is shown in Figure 12b. hole circle of F5.6, and an exposure time of 1/10 s. The real response values are extracted in the sRGB color space. The power distribution of the light source in the shooting environment is measured using the CS2000 spectroscopic radiometer, as shown in Figure 11b. The selection of the filter in the real experiment is still the same as in the simulation experiment, which is shown in Figure 11c.

56In order to obtain effective training sample color data and improve the accuracy of the data, a stable shooting environment must be determined before shooting.

57First, in the process of shooting color pictures, the camera itself and the settings of the lighting and the surroundings are very critical. The stability of the lighting includes both time and space. If the amount of light radiation received by the target object surface changes over time, or the amount of light radiation received by the color sample at different spatial locations varies, then the camera response value signal generated by the color is bound to change as well. In addition, it is known from the optics of the camera that the light radiation energy received by the photoreceptor is strongest in the central part and decreases along the radius due to the optical effect of the convex lens inside the camera. Therefore, the color samples are placed in the center area of the camera's field of view as much as possible during the shooting, and the training and test samples are placed in the center of the two light sources, ensuring that the light reached the samples from a 45° angle and placing the samples 1.5 m away from the camera lens, as shown in Figure 12a. From the time the light sources are turned on, they are warmed up for 30 min, and the light intensity of the light sources are allowed to stabilize before shooting. The above operation ensures the lighting stability from both space and time, and the real experimental scenario is shown in Figure 12b.

Linear Calibration of Camera Response Values Correction

58All of the experimental data in Section 4.1 are simulated experiments conducted under ideal conditions, thus ignoring noise, and assuming that a multispectral acquisition system has a perfect linear response model, which naturally produces smaller errors than the actual experiment.

59The response signal of the camera is obtained by the interaction of the light radiation energy incident on the sensor and the spectral response function of the camera, which is a set of linear data. However, in practice, the signal from the CCD or CMOS optical conversion of the multispectral camera will undergo a series of transmissions and compressions before it is outputted to the display device, at which time the response signal has become nonlinear data. If the camera signal acquired from the image is converted back to a linear response value [39], i.e., the digital signal of the camera is linearly corrected, then the spectrum recovered from the digital signal is as accurate as possible with the spectrum measured with a spectrometer, and an accurate spectral recovery effect is achieved. In this experiment, color blocks 19 to 24 of the 24 color card ( Figure 13) are used as a grayscale, and Li's [40] method is used to linearly correct the response values of the multispectral camera.

60All of the experimental data in Section 4.1 are simulated experiments conducted under ideal conditions, thus ignoring noise, and assuming that a multispectral acquisition system has a perfect linear response model, which naturally produces smaller errors than the actual experiment.

61The response signal of the camera is obtained by the interaction of the light radiation energy incident on the sensor and the spectral response function of the camera, which is a set of linear data. However, in practice, the signal from the CCD or CMOS optical conversion of the multispectral camera will undergo a series of transmissions and compressions before it is outputted to the display device, at which time the response signal has become nonlinear data. If the camera signal acquired from the image is converted back to a linear response value [39], i.e., the digital signal of the camera is linearly corrected, then the spectrum recovered from the digital signal is as accurate as possible with the spectrum measured with a spectrometer, and an accurate spectral recovery effect is achieved. In this experiment, color blocks 19 to 24 of the 24 color card ( Figure 13) are used as a grayscale, and Li's [40] method is used to linearly correct the response values of the multispectral camera. The photoelectric signal of the camera is linearly related to the optical radiation energy received by the CCD or CMOS, and the camera response value is also linearly related to the photoelectric signal of the camera. Therefore, this experiment achieves linear correction by establishing the conversion relationship between the camera response value and the CCD or CMOS optical radiation energy.

62The light radiation energy T is obtained by the product of the spectral power distribution of the light source E(λ) and the reflectance of the color spectrum of the object surface R(λ) (see Formula (22)). Figure 14 shows the spectral reflectance curves of each gray sample, from which it can be seen that the reflectance curves of each color block remain basically horizontal, and the reflectance coefficients of each gray color block are similar. The six different color lines The photoelectric signal of the camera is linearly related to the optical radiation energy received by the CCD or CMOS, and the camera response value is also linearly related to the photoelectric signal of the camera. Therefore, this experiment achieves linear correction by establishing the conversion relationship between the camera response value and the CCD or CMOS optical radiation energy.

63The light radiation energy T is obtained by the product of the spectral power distribution of the light source E(λ) and the reflectance of the color spectrum of the object surface R(λ) (see Formula (22)). Figure 14 shows the spectral reflectance curves of each gray sample, from which it can be seen that the reflectance curves of each color block remain basically horizontal, and the reflectance coefficients of each gray color block are similar. The six different color lines in Figure 14 represent the reflectance coefficients of the six gray color blocks.This indicates that the gradients of the gray color block we selected are uniform and reasonable, which can ensure the accuracy of the linear calibration data. in Figure 14 represent the reflectance coefficients of the six gray color blocks.This indicates that the gradients of the gray color block we selected are uniform and reasonable, which can ensure the accuracy of the linear calibration data. Before establishing the linear conversion formula between the light radiation energy and the camera response value, there is one more important operation, which is the normalization of the acquired data. The processed data will eventually be used to fit the linear formula. Table 4 shows an example of the normalization process for the experimental data of the third filter among the 15 filters to be selected. T represents the light radiation energy distribution derived from Formula (21), and t represents the light radiation energy distribution after normalization with the maximum value of T as a reference. P represents the camera response value obtained by shooting, and p represents the response value of the brightest color sample (white) selected as a standard to normalize the response signal of the grayscale color and obtain the normalized response value.

64In this experiment, the least squares method of curve fitting is used to obtain the linear conversion formula for each channel of the camera to achieve the linear correction of the digital signal. The linear conversion formula is established between the light radiation energy t and the camera response value, which can be realized by Formula (23). Figure 14. Spectral reflectance curves of gray samples.

65Before establishing the linear conversion formula between the light radiation energy and the camera response value, there is one more important operation, which is the normalization of the acquired data. The processed data will eventually be used to fit the linear formula. Table 4 shows an example of the normalization process for the experimental data of the third filter among the 15 filters to be selected. T represents the light radiation energy distribution derived from Formula (21), and t represents the light radiation energy distribution after normalization with the maximum value of T as a reference. P represents the camera response value obtained by shooting, and p represents the response value of the brightest color sample (white) selected as a standard to normalize the response signal of the grayscale color and obtain the normalized response value.

66In this experiment, the least squares method of curve fitting is used to obtain the linear conversion formula for each channel of the camera to achieve the linear correction of the digital signal. The linear conversion formula is established between the light radiation energy t and the camera response value, which can be realized by Formula (23).

67where f (x) represents the linear transformation formula, and the least squares implementation is implemented using the Matlab package. The final linear transformation formula selected was obtained by a Matlab calculation.

Experimental Result

68The linearly corrected camera response values are substituted into the multispectral imaging model (1), and subsequent calculations and selections are then performed as in the simulated experimental process to obtain the final experimental results.

69The real experimental results are shown in Table 5. The results showed that the proposed method was consistent with the simulation experiments in spectral recovery and color difference, and both outperformed the existing methods, proving that the actual experiments achieved better results, and that the method proposed in this study can be applied to real scenarios. Figure 15 shows the box plot distribution of the reference metrics for the present method compared with the existing methods, and Figure 16 shows the recovered spectral reflectance of three randomly selected detection samples, proving that the recovered spectral reflectance is more accurate and has a lower color error than the existing methods.

Discussion and Conclusions

70This study proposes a filter selection method that combines weighted area selection and custom error score ranking. The filter that best matches the human visual system is selected as the initial filter by weighting the filters using the LMS cone response function in combination with the area reducing rate selecting. The initial filter is combined with the In summary, the high similarity between the simulated and actual experimental results confirms the superiority of this method.

71This study proposes a filter selection method that combines weighted area selection and custom error score ranking. The filter that best matches the human visual system is selected as the initial filter by weighting the filters using the LMS cone response function in combination with the area reducing rate selecting. The initial filter is combined with the remaining filters one by one, and the spectral recovery error and chromaticity error are calculated and then multiplied to select the filter combination with the smallest custom recovery error. In the experiment, we used four color samples and five channel types to verify the performance of the proposed method. The results show that using seven channels and choosing Munsell color samples for the experiments gives the best results with a mean root mean square error of 0.0031 and a mean color difference of 0.1566.

72After validation by simulation and real experiments, the results show that the proposed method is better than other existing methods. By changing the data samples and the shooting environment, the method still outperforms other methods, showing good validity and robustness. This work will be useful for optimizing the spectral sensitivity of multispectral imaging sensors.

73Due to the influence of the number of filters purchased by the laboratory, the number of filters to be screened in this experiment is 15, and the amount of data is relatively small. The feasibility of the proposed method was demonstrated by the validation of this experiment, and more filters will be purchased to continue to verify the generality of this method.

참고문헌 36건

  1. Measurement and Analysis of Object Reflectance Spectra Color Research & Application · Wiley · 1994 10.1111/j.1520-6378.1994.tb00053.x
  2. Training Set and Filters Selection for the Efficient Use of Multispectral Acquisition Systems Conference on Colour in Graphics Imaging and Vision · Society for Imaging Science and Technology · 2004 10.2352/cgiv.2004.2.1.art00085
  3. Unsupervised Hyperspectral Band Selection by Dominant Set Extraction IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tgrs.2015.2453362
  4. Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
  5. A review of principal component analysis and its applications to color technology Color Research & Application · Wiley · 2005 10.1002/col.20086
  6. Estimation of Melanin and Hemoglobin Using Spectral Reflectance Images Reconstructed from a Digital RGB Image by the Wiener Estimation Method Sensors · Multidisciplinary Digital Publishing Institute · 2013 10.3390/s130607902
  7. Influence of band selection and target estimation error on the performance of the matched filter in hyperspectral imaging Applied Optics · Optica Publishing Group · 2011 10.1364/ao.50.004276
  8. Advances in multispectral and hyperspectral imaging for archaeology and art conservation Applied Physics A · Springer Science+Business Media · 2011 10.1007/s00339-011-6689-1
  9. Acquisition and reproduction of color images: Colorimetric and multispectral approaches Color Research & Application · Wiley · 2002 10.1002/col.10073
  10. Generalized Assorted Pixel Camera: Postcapture Control of Resolution, Dynamic Range, and Spectrum IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2010 10.1109/tip.2010.2046811
  11. Mathematical methods for the design of color scanning filters IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1997 10.1109/83.551700
  12. Using weighted pseudo‐inverse method for reconstruction of reflectance spectra and analyzing the dataset in terms of normality Color Research & Application · Wiley · 2010 10.1002/col.20613
  13. A subspace matching color filter design methodology for a multispectral imaging system IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2006 10.1109/tip.2006.877384
  14. Optimization of sensor response functions for colorimetry of reflective and emissive objects IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1996 10.1109/83.491323
  15. &lt;title&gt;Optimization of sensor response functions for colorimetry of reflective and emissive objects&lt;/title&gt; Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1994 10.1117/12.173851
  16. Hyperspectral Band Selection for Anomaly Detection: The Role of Data Gaussianity IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing · Institute of Electrical and Electronics Engineers · 2015 10.1109/jstars.2015.2487638
  17. Optimal sensitivity of multispectral camera based on PCA Guangdian gongcheng · Chinese Academy of Sciences · 2006
  18. Reconstruction of spectral color information using weighted principal component analysis Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.03.026
  19. Filter Selection for Optimizing the Spectral Sensitivity of Broadband Multispectral Cameras Based on Maximum Linear Independence Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18051455
  20. Filter Selection for Hyperspectral Estimation 2017 10.1109/iccv.2017.342
  21. Smartphone-based multispectral imaging and machine-learning based analysis for discrimination between seborrheic dermatitis and psoriasis on the scalp Biomedical Optics Express · Optica Publishing Group · 2019 10.1364/boe.10.000879
  22. Spectra estimation from raw camera responses based on adaptive local-weighted linear regression Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.005165
  23. Reflectance spectra recovery from a single RGB image by adaptive compressive sensing Laser Physics Letters · IOP Publishing · 2019 10.1088/1612-202x/ab2b36
  24. Detection of Oil-Containing Dressing on Salad Leaves Using Multispectral Imaging IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2992326
  25. Spectral Reflectance Reconstruction Using Fuzzy Logic System Training: Color Science Application Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20174726
  26. Spectral sparse recovery form a single RGB image Laser Physics Letters · IOP Publishing · 2021 10.1088/1612-202x/ac1276
  27. Smartphone imaging spectrometer for egg/meat freshness monitoring Analytical Methods · Royal Society of Chemistry · 2022 10.1039/d1ay01726h
  28. Smartphone imaging spectrometer for egg/meat freshness monitoring Analytical Methods · Royal Society of Chemistry · 2022 10.1039/d1ay01726h
  29. Spectral reflectance recovery using convolutional neural network 2022 10.1117/12.2628555
  30. Spectral filter selection for spectral reflectance recovery 2022 10.1117/12.2637625
  31. Open-source mobile multispectral imaging system and its applications in biological sample sensing Spectrochimica Acta Part A Molecular and Biomolecular Spectroscopy · Elsevier BV · 2022 10.1016/j.saa.2022.121504
  32. Densely Residual Network with Dual Attention for Hyperspectral Reconstruction from RGB Images Remote Sensing · Multidisciplinary Digital Publishing Institute · 2022 10.3390/rs14133128
  33. NTIRE 2022 Spectral Demosaicing Challenge and Data Set 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · 2022 10.1109/cvprw56347.2022.00103
  34. Optimized clustering method for spectral reflectance recovery Frontiers in Psychology · Frontiers Media · 2022 10.3389/fpsyg.2022.1051286
  35. Optimized Method Based on Subspace Merging for Spectral Reflectance Recovery Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23063056
  36. Training Set Selection for Multispectral Imaging Systems Characterization Journal of Imaging Science and Technology · Society for Imaging Science and Technology · 2004 10.2352/j.imagingsci.technol.2004.48.3.art00004