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

Spectral Reconstruction with Genetic Optimization in Case of Different Sample Sets

간접 관련 패션 · (24) 패션(코오롱FnC) (3) 자동차 인테리어 소재

기본 정보

저자
  1. Zs. Sávoli — Interdisciplinary Doctoral School of Engineering, Széchenyi István University, Egyetem tér 1., 9026, Győr, Hungary,
  2. András Horváth — Department of Physics and Chemistry, Széchenyi István University, Egyetem tér 1., 9026, Győr, Hungary,
  3. Balázs Kránicz — Interdisciplinary Doctoral School of Engineering, Széchenyi István University, Egyetem tér 1., 9026, Győr, Hungary,
DOI
10.14513/actatechjaur.v9.n1.396
저널
Acta Technica Jaurinensis
발행년도
2016
발행기관
Szechenyi Istvan University
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.14513/actatechjaur.v9.n1.396
토픽
Color Science and Applications
OpenAlex ID
W2323915640

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(3) 자동차 인테리어 소재
R&D 측면
분석·모델링
확신도
0.80
근거 용어
spectral reconstruction, textile samples, colorimetry, tristimulus values, genetic optimization
판단 근거
논문은 유전 알고리즘을 이용해 색채 데이터(tristimulus values)로부터 섬유(textile) 등의 반사 스펙트럼을 재구성하는 수학적 모델링을 다루고 있습니다.
R&D 활용 포인트
코오롱FnC의 의류 소재 개발 시, 섬유의 색상 재현성 및 광학적 특성 분석을 위한 정밀한 색채 분석 모델 및 품질 관리 알고리즘으로 활용 가능합니다.
평가 입력
본문 23,726자

초록

Finding the spectral features of color sample sets is a main issue of colorimetry. It is widespread to apply Principal Component Analysis in these researches. Several studies were written about the reconstruction of samples with known spectra using principal components, and some works dealt with approximate reconstruction from tristimulus values. Our study examines how spectral reconstruction done with genetic optimization works in case of different sample sets. We have taken only the tristimulus values of the color samples given.

본문 23,726자

