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

Optimized clustering method for spectral reflectance recovery

간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포(3) 자동차 인테리어 소재

기본 정보

저자
  1. Yifan Xiong — Faculty of Light Industry, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China
  2. Guangyuan Wu — Faculty of Light Industry, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China
  3. Xiaozhou Li — State Key Laboratory of Bio-based Material and Green Papermaking, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China
  4. Xin Wang — Faculty of Light Industry, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China
DOI
10.3389/fpsyg.2022.1051286
저널
Frontiers in Psychology
발행년도
2022
발행기관
Frontiers Media
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3389/fpsyg.2022.1051286
토픽
Color Science and Applications
OpenAlex ID
W4309698523

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
분석·모델링
확신도
0.70
근거 용어
spectral reflectance recovery, clustering method, color space, textiles, camera response values
판단 근거
본 논문은 카메라 응답 값으로부터 물체의 분광 반사율을 복원하는 클러스터링 알고리즘을 다루며, 결론부에서 섬유(textiles) 분야로의 적용 가능성을 명시하고 있습니다.
R&D 활용 포인트
섬유 및 인공피혁 소재의 색상 정밀 측정 및 디지털 색채 관리 시스템의 분석 모델로 활용 가능합니다.
평가 입력
본문 42,897자 중 30,032자 발췌

초록

An optimized method based on dynamic partitional clustering was proposed for the recovery of spectral reflectance from camera response values. The proposed method produced dynamic clustering subspaces using a combination of dynamic and static clustering, which determined each testing sample as a priori clustering center to obtain the clustering subspace by competition. The Euclidean distance weighted and polynomial expansion models in the clustering subspace were adaptively applied to improve the accuracy of spectral recovery. The experimental results demonstrated that the proposed method outperformed existing methods in spectral and colorimetric accuracy and presented the effectiveness and robustness of spectral recovery accuracy under different color spaces.

본문 42,897자

