Designing a Color Filter via Optimization of Vora-Value for Making a Camera more Colorimetric
간접 관련 필름·전자재료 · (15) 디스플레이 패널재료 (11) 배리어 필름(13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.2352/issn.2169-2629.2020.28.28
- 저널
- Color and Imaging Conference
- 발행년도
- 2020
- 발행기관
- Society for Imaging Science & Technology
- 피인용수
- 1
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.2352/issn.2169-2629.2020.28.28
- 토픽
- Color Science and Applications
- OpenAlex ID
- W3138730308
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (15) 디스플레이 패널재료
- 부 분야
- (11) 배리어 필름, (13) 프리즘 필름
- R&D 측면
- 부품·응용 설계
- 확신도
- 0.70
- 근거 용어
- color filter, spectral transmittance, optimization method, camera spectral sensitivities, colorimetric
- 판단 근거
- 본 논문은 카메라의 색 재현성을 높이기 위한 최적의 컬러 필터 설계 및 투과율 최적화 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 디스플레이 패널용 소재나 광학 필름의 색 구현 성능 개선을 위한 설계 원리로 응용 가능합니다.
- R&D 활용 포인트
- 디스플레이용 컬러필터 또는 광학 필름 설계 시, 특정 색 영역(Color Gamut)이나 색 정확도를 극대화하기 위한 투과율 프로파일 최적화 모델로 활용 가능합니다.
- 평가 입력
- 본문 34,689자
초록
본문 34,689자
본문 펼치기
섹션 본문 49문단 · 22,621자
(제목 없음)
1The Luther condition states that if the spectral sensitivity responses of a camera are a linear transform from the color matching functions of the human visual system, the camera is colorimetric. Previous work proposed to solve for a filter which, when placed in front of a camera, results in sensitivities that best satisfy the Luther condition. By construction, the prior art solves for a filter for a given set of human visual sensitivities, e.g. the XYZ color matching functions or the cone response functions. However, depending on the target spectral sensitivity set, a different optimal filter is found.This paper begins with the observation that the cone fundamentals, XYZ color matching functions or any linear combination thereof span the same 3-dimensional subspace. Thus, we set out to solve for a filter that makes the vector space spanned by the filtered camera sensitivities as similar as possible to the space spanned by human vision sensors. We argue that the Vora-Value is a suitable way to measure subspace similarity and we develop an optimization method for finding a filter that maximizes the Vora-Value measure.Experiments demonstrate that our new optimization leads to filtered camera sensitivities which have a significantly higher Vora-Value compared with antecedent methods.
Introduction
2Color cameras are not colorimetric. That is, they do not satisfy the Luther condition [1]: their spectral sensitivities are not a linear transform from the CIE XYZ color matching functions (or equivalently any linear combination of the CMFs) [2]. Only cameras that satisfy the Luther condition can measure colors in all conditions which can then be corrected, without error, to colorimetric counterparts [3].
3There are many papers in the literature address the colorimetric problem by proposing methods that design optimal filters to accurately recover tristimulus color responses [4][5][6][7][8][9][10][11]. Recently, Finlayson et al. [12] developed a method for finding the best transmissive filter that, when placed in front of a camera (visualised in Figure 1), results in the new effective sensitivities that best meet the Luther condition. Curiously, however, if we change the target sensitivity functions -e.g. from XYZ CMFs to the cone fundamentals, themselves a linear transform apart [13], the solved-for best filter changes.
4In this paper, we develop a method for finding a filter which makes the vector space spanned by the effective camera spectral sensitivities closest to all possible target sensitivity function sets for the Human Visual Space (HVS). We illustrate our approach in Figure 2. In blue, we show the vector space spanned by the sensitivity functions of the HVS. These sensitivities might be the cone fundamentals or equivalently the XYZ CMFs (we say equivalently because these sensitivity sets are linearly related and both sets span the same subspace). Similarly, the camera spectral sensitivities -shown in red -span a different vector space.
5When we place a filter in front of a camera, the new effective spectral sensitivities span a new subspace, shown in green in Figure 2. In this paper, we set forth a method for finding a filter which makes the filtered sensitivities spanning a subspace (the green vector space) as close as possible to the human visual space (the blue vector space).
6Let's start to make some of this intuition more concrete. First, let us introduce a little notation. We denote respectively the spectral sensitivities of the camera and the human visual sensors as Q and X. For the purposes of this paper, we can think of these sensor sets as tables of discrete measurements. The columns of Q are the spectral sensitivities of the Red, Green and Blue sensors. Each row of Q is the three camera responses at discrete wavelengths. Usually, we measure sensitivities from 400 nm to 700 nm (the typical wavelength range of visible spectrum) with a 10 nm sampling distance, so the spectral sensitivity tables (or matrices) have 31 rows. X is similarly defined where columns could be the XYZ color matching functions or any function set thereof.
7The blue and red planes in Figure 2 -for the human visual system and camera sensitivities, respectively -visualise the subspaces spanned by Q and X. By span we mean the set of all spectra we can generate by taking linear combinations of the columns of Q (or X). We call a subspace because the columns of Q (or X) span a 3-dimensional vector space contained in the 31-dimensional space. So, how do we evaluate the closeness (or otherwise) of two subspaces spanned by the column vectors of Q and X?
8Usually, when we compare quantities, they are in correspon- dence. So far the ideas of vectors spanning a subspace has been quite abstract. The key to comparing subspace is defining a method of placing spectra generated in one subspace in correspondence to matching spectra in another. Let us generate a 31-dimensional spectrum s. Returning to Figure 2, we denote the projection of s onto Q as P{Q}s. The corresponding projection onto X is denoted P{X}s. Finally, we denote the spectral sensitivities of a camera with a filter, F, placed in front as FQ and the corresponding projected spectrum as P{FQ}s. For the stimulus s, now we find the corresponding (projected) spectra, s Q and s X in the vectors spaces spanned by Q and X that are closest to s. And, given these corresponding spectra, we can calculate their distance: ||s Q − s X || 2 . By generating lots of random spectra -the values of which are independent and identically distributed -drawn from 31-dimensional space, we can calculate the mean difference between their projections to the spaces spanned by Q and X. This projected spectral error (after normalization) -calculated over all possible spectrais our definition of subspace similarity. This reasoning leads to a simple, closed-form, subspace similarity formula that calculates a number in [0,1]. Intuitively, it is kind of a percentage measure of how similar two subspaces are. Actually, to this point our reason is (perhaps with a slightly different emphasis) a retelling of the derivation of the Vora-Value [14]. The Vora-Value is a measure of how well a camera's RGBs can be (linearly) corrected to colorimetric counterparts (under the socalled Maximum Ignorance Assumption [15] which posits that all spectra are equally likely). Equivalently, it can be thought of as a percentage type measure of the similarity of two vector spaces, here the space spanned by two sensor sets (a camera and the HVS).
9In this paper, we formulate an optimization expression using the Vora-Value formula which we can maximize to find the best color filter to place in front of a camera (i.e. the one that returns the best subspace similarity). The optimization method itself is not closed-form but we show we can differentiate the objective function (with respect to the filter we seek) and then find the filter by a gradient ascent method [16].
10Experiments demonstrate that the Vora-Value score for many cameras is increased significantly by the optimized filters returned by our optimization. Further, the current method gives higher Vora-Values and consequently lower color measurement errors than when the filters are solved by the prior Luther-condition method [12].
11In this paper, Section II reviews the definition of Vora-Value in detail and briefly introduces the gradient descent optimization method. We maximize the Vora-Value by a gradient ascent ap-proach in Section III. The experimental results and discussions are given in Section IV. The paper concludes in Section V.
Vora-Value
12The Vora-Value of a camera sensor set Q and the XYZ color matching functions X is defined [17] as
13where P{Q} and P{X} denote the projection matrices of the camera sensitivity functions and the color matching functions, respectively and trace() is the trace of a square matrix that sums up the elements along the diagonal of a matrix. In the equation, trace(P{X}) is a normalization term and so the Vora-Value is in the range of [0, 1]. For a trichromatic vision system where X has three independent sensitivity functions, then trace(P{X}) = 3 (the trace of a projector is equal to the rank of the matrix). The best case is when the subspace spanned by the camera sensitivities is the same as the subspace spanned by the color matching functions then P{X} = P{Q}. Noting idempotency property of projectors P{X}P{X} = P{X}, the Vora-Value equals 1. When the camera sensitivity curves are perpendicular to -in the null space of -the color matching functions, i.e. P{Q} = I − P{X}, the Vora-Value is 0. The Vora-Value can be thought of as a percentage measure of the similarity between two subspaces (see discussion in the Introduction) in general and of sets of spectral sensitivities in particular.
14The projection of an n × m matrix A with rank m (n > m) is defined as:
15where the superscripts T and −1 denote respectively the matrix transpose and inverse. Substituting the explicit definition of a projector into Eq. 1 gives
16Later we will show how we can find a filter that when placed in front of a camera results in effective camera sensitivities that yield a much higher Vora-Value ( compared to the unfiltered camera sensitivities). Our optimization is solved iteratively: we follow the gradient calculated from an optimization statement.
Gradient Descent
17Let us illustrate the idea behind the gradient descent minimization. Take the simple function f (x) = x 2 that we would like to minimize. From the rules of calculus we can differentiate and find the zero for the 1st derivative and (using the 2nd derivative test) we can convince ourselves that the minimum of this function can be found at x = 0.
18Often however we cannot find the minimum (or minima) in closed form. This is where we use optimization techniques such as gradient descent. The gradient descent process is illustrated in Figure 3. The arrows show how the function decreases when we use the gradient of the function to predict a lower value than where we currently are. By repeatedly following the gradient downwards we eventually find ourselves in a minimum.
19For an objective function with variables in n-dimension, the algorithm works in the same way except the gradient of the objective function becomes an n-dimensional vector, ∇ f (x) ∈ R n .
20In this paper we will be maximizing the function. It is the same idea but we follow the arrows 'up' rather than down.
Filter-modified Vora-Value
21When a filter is placed in front of a camera, it can be modeled as the multiplication of the filter spectral transmittance and the camera spectral sensitivities. On a per wavelength basis, let [r(λ ), g(λ ), b(λ )] and f (λ ) denote respectively the camera spectral sensitivities and the filter transmittance at a sampled wavelength. Then the new effective sensitivities of the filtered camera
22For our optimization it is useful to represent spectral quantities as vectors. The filter vector f denotes an n-dimensional vector of transmittances across the visible spectrum. Since we typically sample the visible spectrum from 400nm to 700nm at every 10nm interval then n is 31. Together with camera spectral sensitivity matrix Q, the new effective sensitivity responses after filtering can be represented as FQ where the filter vector is converted into a diagonal matrix F = diag( f ) for mathematical convenience, with its ith diagonal equals to the ith element of f , i.e. F ii = f i .
23Thus the filter-modified Vora-Value for the effective 'fil-ter+camera' system can be written as
24Remind that trace(P{X}) = 3 for a trichromatic vision system. Substituting the projector matrices as Eq. 2, we have
25Note in writing this equation we made us of the fact that F T = F (diagonal matrices are symmetric).
Constraining the Shape of the Filter
26We would like to control the shape of the transmittance filter. Let us assume that a filter is a liner combination of a set of k basis filters:
27where the columns of matrix B denote the basis and c is a k × 1 vector denoting the coefficients to each associated filter basis. By judicious choice of basis, we can effectively bound the smoothness of the filter solution. Here we use the first k terms in a Cosine Basis expansion [19] -which are smooth functions.
Bounding Filter Transmittance
28Physically, the transmittance of a filter should be within the range of 0 and 100% meaning fully absorptive and transmissive , respectively. However, if our algorithm finds a filter that transmits little light, it will have limited practical utility for our proposal of using the 'filter+camera' system in accurate color measurement.
29In practice, we would like the filter transmittance in the desired bounds: f min f f max . Here we use the symbol to represent the vector inequality where every element in the vector satisfies the inequality. The scalars f min and f max denote the lower and upper thresholds on the desired transmittance of the filter.
Optimization Formulation and its Derivative
30The objective of our optimization is simply to find a filter f that maximizes the Vora-Value
31where Q and X are 31 × 3 matrices and F is a 31 × 31 diagonal matrix where the filter elements are the diagonal components as F = diag( f ). In the projector expanded form, the optimization is written as:
32Strictly speaking, we should also divide by 3 (so the Vora-Value is between 0 and 1 but we ignore this step as a scalar does not affect the optimization). The derivative of the objective function ν(FQ, X) with respect to the filter is captured by:
33Note because our filter is represented by a diagonal matrix: F = diag( f ), we are only interested in the partial derivatives along the diagonal F. Space does not permit a full recapitulation of the steps involved in differentiating ν. Mainly we simply employ well known rules of matrix derivatives. We direct the reader to [18] for a review. Rewriting Eq. 9 using our projector matrix notation:
34Now, let us rewrite the derivative in terms of the underlying filter vector f . First, remember that F = diag( f ). Here the diag() function takes an n-component vector and places it along the diagonal of an n × n diagonal matrix. Let us now denote the inverse operator -the one that extracts the diagonal from a square matrix and places the result in a vector -as vecd. Clearly, vecd(diag( f )) = f . Please also bear in mind that vecd() = vec(). The latter is often used in the Kronecker Product extension to matrix algebra and maps an n × m matrix into an nm × 1 vector [18]. Here, diag() is a forward operation turning a vector into a diagonal matrix and vecd is the companion reverse operator extracting the diagonal.
35We can write:
36where the diagonal values of (I − P{FQ})P{X}P{FQ}F −1 are taken to form the gradient function with respect to the filter vector f . When f = Bc, using the chain rule, the gradient function with respect to the coefficient vector c is calculated as:
37or, equivalently in its explicit form as
38We make two final remarks. First, clearly the gradient has a very interesting structure: it is the diagonal of the product of 3 projection matrices multiplied by the inverse of the filter. Second, since we have an explicit gradient representation we are in control of our own maximization (see details in the next section). This is important as in future work we aim to investigate the optimization in more detail including the likelihood that there are potentially many local maxima and that these maxima could be closely located.
Gradient Ascent
39We are maximizing the Vora-Value, so given the gradient function (calculated in the past section), we find the best filter by gradient ascent. Details are given in Algorithm 1. An important detail is the step size. The gradient vector of the function being maximized encodes the direction we should move to make the objective function larger. However, it does not teach directly how far we should move. If we add too much of the gradient we can step over the maximum and never reach the maximum point. Here the step size changes per iteration and is chosen by the backtracking line search algorithm [16].
40In Figure 4, we show how the gradient ascent algorithm converges for one camera (Canon 40D). On the x-axis we show the number of iterations of our algorithm. For each iteration we record the Vora-Value. We see here that our optimization converges quickly after just 100 iterations (see the red line associated with the right y-axis). Gradient method can also be carried out with inequality constraints. For example, in this paper we would like f min f f max where the interval [ f min , f max ] bounds the range of transmittance with respect to which we wish to find our filter. In the results shown in the next section we use the Projected Gradient Ascent Algorithm [20], a simple variant of the gradient ascent shown above.
Experiments and Results
41Vora-Value optimized filters for a Canon 40D digital camera [21] solved using Algorithm 1 are shown in Figure 5. In red is the filter found when no constraint (smoothness nor min max transmittances) is applied. In Blue, filters are described by the first 8 terms in a Cosine Basis expansion and constrained to be between 20% and 100% transmissive. Finally in dotted green we increase the minimum transmission to 30%.
42In Table 1, we evaluate the optimized filters using our current method in terms of Vora-Value and compare the results with the prior art of Luther condition optimization [22] under the same constraint conditions. We also include the results of the unfiltered native camera sensor as baseline results. Using the current Vora-filter, Vora-Value of the effective camera sensitivities (to the reference CIE1931 XYZ color matching functions) increases to 0.991 from 0.932 for its unfiltered native sensor sensitivities and higher than 0.986 by the Luther-filter, see first three rows under the column of 'Vora-Value' in Table 1. Remember that a higher Vora-Value indicates greater similarity of the subspaces spanned by the sensitivities of a camera and human visual system, therefore generally relates to more accurate color measurement [14]. We also evaluate the derived filters with respect to a color measurement experiment. For a collection of 102 illuminants and 1995 refletance spectra [23], we calculate the RGBs (for the native camera and the camera sensitivities after filtering) and ground-truth XYZs numerically. The corresponding CIELAB color difference metric ∆E * ab statistics [13] are shown in columns 3-7 of Table 1. We can see that with a slight increase of Vora-Value, the current method reduces by about 10% color errors (except max) compared to Luther-filter method. That is, for most color samples in the dataset, the current method outperforms the prior method.
43We repeat this experiment where we optimize for shapeconstrained smooth (linearly constructed by the first 8 cosine basis) and transmittance bounded filters. The corresponding Vora-Values and color measurement performance are shown in the second part of Table 1. Specifically for constrained filters, a data-driven method with multi-initialization conditions has been recently presented [24]. The recent work designs a filter that is specifically optimal to the testing spectra dataset we are using here with the aim of minimizing the XYZ tristimulus error. Bear in mind that this 'Data-driven' method uses 20,000 initialization filters seeding the algorithm for seeking the best filter refinement (and thus requires much greater computation). The corresponding ∆E * ab errors of 'Data-driven' method are also included in Table 1 for reference. Save the max error, the other statistics are, perhaps unsurprisingly, leading in terms of ∆E * ab . Of course neither the Vora-filters (nor the Luther-filters) were derived to optimize ∆E * ab . However, the performance difference is relatively small (no more than about 10% depending on the criterion). It is interesting that the Vora-Value method, a data-independent measure, performs so well in the color measurement even although it is not optimized for the testing dataset.
44Returning to Figure 4 where we recorded how the Vora-Value Figure 6: Evaluation of 28 cameras with optimized Luther-filters (in green) and Vora-filters (in red) in terms of Vora-Value.
45changed as we iteratively optimized for the best filter. Relative to our color measurement experiment, we can calculate the mean ∆E * ab for each per-iteration filter (multiplied by the Canon 40D spectral sensitivities). See how the average ∆E * ab also quickly diminishes after a small number of iterations.
46For the prior art of Luther method [12], a filter is designed that best allows camera sensitivities to be linearly mapped to XYZ color matching functions. Interestingly, however, a better fit of the XYZ CMFs does not predict lower ∆E * ab error in the color measurement test. Very speculatively, perhaps this is tentative evidence that the Vora-Value measure is a good predictor of the color measurement potential of a filter set (an idea proposed in the original paper [14]).
47Actually, the experiments we have presented so far, to some extent, hide the power of our method. In Figure 6, we plot the Vora-Value of 28 commercial cameras [21] with optimized Vora-filters and Luther-filters. The dotted blue line points out where the Canon 40D camera we used for the experiments is. We can see that the Canon 40D can be well corrected with either the Luther method or (to a slightly higher number) by the optimization we developed in this paper. However, the figure shows that for many cameras, the difference between the Luther and Vora-Value methods are significant. Averaged over 28 cameras, Vora-filter improves the Vora-Value score to 0.976 from 0.918 for its unfiltered native camera sensors and higher than 0.961 (average correction) from Luther-filters.
Conclusion
48In this paper, we set forth a filter design method such that a derived optimal filter, when placed in front of the camera, makes the camera much more colorimetric. The filter design problem is formulated as an optimization using the criterion of Vora-Value. Equivalently, by optimizing the Vora-Value we are moving the subspace spanned by the filtered camera spectral sensitivities closer to the subspace spanned by the Human Visual System sensors.
49Experiments validate our method. For all cameras tested we find the Vora-Value is significantly increased compared to antecedent methods. Color measurement experiments demonstrate that by optimizing the Vora-Value we also find the filtered sensitivities that support excellent color measurement. When the derived filter is constrained to be smooth and have a bounded transmittance (e.g. at least 20% of the light at any visible wavelength), we can still obtain the filtered camera sensitivities that have a high Vora-Value and, when used for color measurement, that support low color measurement errors.
참고문헌 19건
- The Maximum Ignorance Assumption with Positivity Color and Imaging Conference · 1996 10.2352/cic.1996.4.1.art00052
- Measure of goodness of a set of color-scanning filters Journal of the Optical Society of America A · Optica Publishing Group · 1993 10.1364/josaa.10.001499
- The Discrete Cosine Transform SIAM Review · Society for Industrial and Applied Mathematics · 1999 10.1137/s0036144598336745
- A data set for color research Color Research & Application · Wiley · 2002 10.1002/col.10049
- What is the space of spectral sensitivity functions for digital color cameras? 2013 10.1109/wacv.2013.6475015
- Perceptual Color Characterization of Cameras Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s141223205
- 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
- Mathematical methods for the analysis of color scanning filters IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1997 10.1109/83.551704
- Figures of merit for color scanners IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1997 10.1109/83.597274
- Projected Newton methods for optimization problems with simple constraints 1981 10.1109/cdc.1981.269317
- Design and realization of optimal color filters for multi-illuminant color correction Journal of Electronic Imaging · SPIE · 1995 10.1117/12.193812
- Inner products and orthogonality in color recording filter design IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2001 10.1109/83.913597
- 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
- Filter considerations in color correction IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 1994 10.1109/83.277897
- Using a Simple Colour Pre-filter to Make Cameras More Colorimetric Color and Imaging Conference · Society for Imaging Science & Technology · 2018 10.2352/issn.2169-2629.2018.26.182
- Imaging Colorimetry Using a Digital Camera Journal of Imaging Science and Technology · Society for Imaging Science and Technology · 2000 10.2352/j.imagingsci.technol.2000.44.4.art00002
- Designing a physically-feasible colour filter to make a camera more colorimetric London Imaging Meeting · Society for Imaging Science & Technology · 2020 10.2352/issn.2694-118x.2020.lim-16
- Exact reproduction of colored images Computer Vision Graphics and Image Processing · Academic Press · 1983 10.1016/0734-189x(83)90090-7
- Matrix Differential Calculus with Applications in Statistics and Econometrics Technometrics · Taylor & Francis · 1989 10.2307/1270024