본문 펼치기
_Acta_ _Technica_ _Jaurinensis_ _Vol. 9, No. 1, pp. 54-64, 2016_ _DOI: 10.14513/actatechjaur.v9.n1.396_ _Available online at acta.sze.hu_ ## Spectral Reconstruction with Genetic Optimization in Case of Different Sample Sets Zs. Sávoli <sup>1</sup> , A Horváth <sup>2</sup> , B. Kránicz <sup>1</sup> 1Interdisciplinary Doctoral School of Engineering, Széchenyi István University, Egyetem tér 1., 9026, Győr, Hungary, e-mail: savoli@mail.barossgyor.hu 2Department of Physics and Chemistry, Széchenyi István University, Egyetem tér 1., 9026, Győr, Hungary, e-mail: horvatha@sze.hu Abstract: Finding the spectral features of color sample sets is a main issue of colorimetry. It is widespread to apply Principal Component Analysis in these researches. Several studies were written about the reconstruction of samples with known spectra using principal components, and some works dealt with approximate reconstruction from tristimulus values. Our study examines how spectral reconstruction done with genetic optimization works in case of different sample sets. We have taken only the tristimulus values of the color samples given. _Keywords: spectral reconstruction, tristimulus values, principal component analysis,_ _genetic optimization, different samle sets_ 1. Introduction It is a basic thesis of colorimetry that any color stimulus can unequivocally be given by three numbers. These numbers can be the CIE _X_, _Y_, _Z_ tristimulus values or the coordinates of any other suitable color space ( _Y_, _x_, _y_ ; _L_ *, _a_ *, _b_ *; _L_ *, _u_ *, _v_ - etc.). However, the description of selfluminous objects (light sources) and surfaces (secondary light sources) is often given with spectral features, in other words with spectra. This type of description provides much more information about the observed object, it needs, therefore, more than three parameters. The researchers in colorimetry started examining how they can determine or give approximately the reflection spectra of surfaces with only a few numbers. Principal Component Analysis (PCA), which is based on elements of mathematical statistics and linear algebra, has appeared to be an especially strong and interesting tool. Several studies deal with the usage of Principal Component Analysis in colorimetry, therefore its mathematical presentation is not the subject of the present article. Publications [1]-[7] provide a general view how it works. In order to apply this method effectively, it is necessary to have a set with a large number of known spectra. Principal _54_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ Component Analysis produces the eigenvectors belonging to the sample set. The linear combination of these eigenvectors helps to reconstruct the spectrum. The above mentioned studies present reconstruction of samples that have known and measured spectra. The question is whether it is possible to say anything about the spectrum of color samples that have unknown reflectance functions if we only know their tristimulus values _X_, _Y_, _Z_ . In some of the studies focusing on this problem [8], [9], the spectral reconstruction is done with an algorithm using pseudoinvers matrix operations. However, Principal Component Analysis or weighed Principal Component Analysis has been used in other studies. Corresponding to the tristimulus values, the three eigenvectors, whose eigenvalues are the greatest ones, are enough to get the same _X_, _Y_, _Z_ values as the result of reconstruction [10], [11]. More accurate results can be reached with more components, but they lead to undetermined equation systems, as the tristimulus values can be given in many ways from more than three components. Because of this critical statement, three vectors have been considered to be satisfactory in most cases. Publication [12] describes our method that deals with this problem. We used the first five eigenvectors instead of the first three vectors and the features of the reflection functions of real color samples for generic optimization. It was considered that the reflection functions of the real samples are smooth, without strong oscillation and they are non-negative. This method provides a much more accurate reconstruction than the earlier ones. (Figure 1) The set of 2 832 textile samples with known reflectance functions were used. Furtheremore, 148 flower samples, 565 paint samples and 8 533 human skin samples were applied. Figure 2 shows these sample sets. The formalism of optimization is to be shown in brief. More details can be read in publication [12]. _Figure 1. Reconstruction with three and with five eigenvectors_ _55_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ _Figure 2. The textile, flower, paints, skin samples sets in CIE xy color space_ 2. The formalism of optimization During calculation, we work with spectra (reflectance functions) whose resolution is given, therefore, we use finite-dimensional vectors instead of continuous functions. Let _N_ denote the dimension number of these vectors. For example, if we think of a spectrum with a range of 400 nm - 700 nm and with an equidistant-wavelength step of at 10 nm, _N_ = 31. Let us denote the eigenvalues of the PCA method arranged in decreasing order by τ1 ≥τ2 Lτ _N_ ≥ 0, the eigenvectors relating to the eigenvalues by _v_ 1, _v_ 2,L, _vN_, and the mean vector by _m_ . The linear combination of _M_ eigenvectors and the principal components _c_ 1, _c_ 2,L, _cM_ provides the following spectrum. _M_ ∑ _i_ = _M_ ( _c_ 1, _c_ 2,L, _cM_ ) = ∑ _ci_ ⋅ _vi_ + _f_ ( _c_ 1, _c_ 2,L, _cM_ ) = ∑ _ci_ ⋅ _vi_ + _m_ 1, _c_ 2,L, _cM_ ) = ∑ _ci_ ⋅ _vi_ + _m_, (1) _i_ =1 _i_ _f_ ( _c_ 1, _c_ 2,L, _cM_ ) is also an _N_ -dimensional vector. Having _M_ fixed, variables _c_ 1, _c_ 2,L, _cM_ determine the spectrum of the reconstructed _f_ according to equation (1). As a next step, we create a function that measures the difference between this type of spectrum and the ideal spectrum. The difference is small for smooth and non-negative metamers, and it is greater and greater, if the tristimulus values deviate from the stipulated ones or if the function oscillates strongly or it takes up negative values. It is easy to calculate the tristimulus values of the spectrum by the application of color-matching functions. _N_ _N_ = ∑ _fi_ ⋅ _Si_ ⋅ _xi_, _Y_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _yi_, _Z_ 0 = ∑ _fi_ ⋅ _X_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _xi_, _Y_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _yi_, _Z_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _zi_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _xi_, _Y_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _yi_, _Z_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _zi_ (2) _i_ =1 _i_ =1 _i_ =1 ∑ _fi_ ⋅ _Si_ ⋅ _xi_, _Y_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _yi_, _Z_ 0 = ∑ _fi_ ⋅ _Si_ ⋅ _i_ =1 _i_ =1 _i_ =1 _N_ ∑ _i_ = _i_ _i_ _i_ _i_ _i_ _i_ _i_ ⋅ _Si_ ⋅ _zi_ In Eq. 2, _xi_, _y_ _i_, _z_ _i_ denote the discrete versions of the CIE color-matching functions which have the same resolution as that of the spectra, <sup>_S_</sup> _i_ <sup>.is the discrete spectral power</sup> distribution of the illuminant. Obviously, the values of _X_ 0, _Y_ 0, _Z_ 0 depend on the coefficients <sup>_c_</sup> _i_ <sup>, but we do not emphasize this dependence for the sake of briefness.</sup> _56_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ We can calculate the squared sum of the differences to show how much the values _X_ 0, _Y_ 0, _Z_ 0 deviate from the predefined values _X_, _Y_, _Z_ . 2 2 _d_ 0 ( _c_ 1, _c_ 2,L, _cM_ ) = ( _X_ - _X_ 0 ) + ( _Y_ - _Y_ 0 ) + ( _Z_ - _Z_ 0 ) <sup>2</sup> (3) This _d_ 0 value is non-negative and it is equal to 0 when a metamer complies with the definition. If _M_ = 3, the equation system of the metamer has a single solution. A lot of earlier studies which used PCA ended with giving this solution. If _M_ - 3, it has an infinite number of solutions, and we can choose the most realistic one by the use of constraints on negativity and strong oscillation. We can describe the negativity of the function by the integral of the negative and the positive part, or with the ratio of their sums in the discrete case. Denote: + _f_ _i_ = max( _fi_ 0,) (4) _f_ _i_ = min( _fi_ 0,) (5) _N_ _N_ + = <sup>_f_</sup> _i_ + # ∑ # ∑ _F_ + = <sup>_f_</sup> _i_ # ∑ <sup>_f_</sup> _i_ (6) =1 _i_ =1 _i_ _N_ # ∑ - = - <sup>_f_</sup> _i_ # ∑ _F_ = - <sup>_f_</sup> _i_ # ∑ _i_ = _i_ <sup>_f_</sup> _i_ (7) 1 Definitions (4) and (5) resemble the terms of lower and upper covering functions used in analysis. The penalty term on negativity is: _<u>F</u>_ _Pn_ = + - ⋅ #### ( F + F ) + #### ( F + F ) _n_ = + - ⋅ _Wn_ #### ( F + F ) (8) _Wn_ is the weight factor which is used to set the relative weight of this term within the optimization function. It is obvious that _Pn_ = 0 if the function has only non-negative values and _Wn_ = 1, and the more negative parts, _f_ contains the greater positive values <sup>_P_</sup> _n_ <sup>has got. It is 1 in extreme cases.</sup> We define the oscillation of the function by the squared sum of the deviation between the neighboring terms: _N_ 1 # ∑( fi +1 − fi ) 1 <sup>−</sup> _fi_ )2 # = ∑( fi +1 − # V = ∑( fi +1 − fi )2 (9) = _i_ 1 The penalty term on oscillation is _57_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ _<u>V</u>_ _Pv_ = ⋅ _W_ _v_ (10) <u>(</u> _N_ −1) The cost function whose minimum is assumed to determine the metamer with the best qualitative features is the following. _d_ ( _c_ 1, _c_ 2,L, _cM_ ) = _d_ 0 + _Pn_ + _Pv_ (11) We can get _d_ 0 from (3), <sup>_P_</sup> _n_ <sup>from (8) and</sup> <sup>_P_</sup> _v_ <sup>from (10). The weights</sup> _Wn_ and _Wv_ show the importance of one or the other penalty terms. According to the pre-calculation we have already made, the useful values are _Wn_ = 100, _W_ 1 <sup>=</sup> 1 . A little change in them will not influence the final result. All in all, _d_ is a non-linear function with _M_ variables, whose minimum corresponds to the best function for us, in other words, vector ( _c_ 1, _c_ 2,L, _cM_ ) which gives the location of the extreme values, contains the optimal weight of the eigenvectors used in the reconstruction. In order to find the minimum point of function _d_, which has been given in equation (11) above, we use our own genetic optimization program. The genetic algorithm was chosen because _d_ has a lot of local minima (mainly because of the oscillation term) and the gradient-based methods generally cannot find the global minimum in these cases. Our genetic algorithm uses the standard genetic operators, e.g. mutation and crossing, and in order to accelerate the search for local maxima, it uses hill-climbing steps. We had already applied this code to solve more industrial optimization problems [13]. 3. Values describing the accuracy of the reconstruction We can describe the accuracy of the reconstruction by several measuring numbers in a quantitative way. We can measure the color difference between the examined sample and the reconstructed sample, the sepctral deviation and accuracy between the original and the reconstructed reflection funtion. The color difference can be given as it follows. As the first step, the tristimulus values _X_, _Y_, _Z_ of the samples have to be transformed into values _L_ *, _a_ *, _b_ - (12), where _X_ _n_, _Yn_, _Zn_ are the tristimulus values of the reference white tristimulus values under a given illuminant.  _<u>Y</u>_   <sup></sup>  <sup></sup>  _Yn_  _<u>Y</u>_   _<u>Z</u>_  <sup></sup> - _f_  <sup></sup> _Yn_   _Z_ _n_  _<u>X</u>_   <sup></sup>  <sup></sup>  _X_ _n_  _<u>X</u>_   _<u>Y</u>_  <sup></sup> - _f_  <sup></sup> _X_ _n_   _Y_  _<u>Z</u>_   <sup></sup>  <sup></sup>  _Z_ _n_   _<u>Y</u>_   <sup></sup>  <sup></sup>  _Yn_   _<u>Y</u>_   <sup></sup>  <sup></sup>  _Yn_    _<u>X</u>_   _<u>Y</u>_   <sup></sup>  _f_  <sup></sup>  _X_ _n_  <sup></sup>  - _f_  <sup></sup>  _Yn_  <sup></sup>  <sup></sup>    = 116 ⋅ _f_  <sup></sup> _YYn_  <sup></sup>  −16, _a_ - = 500 ⋅ <sup></sup>  _f_  <sup></sup>  _XX_ _n_    _X_ _n_   _Yn_    _Yn_   _Z_ _n_  <sup></sup> −16, _a_ - = 500 ⋅ <sup></sup> _f_  <sup></sup>    _L_ - = 116 ⋅ _f_  <sup></sup> _<u>Y</u>_  <sup></sup> −16, _a_ - = 500 ⋅ <sup></sup> _f_  <sup></sup> _<u>X</u>_  <sup></sup> - _f_  <sup></sup> _<u>Y</u>_  <sup></sup>  <sup></sup>, _b_ - = 200   _<u>Y</u>_   _<u>Z</u>_   <sup></sup>  _f_  <sup></sup>  _Yn_  <sup></sup>  - _f_  <sup></sup>  _Z_ _n_  <sup></sup>  <sup></sup>      <sup></sup> - _f_  <sup></sup>   _YYn_  <sup></sup>  <sup></sup> , _b_ - = 200 ⋅ <sup></sup>  _f_  <sup></sup>  _YY_  <sup></sup>   <sup></sup>, _b_ - = 200 ⋅ <sup></sup> _f_  <sup></sup>       <sup></sup> - _f_  <sup></sup>    <sup></sup>   <sup></sup>  <u>1</u> 3 3, _t_ -  <u>6</u>     <sup></sup> _t_ 3, _t_ -  29  _f_ ( ) _t_ =  2 3 (12) ( ) _t_  <u>1</u> 3  <sup></sup> _t_ 3, _t_ -  296  =  2 3   <sup></sup>     _t_ 3, _t_ -  <u>6</u>   29  2 <u>1</u> <u>29</u>  <u>4</u>  <u>6</u> ⋅  ⋅ _t_ +, _t_ ≤  3  6  29  29 ⋅ ⋅ <u>29</u>   6   <u>6</u>     29    2  <u>4</u>   ⋅ _t_ +, _t_ ≤   29  _t_ +, _t_  <u>6</u>     29  _58_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ 3 In case of all the used samples, the condition  3 _t_ -  <u>6</u>  is met. The _X_ _n_, _Yn_, _Zn_ values  <u>6</u>   29  <u>6</u>  29  of the reference white tristimulus under the illuminant with _S_ (λ) spectral power distribution are given by equation (13). 700 700 _X_ _n_ = _k_ ϕ⋅ _S_ (λ)⋅ _x_ ω(λ) _d_ λ, _Yn_ = 100, _Z_ _n_ = _k_ ϕ⋅ _S_ (λ)⋅ _z_ ω(λ) _d_ λ # ∫ ∫ _S_ (λ)⋅ _x_ ω(λ) _d_ λ, _Yn_ = 100, _Z_ _n_ = _k_ ϕ⋅ _S_ (λ)⋅ _z_ ω(λ) _d_ λ (13) # ∫ ∫ 400 400 400 <u>100</u> _k_ ϕ = 700 (14) ϕ = 700 _S_ (λ)⋅ _y_ ω(λ) # ∫ λ)⋅ _y_ ω(λ) _d_ λ _S_ (λ)⋅ _y_ ω(λ) _d_ 400 The normalisation coefficient is denoted by _k_ ϕ and _x_ ω(λ), _y_ ω(λ), _z_ ω(λ) are the CIE color matching functions. The values of the comparable color samples are _L_ *1, _a_ 1*, _b_ 1*, and _L_ *2, _a_ 2*, _b_ 2* . Knowing these, the CIE Lab ∆ _Eab_ - color difference can be determined (15). ### ∆ Eab * = ( L *2 − L *1)2 + ( a 2* − a 1*)2 + ( b 2* − b 1*)2 (15) If ∆ _Eab_ - = 0, the test samples are the same. If ∆ _Eab_ - = 1, it gives the just perceptible difference under a given illuminant. Two different values are given for the spectral accuracy by the publications. One of them is a numerical value, _GFC_ (goodness of fit coefficient) (16). 31 (λ _i_ )⋅ϕ _r_ (λ _i_ ) ϕ(λ _i_ )⋅ϕ _r_ (λ _i_ _i_ _GFC_ = _<u>i</u>_ <u>=1</u> ⋅ 31 = 31 31 ϕ(λ)2 ⋅ ϕ (λ)2 # ∑ _i_ _r_ _i_ _<u>i</u>_ <u>=1</u> _<u>i</u>_ <u>=</u> <u>1</u> (16) ϕ(λ _i_ )2 ⋅ ϕ _r_ (λ _i_ ) # ∑ ∑ 2 ⋅ ϕ(λ _i_ )2 ⋅ ϕ _r_ (λ _i_ # ∑ _i_ _r_ _i_ _i_ =1 _i_ =1 _i_ =1 _i_ = 1 1 _i_ ϕ( <sup>λ</sup> _i_ ) denotes the sample reflection function at wavelength <sup>λ</sup> _i_ <sup>.</sup> ϕ _r_ ( <sup>λ</sup> _i_ ) denotes the reconstructed spectrum at <sup>λ</sup> _i_ <sup>. If</sup> _GFC_ = 1, the reconstructed function is perfectly identical with the original one. Therefore the closer _GFC_ gets to 1, the more accurate the spectral reconstruction is. The formula in (16) corresponds to the cosine value of the angle of two abstract vectors. The other accuracy specifying value is _RMS_ (root mean square), which gives the reconstruction error according to the differences between the original and the reconstructed spectra (17). _59_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ 31 31 (ϕ(λi )−ϕ _r_ (λi )) # ∑ <u>1</u> ⋅ (ϕ(λi )−ϕ _r_ (λi ))2 # 31 ∑ = _RMS_ = <u>1</u> ⋅ (ϕ(λi )−ϕ _r_ (λi ))2 (17) # ∑ <u>1</u> = ⋅ (ϕ(λi )− # ∑ _i_ = _i_ 1 The notations in equation (17) are the same as the notations in equation (16). The smaller the value is, the smaller the spectral error is and the greater the reconstruction accuracy is. 4. Reconstruction in case of textile samples During calculation, we reconstructed some randomly-chosen textile samples with the above mentioned process and wanted to find the ideal coefficients ��. During optimisation, we presumed the equienergetic ��� � illuminant. Figure 3 shows the reconstruction of randomly chosen samples with five eigenvectors. _Figure 3. Reconstruction of textile samples. The black line denotes the reconstructed_ _spectrum, the coloured line denotes the original spectrum_ The following table (Table 1) shows the mean values of Δ���∗, ���, ���. _Table 1. The mean values_ ����∗, ���, ��� _of the reconstruction done by genetic_ _optimisation._ _RMS_ _GFC_ ����∗ 0.0300 0.9926 0.0100 _60_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ 5. Reconstruction with different sample sets Let us examine what the coefficients and the spectra are if we use other samples than textiles. We suppose that different spectra belong to the same �, �, � tristimulus values in cases of other materials. The whole analysis is done for three other sample sets, namely, for 148 flowers, 565 paint samples and 8533 human skin samples, and the principal components �� are determined with optimisation again. However, the eigenvectors of PCA and the coefficients �� are different in case of different sample sets, it is interesting to know, how big the difference is between the reconstructed spectra belonging to the same tristimulus values. Therefore, the reconstruction is done for randomly-chosen tristimulus values in case of different training sample sets. The reconstruction is done for the above mentioned sample sets, the textile samples, the flowers, the paint samples and the skin samples, with their own eigenvectors using our genetic oprimisation algorythm and presuming the illuminant ��� �. Figure 4 shows the reconstructed spectra of the different training sample sets belonging to the same tristimulus values �, �, �. _Figure 4. The reconstructed spectra belonging to given tristimulus values in case of_ _different training sample sets_ Figure 4 depicts clearly that different spectra belong to the same tristimulus values depending on the training sample sets. The reconstructed spectra are less oscillating for textile and paint samples than for flowers or human skin samples, which corresponds to the features of the samples. The reconstructed functions of the textile and paint samples resemble each other the most, however, they are not identical at all. Table 2 denotes the _61_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ values of ���, ��� which describe the reconstruction numerically, compared to the reconstructed spectrum. With other words, the basis of comparison is always the textile spectrum. The values Δ���∗ are not calculated as only the shapes of the reconstructed reflectance functions are compared. _Table 2. The mean values of_ ���, ��� _corresponding to the same tristimulus_ _values fro different training sets_ _<u>textile-flower</u>_ _<u>textile-paint</u>_ _<u>textile-skin</u>_ <u>RMS</u> <u>GFC</u> <u>RMS</u> <u>GFC</u> <u>RMS</u> <u>GFC</u> <u>0.0522</u> <u>0.9821</u> <u>0.0325</u> <u>0.9963</u> <u>0.0556</u> <u>0.9847</u> The content of Table 2 depicts that different spectra belongs to the same tristimulus values when we use textile, flower, paint or skin samples. The differences are smaller in case of textile and paint samples than of other sample set pairs. This statement is proved for the first five eigenvectors and the mean vectors of each sample set. (Figure 5) _Figure 5. The mean vector and the first five eigenvectors for different sample sets_ _62_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ Figure 5 depicts that the eigenvectors of the textile and the paint samples differ from each other the least, on the other hand, the eigenvectors of the other two sample sets show greater differences. Therefore, different spectra belong to the same tristimulus values �, �, � for different sample sets. Conclusion Our study shows a genetic optimisation process that helps us to reconstrutct the reflectance funtion of colorful samples on the basis of their tristimulus values. During reconstruction we use the first five eigenvectors provided by the PCA together with restrictive terms for the shape of the reflectance functions of real samples. It gives the opportunity to choose those metamers from their infinite set in such a way that the reflectance function corresponds with the reflectance functions of the real samples. All in all, our method makes it easy to reconstruct a spectrum for the tristimulus values of any colour sample with unknown spectrum. Even, we can tell what the spectrum looks like when the unknown sample is textile, flower, paint or skin. The method can be refined with the use of other sample sets. References [1] Tzeng DY, Berns RS: A Review of Principal Component Analysis and Its Application to Color Technology. Color Research And Application, Volume 30, Number 2, pp.84-98, 2005 [2] Maloney LT: Evaluation of linear models of surface spectral reflectance with small numbers of parameters. Journal of Optical Society of America, 3, pp. 1673–1683, 1986 [3] Jaaskelainen T, Parkkinen J, Toyooka S: Vector-subspace model for color representation. Journal of Optical Society of America, 7, pp. 725–730, 1990 [4] Vrhel MJ, Gershon R, Iwan LS: Measurement and analysis of object reflectance spectr. Color Research and Application, 19, pp.4–9, 1994 [5] García-Beltrán A, Nieves JL, Hernández-Andrés J, Romero J: Linear bases for spectral reflectance functions of acrylic paints. Color Research and Application, 23, pp.39–45, 1998 [6] Tajima J: A huge spectral characteristics database and its application to color imaging device design. Proceedings of the 6th IS&T/SID Color Imaging Conference, IS&T, Springfield, VA; pp. 86–89, 1998 [7] Hardeberg JY, Schmitt F, Brettel H: Multispectral color image capture using a liquid crystal tunable filter. Opt Engineering, 41, pp. 2533–2548, 2002 [8] Fairman HS, Brill MH: The principal components of reflectances. Color Research and Application, Vol. 29, No. 4, pp.104-110, 2004 [9] Harifi T, Amirshahi SH, Agahian F: Recovery of reflectance spectra from colorimetric data using principal component analysis embedded regression techniq. Opt. Rev., 15, pp. 302-308, 2008 [10] Farnaz A, Seyed AA, Seyed HA: Reconstruction of reflectance spectra using weighted principal component analysis. Color Research and Application, Vol. 33, No. 5, pp.360-371, 2008 _63_ _Zs. Sávoli et al. – Acta Technica Jaurinensis, Vol. 9, No. 1, pp. 54-64, 2016_ [11] Simone B: Reflectance spectra recovery from tristimulus valuesby adaptiveestimation with metametric shape correction. Journal of Optical Society of America, Vol. 27, No. 8, pp.1868-1877, 2010 [12] Sávoli Zs, Horváth A, Kránicz B: Színminta-halmazhoz illeszkedő, jó kvalitatív tulajdonságú metamer gyors keresése. Képfeldolgozók és Alakfelismerők Társaságának 10. országos konferenciája, Kecskemét, pp 722-737, 2015 [13] Horváth A, Horváth Z: Optimal shape design of Diesel intake ports with evolutionary algorithm. M Feistauer (szerk.) Numerical Mathematics and Advanced Applications, ENUMATH 2003 _64_