본문 펼치기
OPEN ACCESS EDITED BY Qiang Liu, Wuhan University, China REVIEWED BY Jinxing Liang, Wuhan Textile University, China Qifeng Chen, South China University of Technology, China *CORRESPONDENCE Guangyuan Wu wgy19882000@163.com SPECIALTY SECTION This article was submitted to Perception Science, a section of the journal Frontiers in Psychology RECEIVED 22 September 2022 ACCEPTED 31 October 2022 PUBLISHED 23 November 2022 CITATION Xiong Y, Wu G, Li X and Wang X (2022) Optimized clustering method for spectral reflectance recovery. _Front. Psychol._ 13:1051286. [doi: 10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) COPYRIGHT © 2022 Xiong, Wu, Li and Wang. This is an open-access article distributed [under the terms of the Creative](http://creativecommons.org/licenses/by/4.0/) [Commons Attribution License (CC BY).](http://creativecommons.org/licenses/by/4.0/) The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. TYPE [Original Research](https://www.frontiersin.org/journals/psychology#editorial-board) PUBLISHED [23 November 2022](https://www.frontiersin.org/journals/psychology#editorial-board) DOI [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) # Optimized clustering method for spectral reflectance recovery Yifan Xiong <sup>1</sup>, Guangyuan Wu <sup>1</sup> *, Xiaozhou Li <sup>2</sup> and Xin Wang <sup>1</sup> 1Faculty of Light Industry, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China, <sup>2</sup> State Key Laboratory of Bio-based Material and Green Papermaking, Qilu University of Technology, Shandong Academy of Sciences, Jinan, China An optimized method based on dynamic partitional clustering was proposed for the recovery of spectral reflectance from camera response values. The proposed method produced dynamic clustering subspaces using a combination of dynamic and static clustering, which determined each testing sample as _a_ _priori_ clustering center to obtain the clustering subspace by competition. The Euclidean distance weighted and polynomial expansion models in the clustering subspace were adaptively applied to improve the accuracy of spectral recovery. The experimental results demonstrated that the proposed method outperformed existing methods in spectral and colorimetric accuracy and presented the effectiveness and robustness of spectral recovery accuracy under different color spaces. KEYWORDS spectral recovery, dynamic partitional clustering, color space, camera responses, spectral reflectance ## Introduction Spectral reflectance describes wavelength-dependent reflectance functions and determines the intrinsic color characteristics of object materials (Liang and Wan, 2017). Spectral matching can successfully predict the color appearance of a scene under arbitrary environmental conditions, which has led to its widespread use in high-fidelity reproduction (Liu et al., 2019), remote sensing (Lin and Finlayson, 2020), cultural heritage (Liang, 2011), medical diagnosis (Depeursinge et al., 2009; Nishidate et al., 2013; Xiao et al., 2016), etc. (Wu et al., 2016; Jinxing et al., 2022). The spectral acquisition can be directly measured by spectrophotometers or multispectral cameras; however, it is often accompanied by the limitations of their complexity and inconvenience with less practical application (Liu et al., 2017; Wu, 2019; Molada-Tebar et al., 2020). Alternatively, camera response values can be easily acquired using digital cameras or scanners. Hence, it is valuable to recover spectral reflectance from camera response values in this direction (Wang et al., 2020). The camera response values are three integral values representing the object color information under a specific environmental condition; therefore, spectral recovery from camera response values is generally used to solve an ill-posed inverse problem. [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 01 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) Several methods, such as the pseudo-inverse (PI) method (Babaei et al., 2011; Wu et al., 2015; Maali Amiri and Fairchild, 2018), compressive sensing (CS) (Zhang et al., 2014; Dafu et al., 2017), Wiener estimation (Stigell et al., 2007; Nishidate et al., 2013), principal component analysis (Liang, 2011), and convolutional neural networks (Xiong et al., 2022), are being applied directly to recover the spectral reflectance. Accurate spectral recovery methods are a more meaningful and valuable solution for practical applications; therefore, the proposed strategies have been mostly concerned with optimal sample selection and processing. The greater the similarity between the training and testing samples, the better the accuracy of the spectral recovery. Li et al. (2013) proposed a spectral recovery method based on a locally linear approximation by weighting the nearest neighbors. Cao et al. (2017) attempted to recover the spectral reflectance from camera response values using local weighting modes based on color differences. Zhang et al. (2016) selected training samples by drawing a sphere in the camera response value space and used Wiener estimation to recover the spectral reflectance. Wang et al. (2020) applied the sequential weighted nonlinear regression method to recover the spectral reflectance from the camera response values, considering colorimetric and spectral errors. Wu et al. (2021) presented a compressive sensingbased spectral sparse recovery method that uses sparse basis functions. These methods could reasonably produce spectral recovery accuracy using predefined parameters; however, they are insufficient for selecting the training samples for each testing sample characteristic. Kwon et al. (2007) utilized Lloyd’s algorithm based on K-means (KM) clustering to iteratively divide the entire training sample into subgroups with similar colors and recover the spectral reflectance using the principal components obtained by subgroups. Xu et al. (2017) employed the KM clustering algorithm to partition multispectral images and extract training samples from an art painting, which selected the representative sample in each cluster for spectral reflectance recovery. Although the above methods achieve adaptive sample selection strategies using the clustering method, the characteristics of each testing sample were not considered in the clustering process. Thus, it is necessary to develop an optimized clustering method to adaptively select the training samples based on the characteristics of each testing sample. This paper has presented an optimized method based on dynamic partitional clustering for spectral reflectance recovery from camera response values. The novelty of the proposed method is that it produces dynamic clustering subspaces by utilizing a combination of dynamic and static clustering, which determines each testing sample as _a_ _priori_ clustering center to the sample characteristics of the clustering subspaces through competition. After acquiring the training samples, the spectral reflectance is recovered using the Euclidean distance weighted and polynomial expansion models in the clustering subspace. The effectiveness of the proposed method is compared where _Y =_ [ _r, g, b_ ] <sup>_T_</sup> is the corresponding camera response value, the superscript “T” is the matrix transposition, λ is the human visible wavelength that includes the range from λ _min_ to λ _max_, and ε is the camera system noise. The camera system noise was negligible owing to measurement difficulty (Arad and BenShahar, 2017); thus, Equation (1) can be expressed simply in matrix notation: _Y_ = _MR_ (2) where _M_ denotes the integration matrix that calculates the camera sensitivity function _q(_ λ _)_ and the illuminant spectral power distribution I _(_ λ _)_ and _R_ represents the spectral reflectance. The reverse solution was to recover the spectral reflectance from the camera response values formulated by Equation (3) _R_ = _QY_ (3) where _Q_ is the transformation matrix. The main goal of this study was to minimize the spectral recovery error from the camera response values. _R_ = _arg_ _minR_ <sup>∥</sup> <sup>_R_</sup> <sup>−</sup> <sup>_QY_</sup> <sup>∥</sup> <sup>_l_</sup> <sup>1</sup> (4) where∥· ∥ _l_ 1 denotes the _l_ 1 Frobenius norm of the matrix. The spectral recovery process was implemented by treating all training samples equally, which could theoretically be optimum for all testing samples other than each sample. This suggested that the transformation matrix _Q_ could be obtained by considering each testing sample characteristic, and the result of spectral recovery would be optimal. Thus, the problem of spectral reflectance recovery was transformed into the optimization of the transformation matrix _Q_ . Therefore, the optimal sample selection and processing were adaptive to each testing sample characteristic, making a reasonable choice for producing the optimal transformation matrix. with existing methods in terms of spectral and colorimetric accuracy, and the effectiveness and robustness of the proposed method for spectral recovery accuracy under different color spaces are presented. ## Materials and methods The incoming light was reflected by the object’s surface through the camera, which converted it to an electrical signal and quantified the camera response values based on the human perception of colors. The camera response values were calculated by the combination of the camera sensitivity functions _q(_ λ _)_, illuminant spectral power distribution I _(_ λ _)_, and object surface reflectance _r(_ λ _)_, which could be described using the integral process. _Y_ = - λ _max_ λ _min_ _I(_ λ _) r(_ λ _) q(_ λ _) d_ λ + ε (1) [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 02 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) ## The proposed method In this section, an optimized clustering method for spectral reflectance recovery was proposed for camera response values, which is schematically illustrated in Figure 1 . The widely used pseudo-inverse (PI) method is a straightforward method to present the relationship between the camera response values and the sample reflectance, which was used to verify the sample selection and processing for the method proposed in this study. Acquiring camera response values The camera response values of the simulation experiments were calculated instead of those extracted from the images because the spectral power distribution of the light source and the spectral sensitivities of the camera could be measured (Arad and Ben-Shahar., 2017). Finally, the response value of the simulated camera was integrated by the measured spectral sensitivities of the camera, spectral power distribution of the light source, and spectral reflectance. For the real experiment, the raw images (“CR2” format file) were acquired using a Canon EOS 5D Camera, controlled by software (Digital Photo Professional 4). The Tagged Image File Format (TIFF) can be easily converted from the raw images, which is used to acquire the corresponding red, green, and blue (RGB) response values. Selecting the optimal local training samples For a given training sample ( x1 _..._ xm ) in RGB color space, each _xi_ ∈ YT _rain_, where m is the number of training samples. Let ( p1 _..._ pn ) ∈ YT _est_ be the testing samples in RGB color space, with pe ∈ YT _est_, where n is the number of testing samples. The set of clustering centers can be FIGURE 1 Schematic illustration of the optimized clustering method for spectral reflectance recovery. FIGURE 2 (A) Spectral sensitivities of the camera and (B) spectral power distribution of the International Commission on Illumination (CIE) Standard Illuminant D65. [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 03 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) expressed as ( u1u2 _..._ ul ) ∈ L, where l indicates the number of clustering centers; u1 is a fixed point, which is the testing sample considering the chromaticity characteristics as the prior clustering center, in this work _,_ u1 = pe . The other clustering centers are the dynamic random points based on the training samples, which are obtained by the KM clustering algorithm. The partition information of subspaces _C_ is determined by the division of the clustering centers. FIGURE 3 Mean root-mean-square error (RMSE) map of simulation experiment (A) K-mean angle similar (KS) and (B) K-means (KM). TABLE 1 Simulated spectral recovery results of the proposed and other existing methods. CIE DE76 Results Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 0.57 1.30 0.74 0.60 14.13 0.52 0.31 0.10 0.10 Maximum 2.13 5.11 2.34 2.78 49.54 19.48 1.53 1.06 1.32 Minimum 0.07 0.05 0.01 0.01 0.22 0.01 0.01 0.00 0.00 CIEDE2000 Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 0.43 0.99 0.63 0.40 10.42 0.35 0.24 0.07 0.07 Maximum 1.88 2.39 2.41 1.49 38.51 10.21 1.25 0.40 0.75 Minimum 0.06 0.04 0.00 0.01 0.25 0.01 0.01 0.00 0.00 RMSE (%) Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 0.71 0.69 0.93 0.83 5.49 0.55 0.46 0.15 0.16 Maximum 2.95 2.55 3.48 4.00 24.13 9.55 2.95 2.77 3.61 Minimum 0.06 0.007 0.10 0.14 0.18 0.004 0.004 0.01 0.01 GFC (%) Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 99.89 99.94 99.83 99.79 97.53 99.92 99.95 99.99 99.99 Maximum 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 Minimum 97.82 99.28 98.93 96.00 74.99 98.05 98.75 99.75 99.59 [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 04 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) Minimizing a cost function _W_ _(C, L)_ shows the natural structure of YT _rain_ . The Euclidean distance was used as the basis for partitioning, which was the KM clustering strategy selected in this study. The ∥ _xi_ - _ua_ ∥ can be demonstrated in Equation (7). _xi_ ∈ _Ca_ ∥ _xi_ - _ua_ ∥= _W (C, L)_ = _minC_ _a_ _L_ = 1 ∥ _xi_ - _ua_ ∥ _(i_ = 1 _,_ 2 _, ...m,_ �� _m_ - _t_ = 1 _(xi_ - _ua)_ <sup>2</sup> (7) _a_ = 1 _,_ 2 _, ..l)_ (5) where the subscript _i_ denotes the _i_ th sample of training samples; the subscript _a_ denotes the _a_ th sample of the clustering centers; the _Ca_ denotes the _a_ th division subspace; and the ∥ _._ ∥ represents a different way of partition, which is cosine angle or Euclidean distance. Two approaches were used as criteria to determine the distance. The cosine angle distance was used as the basis for partitioning, which was the K-mean angle similar (KS) clustering strategy selected in this study. The ∥ _xi_ - _ua_ ∥ can be demonstrated in Equation (6). The new partition was generated once the way of classification was determined. <u>1</u> _Jt_ = _ha_ - _Ca (a_ = 2 _,_ 3 _, ....l)_ (8) - _<_ _<u>xi,ua</u>_ _>_ ∥ _xi_ - _ua_ ∥= _acos_ ∥ _xi_ ∥∥ _ua_ ∥ (6) where _Jt_ represents the clustering centers of the subspaces _C_, which together with the testing samples pe forms the set of clustering center _L_ and h _a_ represents the number of samples in each division subspace _Ca_ . In this process, the subspace where the test sample was located did not seek the average value, whereas the other subspaces regenerated the center point to obtain the optimal local subspace. Let the cosine angle or Euclidean distance be a distance function. It can easily calculate FIGURE 4 Boxplots of simulated experiment results: (A) The International Commission on Illumination (CIE) DE1976 color difference, (B) CIE DE2000 color difference, (C) root-mean-square error (RMSE), and (D) goodness of fit coefficient (GFC). [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 05 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) FIGURE 5 Reflectance recovery results from the proposed and existing methods with four randomly selected samples in the simulated experiment. FIGURE 6 (A) Distribution of the sample points in the International Commission on Illumination (CIE)1964-XY chromaticity diagram and (B) real spectral power distribution of the light source. [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 06 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) the distance between the clustering centers and training samples. Equations (6) and (7) were substituted into Equation (5) to obtain the new subspace information. After processing, the subspaces other than the subspace where the test sample (the first clustering center) was located were averaged to obtain the remaining new clustering centers. Finally, the new clustering centers L were obtained and substituted into Equation (5) to obtain the final subspace. _�_ = [ _x_ 1 _, x_ 2 _, x_ 3 _...xN_ ] _(N_ _<_ _m)_ (9) FIGURE 7 (A) Mean root-mean-square error (RMSE) map of the real experiment (A) K-mean angle similar (KS) and (B) K-means (KM). TABLE 2 Real spectral recovery results of the proposed and other existing methods. CIE DE76 Results Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 6.33 4.58 10.00 4.62 13.36 4.05 3.44 1.95 1.91 Maximum 33.08 13.76 25.75 14.65 41.89 18.39 19.35 10.16 8.87 Minimum 0.40 0.30 0.87 0.46 0.32 0.17 0.29 0.17 0.06 CIEDE2000 Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 4.04 2.99 7.28 3.33 9.30 2.79 2.25 1.31 1.32 Maximum 11.65 10.99 21.65 7.37 28.44 9.29 11.55 8.04 3.92 Minimum 0.39 0.22 0.69 0.45 0.40 0.14 0.30 0.09 0.07 RMSE (%) Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 3.60 2.13 7.34 3.68 5.89 2.95 2.38 1.09 1.09 Maximum 11.85 7.38 22.08 15.97 23.89 13.81 15.65 5.44 4.73 Minimum 0.18 0.18 1.02 0.20 0.005 0.008 0.007 0.007 0.06 GFC (%) Li Wang Wu Zhang Cao Kwon Xu KS KM Mean 99.44 99.81 99.70 99.85 98.23 99.88 99.91 99.95 99.96 Maximum 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 100.00 Minimum 45.09 97.69 96.62 98.02 86.85 97.65 98.64 97.98 99.09 [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 07 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) where _N_ is the number of optimal local training samples and _�_ is the subspace where the test sample as the clustering center is located. The optimal local training samples were located in the subspace _�_ from the training samples according to the testing sample. This was the methodological procedure used in this study. Calculating weighting matrix After the optimal local training samples were acquired, the Euclidean distance of RGB was used for the weighting function because the similarity of the target samples also played an important role (Maali Amiri and Fairchild, 2018; Jinxing Liang et al., 2019). training samples; _N_ is the number of optimal local training samples; and the subscript _j_ is the _j_ th sample of _�_ . <u>1</u> w _j_ = _sj_ + _θ_ - _j_ = 1 _,_ 2 _, ..., N_ - (11) where _wj_ represents the inverse of the Euclidean distance between the testing sample and the _j_ th training sample; _θ_ is a very small value in Equation (11), and _θ_ = 0.001, which makes sure the denominator is not zero. It can also be expressed as a diagonal matrix _W_ . _w_ 1 0 - · · 0 0 _w_ 2 0 0 _..._ 0 <sup>_..._</sup> _..._ 0 0 - · · _wN_   _N_ × _N_ _W_ =   (12) <u>�2+</u> _btest_ - _btrain,j_ 2 _sj_ = _(rtest_ - _rtrain,j)_ <sup>2</sup> +� _gtest_ - _gtrain,j_ _(j_ = 1 _,_ 2 _, ..., N)_ (10) where rt _est_, gt _est_, and b _test_ are the responses of the testing sample; _rtrain,j_, _gtrain,j_, and _btrain,j_ are the responses of the optimal local Responses expansion Response expansion is a common nonlinear technique for increasing the accuracy of recovery. It increases with the number FIGURE 8 Boxplots of real experiment results: (A) The International Commission on Illumination (CIE) DE1976 color difference, (B) goodness of fit coefficient (GFC) CIE DE2000 color difference, (C) root-mean-square error (RMSE), and (D) GFC. [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 08 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) of items until a specific value is reached. In this paper, items of polynomials were discussed. The 3-dimensional data of _Y_ were mapped to higher dimensional data Ye _xp_ . _Yexp_ = [1 _,r, g, b,rg,rb,gb, r_ <sup>2</sup> _, g_ <sup>2</sup> _, b_ <sup>2</sup> _,rg_ <sup>2</sup> _, rb_ <sup>2</sup> _, r_ <sup>2</sup> _g, r_ <sup>2</sup> _b, gb_ <sup>2</sup> _, g_ <sup>2</sup> _b,_ _r_ <sup>3</sup> _, g_ <sup>3</sup> _, b_ <sup>3</sup> _,rg_ <sup>3</sup> _, r_ <sup>2</sup> _g_ <sup>2</sup> _, rg_ <sup>3</sup> _rg_ <sup>3</sup> _, r_ <sup>2</sup> _g_ <sup>2</sup> _, rg_ <sup>3</sup> _, rb_ <sup>3</sup> _, r_ <sup>2</sup> _b_ <sup>2</sup> _,r_ <sup>3</sup> _b,_ _r_ <sup>2</sup> _b_ <sup>2</sup> _, r_ <sup>3</sup> _b, gb_ <sup>3</sup> _, g_ <sup>2</sup> _b_ <sup>2</sup> _, r_ <sup>3</sup> _b,r_ <sup>2</sup> _gb,rg_ <sup>2</sup> _b, rgb_ <sup>2</sup> _,r_ <sup>4</sup> _, g_ <sup>4</sup> _, b_ <sup>4</sup> ] <sup>_T_</sup> (13) where Ye _xp_ is the expansion of RGB response values and the superscript “ _T_ ” indicates the transpose of the matrix. Spectral recovery based on polynomial extension Matrix _Q_ was the unique transformation matrix of each testing sample after processing, and each testing sample had its optimal subspace; hence, each transformation matrix _Q_ was calculated from the corresponding subspace. _Q_ = _RTrainW(YTrain,expW)_ <sup>−1</sup> (14) where the superscript “–1” indicates the pseudo-inverse matrix operator, _RTrain_ represents the selected optimal local training sample, and _YTrain,exp_ is the response value of the training samples after the polynomial expansion. _Rtest_ = _QYTest,exp_ (15) where _Rtest_ denotes the reconstructed spectral reflectance of the testing sample and _YTest,exp_ denotes the expanded response value vector of the testing sample. ## Experiment The performance of our method was demonstrated by validating the experimental data, which was implemented in the simulated and real experiments. The color differences of the International Commission on Illumination (CIE DE76) and CIE DE2000 under the CIE 1964 standard observer functions and CIE A illuminant were calculated, which was used as the colorimetric metric. The root-mean-square error (RMSE) and goodness of fit coefficient (GFC) represented the deviation FIGURE 9 Reflectance recovery results from our proposed and existing methods with four randomly selected samples in a real experiment. [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 09 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) between the original spectral and recovered spectral, which were used as spectral metrics. As can be seen from Figures 3A,B, the accuracy of spectral recovery is influenced by the number of response expansion items and sample partitions. The simulation results showed that the spectral recovery results were similar trends by using the KS/KM strategy. Therefore, the optimal response expansion items were 30 and the number of partitions was 2 for both KS and KM according to the experimental results. As can be seen from Table 1, this study compares the accuracy of spectral recovery of the proposed method with seven other existing methods. The experimental results showed that our method has the lowest color difference, which means the proposed method has a fine colorimetric metric. The method used in this study is superior to other existing methods in RMSE and GFC, which also means the proposed method has fine spectral metrics. To visualize the recovery data and make the results more intuitive, this study used boxplots to analyze the spectral recovery accuracy. The results in Table 1 are used as original data to produce the boxplot. 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 box of the boxplot of the proposed method is smaller than other methods and shows the best results in the maximum and mean. This signifies that our method recovers more samples with minor errors. As shown in Figures 4A,B, it can be observed that our method has the highest accuracy for both the average and minimum color difference values. Figures 4C,D show the smaller box, which means that the proposed method outperformed other existing methods in terms of spectral accuracy. In Figure 5, it can be seen that the original sample spectral reflectance curve is set as a blue dashed line, and the line of our proposed method is set as distinct red and black colors. The recovered spectral curves of four randomly selected samples by using the proposed method and other existing methods were compared with the original spectral curves. It can be seen that the proposed method in this study is closer to the original sample curve among the four randomly selected plots. The real experiment The real experiments were conducted in a dark room without interference from external light sources. To ensure accurate response values, a diffuse illumination environment was provided and the final data were obtained by software (Digital Photo Professional 4). The IT8.7/3 data were captured with a Canon EOS 5D; the camera’s ISO size is 50, the f-number aperture is F5.6, and the exposure time is 1/10 s. The real response values were extracted in sRGB color space. Figure 6A shows the training and testing samples in the CIE1964-XY chromaticity diagram, where red and blue _RMSE_ = - <u>1</u> _m_ <sup>_(Rtest_</sup> <sup>−</sup> <sup>_R)T((Rtest_</sup> <sup>−</sup> <sup>_R)_</sup> (16) _<u>Rtest</u>_ <sup>_T_</sup> _<u>R</u>_ _GFC_ = (17) ∥ _Rtest_ <sup>T</sup> _Rtest_ ∥ _._ ∥ _RR_ ∥ where _Rtest_ represents the reconstructed spectral reflectance, _R_ represents the original spectral reflectance, and _m_ = 31; the superscript “ T <sup>′′</sup> indicates transpose. The American National Standards Institute (ANSI) IT8.7/3 color chart (928 samples) was selected as the experimental dataset for the simulation and real experiments, which prints on the coated paper using the AccrioPress EasPrint C6100. The spectral information of the ANSI IT8.7/3 color chart was then acquired using the spectrophotometer X-rite eXact at 10 nm intervals in the 400– 700 nm range. The 464 odd sets of IT8.7/3 data were selected as the training sample and the 464 even sets of the IT8.7/3 data were chosen as the test sample. The simulated experiment To validate the performance of the methods, the simulated experiment was implemented by the simulated camera first. Owing to measuring the camera system noise difficulty, the calculation processing was not considered in the camera system noise in the simulated experiments. Figure 2A shows the spectral sensitivity of the Canon EOS 5D Camera (Jiang et al., 2013), and Figure 2B shows the spectral power distribution of the CIE Standard Illuminant D65. To determine the optimal parameters of the proposed method, the different number of response expansion items and sample partitions were used directly to calculate the accuracy of spectral recovery. The response expansion items were selected from 5 to 30 with intervals of 5, and the partitions were tested from 2 to 20 with intervals of 2. Figures 3A,B show the RMSE under different response extension items and partitions by using the KS/KM strategy. TABLE 3 Spectral recovery results in different weighted color spaces. KM KS RGB XYZ LAB RGB XYZ LAB Mean _�_ E 1.907 1.995 2.567 1.933 1.943 2.316 Max _�_ E 8.871 9.329 11.753 7.281 8.5521 11.279 Mean GFC (%) 99.97 99.95 99.93 99.96 99.96 99.99 Max RMSE 0.055 0.055 0.054 0.047 0.042 0.050 Mean RMSE 0.011 0.011 0.013 0.011 0.012 0.012 DE2000 mean _�_ E 1.311 1.365 1.658 1.315 1.36 1.525 DE2000 max _�_ E 5.173 5.184 5.187 3.925 5.352 5.419 [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 10 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) represent the training and testing samples, respectively. The power distribution of the light source in the shooting environment is measured using a CS2000 Spectroradiometer, as shown in Figure 6B . Figure 7 shows the impact of the number of camera response extension items and partitions on the accuracy of recovery. The number of partitions was the same as in the simulation experiment, but the difference was the expansion items changed. The reason for this change might be the overfitting phenomenon. The optimal parameters of KS selected 2 partitions and the expansion items were 20, then the optimal parameters of KM selected 2 partitions, and the expansion items were 15 in a real experiment. The experimental results of the real experiment are listed in Table 2 . The results showed that the proposed method exhibited the best performance in terms of color difference, and the GFC and RMSE also presented the same results. Thus, the results showed that in the proposed method, the real experiment yielded better results, and it could be concluded that the proposed method in this study can be applied to a real scenario. As can be seen from Figure 8, the smaller color difference in Figures 8A,B, smaller RMSE in Figure 8C, and larger GFC in Figure 8D show better performance of the proposed method. Thus, the boxplot distribution conclusion of our method presented better results than several other existing methods, which means recovery with less error and more application value. As can be seen from Figure 9, four random samples are selected in a real experiment. The similarity between the real and simulated experiments was that the recovery curves of the proposed method were more consistent with the original curves.k The higher similarity verified the excellence of the proposed method. Influence of color space Since the way to acquire the response value was through the digital cameras, all weighting methods tended to use the more FIGURE 10 Boxplots of results in different color spaces: (A) The International Commission on Illumination (CIE) DE1976 color difference, (B) CIE DE2000 color difference, (C) root-mean-square error (RMSE), and (D) goodness of fit coefficient (GFC). [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 11 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) device-dependent RGB color space rather than other deviceindependent color spaces, such as CIE XYZ color space and CIE LAB color space. Three color spaces were used to explore the effect of color space on the proposed method. The RGB values of ANSI IT8.7/3 were acquired in a real experiment, which obeyed IEC about the sRGB standard. Then the RGB values were converted to CIE XYZ color space and CIE LAB color space (International Electrotechnical Commission [IEC], 2019), which were used to calculate the weighting function in three different color spaces, respectively. By the analysis of Tables 2, 3, the results showed that the accuracy of spectral recovery of the proposed method in three different color spaces is better than the other existing methods. To verify the spectral recovery accuracy further, Figure 10 presents the boxplots of results in three different color spaces. This study proposed an optimized method that verifies the effectiveness and robustness of spectral recovery accuracy under different color spaces. ## Conclusion This study has proposed an optimized method based on dynamic partitional clustering for spectral recovery from camera response values. The optimal local training samples were obtained using a dynamic and static combination clustering approach. After the proposed method was tested on both simulated and real experiments, the results showed that our proposed method outperformed other existing methods. The recovery accuracy of the proposed method using different color space weighting functions still outperformed the existing methods, which showed superior effectiveness and robustness. In future research, this method will also be applied to various fields, such as textiles, food, medicine, and cultural heritage. ## Data availability statement The original contributions presented in this study are included in the article/supplementary material, further inquiries can be directed to the corresponding author/s. ## References Arad, B., and Ben-Shahar, O. (2017). “Filter selection for hyperspectral estimation,” in _Proceedings of the IEEE international conference on computer vision_, Venice. Babaei, V., Amirshahi, S. H., and Agahian, F. (2011). Using weighted pseudoinverse method for reconstruction of reflectance spectra and analyzing the dataset in terms of normality. _Color Res. Appl._ [36, 295–305. doi: 10.1002/col.20613](https://doi.org/10.1002/col.20613) ## Author contributions All authors listed have made a substantial, direct, and intellectual contribution to the work, and approved it for publication. ## Funding This research was funded by 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 of State Key Laboratory of Biobased Masterial and Green Papermaking, Qilu University of Technology, Shandong Academy of Sciences (ZZ20210108), and Key Research and Development Program of Shandong Province (2018GGX106009). ## Acknowledgments We are grateful to Shijun Niu for his help with data collection. ## Conflict of interest The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. ## Publisher’s note All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher. Cao, B., Liao, N., and Cheng, H. (2017). Spectral reflectance reconstruction from RGB images based on weighting smaller color difference group. _Color Res. Appl._ [42, 327–332. doi: 10.1002/col.22091](https://doi.org/10.1002/col.22091) Dafu, S., Leihong, Z., Dong, L., Bei, L., and Yi, K. (2017). Recovery of a spectrum based on a compressive-sensing algorithm with weighted principal component analysis. _Laser Phys._ [27:7. doi: 10.1088/1555-6611/aa6f75](https://doi.org/10.1088/1555-6611/aa6f75) [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 12 [frontiersin.org](https://www.frontiersin.org/) Xiong et al. [10.3389/fpsyg.2022.1051286](https://doi.org/10.3389/fpsyg.2022.1051286) Depeursinge, C. D., Everdell, N. L., Vitkin, I. A., Styles, I. B., Claridge, E., Hebden, J. C., et al. (2009). “Multispectral imaging of the ocular fundus using LED illumination,” in _Proceedings_ _of_ _the_ _novel_ _optical_ _instrumentation_ _for_ _biomedical_ _applications IV_ [, Bellingham, WA. doi: 10.1063/1.3478001](https://doi.org/10.1063/1.3478001) International Electrotechnical Commission [IEC] (2019). _Multimedia_ _systems_ _and_ _equipment_ _-_ _Colour_ _measurement_ _and_ _management_ _-_ _Part_ _2-1:_ _Colour_ _management - Default RGB colour space - sRGB, Tech. Rep. IEC1999, 619966-2-1_ . Geneva: International Electrotechnical Commission. Jiang, J., Liu, D., Gu, J., and Susstrunk, S. (2013). “What is the space of spectral sensitivity functions for digital color cameras,” in _Proceedings_ _of_ _the_ _2013_ _IEEE_ _workshop on applications of computer vision (WACV)_, Clearwater Beach, FL. Jinxing Liang, K. X., Michael, R., Pointer, M., Xiaoxia, W., and Li, A. C. (2019). Spectra estimation from raw camera responses based on adaptive local-weighted linear regression. _Opt. Express_ [27, 5165–5180. doi: 10.1364/OE.27.005165](https://doi.org/10.1364/OE.27.005165) Jinxing, L., Zhu, Q., Liu, Q., and Xiao, K. (2022). Optimal selection of representative samples for efficient digital camera-based spectra recovery. _Color_ _Res. Appl._ [47, 107–120. doi: 10.1002/col.22718](https://doi.org/10.1002/col.22718) Kwon, O.-S., Lee, C.-H., Park, K. H., and Ha, Y.-H. (2007). Surface reflectance estimation using the principal components of similar colors. _J._ _Imaging_ _Sci._ _Technol._ [51, 166–174. doi: 10.2352/J.ImagingSci.Technol.200751:2(166)](https://doi.org/10.2352/J.ImagingSci.Technol.200751:2%0x28166%0x29) Li, H., Wu, Z., Zhang, L., and Parkkinen, J. (2013). “SR-LLA: A novel spectral reconstruction method based on locally linear approximationY,” in _Proceedings of_ _IEEE conference on image processing, 2029–2033_, Victoria. Liang, H. (2011). Advances in multispectral and hyperspectral imaging for archaeology and art conservation. _Appl._ _Phys._ _A_ 106, 309–323. doi: [10.1007/](https://doi.org/10.1007/s00339-011-6689-1) [s00339-011-6689-1](https://doi.org/10.1007/s00339-011-6689-1) Liang, J., and Wan, X. (2017). Optimized method for spectral reflectance reconstruction from camera responses. _Opt._ _Express_ 25, 28273–28287. doi: 10. [1364/oe.25.028273](https://doi.org/10.1364/oe.25.028273) Lin, Y. T., and Finlayson, G. D. (2020). Physically plausible spectral reconstruction. _Sensors (Basel)._ [20:6399. doi: 10.3390/s20216399](https://doi.org/10.3390/s20216399) Liu, Q., Huang, Z., Pointer, M. R., and Luo, M. R. (2019). Optimizing the spectral characterisation of a CMYK printer with embedded CMY printer modelling. _Appl._ _Sci._ [9:5308. doi: 10.3390/app9245308](https://doi.org/10.3390/app9245308) Liu, Z., Liu, Q., Gao, G. A., and Li, C. (2017). Optimized spectral reconstruction based on adaptive training set selection. _Opt._ _Express_ 25, 12435–12445. [doi:](https://doi.org/10.1364/OE.25.012435) 10. [1364/OE.25.012435](https://doi.org/10.1364/OE.25.012435) Maali Amiri, M., and Fairchild, M. D. (2018). A strategy toward spectral and colorimetric color reproduction using ordinary digital cameras. _Color_ _Res._ _Appl._ [43, 675–684. doi: 10.1002/col.22231](https://doi.org/10.1002/col.22231) Molada-Tebar, A., Marqués-Mateu, Á, Lerma, J. L., and Westland, S. (2020). Dominant color extraction with K-Means for camera characterization in cultural heritage documentation. _Remote Sens._ [12:520. doi: 10.3390/rs12030520](https://doi.org/10.3390/rs12030520) Nishidate, I., Maeda, T., Niizeki, K., and Aizu, Y. (2013). Estimation of melanin and hemoglobin using spectral reflectance images reconstructed from a digital RGB image by the wiener estimation method. _Sensors_ _(Basel)._ 13, 7902–7915. [doi: 10.3390/s130607902](https://doi.org/10.3390/s130607902) Stigell, P., Miyata, K., and Hauta-Kasari, M. (2007). Wiener estimation method in estimating of spectral reflectance from RGB images. _Pattern_ _Recognit._ _Image_ _Anal._ [17, 233–242. doi: 10.1134/s1054661807020101](https://doi.org/10.1134/s1054661807020101) Wang, L., Wan, X., Xiao, G., and Liang, J. (2020). Sequential adaptive estimation for spectral reflectance based on camera responses. _Opt. Express_ 28, 25830–25842. [doi: 10.1364/OE.389614](https://doi.org/10.1364/OE.389614) Wu, G. (2019). Reflectance spectra recovery from a single RGB image by adaptive compressive sensing. _Laser_ _Phys._ _Lett._ 16:085208. doi: [10.1088/1612-](https://doi.org/10.1088/1612-202X/ab2b36) [202X/ab2b36](https://doi.org/10.1088/1612-202X/ab2b36) Wu, G., Shen, X., Liu, Z., and Zhang, J. (2016). Wavelength-sensitive-functionbased spectral reconstruction using segmented principal component analysis. _Optica Appl._ [46, 365–374. doi: 10.5277/oa160304](https://doi.org/10.5277/oa160304) Wu, G., Shen, X., Liu, Z., Yang, S., and Zhu, M. (2015). Reflectance spectra recovery from tristimulus values by extraction of color feature match. _Opt._ _Quantum Electron._ [48, 1–13. doi: 10.1007/s11082-015-0325-9](https://doi.org/10.1007/s11082-015-0325-9) Wu, G., Xiong, Y., and Li, X. (2021). Spectral sparse recovery form a single RGB image. _Laser Phys. Lett._ [18:095201. doi: 10.1088/1612-202X/ac1276](https://doi.org/10.1088/1612-202X/ac1276) Xiao, K., Zhu, Y., Li, C., Connah, D., Yates, J. M., and Wuerger, S. (2016). Improved method for skin reflectance reconstruction from camera images. _Opt._ _Express_ [24, 14934–14950. doi: 10.1364/OE.24.014934](https://doi.org/10.1364/OE.24.014934) Xiong, Y., Wu, G., Li, X., Niu, S., Han, X., Lu, Y., et al. (2022). “Spectral reflectance recovery using convolutional neural network,” in _Proceedings_ _of_ _the_ _international_ _conference_ _on_ _optoelectronic_ _materials_ _and_ _devices_ _(ICOMD_ _2021)_ . Guangzhou. Xu, P., Xu, H., Diao, C., and Ye, Z. (2017). Self-training-based spectral image reconstruction for art paintings with multispectral imaging. _Appl. Opt._ 56, 8461– [8470. doi: 10.1364/AO.56.008461](https://doi.org/10.1364/AO.56.008461) Zhang, L., Li, B., Pan, Z., Liang, D., Kang, Y., Zhang, D., et al. (2016). A method for selecting training samples based on camera response. _Laser Phys. Lett._ [13:095201. doi: 10.1088/1612-2011/13/9/095201](https://doi.org/10.1088/1612-2011/13/9/095201) Zhang, L., Liang, D., Pan, Z., and Ma, X. (2014). Study on the key technology of reconstruction spectral reflectance based on the algorithm of compressive sensing. _Opt. Quantum Electron._ [47, 1679–1692. doi: 10.1007/s11082-014-0025-x](https://doi.org/10.1007/s11082-014-0025-x) [Frontiers in Psychology](https://www.frontiersin.org/journals/psychology) 13 [frontiersin.org](https://www.frontiersin.org/)

섹션 본문

섹션 본문이 없습니다.

참고문헌 27건

  1. Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
  2. 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
  3. Study on the key technology of reconstruction spectral reflectance based on the algorithm of compressive sensing Optical and Quantum Electronics · Springer Science+Business Media · 2014 10.1007/s11082-014-0025-x
  4. 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
  5. Multispectral imaging of the ocular fundus using light emitting diode illumination Review of Scientific Instruments · American Institute of Physics · 2010 10.1063/1.3478001
  6. What is the space of spectral sensitivity functions for digital color cameras? 2013 10.1109/wacv.2013.6475015
  7. 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
  8. Reflectance spectra recovery from tristimulus values by extraction of color feature match Optical and Quantum Electronics · Springer Science+Business Media · 2015 10.1007/s11082-015-0325-9
  9. Improved method for skin reflectance reconstruction from camera images Optics Express · Optica Publishing Group · 2016 10.1364/oe.24.014934
  10. A method for selecting training samples based on camera response Laser Physics Letters · IOP Publishing · 2016 10.1088/1612-2011/13/9/095201
  11. Spectral reflectance reconstruction from RGB images based on weighting smaller color difference group Color Research & Application · Wiley · 2016 10.1002/col.22091
  12. Optimized spectral reconstruction based on adaptive training set selection Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.012435
  13. Recovery of a spectrum based on a compressive-sensing algorithm with weighted principal component analysis Laser Physics · IOP Publishing · 2017 10.1088/1555-6611/aa6f75
  14. Optimized method for spectral reflectance reconstruction from camera responses Optics Express · Optica Publishing Group · 2017 10.1364/oe.25.028273
  15. Self-training-based spectral image reconstruction for art paintings with multispectral imaging Applied Optics · Optica Publishing Group · 2017 10.1364/ao.56.008461
  16. Filter Selection for Hyperspectral Estimation 2017 10.1109/iccv.2017.342
  17. A strategy toward spectral and colorimetric color reproduction using ordinary digital cameras Color Research & Application · Wiley · 2018 10.1002/col.22231
  18. Spectra estimation from raw camera responses based on adaptive local-weighted linear regression Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.005165
  19. Reflectance spectra recovery from a single RGB image by adaptive compressive sensing Laser Physics Letters · IOP Publishing · 2019 10.1088/1612-202x/ab2b36
  20. Wavelength-sensitive-function-based spectral reconstruction using segmented principal component analysis Optica Applicata · Wrocław University of Science and Technology · 2016 10.5277/oa160304
  21. Optimizing the Spectral Characterisation of a CMYK Printer with Embedded CMY Printer Modelling Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9245308
  22. Dominant Color Extraction with K-Means for Camera Characterization in Cultural Heritage Documentation Remote Sensing · Multidisciplinary Digital Publishing Institute · 2020 10.3390/rs12030520
  23. Sequential adaptive estimation for spectral reflectance based on camera responses Optics Express · Optica Publishing Group · 2020 10.1364/oe.389614
  24. Physically Plausible Spectral Reconstruction Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20216399
  25. Optimal selection of representative samples for efficient digital camera‐based spectra recovery Color Research & Application · Wiley · 2021 10.1002/col.22718
  26. Spectral sparse recovery form a single RGB image Laser Physics Letters · IOP Publishing · 2021 10.1088/1612-202x/ac1276
  27. Spectral reflectance recovery using convolutional neural network 2022 10.1117/12.2628555