선정목록으로
Measurement and Estimation of Spectral Sensitivity Functions for Mobile Phone Cameras
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.3390/s21154985
- 저널
- Sensors
- 발행년도
- 2021
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 50
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s21154985
- 토픽
- Color Science and Applications
- OpenAlex ID
- W3184672818
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Mobile phone cameras are often significantly more useful than professional digital single-lens reflex (DSLR) cameras. Knowledge of the camera spectral sensitivity function is important in many fields that make use of images. In this study, methods for measuring and estimating spectral sensitivity functions for mobile phone cameras are developed. In the direct measurement method, the spectral sensitivity at each wavelength is measured using monochromatic light. Although accurate, this method is time-consuming and expensive. The indirect estimation method is based on color samples, in which the spectral sensitivities are estimated from the input data of color samples and the corresponding output RGB values from the camera. We first present an imaging system for direct measurements. A variety of mobile phone cameras are measured using the system to create a database of spectral sensitivity functions. The features of the measured spectral sensitivity functions are then studied using principal component analysis (PCA) and the statistical features of the spectral functions extracted. We next describe a normal method to estimate the spectral sensitivity functions using color samples and point out some drawbacks of the method. A method to solve the estimation problem using the spectral features of the sensitivity functions in addition to the color samples is then proposed. The estimation is stable even when only a small number of spectral features are selected. Finally, the results of the experiments to confirm the feasibility of the proposed method are presented. We establish that our method is excellent in terms of both the data volume of color samples required and the estimation accuracy of the spectral sensitivity functions.
본문 63,279자
본문 펼치기
# _sensors_
_Article_
## Measurement and Estimation of Spectral Sensitivity Functions for Mobile Phone Cameras
Shoji Tominaga <sup>1,2,</sup> *, Shogo Nishi <sup>3</sup> and Ryo Ohtera <sup>4</sup>
1 Department of Computer Science, Norwegian University of Science and Technology, 2815 Gjøvik, Norway
2 Faculty of Business and Informatics, Nagano University, 658-1, Shimogo, Ueda, Nagano 386-1298, Japan
3 Department of Engineering Informatics, Osaka Electro-Communication University, Neyagawa,
Osaka 572-8530, Japan; s-nishi@osakac.ac.jp
4 Kobe Institute of Computing, Graduate School of Information Technology, Chuo-ku, Hyogo,
Kobe 650-0001, Japan; ryotera@kic.ac.jp
* Correspondence: shojitominaga12@gmail.com; Tel.: +81-90-2197-0543
[���������](https://www.mdpi.com/article/10.3390/s21154985?type=check_update&version=2)
[�������](https://www.mdpi.com/article/10.3390/s21154985?type=check_update&version=2)
Citation: Tominaga, S.; Nishi, S.;
Ohtera, R. Measurement and
Estimation of Spectral Sensitivity
Functions for Mobile Phone Cameras.
_Sensors_ 2021, _21_, 4985. [https://](https://doi.org/10.3390/s21154985)
[doi.org/10.3390/s21154985](https://doi.org/10.3390/s21154985)
Academic Editors: Alonso Sanchez
and Pedro Ortiz Coder
Received: 2 June 2021
Accepted: 20 July 2021
Published: 22 July 2021
Publisher’s Note: MDPI stays neutral
with regard to jurisdictional claims in
published maps and institutional affil
iations.
Copyright: © 2021 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license [(https://](https://creativecommons.org/licenses/by/4.0/)
[creativecommons.org/licenses/by/](https://creativecommons.org/licenses/by/4.0/)
4.0/).
Abstract: Mobile phone cameras are often significantly more useful than professional digital singlelens reflex (DSLR) cameras. Knowledge of the camera spectral sensitivity function is important in
many fields that make use of images. In this study, methods for measuring and estimating spectral
sensitivity functions for mobile phone cameras are developed. In the direct measurement method, the
spectral sensitivity at each wavelength is measured using monochromatic light. Although accurate,
this method is time-consuming and expensive. The indirect estimation method is based on color
samples, in which the spectral sensitivities are estimated from the input data of color samples and
the corresponding output RGB values from the camera. We first present an imaging system for
direct measurements. A variety of mobile phone cameras are measured using the system to create a
database of spectral sensitivity functions. The features of the measured spectral sensitivity functions
are then studied using principal component analysis (PCA) and the statistical features of the spectral
functions extracted. We next describe a normal method to estimate the spectral sensitivity functions
using color samples and point out some drawbacks of the method. A method to solve the estimation
problem using the spectral features of the sensitivity functions in addition to the color samples is then
proposed. The estimation is stable even when only a small number of spectral features are selected.
Finally, the results of the experiments to confirm the feasibility of the proposed method are presented.
We establish that our method is excellent in terms of both the data volume of color samples required
and the estimation accuracy of the spectral sensitivity functions.
Keywords: mobile phone cameras; spectral sensitivity functions; measurement and estimation;
spectral sensitivity database
1. Introduction
In recent years, mobile phones have become widespread and part of our daily lives
(e.g., see [1]). The combination of mobility, telecommunication, and photography enabled by
integrating cameras into mobile devices has transformed our lifestyles. In this respect, mobile
phone cameras are far more useful than professional digital single-lens reflex (DSLR) cameras.
More recently, beyond imaging, mobile sensing technologies using mobile phone cameras
have emerged and are rapidly finding applications in many fields, such as smartphone
spectroscopy, medical diagnosis, food quality inspection, and environmental monitoring [2–4].
The sensing systems often consist of a mobile phone camera and an externally attached device.
Knowledge of the camera spectral sensitivity function is important in many fields
that deal with images, such as imaging science and technology, computer vision, medical
imaging, and applications involving cultural heritage or artwork. The spectral sensitivity
represents the image sensor output per unit incident light energy at each wavelength within
the spectral range in which the camera system operates. The function plays the role of
_Sensors_ 2021, _21_, 4985 2 of 21
mapping the spectral information in a scene to the RGB response values of the camera [5,6].
However, as camera manufacturers typically do not publish this information, users need to
either measure or estimate their camera’s sensitivity [7,8]. Thus far, the measurement and
estimation of spectral sensitivity functions have been mostly limited to DSLR cameras, for
which the digital outputs are available in the form of raw data. For instance, the spectral
sensitivity database measured by the Rochester Institute of Technology (RIT) for 28 cameras
is given in [9], whereas the Nokia N900 is the only mobile phone (smartphone) for which
the sensitivity is given.
Methods for knowing spectral sensitivities can be mainly classified into the direct measurement method and the indirect estimation method. The direct methods are methods in
which the spectral sensitivity is measured at each wavelength point in the visible range [7,10].
They require a monochromator that emits stable monochromatic light. Most indirect estimation methods are based on algorithms that use color samples [11,12]. Typical color samples
include reflective color targets, such as color checkers, that are photographed by a camera
under known illumination. Fluorescence, LED, and LCD display-based color targets can be
used as specialized color samples [13–15]. The spectral sensitivity functions are estimated
from pairs of input and output data comprising the color samples and camera RGB values,
respectively. Principal component analysis (PCA) is a combination of direct and indirect
methods [16]. This method was described as being more accurate than the conventional
indirect method (e.g., see [17]). As estimating the spectral sensitivity of mobile phone camera
has not been attempted, we applied the modified method to the spectral sensitivity estimation
problem in this study. It should be noted that the spectral sensitivity function creates a linear
relationship between the camera inputs and outputs using raw image data.
However, in most cases, the digital output of a mobile phone camera is not raw image
data, but rather rendered image data such as JPEG images. This type of data is quite
different from raw data as it has undergone many post-processing steps such as white
balance (WB), color interpolation, color correction, gamma correction, and compression.
Furthermore, the input and output data are not linearly related [17]. Recently, software that
can store images captured using a mobile phone camera as raw data has become publicly
available. In [18], a compressive sensing approach was proposed for estimating the spectral
sensitivity functions of a mobile phone (smartphone) camera. This method is an indirect
method based on a limited number of color samples, as the directly measured RGB spectral
response functions of the smartphones were not available.
In this study, methods for measuring and estimating the spectral sensitivity functions
of mobile phone cameras are developed. Although applying direct measurement methods
to mobile cameras gives accurate and reliable results, implementing them over the entire
wavelength range of interest in the same manner as professional DSLR cameras is expensive
and time-consuming. Indirect estimation methods using color samples face solving highdimensional matrices of the spectral responses to the samples. The matrices are seriously
rank deficient even when the number of color samples is large. Here, we aim to develop
an effective estimation method that can achieve sufficient accuracy with a small number
of color samples by extracting the features of the spectral sensitivity functions from the
dataset of directly measured sensitivities. We use the features of the spectral function
shapes, but not the measurements themselves.
In the following, we first describe a direct measurement method for spectral sensitivity
functions. An efficient imaging system to generate monochromatic light and measure the
camera response is presented. Using this system, we measure a variety of mobile phone
cameras available on the market and create a database of spectral sensitivity functions. The
directly measured spectral sensitivity functions are used as the reference data to estimate
the spectral sensitivity functions.
We then analyze the features of the measured spectral sensitivity functions. The respective spectral sensitivity functions are fitted to color-matching functions for comparison
with the spectral sensitivity of the human visual system. PCA is applied to determine the
dimensionality of the dataset and to extract the statistical features of the spectral functions.
_Sensors_ 2021, _21_, 4985 3 of 21
Subsequently, we present a normal method for estimating spectral sensitivity functions
using color samples. We point out the reliability and accuracy drawbacks the normal
estimation method suffers from despite being a least squares estimation method. To
address this, we propose an effective estimation method using the spectral sensitivity
features extracted through PCA in addition to the color samples.
Finally, the results of experiments to confirm the feasibility of the proposed method
for estimating the spectral sensitivity functions of a mobile phone camera are presented.
We establish that our method has excellent performance in terms of both the data volume
of the color samples used and the estimation accuracy of the spectral sensitivities.
2. Measurement of Spectral Sensitivity Functions
_2.1._ _Measurement Setup_
Methodologies for the spectral characterization of RGB cameras have been discussed
in some references [19,20]. The standard methods for calibrating consumer cameras in
detail, including characteristics such as the linearity, dark current, and spectral response
are described in [19]. In this study, we adopted a similar approach to capture images.
The camera images were captured in Adobe’s digital negative (DNG) format, which is a
lossless raw image format [21]. We manually set the camera International Organization
for Standardization (ISO) to 100 and the white balance (WB) mode to incandescent. The
exposure time was set to the maximum value at which the dynamic range of the camera
outputs did not saturate. The dark response was measured on all the selected cameras by
covering the camera with a black sheet in a dark room. The dark response was removed
from the camera output. The resulting signal component represents a linear response to
the input radiation. The color filter array was a Bayer pattern in which the RGB filters were
arranged in a checkerboard pattern with two green pixels (G and G2) for every red or blue
one [22]. We averaged the values of the two green pixels. The pixel values for each RGB
triplet were averaged over approximately 300 _×_ 300 pixels. The bit depths of the cameras
used were 8 to 12 bits.
(a) Linearity
We first evaluated the linearity of the raw camera data. A set of gray chips from the
X-rite Color Checker were used as the color target. The surface–spectral reflectance of these
samples was measured using a spectral colorimeter (CM-2600d, Konica Minolta, Tokyo,
Japan). The mobile phone used was an Apple iPhone 8. Figure 1a shows the relationship
between the average reflectance of the gray chips and the camera RGB output. We also
calculated the luminance values for the color samples under International Commission on
~~Illumination (CIE) Standard Illuminant D65 using the spectral luminous efficiency curve~~ _~~<u>y</u>~~_ ~~(~~ _~~λ~~_ ~~).~~
Figure 1b shows the relationship between the luminance values and the camera RGB outputs.
( a ) ( b )
Figure 1. Linearity test of the raw camera data using color samples. ( a ) Relationship between the average reflectance of
gray chips and the camera RGB outputs. ( b ) Relationship between the luminance values and the camera RGB outputs.
_Sensors_ 2021, _21_, 4985 4 of 21
(b) Spectral response
Figure 2 shows our experimental setup for measuring the spectral responses of mobile
phone cameras using monochromatic light and a spectrometer [23]. Figure 2a shows the
conversion of the continuous spectrum from a xenon lamp into monochromatic light using
the grating in a monochromator (SPG-100, Shimazu Kyoto, Japan). The monochromatic
light was projected onto a diffuser, and the transmitted light image was observed using
both a mobile phone camera and a spectroradiometer (CS-2000, Konica Minolta, Tokyo,
Japan). The effective spectral resolution (full width at half maximum (FWHM)) of the
monochromator was approximately 4 nm.
( a )
( b )
Figure 2. Experimental setups for measuring the spectral responses of mobile phone cameras using
monochromatic light and a spectrometer. ( a ) Monochromatic light from monochromator grating.
( b ) Monochromatic light from a programmable light source.
Figure 2b shows the production of monochromatic light by a programmable light
source (OL490, Optronic Laboratories, Orlando, FL, USA) and a liquid light guide. The
lighting system was a spectrally controllable light source using a digital micromirror device
(DMD) [24]. This lighting system was used in this study to generate emissions with a
narrow width at a single wavelength in the visible range (400–700 nm). The emitted
light was projected onto a white reference standard (Spectralon), and the reflected light
image was observed by the camera and spectroradiometer. The FWHM was approximately
5–10 nm. We used mainly the system shown in Figure 2b for the measurement. When the
monochromator system was used, the average values of the measured spectral sensitivity
functions for both systems in Figure 2a,b were taken.
_Sensors_ 2021, _21_, 4985 5 of 21
Assuming linear camera response, the three-channel output of a mobile phone camera
can be described as
_R_ _r_ ( _λ_ )
- 720
380 <sup>_e_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup>
_r_ ( _λ_ )
_g_ ( _λ_ )
_b_ ( _λ_ )
_dλ_, (1)
_R_
_G_
_B_
=
where _R_, _G_, and _B_ represent the camera responses after reducing the dark responses.
_e_ ( _λ_ ) represents the illuminant spectrum and _r_ ( _λ_ ), _g_ ( _λ_ ), and _b_ ( _λ_ ) the spectral sensitivity
functions. We denote the spectral powers of the _n_ illuminants used in the measurement as
- 720
380 <sup>_ei_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_dλ_</sup> <sup>=</sup> _Ei_, ( _i_ = 1, 2, . . ., _n_ ). (2)
When each illuminant spectrum is unimodal, such as monochromatic light, and the
FWHM is sufficiently narrow compared to the sensitivity functions, the spectral sensitivity at each wavelength _λi_ can be calculated from the illuminant power and the camera
outputs as
_r_ ( _λi_ ) _Ri_ / _Ei_
_Ri_ / _Ei_
_Gi_ / _Ei_
_Bi_ / _Ei_
, ( _i_ = 1, 2, . . ., _n_ ). (3)
_r_ ( _λi_ )
_g_ ( _λi_ )
_b_ ( _λi_ )
=
where _r_ ( _λi_ ), _g_ ( _λi_ ), and _b_ ( _λi_ ) ( _i_ = 1, 2, ..., _n_ ) are the discrete representations of the spectral
sensitivity functions. The visible wavelength range (400–700 nm) was scanned at equal
wavelength intervals of 10 nm and each spectral sensitivity function was expressed as a
31-dimensional column vector with _n_ = 31.
_2.2._ _Spectral Sensitivity Database_
We measured the spectral sensitivities of 20 mobile phone cameras and constructed a
database of the spectral sensitivity functions. The mobile phones used in this study are
listed in Table 1. Typically, the mobile phone incorporates an image sensor produced by a
different manufacturer. The third column in Table 1 lists the names of the image sensors.
Figure 3 shows the relative spectral sensitivity functions of the 20 mobile phone cameras in
our database. Most mobile phones are based on either iOS or Android. Six of the mobile
phones in Table 1 are iOS phones and the remaining 14 are Android phones. Figure 4
shows the spectral sensitivity functions grouped into the two categories of (a) iOS phone
cameras and (b) Android phone cameras. There is no significant difference in the spectral
curves of the sensitivity functions between the two categories.
Table 1. Mobile phones measured in this study.
Manufacturer Model Image Sensor
Apple iPhone 6s Sony IMX315
Apple iPhone SE Sony IMX315
Apple iPhone 8 Sony IMX315
Apple iPhone X Sony IMX315
Apple iPhone 11 Sony IMX503
Apple iPhone 12 Pro MAX Sony IMX603
HUAWEI P10 lite Sony IMX214
HUAWEI nova lite 2 Unknown
Samsung Galaxy S7 edge Samsung ISOCELL S5K2L1
Samsung Galaxy S9 Samsung ISOCELL S5K2L3
Samsung Galaxy Note10+ Samsung ISOCELL S5K2L4
_Sensors_ 2021, _21_, 4985 ~~6 of 21~~
<u>Table 1.</u> _<u>Cont</u>_ <u>.</u>
<u>Manufacturer</u> <u>Model</u> <u>Image Sensor</u>
~~Samsung~~ ~~Galaxy S20~~ ~~Samsung ISOCELL S5KGW2~~
~~SHARP~~ ~~AQUOS sense3 lite~~ ~~Unknown~~
~~SHARP~~ ~~AQUOS R5G~~ ~~Inf~~ i ~~neon Technologies IRS2381C~~
<u>Xiaomi</u> <u>Mi Mix 2s</u> <u>Samsung ISOCELL S5K3M3</u>
Xiaomi Redmi Note 9S Samsung ISOCELL S5KGM2
<u>Sony</u> <u>Xperia 1 II</u> <u>Sony IMX557</u>
<u>Sony</u> <u>Xperia 5 II</u> <u>Sony IMX557</u>
<u>Fujitsu</u> <u>arrows NX9</u> <u>Unknown</u>
~~Google~~ ~~Pixel 4~~ ~~Sony IMX363~~
Figure 3. Relative spectral sensitivity functions of the 20 mobile phone cameras in our database.
( a ) ( b )
Figure 4. Spectral sensitivity functions classified into the two categories of ( a ) iOS phone cameras, and ( b ) Android phone
cameras.
It may be interesting to compare this dataset with a dataset of the DSLR cameras.
Compared to the spectral sensitivity database in [9], we see that the shapes of the spectral
distributions in our mobile phone cameras do not have large variations, differently from
those of the DSLRs.
_Sensors_ 2021, _21_, 4985 7 of 21
The numerical data of the spectral sensitivity functions in Table 1 have been published
[as Excel data and txt data on http://ohlab.kic.ac.jp/ (accessed on 22 July 2021).](http://ohlab.kic.ac.jp/)
3. Feature Analysis of Spectral Sensitivity Functions
_3.1._ _Fitting to Color-Matching Functions_
The Luther condition states that the camera spectral sensitivity functions are linear
transformations of the CIE-1931 2-degree color-matching functions [25]. As the colormatching functions are a numerical representation of the color vision response of the
standard observers, the degree of fit with the Luther condition determines the colorimetric
measurement accuracy of the mobile phone cameras.
Let [ <u>x</u> <u>,</u> <u>y</u> <u>,</u> <u>z</u> ] be the 31 _×_ 3 discrete matrix representation of the CIE-1931 2-degree
color-matching functions _<u>x</u>_ ( _λ_ ), _<u>y</u>_ ( _λ_ ), _<u>z</u>_ ( _λ_ ) and [ r, g, b ] be the 31 _×_ 3 matrix representing
the RGB spectral sensitivity functions of a mobile phone camera. We express the linear
relationship between these matrices as
[ <u>x</u> <u>,</u> <u>y</u> <u>,</u> <u>z</u> ] = [ r, g, b ] T, (4)
where T is a 3 _×_ 3 transformation matrix. To validate whether the measured sensitivity
functions satisfy the Luther condition, we estimate the matrix T using the least squares
solution for Equation (4). The estimate is given as
T ˆ = [ CC <sup>_t_</sup> ] <sup>_−_</sup> <sup>1</sup> C <sup>_t_</sup> A, (5)
where A = [ <u>x</u>, <u>y</u> <u>,</u> <u>z</u> ], C = [ r, g, b ], and the symbol _<u>t</u>_ <u>denotes matrix transposition.</u>
<u>�</u> A _−_ CT <sup>ˆ</sup>
<u>�</u> _t_ <u>�</u> A _−_ CT <sup>ˆ</sup>
The root-mean-square errors (RMSEs) _trace_ <u>�</u> A _−_ CT <sup>ˆ</sup> <u>�</u> _t_ <u>�</u> A _−_ CT <sup>ˆ</sup> <u>�/(31</u> _×_ 3) of the
estimates were calculated, where the symbol _trace_ [ X ] denotes the trace of a matrix X .
Figure 5 shows the fitting results to the color-matching functions based on the spectral
sensitivity functions of the iPhone 8. The RMSE was 0.254. The average RMSE over all
~~the~~ ~~measured~~ ~~sensitivity~~ ~~functions~~ ~~in~~ ~~our~~ ~~database~~ ~~was~~ ~~0.226.~~ ~~We~~ ~~also~~ ~~calculated~~ ~~the~~
CIE-LAB color difference (Delta-E 1976) under Standard Illuminant D65 for many Munsell
color chips. The average color difference was 5.61. Thus, the Luther condition was not
completely satisfied.
The root-mean-square errors (RMSEs)
_trace_
Figure 5. Fitting results to the color-matching functions based on the spectral sensitivity functions of
iPhone 8.
_Sensors_ 2021, _21_, 4985 8 of 21
_3.2._ _PCA Analysis_
PCA was applied to the measured spectral function database to determine the dimensionality for approximating the spectral data and statistically extracting the spectral shape
features. All the relative spectral curves of the measured spectral sensitivity functions from
the _N_ (=20) mobile phone cameras are represented for each channel in a 31 _× N_ matrix as
Y R = [ r 1, r 2, . . ., r _N_ ], Y G = [ g 1, g 2, . . ., g _N_ ], Y B = [ b 1, b 2, . . ., b _N_ ]. (6)
We summarize these matrices as
Y _k_ = [ y 1, y 2, . . ., y _N_ ] ( _k_ = R, G, B). (7)
Singular-value decomposition (SVD) provides an orthogonal decomposition of rectangular matrices [26]. We used SVD for the PCA. The SVD of each matrix Y _k_ is written
as
Y _k_ = UΣV <sup>_t_</sup> (8)
or equivalently,
Y _k_ = _σ_ 1 u 1 v 1 <sup>_t_</sup> + _σ_ 2 u 2 v 2 <sup>_t_</sup> + . . . + _σN_ u _N_ v _N_ <sup>_t_</sup>, (9)
where U (= [ u 1, u 2, . . ., u _N_ ]) and V (= [ v 1, v 2, . . ., v _N_ ]) are the 31 _×_ _N_ left singular
matrix and the _N_ _×_ _N_ right singular matrix, respectively, and Σ is the _N_ _×_ _N_ diagonal
matrix in which the elements are the singular values _σ_ 1, _σ_ 2, . . ., _σN_ ( _σi_ _≥_ _σi_ +1 _>_ 0). The 31dimensional singular vectors u 1, u 2, . . ., u _N_ are orthogonal to each other. Therefore, each
measured spectral sensitivity function can be uniquely expressed as a linear combination
of _N_ orthogonal vectors
y _j_ = _c_ 1 _j_ u 1 + _c_ 2 _j_ u 2 . . . + _cNj_ u _N_, ( _j_ = 1, 2, . . ., _N_ ) (10)
where _cij_ = _σivij_ . Consider an approximate representation of the sensitivity functions
in terms of component vectors chosen from u 1, u 2, . . ., u _N_ . When the first _K_ principal
components are chosen, the performance index representing the approximation accuracy is
given by the percent variance:
_N_
### ∑
_i_ =1
_σi_ <sup>2</sup> <sup>.</sup> (11)
_P_ ( _K_ ) =
_K_
### ∑
_i_ =1
_σi_ <sup>2/</sup>
Figure 6 shows the first three principal components u 1, u 2, and u 3 for the (a) red, (b)
green, and (c) blue channels of the spectral sensitivity functions where the bold, broken, and
dotted curves represent the first, second, and third principal components, respectively. The
percent variances are _P_ (1) = 0.9940, _P_ (2) = 0.9974, _P_ (3) = 0.9990 for red, _P_ (1) = 0.9954, _P_ (2) =
0.9984, _P_ (3) = 0.9995 for green, and _P_ (1) = 0.9926, _P_ (2) = 0.9962, _P_ (3) = 0.9999 for blue. The
first principal component u 1 is the average spectral curve of the spectral sensitivity function
dataset, which plays the most important role in the spectral representation. The results
of the PCA suggest that the measured spectral sensitivity functions can be approximated
using the first three principal components with sufficient accuracy. The approximation is
obtained using the principal component expansion in Equation (10). Figure 7 shows the
approximated spectral curves for the (a) red, (b) green, and (c) blue channels of the spectral
sensitivity functions of the iPhone 8, where the colored bold curves, the black bold curves,
and the broken curves represent the measured spectral sensitivities, the approximation
using the first component only, and the approximation using the first two components,
respectively.
_Sensors_ 2021, _21_, 4985 9 of 21
( a ) ( b ) ( c )
Figure 6. First three principal components u 1, u 2, and u 3 for the ( a ) red, ( b ) green, and ( c ) blue channels of the spectral
sensitivity functions. The bold, broken, and dotted curves represent the first, second, and third principal components,
respectively.
( a ) ( b ) ( c )
Figure 7. Approximated spectral curves for the ( a ) red, ( b ) green, and ( c ) blue channels of the iPhone 8 spectral sensitivity
functions. The colored bold curves, black bold curves, and broken curves represent the measured spectral sensitivities,
approximations using the first component only, and approximations using the first two components, respectively.
4. Estimation of Spectral Sensitivity Functions
_4.1._ _Normal Method Using Color Samples_
The direct measurement method for the spectral sensitivity functions of mobile phone
cameras is time-consuming and expensive, and requires a laboratory setting. Therefore,
despite their inferior accuracy, indirect estimation methods are often used. The indirect
methods are normally based on color samples. The spectral sensitivity functions are
estimated from a pair comprising the input data of the color samples and the corresponding
output data of the captured RGB values.
Suppose that _M_ different color samples with surface spectral reflectance _Si_ ( _λ_ ) ( _i_ = 1, 2,
. . ., _M_ ) are observed under illumination _e_ ( _λ_ ) by a mobile phone camera. The camera inputs
are the spectral data _Si_ ( _λ_ ) _e_ ( _λ_ ) reflected from the color samples, which are summarized as
an _n × M_ matrix
C = [ s 1. _∗_ e, s 2. _∗_ e, . . ., s _M_ . _∗_ e ], (12)
where s _i_ ( _i_ = 1, 2, ..., _M_ ) and e are _n_ -dimensional column vectors representing the spectral
reflectances and the illuminant, respectively, and the symbol. - represents elementwise
multiplication. The camera outputs for the _M_ color samples are represented as the 1 _× M_
matrices
_Sensors_ 2021, _21_, 4985 10 of 21
z R = [ _R_ 1, _R_ 2, . . ., _RM_ ], z G = [ _G_ 1, _G_ 2, . . ., _GM_ ], z B = [ _B_ 1, _B_ 2, . . ., _BM_ ]. (13)
The observed outputs can then be written in the discrete form
z R = r <sup>_t_</sup> C, z G = g <sup>_t_</sup> C, z B = b <sup>_t_</sup> C, (14)
The least squares estimates for Equation (14) are given by
- CC <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> Cz G <sup>_t_</sup>, b ˆ =
- CC <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> Cz B <sup>_t_</sup> . (15)
r ˆ =
- CC <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> Cz R <sup>_t_</sup>, g ˆ =
However, this normal method is often ineffective for accurately estimating the spectral
sensitivity functions owing to the dimensionality of the surface spectral reflectance. As
the surface–spectral reflectance of natural or human-made objects are described using
six to eight basis functions [27,28], the dimension of the reflectance is much lower than
the dimension _n_ (=31) of the spectral sensitivity functions. Therefore, even when many
samples _M_ - _n_ are used, the matrix C may be rank deficient and the matrix inversion is
often unreliable.
_4.2._ _Proposed Method Based on Color Samples and Spectral Features_
We consider solving the estimation problem by using the spectral features of the
sensitivity functions obtained through PCA in addition to the color samples. We focus on a
linear model representation of the spectral sensitivity functions. The PCA results in the
previous section suggest that the spectral sensitivity functions of mobile phone cameras
can be approximated by linear combinations of a small number of principal components.
Selecting the first _L_ components for the estimates, the linear model is represented as
r =
_L_
### ∑
_i_ =1
_x_ R _i_ u R _i_, g =
_L_
### ∑
_i_ =1
_x_ G _i_ u G _i_, b =
_L_
### ∑
_i_ =1
_x_ B _i_ u B _i_, (16)
where u R _i_, u G _i_, and u B _i_ are the principal component vectors for each of the red, green, and
blue channels, respectively, as shown in Figure 6, and the coefficients _x_ R _i_, _x_ G _i_, and _x_ B _i_ are
unknown scalar weights to be estimated. Equation (16) provides a strong constraint in
estimating the spectral shapes of the sensitivity functions.
Writing the _L_ principal components of the spectral sensitivity features and the corresponding weights as the _n × L_ matrices
U R = [ u R1, . . ., u R _L_ ], U G = [ u G1, . . ., u G _L_ ], U B = [ u B1, . . ., u B _L_ ], (17)
and _L_ -dimensional column vectors
x R = [ _x_ R1, . . ., _x_ R _L_ ] <sup>_t_</sup>, x G = [ _x_ G1, . . ., _x_ G _L_ ] <sup>_t_</sup>, x B = [ _x_ B1, . . ., _x_ B _L_ ] <sup>_t_</sup>, (18)
We have a compact form for Equation (16):
r = U R x R, g = U G x G, b = U B x B. (19)
The spectral features of r, g, and b are included in the arrays of U R, U G, and U B.
_Sensors_ 2021, _21_, 4985 11 of 21
The next step is to determine the weighting coefficients. Substituting Equation (19)
into Equation (14), we obtain the following observation equations for the weights
z R = x R <sup>_t_</sup> U R <sup>_t_</sup> C, z G = x G <sup>_t_</sup> U G <sup>_t_</sup> C, z B = x B <sup>_t_</sup> U B <sup>_t_</sup> C . (20)
Therefore, the weights x R, x G, and x B can be estimated using the observed dataset of
_M_ color chips z R, z G, and z B. The least-squares estimates are given as
C G C G <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C G z G <sup>_t_</sup>, x ˆ B =
- C B C B <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C B z B <sup>_t_</sup> (21)
x ˆ R =
C R C R <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C R z R <sup>_t_</sup>, x ˆ G =
where C R = U R <sup>_t_</sup> C, C G = U G <sup>_t_</sup> C, and C B = U B <sup>_t_</sup> C . We note that the matrix sizes of C R, C G,
and C B are _L × M_, and C R C R <sup>_t_</sup>, C G C G <sup>_t_</sup>, and C B C B <sup>_t_</sup> are full-rank _L × L_ matrices. Therefore,
the matrix inversion is stable. The estimates of the spectral sensitivity functions ˆ r, g ˆ, and b <sup>ˆ</sup>
are finally obtained by substituting x ˆ R, x ˆ G, and x ˆ B into Equation (19).
- C B C B <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C B z B <sup>_t_</sup> . (22)
r ˆ = U R
- C R C R <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C R z R <sup>_t_</sup>, g ˆ = U G C G C G <sup>_t_</sup> <sup>�</sup> <sup>_−_</sup> <sup>1</sup> C G z G <sup>_t_</sup>, b ˆ = U B
It should be noted that these estimates are the least squares estimates to minimize
the residual error in the observations. The original residual error is described by a cost
function _L_ F as
2 + _∥_ z G _−_ g _t_ C _∥_ 2 + _∥_ z B _−_ btC _∥_ 2 (23)
_L_ F = _∥_ z R _−_ r <sup>_t_</sup> C _∥_
where the symbol _∥_ x _∥_ <sup>2</sup> denotes the L2 norm of a vector x . As the spectral sensitivity
functions are represented using the linear model in Equation (16), the cost function can be
rewritten as follows:
2 + _∥_ z B _−_ x B _t_ U B _t_ C _∥_
2 + _∥_ z G _−_ x G _t_ U G _t_ C _∥_
2
(24)
_L_ F = _∥_ z R _−_ x R
_t_ U R _t_ C _∥_
When _L_ is directly minimized with respect to each of x R, x G, and x B, we can obtain the
same solution as Equation (22). Therefore, the proposed method solves the optimization
problem to minimize the residual error.
The parameter _L_ denotes the dimensionality of the linear model representation of the
spectral sensitivity functions. The selection of _L_ affects the estimation accuracy. The most
appropriate value of _L_ is determined experimentally based on the estimation accuracy of
the spectral sensitivity functions.
5. Experimental Results
_5.1._ _Experimental Setup_
We used 1523 Munsell color chips from the Munsell Book of Color [29]. The chips
are reflective color targets arranged in the Munsell color system. Figure 8 shows the
imaging setup for the color samples using a mobile phone camera. We measured the
surface–spectral reflectance of each color sample using the spectral colorimeter. Figure 9
shows the complete set of all the spectral reflectance measurements. We also used 24 color
samples from the X-Rite ColorChecker Passport Photo [30]. Figure 10 shows the color
checkers used for the validation of sensitivity measurement and reflectance estimation,
where panel (a) shows the imaging targets consisting of 24 color checkers and the white
reference standard (Spectralon), and panel (b) the spectral reflectance values measured by
the spectral colorimeter. The illumination light source was an incandescent lamp with the
spectral power distribution shown in Figure 11. A Munsell white paper (N9.5) was used to
correct the illumination unevenness on the color samples and limb darkening.
_Sensors_ 2021, _21_, 4985 12 of 21
Figure 8. Setup for color sample imaging by a mobile phone camera.
Figure 9. Complete set of the surface–spectral reflectances measured from all the Munsell color chips.
( a ) ( b )
Figure 10. Color checkers used for reflectance estimation validation. ( a ) Imaging targets consisting of
24 color checkers and the white reference standard (Spectralon). ( b ) Spectral reflectances of the 24
color checkers measured by the spectral colorimeter.
_Sensors_ 2021, _21_, 4985 13 of 21
Figure 11. Illuminant spectral power distribution of the incandescent lamp used.
_5.2._ _Validation of the Measured Spectral Sensitivities_
To evaluate the accuracy of the measured spectral sensitivities, the color differences
were computed between the colors imaged by the mobile phone cameras and the simulated
colors based on the measured spectral sensitivities. We randomly selected two iOS and
Android phone cameras, making a total of four phone cameras, which we studied using
the X-Rite color checkers in Figure 10.
We simulated the camera response for each color checker using the measured spectral
sensitivities ( r mea, g mea, b mea) of each mobile phone camera. The camera output RGB
values ( _z_ mea, R, _z_ mea, G, _z_ mea, B) can be predicted in a discrete form as
_z_ mea, R = r <sup>_t_</sup>
mea <sup>_t_</sup> <sup>s</sup> <sup>.</sup> <sup>_∗_</sup> <sup>e</sup> <sup>,</sup> _z_ mea, G = g <sup>_t_</sup>
mea <sup>_t_</sup> <sup>s</sup> <sup>.</sup> <sup>_∗_</sup> <sup>e</sup> <sup>,</sup> _z_ mea, B = b <sup>_t_</sup>
mea <sup>_t_</sup> <sup>s</sup> <sup>.</sup> <sup>_∗_</sup> <sup>e</sup> (25)
where s and e represent the spectral reflectance of the color checker in Figure 10b and the
illuminant spectral power distribution in Figure 11, respectively.
On the other hand, the RGB values - _z_ img, R, _z_ img, G, _z_ img, B� of the color checkers were
captured directly by each camera. The RGB color difference was then averaged over all
color checkers as
On the other hand, the RGB values
- _z_ img, R, _z_ img, G, _z_ img, B
<u>�2</u>
(26)
<u>�</u>
<u>�2</u> + _z_ img, B _−_ _z_ mea, B
∆ _E_ RGB = E
���
_z_ img, R _−_ _z_ mea, R
<u>�</u>
<u>�2</u> + _z_ img, G _−_ _z_ mea, G
Table 2 shows the average color differences between the imaged colors of the 24 color
checkers captured by each camera and the simulated colors _√_ <u>based on the measured spectral</u>
sensitivities, where the RGB values are normalized to be _R_ <sup>2</sup> + _G_ <sup>2</sup> + _B_ <sup>2</sup> = 1 for the white
_√_
sensitivities, where the RGB values are normalized to be _R_ <sup>2</sup> + _G_ <sup>2</sup> + _B_ <sup>2</sup> = 1 for the white
reference standard under the incandescent lamp used.
Table 2. Average color differences between the imaged colors of the 24 color checkers captured by
each camera and the simulated colors based on the measured spectral sensitivities.
Model
Color Difference
iPhone 6s iPhone 8 P10 Lite Galaxy S7 Edge
∆ _E_ <u>RGB</u> 0.01530 0.02046 0.01772 0.01689
_5.3._ _Estimation Results by the Normal Method_
The estimation results obtained using the normal method for the iPhone 8 are shown
in Figure 12, where the bold curves in red, green, and blue represent the estimated spectral
sensitivities of the red, green, and blue channels, respectively, and the broken curves
represent the measured spectral sensitivities. A non-negative least squares estimation was
_Sensors_ 2021, _21_, 4985 14 of 21
applied to solve Equation (14). Despite the use of many color samples, the estimation
results based on the direct use of color samples were quite unstable and inaccurate.
Figure 12. Estimation results from the normal method for the iPhone 8, where the bold curves in red,
green, and blue represent the estimated spectral sensitivities for the red, green, and blue channels,
respectively, and the broken curves represent the measured spectral sensitivities used as the reference
data.
To investigate the dimensionality of the spectral reflectance dataset, SVD was applied
to the 31 _×_ 1523 matrix S = [ s 1, s 2, . . ., s 1523] consisting of the measured spectral reflectance values from the Munsell color chips. Figure 13 depicts the percent variance _P_ ( _K_ )
defined in Equation (11) as a function of the number of principal components _K_ . It can
be seen that the percent variance reached 1.0 around _K_ = 6. Therefore, the dimension of
<u>the reflectance dataset was approximately 6 and it was not possible to recover the spectral</u>
functions with 31 dimensions.
Figure 13. Percent variance _P_ ( _K_ ) as a function of the number of principal component _K_ .
_5.4._ _Estimation Results by the Proposed Method_
The feasibility of the proposed method was evaluated in two steps.
(1) In the first experiment, we focused solely on the iPhone 8 and investigated the
performance in detail. The spectral sensitivity functions of the iPhone 8 were removed
from the original database, and SVD was applied to the remaining dataset to obtain the
principal components u R _i_, u G _i_, and u B _i_ . Next, the spectral sensitivities of the iPhone 8
were estimated via the algorithm in Section 4.2 using the camera RGB values for the color
_Sensors_ 2021, _21_, 4985 15 of 21
samples and the principal components. Finally, to determine the most appropriate _L_, the
root mean squared errors of the estimated spectral sensitivities were calculated as
2 <sup><u>�</u></sup>
/(31 _×_ 3) . (27)
_rmse_ =
- <u>�</u>
_∥_ r ˆ _−_ r _∥_ <sup>2</sup> + _∥_ g ˆ _−_ g _∥_ <sup>2</sup> + _∥_ b <sup>ˆ</sup> _−_ b _∥_
The estimation errors at different values of _L_ were _rmse_ = 0.04929, 0.07239, and 0.08963
for _L_ = 1, 2, and 3, respectively. The minimum error was recorded when the estimation was
performed using only one component. Figure 14 shows the estimated spectral sensitivity
functions of the iPhone 8 at _L_ = 1.
Figure 14. Estimated spectral sensitivity functions of iPhone 8 at _L_ = 1 using all color samples, where
the bold curves represent the estimated spectral sensitivities, and the broken curves represent the
measured spectral sensitivities.
Furthermore, we examined the possibility of reducing the number of color samples.
<u>Suppose that</u> _<u>m</u>_ <u>color samples are used for sensitivity estimation.</u> <u>We randomly selected</u>
_m_ samples from all the 1523 samples of the Munsell color chips and then computed the
spectral sensitivity estimate and accuracy based on the selected sample data. This trial was
repeated 1000 times to achieve significant statistical reliability. The average errors were
_rmse_ = 0.04958, 0.04933, 0.04931, 0.04929, and 0.04929 for _m_ = 10, 50, 100, 500, and 1000.
These results show that a sufficient estimation accuracy can be obtained even when only
ten color samples are used. Figure 15 shows the estimated sensitivities of the iPhone 8 at
_L_ = 1 and _m_ = 10. Thus, the proposed method has the advantage that the spectral sensitivity
functions can be estimated using the average spectral curves of the database and a small
number of color samples.
Figure 15. Estimated sensitivities of iPhone 8 at _L_ = 1 and _m_ = 10, where the bold curves represent the
estimated spectral sensitivities, and the broken curves represent the measured spectral sensitivities.
_Sensors_ 2021, _21_, 4985 16 of 21
In the second experiment, we investigated whether the performance of the proposed
method depends on the mobile phone cameras used and the color samples. As the measured spectral sensitivity curves were similar, we selected two iOS phone cameras and
two Android phone cameras, and evaluated their spectral sensitivities using the 24 color
sample from the X-Rite color checkers. For fair validation, the principal components were
computed using the dataset of the spectral sensitivity measurement for the remaining
19 mobile phone cameras except for the target phone camera. Table 3 lists the RMSEs of
the estimated spectral sensitivities for the four mobile phone cameras for the principal
components with different _L_ values. As can be seen from the table, the minimum errors
were found when the first component in all cases of the four mobile phone cameras was set
at _L_ = 1. Figure 16 depicts the estimated sensitivity functions of the four cameras at _L_ = 1.
Thus, it can be confirmed that the spectral sensitivity of the mobile phone camera can be
estimated based solely on the first principal component of the dataset and a small number
of color samples.
Table 3. RMSE of the estimated spectral sensitivities for four mobile phone cameras at different
values of _L_ using the 24 color checkers.
Model
RMSE
iPhone 6s iPhone 8 P10 Lite Galaxy S7 Edge
L = 1 0.05577 0.06597 0.03841 0.03779
L = 2 0.07167 0.10714 0.05741 0.03946
<u>L = 3</u> <u>0.06378</u> <u>0.07310</u> <u>0.06816</u> <u>0.04277</u>
( a ) ( b )
( c ) ( d )
Figure 16. Estimated spectral sensitivities of ( a ) iPhone 6s, ( b ) iPhone 8, ( c ) P10 lite, and ( d ) Galaxy S7
edge at _L_ = 1 using the 24 color checkers, where the bold and broken curves represent the estimated
spectral sensitivities and the measured spectral sensitivities, respectively.
_Sensors_ 2021, _21_, 4985 17 of 21
_5.5._ _Reflectance Estimation Validation_
The surface–spectral reflectance provides is a physical feature inherent to the surface of
a target object. Therefore, estimating the spectral reflectance is crucial for object recognition
and identification in a variety of fields, including image science and technology, and
computer vision. To evaluate the feasibility of mobile phones for spectral reflectance
estimation, we validated the measured and estimated spectral sensitivity functions of the
iPhone 8.
The Wiener filter is a linear estimation technique widely used for spectral reflectance
estimation [31–37]. The relationship between the spectral reflectance of an object surface
and the camera outputs is modeled with the camera output RGB vector z = [ _zR_, _zG_, _zB_ ] <sup>_t_</sup>,
the spectral sensitivity vectors r, g, and b, the illuminant vector e, the reflectance vector s
to be estimated, and the noise vector n in observation as
z = As + n . (28)
where A = [ r . _∗_ e, g . _∗_ e, b . _∗_ e ] <sup>_t_</sup> . When the reflectance s and noise n are uncorrelated, the
Wiener estimate with the minimal mean square error is expressed as follows:
- _−_ 1 z . (29)
s ˆ = PA <sup>_t_</sup> <sup>�</sup>
APA <sup>_t_</sup> + Σ
where P is the covariance matrix of the reflectance data and Σ the covariance matrix of
the noise, which can usually be assumed to be a diagonal matrix Σ = diag( _σ_ R <sup>2,</sup> <sup>_σ_</sup> G <sup>2</sup> <sup>,</sup> <sup>_σ_</sup> B <sup>2).</sup>
R <sup>2,</sup> <sup>_σ_</sup> G <sup>2</sup>
G <sup>2</sup> <sup>,</sup> <sup>_σ_</sup> B <sup>2</sup>
the noise, which can usually be assumed to be a diagonal matrix Σ = diag( _σ_ R <sup>2,</sup> <sup>_σ_</sup> G <sup>2</sup> <sup>,</sup> <sup>_σ_</sup> B <sup>2).</sup>
We determined P using the database of surface spectral reflectance values in [38] and
determined Σ empirically (see [38]).
The accuracy of the estimated reflectance values was evaluated using the average
RMSE and the average CIE-LAB color difference obtained over the 24 color checkers.
Table 4 lists the performance values of the iPhone 8 in four cases where measurements
1 and 2, respectively, are based on the directly measured spectral sensitivities by the
monochromator in Figure 2a and the measured spectral sensitivities by the programmable
light source in Figure 2b, and Estimations 1 and 2, respectively, are based on the estimated
spectral sensitivities from all the color samples in Figure 14 and the estimated spectral
sensitivities using only 10 color samples in Figure 15. The LAB color difference was calculated using the illuminant shown in Figure 11. There is no noticeable difference between
the performances of the four spectral sensitivity functions used in the validation. The
validation results suggest that both the measured and the estimated spectral sensitivities in
this study are useful for spectral reflectance estimation.
Table 4. Performance values in the four cases. For measurements 1 and 2, respectively, the directly
measured spectral sensitivities by a monochromator in Figure 2a and the directly measured spectral
sensitivities by a programmable light source in Figure 2b were used. For Estimations 1 and 2,
respectively, the estimated spectral sensitivities using all color sample in Figure 14 and the estimated
spectral sensitivities using only ten color samples in Figure 15 were used.
Measurement 1 Measurement 2 Estimation 1 Estimation 2
Average RMSE 0.05241 0.05145 0.05201 0.05279
Average LAB
7.055 6.082 6.973 6.749
color difference
6. Discussion
It is important to clarify the difference between the estimation accuracy and the
approximation accuracy. This distinction can be drawn when the spectral sensitivities are
known. In the proposed method, the spectral sensitivities of the mobile phone cameras
are estimated in a linear combination of the principal components of the dataset, and
approximated in a linear combination of the same principal components. When using the
_Sensors_ 2021, _21_, 4985 18 of 21
first _K_ components, the error between the original spectral sensitivity matrix Y and the
approximated matrix Y <sup>ˆ</sup> _K_ can be expressed as follows:
_∥_ Y _−_ Y <sup>ˆ</sup> _K∥_
2 = _σK_ 2 +1 <sup>+</sup> <sup>_σ_</sup> _K_ <sup>2</sup>
_K_ <sup>2</sup> +2 <sup>+</sup> <sup>_· · ·_</sup> <sup>+</sup> <sup>_σ_</sup> _N_ <sup>2</sup>
_N_ <sup>2</sup> (30)
where _σ_ 1, _σ_ 2, . . ., _σN_ are singular values (see Equation (9)). Therefore, the approximation
error monotonically decreases as the component number _K_ increases. However, the behavior of the estimation accuracy is not necessarily the same. The larger the component
number, the smaller the singular values and the lower the contribution rate. In such a
situation, when a component with a small contribution that is regarded as noise is added
to the estimation process, the estimation accuracy deteriorates extremely. Figure 17 shows
the variations in the estimation and approximation errors as a function of the principal
components. The error values are averaged over the four mobile phone cameras in Table 3.
The minimum average estimation error is recorded when only one principal component is
used, and the second smallest error is realized when three principal components are used.
As the contribution rate of the first principal component is very large as _P_ (1) > 0.99, and
in contrast the contribution of the third principal component is significantly smaller, the
<u>estimation using only the first principal component can be considered stable and reliable.</u>
Figure 17. Variations in the estimation error and the approximation error as a function of the number
of principal components. The error values are averaged over the four mobile phone cameras.
Based on the experimental results, it was found that the spectral sensitivity functions
of the mobile phone cameras can be estimated from only the first principal component of
the dataset of the measured spectral sensitivities and a small number of color samples. In
the case of DSLR cameras, two principal components were required and the extent to which
the color samples could be simplified was not clear [16]. The present results suggest that
the spectral sensitivity functions of the mobile phone cameras can be more easily estimated
using from 10 to 24 color samples, compared with DSLR cameras. From a computational
simplicity point of view, we note that the inverse matrix operation is not required because
the matrices C _i_ C _i_ <sup>_t_</sup> ( _i_ = R, G, B) become scalar values. As a result, the spectral sensitivity
functions can be modeled using the first principal components as follows:
r ˆ = _c_ R u R, g ˆ = _c_ G u G, b ˆ = _c_ B u B. (31)
As the first principal component is the same as the average spectrum of the spectral
dataset, the PCA of the dataset of the measured spectral sensitivities is not required.
The spectral sensitivity functions are estimated by simply weighting the average spectral
sensitivity functions. The numerical data of the average spectral sensitivities u R, u G, and
u B [are available at the same site (http://ohlab.kic.ac.jp/) (accessed on 22 July 2021) as our](http://ohlab.kic.ac.jp/)
database. The three weighting coefficients _c_ R, _c_ G, and _c_ B are calculated from the camera
_Sensors_ 2021, _21_, 4985 19 of 21
RGB data for color samples and the estimates of the spectral sensitivity functions are
obtained using Equation (31).
7. Conclusions
We have developed methods for measuring and estimating the spectral sensitivity
functions of mobile phone cameras. In the direct measurement method, the spectral
sensitivity at each wavelength was measured using monochromatic light. Although this
method was accurate, it is time-consuming and expensive. The indirect estimation method
was based on color samples from which the spectral sensitivities were estimated using
pairs of input and output data comprising the color samples and the corresponding camera
output RGB values, respectively.
We first presented an imaging system for direct measurements and performed measurements on a variety of mobile phone cameras to create a database of spectral sensitivity
functions. Subsequently, the features of the measured spectral sensitivity functions in our
database were analyzed using PCA. We determined the dimensionality of the spectral
sensitivity dataset and extracted the statistical features of the spectral functions. We then
described a normal method for estimating the spectral sensitivity functions using color
samples. However, this method was not effective at estimating the spectral sensitivity
functions. Therefore, we proposed an effective method to solve the estimation problem
using the spectral features of the sensitivity functions in addition to the color samples. The
estimation was accurate even when only a small number of spectral features were selected.
The feasibility of the proposed method was confirmed through experiments. The
characteristics and advantages of the proposed method over the previously published
methods for mobile phone cameras are summarized as follows:
1. We measured the spectral sensitivities of mobile phone cameras, created a database,
and clarified its characteristics for the first time.
2. The spectral sensitivities can be estimated using the average spectral sensitivity and
a small number of color samples.
3. The computation is stable and straightforward because of determining only three
unknown parameters, and the estimation accuracy is very close to the direct measurement
results.
The limitation of our approach is that it does not have the manufacturers’ data to
validate the proposed method properly. However, with direct measurements, using PCA
provides a means to optimally approximate the sensitivities’ spectral power distribution,
which helps us overcome the limitations of our approach, even in short of the manufacturer‘s data.
The number of people using DSLR cameras, other than professional photographers, is
decreasing worldwide, and mobile phones are becoming the mainstream. The advantages
of mobile phone cameras include portability, low cost, convenience, and a wide range
of applications. Unlike DSLR cameras, the camera and computer come together as a
set in a mobile phone. This is advantageous for implementing applications that require
the use of spectral sensitivity functions. We believe that this paper adds value to many
fields including imaging science and technology as the techniques to estimate the spectral
sensitivities of mobile phone cameras are still developing. Furthermore, our study makes
an effective contribution to show journal readers different approaches, as there is intense
market growth in mobile phones.
Author Contributions: Conceptualization, S.T.; Investigation, S.T., S.N. and R.O.; Analysis, S.T.;
Writing—original draft, S.T.; Literature Review, S.T., S.N. and R.O.; Measurement and Experiment,
S.T., S.N. and R.O. All authors have read and agreed to the published version of the manuscript.
Funding: This work was supported by a Grant-in-Aid for Scientific Research (C) (20K11877).
Acknowledgments: The authors would like to thank Eriko Tominaga for helping the DNG capturing, students at Osaka Electro-Communication University for helping the spectral sensitivity
measurement, and Roseline Yong at Akita University for helping the English proofread.
_Sensors_ 2021, _21_, 4985 20 of 21
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Statista. Number of Smartphone Subscriptions Worldwide from 2016 to 2026. Available online: [https://www.statista.com/](https://www.statista.com/statistics/330695/number-of-smartphone-users-worldwide)
[statistics/330695/number-of-smartphone-users-worldwide (accessed on 22 July 2021).](https://www.statista.com/statistics/330695/number-of-smartphone-users-worldwide)
2. Rateni, G.; Dario, P.; Cavallo, F. Smartphone-based food diagnostic technologies: A review. _Sensors_ 2017, _17_, 1453. [[CrossRef]](http://doi.org/10.3390/s17061453)
3. McGonigle, A.J.S.; Wilkes, T.C.; Pering, T.D.; Willmott, J.R.; Cook, J.M.; Mims, F.M.; Parisi, A.V. Smartphone spectrometers.
_Sensors_ 2018, _18_, 223. [[CrossRef] [PubMed]](http://doi.org/10.3390/s18010223)
4. Burggraa, O.; Perduijn, A.B.; van Hek, R.F.; Schmidt, N.; Keller, C.U.; Snik, F. A universal smartphone add-on for portable
spectroscopy and polarimetry: iSPEX 2. In _Micro- and Nanotechnology Sensors, Systems, and Applications XII_ ; International Society
for Optics and Photonics: Bellingham, WA, USA, 2020; Volume 11389, p. [113892K. [CrossRef]](http://doi.org/10.1117/12.2558562)
5. Vora, P.L.; Farrell, J.E.; Tietz, J.D.; Brainard, D.H. Image capture: Simulation of sensor responses from hyperspectral images. _IEEE_
_Trans._ _Image Process._ 2001, _10_, 307–316. [[CrossRef] [PubMed]](http://doi.org/10.1109/83.902295)
6. Farrell, J.E.; Catrysse, P.B.; Wandell, B.A. Digital camera simulation. _Applied Opt._ 2012, _51_, A80–A90. [[CrossRef] [PubMed]](http://doi.org/10.1364/AO.51.000A80)
7. Berra, E.; Gibson-Poole, S.; MacArthur, A.; Gaulton, R.; Hamilton, A. Estimation of the spectral sensitivity functions of unmodified and modified commercial off-shelf digital cameras to enable their use as a multispectral imaging system for UAVS. In
Proceedings of the International Conference Unmanned Aer. Veh. Geomat, Toronto, ON, Canada, 30 August–2 September 2015;
pp. 207–214. [[CrossRef]](http://doi.org/10.5194/isprsarchives-XL-1-W4-207-2015)
8. Darrodi, M.M.; Finlayson, G.D.; Good-man, T.; Mackiewicz, M. A reference data set for camera spectral sensitivity estimation. _J._
_Opt._ _Soc._ _Am._ _A_ 2014, _32_, 381–391. [[CrossRef] [PubMed]](http://doi.org/10.1364/JOSAA.32.000381)
9. Camera Spectral Sensitivity Database. Available online: [http://www.gujinwei.org/research/camspec/camspec_database.txt](http://www.gujinwei.org/research/camspec/camspec_database.txt)
(accessed on 21 July 2021).
10. Nakamura, J. _Image Sensors and Signal Processing for Digital Still Cameras_ ; CRC Press: Boca Raton, FL, USA, 2006.
11. Hubel, P.M.; Sherman, D.; Farrell, J.E. A comparison of methods of sensor spectral sensitivity estimation. In _Color and Imaging_
_Conference_ ; Society for Imaging Science and Technology: Scottsdale, AZ, USA, 15–18 November 1994; Volume 1994, pp. 45–48.
12. Hardeberg, J.Y.; Bretel, H.; Schmitt, F.J.M. Spectral characterization of electronic cameras. In Proceedings of the Electronic Imaging:
Processing, Printing, and Publishing in Color, Zurich, Switzerland, 18–20 May 1998; Volume 3499, pp. 100–109. [[CrossRef]](http://doi.org/10.1117/12.324101)
13. DiCarlo, J.M.; Montgomery, G.E.; Trovinger, S.W. Emissive chart for imager calibration. In _Color and Imaging Conference_ ; Society
for Imaging Science and Technology: Scottsdale, AZ, USA, 9–12 November 2004; pp. 295–301.
14. Han, S.; Matsushita, Y.; Sato, I.; Okabe, T.; Sato, Y. Camera spectral sensitivity estimation from a single image under unknown
illumination by using fluorescence. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR),
Providence, RI, USA, 18–20 June 2012; pp. 805–812. [[CrossRef]](http://doi.org/10.1109/CVPR.2012.6247752)
15. Zhu, J.; Xie, X.; Liao, N.; Zhang, Z.; Wu, W.; Lv, L. Spectral sensitivity estimation of trichromatic camera based on orthogonal test
and window filtering. _Opt._ _Express_ 2020, _28_, 28085–28100. [[CrossRef] [PubMed]](http://doi.org/10.1364/OE.401496)
16. Jiang, J.; Liu, D.; Gu, J.; Susstrunk, S. What is the space of spectral sensitivity functions for digital color cameras. In Proceedings
of the IEEE Workshop on the Applications of Computer Vision, Tampa, FL, USA, 15–17 January 2013; pp. 168–179. [[CrossRef]](http://doi.org/10.1109/WACV.2013.6475015)
17. Finlayson, G.; Darrodi, M.M.; Mackiewicz, M. Rank-based camera spectral sensitivity estimation. _J. Opt._ _Soc._ _Am._ _A_ 2016, _33_,
589–599. [[CrossRef] [PubMed]](http://doi.org/10.1364/JOSAA.33.000589)
18. Ji, Y.; Kwak, Y.; Park, S.M.; Kim, Y.L. Compressive recovery of smartphone RGB spectral sensitivity functions. _Opt._ _Express_ 2021,
_29_, 11947–11961. [[CrossRef] [PubMed]](http://doi.org/10.1364/OE.420069)
19. Bongiorno, D.L.; Bryson, M.; Dansereau, D.G.; Williams, S.B. Spectral characterization of COTS RGB cameras using a linear
variable edge filter. In _Proceedings of the SPIE 8660 Digital Photography IX_ ; Sampat, N., Battiato, S., Eds.; International Society for
Optics and Photonics: Burlingame, CA, USA, 3–7 February 2013; p. [86600N. [CrossRef]](http://doi.org/10.1117/12.2001460)
20. Burggraaff, O.; Schmidt, N.; Zamorano, J.; Pauly, K.; Pascual, S.; Tapia, C.; Spyrakos, E.; Snik, F. Standardized spectral and
radiometric calibration of consumer cameras. _Opt._ _Express_ 2019, _27_, 19075–19101. [[CrossRef] [PubMed]](http://doi.org/10.1364/OE.27.019075)
21. Adobe Systems Incorporated. _Digital Negative (DNG) Specification, Version 1.4.0.0._ ; Adobe Systems Incorporated: San Jose, CA,
USA, 2012.
22. Bazhyna, A.; Gotchev, A.; Egiazarian, K. Near-lossless compression algorithm for Bayer pattern color filter arrays. In _Digital_
_Photography_ ; International Society for Optics and Photonics: Burlingame, CA, USA, 2005; Volume 5678, pp. 198–209. [[CrossRef]](http://doi.org/10.1117/12.585788)
23. Tominaga, S.; Nishi, S.; Ohtera, R. Estimating spectral sensitivities of a smartphone camera. In Proceedings of the IS&T
International Symposium Electronic Imaging, Online, 11–21 January 2021; Volume XXVI, p. COLOR-223.
24. Tominaga, S.; Horiuchi, T. Spectral imaging by synchronizing capture and illumination. _J. Opt._ _Soc._ _Am._ _A_ 2012, _29_, 1764–1775.
[[CrossRef] [PubMed]](http://doi.org/10.1364/JOSAA.29.001764)
25. Ohta, N.; Robertson, A.R. Measurement and Calculation of Colorimetric Values. In _Colorimetry:_ _Fundamentals and Applications_ ;
John Wiley & Sons, Ltd.: Hoboken, NJ, USA, 2005; Chapter 5.
26. Golub, G.H.; van Loan, C.F. _Matrix Computations_, 4th ed.; Johns Hopkins University: Baltimore, MD, USA, 2013.
27. Parkkinen, J.; Hallikainen, J.; Jaaskelainen, T. Characteristic spectra of Munsell colors. _J._ _Opt._ _Soc._ _Am._ _A_ 1989, _6_, 318–322.
[[CrossRef]](http://doi.org/10.1364/JOSAA.6.000318)
_Sensors_ 2021, _21_, 4985 21 of 21
28. Tominaga, S. Multichannel vision system for estimating surface and illuminant functions. _J. Opt._ _Soc._ _Am._ _A_ 1996, _13_, 2163–2173.
[[CrossRef]](http://doi.org/10.1364/JOSAA.13.002163)
29. Munsell Products. Available online: [https://www.modeinfo.com/en/Munsell-Products/ (accessed on 21 July 2021).](https://www.modeinfo.com/en/Munsell-Products/)
30. ColorChecker Passport Photo 2. Available online: [https://xritephoto.com/ph_product_overview.aspx?id=2572&catid=158](https://xritephoto.com/ph_product_overview.aspx?id=2572&catid=158)
(accessed on 21 July 2021).
31. Haneishi, H.; Hasegawa, T.; Hosoi, A.; Yokoyama, Y.; Tsumura, N.; Miyake, Y. System design for accurately estimating the
spectral reflectance of art paintings. _Appl._ _Opt._ 2000, _39_, 6621–6632. [[CrossRef] [PubMed]](http://doi.org/10.1364/AO.39.006621)
32. Shimano, N. Recovery of spectral reflectances of objects being imaged without prior knowledge. _IEEE Trans._ _Image Process._ 2006,
_15_, 1848–1856. [[CrossRef] [PubMed]](http://doi.org/10.1109/TIP.2006.877069)
33. Shimano, N.; Terai, K.; Hironaga, M. Recovery of spectral reflectances of objects being imaged by multispectral cameras. _J. Opt._
_Soc._ _Am._ _A_ 2007, _24_, 3211–3219. [[CrossRef] [PubMed]](http://doi.org/10.1364/JOSAA.24.003211)
34. Stigell, P.; Miyata, K.; Hauta-Kasari, M. Wiener estimation method in estimating of spectral reflectance from RGB image. _Pattern_
_Recognit._ _Image Anal._ 2007, _17_, 233–242. [[CrossRef]](http://doi.org/10.1134/S1054661807020101)
35. Murakami, Y.; Fukura, K.; Yamaguchi, M.; Ohyama, N. Color reproduction from low-SNR multispectral images using spatiospectral Wiener estimation. _Opt._ _Express_ 2008, _16_, 4106–4120. [[CrossRef] [PubMed]](http://doi.org/10.1364/OE.16.004106)
36. Urban, P.; Rosen, M.R.; Berns, R.S. A Spatially Adaptive Wiener Filter for Reflectance Estimation. In Proceedings of the 16th Color
Imaging Conference, Portland, OR, USA, 10–14 November 2008; pp. 279–284.
37. Nahavandi, A.M. Noise segmentation for improving performance of Wiener filter method in spectral reflectance estimation. _Color_
_Res._ _Appl._ 2018, _43_, 341–348. [[CrossRef]](http://doi.org/10.1002/col.22200)
38. Tominaga, S.; Matsuura, A.; Horiuchi, T. Spectral analysis of omnidirectional illumination in a natural scene. _J. Imaging Sci._
_Technol._ 2010, _54_, 040502-1–040502-9. [[CrossRef]](http://doi.org/10.2352/J.ImagingSci.Technol.2010.54.4.040502)
섹션 본문
섹션 본문이 없습니다.
참고문헌 32건
- ESTIMATION OF THE SPECTRAL SENSITIVITY FUNCTIONS OF UN-MODIFIED AND MODIFIED COMMERCIAL OFF-THE-SHELF DIGITAL CAMERAS TO ENABLE THEIR USE AS A MULTISPECTRAL IMAGING SYSTEM FOR UAVS The international archives of the photogrammetry, remote sensing and spatial information sciences/International archives of the photogrammetry, remote sensing and spatial information sciences · Copernicus Publications · 2015 10.5194/isprsarchives-xl-1-w4-207-2015
- Wiener estimation method in estimating of spectral reflectance from RGB images Pattern Recognition and Image Analysis · Pleiades Publishing · 2007 10.1134/s1054661807020101
- Digital camera simulation Applied Optics · Optica Publishing Group · 2012 10.1364/ao.51.000a80
- Emissive chart for imager calibration Color and Imaging Conference · 2004 10.2352/cic.2004.12.1.art00052
- Characteristic spectra of Munsell colors Journal of the Optical Society of America A · Optica Publishing Group · 1989 10.1364/josaa.6.000318
- Spectral characterization of COTS RGB cameras using a linear variable edge filter Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2013 10.1117/12.2001460
- Multichannel vision system for estimating surface and illumination functions Journal of the Optical Society of America A · Optica Publishing Group · 1996 10.1364/josaa.13.002163
- Color reproduction from low-SNR multispectral images using spatio-spectral Wiener estimation Optics Express · Optica Publishing Group · 2008 10.1364/oe.16.004106
- Reference data set for camera spectral sensitivity estimation Journal of the Optical Society of America A · Optica Publishing Group · 2015 10.1364/josaa.32.000381
- Spectral Analysis of Omnidirectional Illumination in a Natural Scene Journal of Imaging Science and Technology · Society for Imaging Science and Technology · 2010 10.2352/j.imagingsci.technol.2010.54.4.040502
- <title>Spectral characterization of electronic cameras</title> Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1998 10.1117/12.324101
- Near-lossless compression algorithm for Bayer pattern color filter arrays Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2005 10.1117/12.585788
- What is the space of spectral sensitivity functions for digital color cameras? 2013 10.1109/wacv.2013.6475015
- System design for accurately estimating the spectral reflectance of art paintings Applied Optics · Optica Publishing Group · 2000 10.1364/ao.39.006621
- Recovery of spectral reflectances of objects being imaged without prior knowledge IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2006 10.1109/tip.2006.877069
- Camera spectral sensitivity estimation from a single image under unknown illumination by using fluorescence 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2012 10.1109/cvpr.2012.6247752
- Recovery of spectral reflectances of objects being imaged by multispectral cameras Journal of the Optical Society of America A · Optica Publishing Group · 2007 10.1364/josaa.24.003211
- Spectral imaging by synchronizing capture and illumination Journal of the Optical Society of America A · Optica Publishing Group · 2012 10.1364/josaa.29.001764
- Image capture: simulation of sensor responses from hyperspectral images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2001 10.1109/83.902295
- Rank-based camera spectral sensitivity estimation Journal of the Optical Society of America A · Optica Publishing Group · 2016 10.1364/josaa.33.000589
- A Spatially AdaptiveWiener Filter for Reflectance Estimation Color and Imaging Conference · 2008 10.2352/cic.2008.16.1.art00053
- Smartphone-Based Food Diagnostic Technologies: A Review Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17061453
- Noise segmentation for improving performance of Wiener filter method in spectral reflectance estimation Color Research & Application · Wiley · 2018 10.1002/col.22200
- Standardized spectral and radiometric calibration of consumer cameras Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.019075
- Spectral sensitivity estimation of trichromatic camera based on orthogonal test and window filtering Optics Express · Optica Publishing Group · 2020 10.1364/oe.401496
- Standardized spectral and radiometric calibration of consumer cameras Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.019075
- A universal smartphone add-on for portable spectroscopy and polarimetry: iSPEX 2 Leiden Repository (Leiden University) · Leiden University · 2020 10.1117/12.2558562.full
- Compressive recovery of smartphone RGB spectral sensitivity functions Optics Express · Optica Publishing Group · 2021 10.1364/oe.420069
- Measurement and Estimation of Spectral Sensitivity Functions for Mobile Phone Cameras Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21154985
- Smartphone Spectrometers Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18010223
- Matrix Computations Johns Hopkins University Press eBooks · Johns Hopkins University Press · 2013 10.56021/9781421407944
- A Comparison of Methods of Sensor Spectral Sensitivity Estimation Color and Imaging Conference · 1994 10.2352/cic.1994.2.1.art00012