섹션 본문 52문단 · 13,114자

(제목 없음)

1Finding the spectral features of color sample sets is a main issue of colorimetry.It is widespread to apply Principal Component Analysis in these researches.Several studies were written about the reconstruction of samples with known spectra using principal components, and some works dealt with approximate reconstruction from tristimulus values.Our study examines how spectral reconstruction done with genetic optimization works in case of different sample sets.We have taken only the tristimulus values of the color samples given.

Introduction

2It is a basic thesis of colorimetry that any color stimulus can unequivocally be given by three numbers.These ).However, the description of selfluminous objects (light sources) and surfaces (secondary light sources) is often given with spectral features, in other words with spectra.This type of description provides much more information about the observed object, it needs, therefore, more than three parameters.The researchers in colorimetry started examining how they can determine or give approximately the reflection spectra of surfaces with only a few numbers.Principal Component Analysis (PCA), which is based on elements of mathematical statistics and linear algebra, has appeared to be an especially strong and interesting tool.

3Several studies deal with the usage of Principal Component Analysis in colorimetry, therefore its mathematical presentation is not the subject of the present article.Publications [1]- [7] provide a general view how it works.In order to apply this method effectively, it is necessary to have a set with a large number of known spectra.Principal Component Analysis produces the eigenvectors belonging to the sample set.The linear combination of these eigenvectors helps to reconstruct the spectrum.The above mentioned studies present reconstruction of samples that have known and measured spectra.The question is whether it is possible to say anything about the spectrum of color samples that have unknown reflectance functions if we only know their tristimulus values Z Y X , , .In some of the studies focusing on this problem [8], [9], the spectral reconstruction is done with an algorithm using pseudoinvers matrix operations.

4However, Principal Component Analysis or weighed Principal Component Analysis has been used in other studies.Corresponding to the tristimulus values, the three eigenvectors, whose eigenvalues are the greatest ones, are enough to get the same Z Y X , , values as the result of reconstruction [10], [11].More accurate results can be reached with more components, but they lead to undetermined equation systems, as the tristimulus values can be given in many ways from more than three components.Because of this critical statement, three vectors have been considered to be satisfactory in most cases.

5Publication [12] describes our method that deals with this problem.We used the first five eigenvectors instead of the first three vectors and the features of the reflection functions of real color samples for generic optimization.It was considered that the reflection functions of the real samples are smooth, without strong oscillation and they are non-negative.This method provides a much more accurate reconstruction than the earlier ones.(Figure 1) The set of 2 832 textile samples with known reflectance functions were used.Furtheremore, 148 flower samples, 565 paint samples and 8 533 human skin samples were applied.Figure 2 shows these sample sets.The formalism of optimization is to be shown in brief.More details can be read in publication [12].

The formalism of optimization

6During calculation, we work with spectra (reflectance functions) whose resolution is given, therefore, we use finite-dimensional vectors instead of continuous functions.Let N denote the dimension number of these vectors.For example, if we think of a spectrum with a range of 400 nm -700 nm and with an equidistant-wavelength step of at 10 nm, 31 = N .

7Let us denote the eigenvalues of the PCA method arranged in decreasing order by 0 )

8( )

L

9is also an N -dimensional vector.

10Having M fixed, variables

11L determine the spectrum of the reconstructed f according to equation (1).As a next step, we create a function that measures the difference between this type of spectrum and the ideal spectrum.The difference is small for smooth and non-negative metamers, and it is greater and greater, if the tristimulus values deviate from the stipulated ones or if the function oscillates strongly or it takes up negative values.It is easy to calculate the tristimulus values of the spectrum by the application of color-matching functions.

12In Eq. 2,

13denote the discrete versions of the CIE color-matching functions which have the same resolution as that of the spectra, i S .is the discrete spectral power distribution of the illuminant.Obviously, the values of 0 0 0 , , Z Y X depend on the coefficients i c , but we do not emphasize this dependence for the sake of briefness.

14We can calculate the squared sum of the differences to show how much the values

15This 0 d value is non-negative and it is equal to 0 when a metamer complies with the definition.If 3 = M , the equation system of the metamer has a single solution.A lot of earlier studies which used PCA ended with giving this solution.If 3 > M

16, it has an infinite number of solutions, and we can choose the most realistic one by the use of constraints on negativity and strong oscillation.

17We can describe the negativity of the function by the integral of the negative and the positive part, or with the ratio of their sums in the discrete case.Denote:

18Definitions ( 4) and ( 5) resemble the terms of lower and upper covering functions used in analysis.

19The penalty term on negativity is: We define the oscillation of the function by the squared sum of the deviation between the neighboring terms:

20The penalty term on oscillation is

21The cost function whose minimum is assumed to determine the metamer with the best qualitative features is the following.

(

22)

23We can get 0 d from (3), n P from (8) and v P from (10).The weights n W and v W show the importance of one or the other penalty terms.According to the pre-calculation we have already made, the useful values are

24. A little change in them will not influence the final result.

25All in all, d is a non-linear function with M variables, whose minimum corresponds to the best function for us, in other words, vector ( )

L

26which gives the location of the extreme values, contains the optimal weight of the eigenvectors used in the reconstruction.

27In order to find the minimum point of function d , which has been given in equation ( 11) above, we use our own genetic optimization program.The genetic algorithm was chosen because d has a lot of local minima (mainly because of the oscillation term) and the gradient-based methods generally cannot find the global minimum in these cases.

28Our genetic algorithm uses the standard genetic operators, e.g.mutation and crossing, and in order to accelerate the search for local maxima, it uses hill-climbing steps.We had already applied this code to solve more industrial optimization problems [13].

Values describing the accuracy of the reconstruction

29We can describe the accuracy of the reconstruction by several measuring numbers in a quantitative way.We can measure the color difference between the examined sample and the reconstructed sample, the sepctral deviation and accuracy between the original and the reconstructed reflection funtion.

30The color difference can be given as it follows.As the first step, the tristimulus values

31In case of all the used samples, the condition

32of the reference white tristimulus under the illuminant with ( ) λ S spectral power distribution are given by equation (13)., the reconstructed function is perfectly identical with the original one.Therefore the closer GFC gets to 1, the more accurate the spectral reconstruction is.The formula in (16) corresponds to the cosine value of the angle of two abstract vectors.

33The other accuracy specifying value is RMS (root mean square), which gives the reconstruction error according to the differences between the original and the reconstructed spectra (17).

34The notations in equation ( 17) are the same as the notations in equation ( 16).The smaller the value is, the smaller the spectral error is and the greater the reconstruction accuracy is.

Reconstruction in case of textile samples

35During calculation, we reconstructed some randomly-chosen textile samples with the above mentioned process and wanted to find the ideal coefficients .During optimisation, we presumed the equienergetic illuminant.Figure 3 shows the reconstruction of randomly chosen samples with five eigenvectors.The following table (Table 1) shows the mean values of Δ * , , .

Reconstruction with different sample sets

36Let us examine what the coefficients and the spectra are if we use other samples than textiles.We suppose that different spectra belong to the same , , tristimulus values in cases of other materials.The whole analysis is done for three other sample sets, namely, for 148 flowers, 565 paint samples and 8533 human skin samples, and the principal components are determined with optimisation again.

37However, the eigenvectors of PCA and the coefficients are different in case of different sample sets, it is interesting to know, how big the difference is between the reconstructed spectra belonging to the same tristimulus values.Therefore, the reconstruction is done for randomly-chosen tristimulus values in case of different training sample sets.The reconstruction is done for the above mentioned sample sets, the textile samples, the flowers, the paint samples and the skin samples, with their own eigenvectors using our genetic oprimisation algorythm and presuming the illuminant .Figure 4 shows the reconstructed spectra of the different training sample sets belonging to the same tristimulus values , , .The content of Table 2 depicts that different spectra belongs to the same tristimulus values when we use textile, flower, paint or skin samples.The differences are smaller in case of textile and paint samples than of other sample set pairs.This statement is proved for the first five eigenvectors and the mean vectors of each sample set.(Figure 5)

Conclusion

38Our study shows a genetic optimisation process that helps us to reconstrutct the reflectance funtion of colorful samples on the basis of their tristimulus values.During reconstruction we use the first five eigenvectors provided by the PCA together with restrictive terms for the shape of the reflectance functions of real samples.It gives the opportunity to choose those metamers from their infinite set in such a way that the reflectance function corresponds with the reflectance functions of the real samples.

39All in all, our method makes it easy to reconstruct a spectrum for the tristimulus values of any colour sample with unknown spectrum.Even, we can tell what the spectrum looks like when the unknown sample is textile, flower, paint or skin.The method can be refined with the use of other sample sets.

Figure 1 .

40Figure 1.Reconstruction with three and with five eigenvectors

Figure 2 .

41Figure 2. The textile, flower, paints, skin samples sets in CIE xy color space

42mean vector by m .The linear combination of M eigenvectors and the principal components

nW

43is the weight factor which is used to set the relative weight of this term within the optimization function.It is obvious that 0 = n P if the function has only non-negative values and 1 = n W , and the more negative parts, f contains the greater positive values n P has got.It is 1 in extreme cases.

44values of the reference white tristimulus values under a given illuminant.

45color matching functions.The values of the comparable color samples are

46the just perceptible difference under a given illuminant.Two different values are given for the spectral accuracy by the publications.One of them is a numerical value, GFC (goodness of fit coefficient) (16).

Figure 3 .

47Figure 3. Reconstruction of textile samples.The black line denotes the reconstructed spectrum, the coloured line denotes the original spectrum

Figure 4 .Figure 4

48Figure 4.The reconstructed spectra belonging to given tristimulus values in case of different training sample sets Figure 4 depicts clearly that different spectra belong to the same tristimulus values depending on the training sample sets.The reconstructed spectra are less oscillating for textile and paint samples than for flowers or human skin samples, which corresponds to the features of the samples.The reconstructed functions of the textile and paint samples resemble each other the most, however, they are not identical at all.Table 2 denotes the

Figure 5 .

49Figure 5.The mean vector and the first five eigenvectors for different sample sets

Figure 5

50Figure5depicts that the eigenvectors of the textile and the paint samples differ from each other the least, on the other hand, the eigenvectors of the other two sample sets show greater differences.Therefore, different spectra belong to the same tristimulus values , , for different sample sets.

Table 1 .

51The mean values

Table 2

52denotes the values of , which describe the reconstruction numerically, compared to the reconstructed spectrum.With other words, the basis of comparison is always the textile spectrum.The values Δ * are not calculated as only the shapes of the reconstructed reflectance functions are compared.

참고문헌 12건

  1. Measurement and Analysis of Object Reflectance Spectra Color Research & Application · Wiley · 1994 10.1111/j.1520-6378.1994.tb00053.x
  2. Optimal Shape Design of Diesel Intake Ports with Evolutionary Algorithm Springer eBooks · Springer Nature · 2004 10.1007/978-3-642-18775-9_43
  3. A review of principal component analysis and its applications to color technology Color Research & Application · Wiley · 2005 10.1002/col.20086
  4. Vector-subspace model for color representation Journal of the Optical Society of America A · Optica Publishing Group · 1990 10.1364/josaa.7.000725
  5. Evaluation of linear models of surface spectral reflectance with small numbers of parameters Journal of the Optical Society of America A · Optica Publishing Group · 1986 10.1364/josaa.3.001673
  6. Reconstruction of reflectance spectra using weighted principal component analysis Color Research & Application · Wiley · 2008 10.1002/col.20431
  7. Multispectral color image capture using a liquid crystal tunable filter Optical Engineering · SPIE · 2002 10.1117/1.1503346
  8. Recovery of reflectance spectra from colorimetric data using principal component analysis embedded regression technique Optical Review · Springer Science+Business Media · 2008 10.1007/s10043-008-0049-1
  9. The principal components of reflectances Color Research & Application · Wiley · 2004 10.1002/col.10230
  10. Linear bases for spectral reflectance functions of acrylic paints Color Research & Application · Wiley · 1998 10.1002/(sici)1520-6378(199802)23:1<39::aid-col6>3.0.co;2-4
  11. A Huge Spectral Characteristics Database and its Application to Color Imaging Device Design Color and Imaging Conference · Society for Imaging Science & Technology · 1998 10.2352/cic.1998.6.1.art00019
  12. Linear bases for spectral reflectance functions of acrylic paints Color Research & Application · Wiley · 1998 10.1002/(sici)1520-6378(199802)23:1<39::aid-col6>3.3.co;2-g