기본 정보
- 저자
- DOI
- 10.1364/oe.27.019075
- 저널
- Optics Express
- 발행년도
- 2019
- 발행기관
- Optica Publishing Group
- 피인용수
- 107
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1364/oe.27.019075
- 토픽
- Color Science and Applications
- OpenAlex ID
- W2952515081
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Consumer cameras, particularly onboard smartphones and UAVs, are now commonly used as scientific instruments. However, their data processing pipelines are not optimized for quantitative radiometry and their calibration is more complex than that of scientific cameras. The lack of a standardized calibration methodology limits the interoperability between devices and, in the ever-changing market, ultimately the lifespan of projects using them. We present a standardized methodology and database (SPECTACLE) for spectral and radiometric calibrations of consumer cameras, including linearity, bias variations, read-out noise, dark current, ISO speed and gain, flat-field, and RGB spectral response. This includes golden standard ground-truth methods and do-it-yourself methods suitable for non-experts. Applying this methodology to seven popular cameras, we found high linearity in RAW but not JPEG data, inter-pixel gain variations >400% correlated with large-scale bias and read-out noise patterns, non-trivial ISO speed normalization functions, flat-field correction factors varying by up to 2.79 over the field of view, and both similarities and differences in spectral response. Moreover, these results differed wildly between camera models, highlighting the importance of standardization and a centralized database.
본문 103,432자
본문 펼치기
## Standardized spectral and radiometric calibration of consumer cameras
OLIVIER BURGGRAAFF <sup>1,2,*</sup> , NORBERT SCHMIDT <sup>3</sup> , JAIME
ZAMORANO <sup>4</sup> , KLAAS PAULY <sup>5</sup> , SERGIO PASCUAL <sup>4</sup> , CARLOS TAPIA <sup>4</sup> ,
EVANGELOS SPYRAKOS <sup>6</sup> , AND FRANS SNIK <sup>1</sup>
_1Leiden Observatory, Leiden University, PO Box 9513, 2300 RA Leiden, The Netherlands_
_2Institute of Environmental Sciences (CML), Leiden University, PO Box 9518, 2300 RA Leiden, The_
_Netherlands_
_3DDQ Apps, Webservices, Project Management, Maastricht, The Netherlands_
_4Dept._ _Astrofísica y CC. de la Atmósfera, IPARCOS, Universidad Complutense de Madrid, Madrid, 28040,_
_Spain_
_5VITO; Flemish Institute for Technological Research, Mol, Belgium_
_6Biological and Environmental Sciences, School of Natural Sciences, University of Stirling, Stirling, United_
_Kingdom_
_*burggraaff@strw.leidenuniv.nl_
Abstract: Consumer cameras, particularly onboard smartphones and UAVs, are now commonly
used as scientific instruments. However, their data processing pipelines are not optimized for
quantitative radiometry and their calibration is more complex than that of scientific cameras.
The lack of a standardized calibration methodology limits the interoperability between devices
and, in the ever-changing market, ultimately the lifespan of projects using them. We present a
standardized methodology and database (SPECTACLE) for spectral and radiometric calibrations
of consumer cameras, including linearity, bias variations, read-out noise, dark current, ISO speed
and gain, flat-field, and RGB spectral response. This includes golden standard ground-truth
methods and do-it-yourself methods suitable for non-experts. Applying this methodology to
seven popular cameras, we found high linearity in RAW but not JPEG data, inter-pixel gain
variations >400% correlated with large-scale bias and read-out noise patterns, non-trivial ISO
speed normalization functions, flat-field correction factors varying by up to 2.79 over the field of
view, and both similarities and differences in spectral response. Moreover, these results differed
wildly between camera models, highlighting the importance of standardization and a centralized
database.
© 2019 Optical Society of America
1. Introduction
Consumer cameras have seen increasing scientific use in recent years. Their low cost makes
them ideal for projects involving large scale deployment, autonomous monitoring, or citizen
science. Successful scientific applications include environmental monitoring [1–13], cosmic
ray detection [14], vegetation mapping [15–19], color science [9, 20–25], and biomedical
applications [26–33]. However, the use of consumer cameras is made difficult by limited software
controls and camera specifications. Inter-calibration of multiple camera models is complex and
laborious and the market constantly shifting, and for these reasons many projects are limited to
only a few devices. These constraints severely affect both the data quality and the sustainability
of projects using consumer cameras.
Smartphones, in particular, have become a common tool for research, thanks to their wide
availability and features such as wireless connectivity. Many scientific applications (apps)
using smartphone cameras have been developed, across a variety of fields. A recent example
is HydroColor, a citizen science tool for measuring water quality, specifically turbidity and
remote sensing reflectance _R_ rs. These are derived from RGB color photographs using standard
inversion algorithms. Results from this app agree well with professional standard equipment,
with mean errors in _R_ rs and turbidity ≤26% compared to reference sensors. However, due to
software constraints, the app uses compressed JPEG data rather than raw sensor data and assumes
identical spectral responses for all cameras. These factors severely limit the possible data quality.
Nevertheless, HydroColor has already seen significant adoption by the community, and future
developments may reduce the aforementioned limitations [2–4]. Another recent application
of smartphone cameras is bioluminescent-based analyte quantitation by smartphone (BAQS),
a technique for the detection of bioluminescent bacteria. Using BAQS, flux intensities down
to the pW scale can be detected on some smartphone models; however, on others, software
constraints and dark noise severely limit its sensitivity [34]. As a final example, Skandarajah
et al. used smartphone cameras with conventional microscopes for micron-scale imaging, for
example of stained blood samples. Resolutions comparable to scientific cameras were achieved,
but intensity and color measurements were limited by a lack of camera control and factors
including nonlinearity and white balance [32]. A full review of smartphone science is outside
the scope of this work, and we instead refer the reader to a number of extensive reviews by other
authors [35–42].
Smartphone spectroscopy is an active field of development [39, 43]. Many spectroscopic
add-ons have been developed, including do-it-yourself models costing less than $10 at Public Lab
[(https://publiclab.org/wiki/spectrometry).](https://publiclab.org/wiki/spectrometry) One early smartphone spectrometer was iSPEX, a spectropolarimetric add-on for iPhone devices used by >3000 citizen scientists
to measure aerosol optical thickness (AOT) in the Netherlands in 2013. iSPEX data were found to
agree well with reference sensors, with a correlation coefficient of _r_ = 0.81 between AOT values
observed with iSPEX and with the Moderate Resolution Imaging Spectroradiometer (MODIS)
Aqua and Terra satellites [10]. However, the iSPEX data were limited in their polarimetric
accuracy (absolute uncertainties in the degree of linear polarization (DoLP) ≈ 0.03), preventing
quantitative measurements of aerosol compositions and sizes [10]. This relatively large error
stemmed from a lack of camera controls, such as the inability to fix the focus of the camera to a
controlled and reproducible position. Furthermore, the sustainability of iSPEX in the fast-moving
smartphone market was limited by its need for device-specific calibrations.
Consumer unmanned aerial vehicles (UAVs) with RGB cameras have similarly become common
scientific instruments. They provide a low-cost, high-resolution replacement for, or complement
to, satellite and airplane imagery, especially for environmental monitoring [15–17,44–46]. UAV
data are increasingly being integrated with data from other platforms, such as satellites [47].
However, few scientific consumer camera projects progress past a proof-of-concept on a
handful of camera models, which often become obsolete within two years, particularly in
the constantly shifting smartphone market. This severely limits the sustainability of projects
that require calibrations specific to each camera model. Difficulties in upscaling and futureproofing such calibrations are an oft cited constraint on the combination of multiple camera
models [5,10,13,14,21,40,48]. Further complications are introduced by the lack of control over
camera hardware and software parameters such as focus and white balance [6,10,15,32,34,49]. For
example, the dominant smartphone operating systems, Android and iOS, only introduced support
for unprocessed (RAW) imagery as recently as 2014 (Android 5.0 ‘Lollipop’) and 2016 (iOS
10). Previously, third-party developers could only use JPEG data, which introduce a number of
systematic errors due to their lossy compression and bit-rate reduction [1,2,5,10,24,32,40,49,50].
Other common problems in consumer camera data include nonlinearity and the gamma correction
[1, 2, 9–12, 19, 22, 24, 28, 32, 50–55], electronic and thermal noise [5, 14, 34, 46, 56–58], and
highly variable (between camera models) spectral response functions which are not provided by
manufacturers [1,2,13,21,23,24,40,42,46,51,59]. These factors limit the accuracy of radiometric
measurements done with consumer cameras by introducing systematic errors. Furthermore, the
accuracy of color measurements and their conversion to standard measures, such as the CIE
1931 XYZ and CIELAB color spaces, is limited by distortions in the observed colors [20] and
differences in spectral response functions [21,23–25].
Extensive (spectro-)radiometric calibrations of consumer cameras are laborious and require
specialized equipment and are thus not commonly performed [23,54,60]. A notable exception is
the spectral and absolute radiometric calibration of a Raspberry Pi 3 V2 webcam by Pagnutti
et al. [57], including calibrations of linearity, exposure stability, thermal and electronic noise,
flat-field, and spectral response. Using this absolute radiometric calibration, digital values can
be converted into SI units of radiance. However, the authors noted the need to characterize a
large number of these cameras before the results could be applied in general. Moreover, certain
calibrations are device-dependent and would need to be done separately on each device. Spectral
and radiometric calibrations of seven cameras, including the Raspberry Pi, are given in [51].
These calibrations include dark current, flat-fielding, linearity, and spectral characterization.
However, for the five digicams included in this work, JPEG data were used, severely limiting the
quality and usefulness of these calibrations, as described above.
Spectral characterizations are more commonly published since these are vital for quantitative
color analysis. Using various methods, the spectral responses of several Canon [1,19,23,24,46,
51,54,61], Nikon [1,13,23,24,54,59–62], Olympus [23,24,51], Panasonic [46], SeaLife [13],
Sigma [60], and Sony [1, 23, 46, 51, 61] digital cameras (digicams), as well as a number of
smartphones [2, 23], have been measured. Direct comparisons between >2 different camera
models are given in [1,2,23,46,51]. Common features include the peak response wavelengths
for the RGB color filters, approximately 600, 520, and 470 nm, respectively, as well as a roughly
Gaussian profile around the peak. Differences are found especially in the wings, notably the
locations of secondary peaks and near-infrared (NIR) and ultraviolet (UV) cut-off wavelengths.
These may cause significant differences in observed colors between cameras [21,23], especially
for narrow-band sources.
Camera calibrations in the literature are often limited to a small number of cameras or properties,
either to narrow down the scope or because of limitations in time and equipment. Furthermore,
calibration data are published in varying formats, locations, and quality, complicating their use
by others. Standardized formats exist, such as those for vignetting, bias, and color corrections
described in Adobe’s digital negative (DNG) standard [63], but have seen limited adoption.
The European Machine Vision Association (EMVA) standard 1288 [64] for characterization of
cameras is extremely thorough, but has also seen limited adoption due to the high-end equipment
required [54] and its scope simply being too broad for many practical purposes. Similarly,
standardized data sets or databases, for example containing spectral response curves [23,60], have
been created but these are limited in scope and, again, adoption. To our knowledge, no widely
adopted standardized methodology or centralized database containing spectral and radiometric
calibration data for consumer cameras has been created thus far.
In this work, we present a standardized methodology for the calibration of consumer cameras
and a database, SPECTACLE (Standardised Photographic Equipment Calibration Technique
And CataLoguE), containing calibration data for the most popular devices. The calibration
methodology is focused on simplicity and facilitating measurements by non-experts and those
lacking expensive equipment, similarly to [54] but with a broader scope including software,
optics, and sensor characteristics. The database is designed with openness and sustainability in
mind, focusing on community contributions. Furthermore, we strive to follow previously existing
standards, such as DNG [63] and EMVA 1288 [64], where practical. Our focus is on radiometric
and photometric measurements but these calibration data can equally be used for color science
purposes, in particular to convert between color spaces using the measured spectral response
curves. We stress that we have no financial nor commercial interests in consumer cameras, and
any comparison between devices is purely scientific. The aim of our standardized methodology
and the SPECTACLE database is merely to simplify the use of data from consumer cameras, not
to cast judgment on their quality.
Sect. 2 contains an overview of hardware and software trends in consumer cameras. We
present the standardized calibration methodology in Sect. 3. Sect. 4 contains results from its
application to several popular cameras and a description of the SPECTACLE database. Finally,
in Sect. 5 we compare our findings with previous work and discuss future perspectives.
2. Trends in consumer cameras
Consumer cameras can be divided into four categories, namely smartphones, UAVs, digicams
(DSLR and mirrorless), and webcams. Despite serving very diverse purposes, these cameras
share common characteristics and can be calibrated with the same methods.
CMOS-based sensors now dominate the consumer camera market [43]. These are often not
produced in-house by camera manufacturers, but acquired from external parties, such as Sony
and Samsung. Different cameras often use the same sensor, such as the Sony IMX298 which is
used in 12 smartphone models from 10 different manufacturers.
Most color cameras use Bayer filters, on-chip RGB filters arranged in a checkerboard pattern,
with two green pixels (G and G2) for every red or blue one [65]. The spectral responses of these
filters differ strongly between cameras and are further modified by fore-optics [21]. Alternate
pixelated filter arrangements exist, intended for example to reduce aliasing, but with little adoption
so far [66]. Data from the separate RGBG2 pixels can be recombined through a process known
as demosaicing to retrieve an image with interpolated RGB values for each pixel. Many different
schemes exist for this [66], ranging from simple bilinear interpolation [20,46,57] to complex
computational methods [67]. Consumer camera software often includes proprietary demosaicing
algorithms [19,32] which may introduce complex, unpredictable effects. Depending on their
implementation, demosaicing schemes typically mix data from different filters and remove their
mutual independence, leading to undesirable cross-feed effects [2,57]. In any case, the added data
are fully synthetic and thus do not offer any new radiometric information. It is thus preferable for
radiometric applications to treat the RGBG2 images completely independently [19] and demosaic
data for visualization purposes [57] only.
As discussed previously, the most commonly used digital file formats are JPEG (or JPG) and
RAW. In both formats, data are saved on a pixel-by-pixel basis in analog-digital units (ADU).
ADU are alternately referred to as digital numbers (DN) in the literature, but in this work we
will use the ADU nomenclature. JPEG (ISO 10918) is based on lossy spatial compression and
downsampling to 8-bit values, optimal for small file sizes while maintaining aesthetic qualities.
Due to camera-specific processing and compression artefacts, JPEG images lose information
and are not recommended for quantitative analysis [1, 2, 5, 10, 19, 24, 32, 40, 49, 50]. While
standardizations exist, such as the standard Red Green Blue (sRGB) color space and gamma
curve [63], these are not strictly adhered to and cannot be assumed in data processing [68].
Conversely, RAW files contain relatively unprocessed sensor output, intended for manual postprocessing. One factor complicating the reduction of RAW data is their mosaiced nature, due to
which they must be demosaiced or treated as multiple independent images, as discussed above.
Despite these complications, their unprocessed nature makes RAW data highly preferable for
scientific purposes [2,19,21,24,40,57].
Available camera controls generally include focus, exposure time, ISO speed (sensitivity), and
aperture. Focus and aperture are changed by physical movement of camera optics, though most
webcams and smartphones only allow a single, fixed aperture. ISO speed is set by changing the
camera gain, through analog amplification or digital processing. Analog amplification involves
varying the gain of the CMOS amplifiers, which can be done on the level of individual pixels.
Conversely, digital gain is implemented in post-processing by simply re-scaling and interpolating
measured digital values. Since ISO speed is a measure of the overall sensitivity of the camera,
including fore-optics, each camera (and possibly each pixel) has a unique relation between ISO
speed and gain. Finally, exposure time may be set by a physical shutter (common in digicams) or
an electronic one (common in smartphones). Other parameters like white balance only affect
processed imagery and are not relevant to RAW photography.
Many cameras include some built-in calibrations, most notably for nonlinearity, dark current,
and flat-fielding effects. Nonlinearity corrections are typically based on previously measured
correction curves [69]. Dark current corrections (autodarking) are commonly done using
unilluminated exposures or permanently dark pixels around the sensor. Finally, flat-fielding
(specifically vignetting) is typically corrected using a pre-made correction map. A variety of
methods for generating such maps exists, based for example on computational methods using
regular photographs [20,70–73], simply averaging many exposures [19], and simply imaging
white paper [74]. These maps are typically parametrized, for which various methods also
exist [19,20,57,63,71–74], the simplest being the cos <sup>4</sup> model, a combination of inverse square
falloff, Lambert’s law, and foreshortening [71]. Alternately, a pixel-by-pixel map of vignetting
correction coefficients may be used. Such maps may be device-specific or generalized for a camera
model. Notably, iOS-based smartphones use the seven-parameter parametrization described in
the DNG standard [63] (see Sect. 3.8) while Android-based smartphones use pixel-by-pixel maps.
_2.1._ _Smartphones_
The smartphone market has become remarkably homogeneous in recent years, with virtually all
models using the slate form factor, featuring a large touch screen, few buttons, and a camera on
either side of the device. The most popular smartphones are all iOS- or Android-based. Both
these operating systems now support RAW photography using Adobe’s DNG standard [63],
though not on all devices. Hardware properties are rarely released by manufacturers, and are
instead often provided by reviewers through disassembly of the smartphone.
Smartphone cameras aim to reproduce the human eye and thus have similar optical properties [2].
Sensors, most commonly from the Sony Exmor series, are compact with 12–16 megapixels and a
diagonal of 5–8 mm. Some devices focus on high-resolution imagery with many pixels, while
others are optimized for low-light conditions, with fewer but larger pixels.
Smartphones now increasingly have multiple rear cameras. These secondary cameras offer
features such as different fixed focal lengths and higher sensitivity, for example with a different
lens or a monochromatic sensor. All rear cameras are typically placed in a cluster at the top right
or top center of the smartphone.
3. Methods
In this section we describe the standardized methods for the calibration of consumer cameras.
We developed a custom data processing pipeline, implemented in Python scripts available on
[GitHub (https://github.com/monocle-h2020/camera_calibration) and iOS](https://github.com/monocle-h2020/camera_calibration)
[and Android apps (https://github.com/monocle-h2020/spectacle_android](https://github.com/monocle-h2020/spectacle_android)
[and https://github.com/monocle-h2020/spectacle_ios).](https://github.com/monocle-h2020/spectacle_ios)
Sect. 3.1 describes the experimental setups and data processing used in calibration measurements. The methods used to characterize and calibrate the camera responses are given in
Sects. 3.2–3.9. Finally Sect. 3.10 describes how consumer camera data are converted into relative
radiometric units using the previously described calibration measurements. These units provide
a constant scale, independent of exposure parameters and individual device characteristics, for
each camera model, a constant factor _K_ per model away from absolute radiometric units (W m <sup>−2</sup>
sr <sup>−1</sup> ). Absolute radiometric calibration is outside the scope of this work.
_3.1._ _Experimental setup_
This section describes the setups used in our golden standard ground-truth experiments. Descriptions of do-it-yourself (DIY) calibration methods are given in the relevant sections. All images
from all cameras were taken in RAW format; for the linearity measurements, simultaneous RAW
and JPEG images were taken for comparison. As discussed in Sect. 2, demosaicing schemes
introduce synthetic data and undesirable cross-feed effects. For this reason, in our data reduction
the RAW images were split into separate RGBG2 images which were analyzed individually [19].
Multiple images were taken and stacked for each measurement to improve the signal-to-noise
ratio (SNR). On smartphones, the aforementioned iOS and Android apps were used to control
the camera and automatically take multiple exposures. Exposure settings, including ISO speeds
and exposure times were obtained from camera controls where possible, since EXIF metadata
values for these were found (Sect. 4.1) to be unreliable.
The setup for measuring linearity, ISO-gain relations, and inter-pixel gain variations on
smartphones is shown in Fig. 1. A halogen light source (OceanOptics HL-2000-LL) was used,
specified by the manufacturer to be stable to 0.15% peak-to-peak and drift <0.3% per hour after a
warm-up of 10 minutes. Its light was fed into an optical fiber (Thorlabs M25L02) and collimated
using two lenses (Thorlabs AC254-030-A with _f_ = 30 mm and AC508-200-A with _f_ = 200
mm). Two linear polarizers (both Thorlabs LPVISE100-A, with an extinction ratio ≥495 from
400-700 nm), the first rotatable and the second fixed, were used to attenuate the light beam
entering an integrating sphere (Thorlabs IS200). Using Malus’s law ( _I_ = _I_ 0 cos <sup>2</sup> θ), the rotation
angle between the polarizers could be used to calculate the attenuation. A calibration detector
was not necessary since all experiments done with this setup involve relative measurements only.
Malus’s law was first fitted to a series of exposures over the entire rotation range to determine the
reference angle. The rotation angle of the first polarizer could be determined visually up to 2°
precision, giving a typical uncertainty on the attenuated intensity of 2.5%. Finally, smartphones
were placed on top of the integrating sphere, flush against the view-port. The farthest possible
focus was used (infinity on Android devices, an arbitrary number on iOS). All experiments done
with this setup involved analysis on the individual pixel and (broad-band) filter level, without any
spatial averaging. Because of this, differences in illumination due to spectral dependencies in the
polarizer throughput or the integrating sphere output did not affect any of the experiments.
Smartphone
Light source Fiber Collimator Linear polarizers Integrating sphere
Fig. 1. Setup used to measure linearity, ISO-gain relations, and inter-pixel gain variations on
smartphones. The first linear polarizer was rotatable, the second fixed. Smartphones were
placed with their camera flush against the view-port at the top of the integrating sphere.
The linear polarizers can be replaced with alternate methods for attenuation, such as neutral
density filters. Attenuation can also be replaced completely by varying exposure times instead,
though physical attenuation may be more precise [57]. The integrating sphere may be replaced
by another diffuse surface, such as a Spectralon target. If sufficiently wide, the light beam may
also be shone directly onto the sensor; such a setup was used for digicams, with the digicam in
place of the collimator in Fig. 1 at a sufficient distance to completely illuminate the sensor. This
was done to simplify the alignment process since our digicams had large physical CMOS sizes.
Since all measurements were done on the individual pixel level, they were not affected by the
added differences in illumination.
Bias, read-out noise, and dark current were measured on all devices by placing the camera
flush against a flat surface (such as a table), pointing down, in a dark room. The setups for
flat-fielding and spectral characterization are described in Sects. 3.8 and 3.9, respectively.
_3.2._ _General properties_
General hardware and software properties were retrieved from official specifications and community reviews. A survey across these provided an overview of basic physical and optical parameters
of cameras. On Android smartphones, the Camera2 API provides ample information on such
parameters, facilitating automatic data collection using an app.
The retrieved device properties included the camera type, manufacturer, product code and
internal identifiers, release year, the number of cameras (for smartphones), camera module
identifiers, and CMOS sensor models. Sensor properties included physical size, pixel pitch,
resolution, orientation with respect to the device, color filter pattern, and bit depth. Camera optic
properties included focal length, _f_ -number, neutral density filters (for high-end smartphones),
and a vignetting model if available. Finally, software and firmware properties included supported
software versions, RAW and JPEG support, estimated bias value (see Sect. 3.4), ISO speed range,
exposure time range, and the active part of the sensor (accounting for dark pixels, see Sect. 3.5).
_3.3._ _Linearity_
Sensor linearity was quantified by measuring the camera response to varying exposures, either by
attenuating a light source or by varying the exposure time, as discussed in Sect. 3.1. We used
the setup shown in Fig. 1 with two linear polarizers to attenuate the light for smartphones, since
exposure times on those are not completely trustworthy (Sect. 4.1). Conversely, for digicams,
exposure times are reliable [54,60] and thus were used instead of physical attenuation to simplify
the setup. A third method, varying the physical aperture, changes the distribution of light on the
sensor [71] and thus cannot be used to measure linearity.
Two common types of nonlinearity exist, either across the entire intensity range or only at high
intensities. The former is common in JPEG imagery due to the gamma correction [19,32] while
the latter is expected in both JPEG and RAW data. We only investigated the former since it has
the largest impact on data quality, as described in Sect. 1. Nonlinearity at high intensities is
easily negated by discarding data above a threshold value; we use a threshold of ≥95% of the
maximum digital value.
The linearity of each pixel was expressed through the Pearson correlation coefficient _r_, a
measure of the linear correlation between intensity and camera response. Pixels were analyzed
individually to negate differences in illumination and vignetting effects (Sect. 3.8). Simulated
responses of a perfectly linear camera with a mean error of 5% in the incoming intensity simulating,
for example, errors in exposure parameters <u>or</u> polarizer alignment in the setup described in
√
Sect. 3.1, as well as Poisson noise (σN = _N_ ) and 10 ADU read noise in the response were
√
Sect. 3.1, as well as Poisson noise (σN = _N_ ) and 10 ADU read noise in the response were
analyzed. This included simulated measurements at 15 different exposures, averaged over 10
images per exposure. These simulated data resulted in a mean value of _r_ = 0.996 ± 0.002 and a
lower 0.1 percentile _P_ 0.1( _r_ ) = 0.985. To account for unforeseen measurement errors, we set the
cut-off for linearity at _r_ ≥ 0.980.
Additionally, the JPEG data were compared to sRGB-like profiles to determine whether gamma
inversion [9] is possible. The sRGB-like profiles are described by Eq. (1), with _J_ C the JPEG
response (0–255) in band C, _n_ a normalization factor, γ the gamma correction factor and _I_ the
incoming intensity in arbitrary units. The JPEG response of each pixel was individually fit to
Eq. (1) with _n_ and γ as free parameters. Additionally, profiles with standard γ values (2.2 and
2.4 [9]) were fit to the JPEG data (with _n_ free) to determine the accuracy of these standards.
_J_ C = 255 ×
_3.4._ _Bias & read-out noise_
�12.92 _nI_ if _nI_ < 0.0031308
(1)
1.055( _nI_ ) <sup>1/γ</sup> - 0.055 otherwise
Bias (or ‘black level’) and read-out noise (RON) were measured by stacking short dark exposures.
The bias and RON in individual pixels are given by the mean and variance, respectively, of their
values in each stack. Many (>50) images per stack are required to distinguish bias variations
from RON. Temporal variations were probed by repeating this process several times. While
EXIF metadata often contain a bias value, this is only an estimate and should be validated by
measurement.
_3.5._ _Dark current_
Dark current (thermal noise) was measured by taking dark exposures with different lengths and
fitting a linear relation between exposure time and camera response to determine the dark current
in ADU s <sup>−1</sup> . For cameras that have autodarking (see Sect. 2), the residual dark current was
characterized instead. Depending on the autodark precision, the exposure-response relation may
be non-linear in this case.
_3.6._ _ISO speed_
The relation between camera sensitivity and ISO speed was measured by taking identically
exposed images at different ISO speeds. These were bias-corrected and pixel values were divided
by those at the lowest ISO speed. A relation between ISO speed and normalization factor was
then fitted. Like the linearity measurements (Sect. 3.3), this was done individually per pixel to
negate illumination differences and vignetting effects.
This relation may be any combination of linear and constant functions, depending on the
implementation of ISO speed ratings. Linear relations correspond to analog gain, while digital
gain may result in linear or constant relations, as described in Sect. 2.
_3.7._ _Gain variations_
Inter-pixel and inter-filter gain variations were characterized using the mean-variance method [75],
which exploits the Poissonian nature of photo-electrons in a sensor. We applied this method
to individual pixels rather than averaging over the sensor, to measure inter-pixel variations and
remove the need for flat-fielding prior to this calibration. The response of a digital camera
to incoming light is given by Eq. (2), with _M_ the mean response in ADU, _I_ the exposure in
photo-electrons, _D_ the dark current in e <sup>−</sup>, _B_ the bias in ADU, and _G_ the gain in ADU/e <sup>−</sup> . Both _I_
and _D_ are integrated over the exposure time.
_M_ = _IG_ + _DG_ + _B_ (2)
The variance in the response of a pixel is a combination of shot noise on the photo-electrons
and dark current, and read noise. The shot noise follows a Poissonian distribution with a standard
√
deviation σI = _I_ and thus a variance _V_ I = _I_ . The total variance in the response is expressed in
√
deviation σI = _I_ and thus a variance _V_ I = _I_ . The total variance in the response is expressed in
Eq. (3), with _V_ the variance in ADU <sup>2</sup> and _RON_ the read noise in ADU.
_V_ = _IG_ <sup>2</sup> + _DG_ <sup>2</sup> + _RON_ <sup>2</sup> (3)
After correcting for bias and dark current, and assuming _DG_ <sup>2</sup> is negligible, a linear relation
between mean and variance is found, shown in Eq. (4).
_V_ = _GM_ cor + _RON_ <sup>2</sup> (4)
Equation (4) was fitted to mean and variance values from several image stacks taken under
different illumination conditions. Within each stack, all images were exposed identically, while
the illumination varied between stacks. A large amount of data (>10 stacks of >50 images each)
was necessary to constrain the fitted gain values sufficiently (typical relative errors in individual
pixels <15%). ISO normalization functions derived in Sect. 3.6 may be used to extrapolate
measured values to different ISO speeds.
_3.8._ _Flat-field correction_
Flat-fielding was performed by imaging a uniform light source. Unlike telescopes, most consumer
cameras have fields-of-view (FoV) too large to use the twilight sky for this. Instead, a large
integrating sphere was used to create an isotropic light field, as described in [57]. We used a
LabSphere HELIOS USLR-D12L-NMNN lit by three halogen lamps with a specified luminance
uniformity of ±1.0%, sequentially placing each camera before its aperture.
Any significant chromatic differences in the flat-field response were measured automatically,
since all filters were exposed simultaneously. The RGBG2 images were split out and each
normalized to their maximum value, then recombined and smoothed with a Gaussian filter
(σ = 10 pixels); both the individual RGBG2 images and the recombined image were analyzed.
Since vignetting, often the dominant flat-field component, is caused by the camera aperture, the
flat-field response changes and must be measured again when varying the aperture [71].
Vignetting can be parametrized in a number of different ways, as discussed in Sect. 2. For
consistency, we used the DNG seven-parameter ( _k_ 0 . . . _k_ 4, _c_ ˆx, _c_ ˆy) model, also used internally
in iOS smartphones, for the flat-field correction factor g( _x_, y), expressed in Eq. (5), with _r_ the
normalized Euclidean distance from pixel ( _x_, y) to the optical center ( ˆ _c_ x, _c_ ˆy).
g( _x_, y) = 1 + _k_ 0 _r_ <sup>2</sup> + _k_ 1 _r_ <sup>4</sup> + _k_ 2 _r_ <sup>6</sup> + _k_ 3 _r_ <sup>8</sup> + _k_ 4 _r_ <sup>10</sup> (5)
Three simpler, alternate methods were also tested. The first involved imaging an overcast
sky, the second imaging the sun with a piece of paper taped onto the camera as a diffuser
[similarly to the Hukseflux Pyranometer app (http://www.hukseflux.com/product/](http://www.hukseflux.com/product/pyranometer-app)
[pyranometer-app).](http://www.hukseflux.com/product/pyranometer-app) For the final method, the camera, again with a paper diffuser, was held
flush against a computer monitor displaying a white screen, somewhat similarly to [54]. In
all three cases, the camera was dithered and rotated 360 <sup>◦</sup> during measurements to average out
anisotropies. Data from all three methods were processed in the same way as the integrating
sphere data, to compare their efficacy.
_3.9._ _Spectral response_
The spectral response of a camera, which is a product of the individual spectral responses
of its fore-optics, filters, and sensor, was measured in two ways. The first method, using a
monochromator, is simple processing-wise as the data are simply a series of images at different
wavelengths with known intensities [46,57,62]. It also allows for the measurement of inter-pixel
variations in spectral response. The second, a spectrometer add-on such as iSPEX [10], is more
accessible than monochromators but its spectral data are more difficult to calibrate and process.
We used a double monochromator (OL 750-M-D) at the NERC Field Spectroscopy Facility
to scan a wavelength range of 390-700 nm. This wavelength range was chosen because no
significant response was found outside it on any of the test cameras. The effective spectral
resolution (half bandwidth) of the monochromator was 4 nm, calculated from the grating (1200
grooves/mm) and slits (2.5 mm entrance/exit and 5.0 mm central slit) used. The wavelength
range was critically sampled at 2 nm intervals. A laser-driven light source (Energetiq EQ-99X)
was used, and its spectral output calibrated using a silicon photodiode (Gooch & Housego OL
DH-300C with a Hamamatsu S1337-1010BQ sensor). The system was NIST-traceably calibrated
in 2012 and is described in more detail in [46].
Spectral characterization was also done using a modified (removing polarizers and retarders)
iSPEX add-on [10]. iSPEX has a slit consisting of two parts, one 0.4 mm (‘broad’) and the other
0.17 mm (‘narrow’) wide and a 1000 grooves/mm transmission grating foil (Edmund Optics
#52-116). Using this foil, a similar spectrometer can be built for any other camera.
The reflection of sunlight on a piece of white paper was measured using the iSPEX on an iPhone
SE. iSPEX projects a spectrum onto the sensor, so the pixel responses must be corrected for bias,
dark current, and flat-field to obtain a quantitative spectrum. The 436.6, 544.5, and 611.6 nm
spectral lines of a commercial fluorescent lamp were used for the wavelength calibration, fitting
a quadratic relation between pixel position and wavelength. A stray light correction was done
by subtracting the mean pixel value per column above and below the spectrum from the narrow
and broad slit spectra, respectively. Two theoretical reference spectra were used to normalize
the observed spectra, namely a 5777 K black body (approximating the Sun) and a diffuse solar
irradiance spectrum generated using the Simple Model for the Atmospheric Radiative Transfer
of Sunshine (SMARTS2) [76,77] and smoothed to the 5 nm resolution of narrow-slit iSPEX
spectra. For the latter, the location and time of the iSPEX measurements as well as the built-in
urban aerosol and ground albedo models were used instead of default parameters. The models
differed significantly (RMS 34%) due to the diffuse sky irradiance factored into the SMARTS2
model. Finally, the observed spectra were corrected for the transmission of the iSPEX optics,
determined by measuring the zero-order transmission using a halogen lamp and spectrometer
(OceanOptics HL-2000-LL and USB2000+, respectively).
Instead of the sun, a previously calibrated commercial lamp may be used. For example,
the LICA-UCM database [(https://guaix.fis.ucm.es/lamps_spectra)](https://guaix.fis.ucm.es/lamps_spectra) contains
spectra of common commercial lamps which can be used as standard light sources for spectral
response measurements [78]. This method has the advantage of independence from weather
conditions and higher reproducibility compared to solar measurements. Combined with the
new version of iSPEX we are currently developing, featuring a universal smartphone hardware
interface, this enables volunteer measurements of smartphone camera spectral responses.
The spectral curves _R_ C(λ) thus derived were normalized to the global maximum transmission
in all bands and used for calibration of spectral measurements and in the radiometric correction
of imaging data (Sect. 3.10) to calculate effective spectral bandwidths ΛC. These are defined as
ΛC = ∫C <sup>_R_</sup> C <sup>′</sup> <sup>(λ)dλ, with</sup> <sup>_R_</sup> C <sup>′</sup> <sup>(λ) the spectral response</sup> <sup>_R_</sup> <sup>C(λ) normalized to the maximum in band</sup>
∫
C <sup>_R_</sup> C <sup>′</sup>
C <sup>′</sup> <sup>(λ)dλ, with</sup> <sup>_R_</sup> C <sup>′</sup>
ΛC = ∫C <sup>_R_</sup> C <sup>′</sup> <sup>(λ)dλ, with</sup> <sup>_R_</sup> C <sup>′</sup> <sup>(λ) the spectral response</sup> <sup>_R_</sup> <sup>C(λ) normalized to the maximum in band</sup>
C [57,79]. This integral was calculated using the composite trapezoid method, implemented in
the NumPy function numpy.trapz.
_3.10._ _Relative radiometric calibration_
The calibrations described in the previous section are used to convert digital values to radiance.
Following the methods described in [57,79–81], a digital value _M_ (in ADU) in band C (RGBG2
for Bayer filters) can be converted to effective radiance _L_ C, in units of W m <sup>−2</sup> sr <sup>−1</sup> .
Since absolute radiometric calibration is outside the scope of this work, we instead determined
the relative effective radiance _L_ C <sup>′</sup> <sup>=</sup> <sup>_L_</sup> <sup>C/</sup> <sup>_K_</sup> <sup>, in relative radiometric units (RRU) m−2 sr−1, with</sup>
_K_ an extra factor accounting for the absolute quantum efficiency and transmission of the lens.
Measuring these requires a previously calibrated light source with a known radiance.
The expression for converting _M_ to _L_ C <sup>′</sup> <sup>is given in Eq. (6).</sup> <sup>The advantage of the piece-wise</sup>
calibration given in Eq. (6) over a black-box approach containing all calibration components is
its adaptability when a small subset of parameters are changed, such as due to firmware updates
or manufacturing changes. This way, calibration data can be re-used rather than requiring a full
re-calibration with every change.
<u>1</u>
_L_ C <sup>′</sup> <sup>=</sup> <sup>_hc_</sup>
_A_ dΛC
g
- <u>4(</u> _<u>f</u>_ <u>#)2</u>
πτ _N_
( _M_ - _B_ - _D_ τ) (6)
First, the bias _B_ (ADU; Sect. 3.4) and dark current _D_ τ (with _D_ in ADU s <sup>−1</sup> and τ the exposure
time in seconds; Sect. 3.5) are subtracted. Linearization of digital values [81] is not necessary
since we only used sufficiently linear pixels ( _r_ ≥ 0.980; Sect. 3.3).
Next, the image is corrected for the exposure parameters, dividing by the exposure time τ,
ISO speed normalization factor _N_ (Sect. 3.6), and aperture, approximated as π/4( _f_ #) <sup>2</sup>, with
_f_ # the _f_ -number of the camera [57]. This approximation causes a systematic error of 4% at
_f_ /2.0 [57]; for fixed-aperture systems like smartphones, this error is not relevant. For systems
with adjustable apertures, an exact solution may be preferable if operating at very low _f_ -numbers.
These corrections yield a response in normalized ADU s <sup>−1</sup> sr <sup>−1</sup> .
The third step is the flat-field correction. The response is multiplied by the flat-field correction
g (unitless; Sect. 3.8). The flat-fielding methods used here account for both optical and electronic
variations in sensitivity, so a separate correction for inter-pixel gain variations (Sect. 3.7) is not
necessary. Since absolute transmission and quantum efficiency were not measured, this step
yields a response in relative counts s <sup>−1</sup> sr <sup>−1</sup>, proportional to the number of photo-electrons s <sup>−1</sup>
sr <sup>−1</sup> .
Next, sensor properties are corrected for. The response is divided by the pixel size _A_ d (m <sup>2</sup> ;
Sect. 3.2) to give a response in relative counts s <sup>−1</sup> m <sup>−2</sup> sr <sup>−1</sup> . It is then divided by the effective
spectral bandwidth of band C, ΛC = ∫C <sup>_R_</sup> C <sup>′</sup> <sup>(λ)dλ (Sect. 3.9).</sup>
∫
C <sup>_R_</sup> C <sup>′</sup>
spectral bandwidth of band C, ΛC = ∫C <sup>_R_</sup> C <sup>′</sup> <sup>(λ)dλ (Sect. 3.9).</sup>
Finally, the result is converted to a relative radiance by multiplying by a factor _hc_, with _h_
Planck’s constant and _c_ the speed of light. This yields _L_ C <sup>′</sup> <sup>in RRU m−2 sr−1.</sup>
Planck’s constant and _c_ the speed of light. This yields _L_ C <sup>′</sup> <sup>in RRU m−2 sr−1.</sup>
For specific applications, Eq. (6) may be simplified or adjusted. For example, inter-pixel
bias and dark current variations are typically negligible in bright conditions. In those cases, _B_
and _D_ may be approximated by constants, and inter-pixel variations incorporated in the error
budget. For spectroscopic applications, a relative spectral radiance _L_ C <sup>′</sup>,λ <sup>in RRU m−2</sup> <sup>sr−1</sup> <sup>nm−1</sup>
is measured, which is not averaged over band C. In this case, the energy per photon is simply
_hc_ /λ and only the transmission at wavelength λ, _R_ C(λ) is relevant; furthermore, the result must
be divided by the wavelength coverage of each pixel ∆λ. This is expressed in Eq. (7).
C <sup>′</sup>,λ <sup>in RRU m−2</sup> <sup>sr−1</sup> <sup>nm−1</sup>
- <u>4(</u> _<u>f</u>_ <u>#)2</u>
πτ _N_
C <sup>′</sup>,λ <sup>=</sup> <sup>_<u>hc</u>_</sup>
λ
_L_ <sup>′</sup>
λ
<u>1</u>
_A_ d _R_ C(λ)∆λ <sup>g</sup>
( _M_ λ − _B_ - _D_ τ) (7)
4. Results
The methodology described in Sect. 3 was applied to three iOS smartphones (Apple iPhone SE,
6S, and 7 Plus), two Android devices (Samsung Galaxy S6 and S8), one digicam (Nikon D5300),
and one UAV camera (DJI Phantom Pro 4). This section contains an overview of results from
these various calibration steps. Results for all devices are included in the SPECTACLE database
further described in Sect. 4.9.
_4.1._ _General properties_
General hardware and software properties were retrieved from the survey described in Sect. 3.2,
with a specific focus on smartphones using the previously described Android app. Little variation
was found in these general properties, especially for smartphones. For example, virtually all
main cameras on smartphones have apertures of _f_ /2.4– _f_ /1.5, focal lengths of 3.8–4.5 mm, and
sensors of 3.4–6.7 × 2.7–4.7 mm, giving fields-of-view (FoVs) of 60–75 <sup>◦</sup> × 45–55 <sup>◦</sup> .
It was found from test images that EXIF metadata from some cameras are inaccurate. For
example, the iPhone SE can use unrounded exposure times of 1/3.0 s and 1/3.9 s but records
both as simply 1/3 s in metadata. Assuming the recorded exposure time of 1/3 s for a real
exposure of 1/3.9 s would lead to photometric errors up to 30%. To counteract this, exposure
parameters such as ISO speed and exposure time should be recorded separately from default
EXIF metadata, for example with custom EXIF tags or extra files.
_4.2._ _Linearity_
The linearity of two smartphones (iPhone SE and Galaxy S8) and one digicam (Nikon D5300)
was measured using the methods described in Sect. 3.3 and the setup described in Sect. 3.1
and shown in Fig. 1. The smartphones were analyzed using rotating linear polarizers while the
D5300 was analyzed by varying exposure times. Simultaneous RAW and JPEG images were
taken on each device (using the Fine JPEG setting on the D5300) to compare their responses.
JPEG images were taken with a fixed white balance.
The Pearson _r_ coefficients of the RAW and JPEG responses of all pixels were calculated and
their histograms are shown in Fig. 2. The JPEG responses of all pixels in all cameras were well
below the linearity threshold ( _r_ ≥ 0.980), showing again that JPEG data are highly nonlinear.
Conversely, nearly all RAW responses were well within the bounds for linearity, with 99.9% of _r_
values ≥0.997 (iPhone SE), ≥0.996 (Galaxy S8), and ≥0.999 (D5300). The Galaxy S8 was the
only camera with RAW responses having _r_ < 0.980, though only in 56 pixels.
10 <sup>6</sup>
10 <sup>4</sup>
10 <sup>2</sup>
10 <sup>6</sup>
10 <sup>4</sup>
10 <sup>2</sup>
10 <sup>6</sup>
10 <sup>4</sup>
10 <sup>2</sup>
0.86 0.88 0.90 0.92 0.94 0.96 0.98 1.00
Pearson r
Fig. 2. Histogram of Pearson _r_ coefficients for RAW (black, all filters combined) and JPEG
(red/green/blue) responses. The _r_ ≥ 0.980 cut-off is shown with a dashed black line. The
respective cameras are listed next to the vertical axis. Note the logarithmic vertical scale.
The JPEG and RAW responses of individual pixels in the iPhone SE and Galaxy S8 cameras
are shown in Fig. 3. The JPEG responses are visibly nonlinear ( _r_ = 0.956, 0.918) while the RAW
responses are linear within measurement errors ( _r_ = 0.999, 0.998). Furthermore, the dynamic
range of the JPEG data is much smaller than that of the RAW data. These differences highlight
the advantages of RAW data.
Finally, Fig. 4 shows the best-fitting γ for the JPEG response per pixel as well as the accuracy
of two standard values (γ = 2.2 and 2.4, expressed in RMS relative difference (1 − data/fit).
Large inter-pixel, inter-filter, and inter-device differences in best-fitting γ exist, indicating an
sRGB gamma inversion with a single γ value is not possible. Furthermore, the γ = 2.2 and 2.4
models are both clearly very inaccurate for all cameras. For the γ = 2.2 and 2.4 cases respectively,
99.9% of pixels had RMS relative differences between observations and the sRGB model of >7%
and >10% (iPhone SE), >13% and >15% (Galaxy S8), and >19% and >21% (Nikon D5300).
_4.3._ _Bias & read noise_
Bias and read noise variations in four smartphone cameras (iPhone SE and 7 Plus, Galaxy S6 and
S8), one digicam (Nikon D5300), and one UAV camera (Phantom Pro 4) were analyzed using the
methods from Sect. 3.4.
Bias values in all cameras deviated systematically from the EXIF values by <1 ADU on
average, with standard deviations also <1 ADU. However, large outliers were found, such as
iPhone SE
rJPEG = 0.956 rDNG = 0.999
250
200
150
100
50
0
2.5
0.0
2.5
5.0
0
2.5
0.0
2.5
5.0
4000
3000
2000
1000
250
200
150
100
50
Galaxy S8
rJPEG = 0.918 rDNG = 0.998
1000
0
5
0
5
750
500
250
0
5
0
5
0.0 0.2 0.4 0.6 0.8 1.0
Relative incident intensity
0.0 0.2 0.4 0.6 0.8 1.0
Relative incident intensity
Fig. 3. JPEG (blue, left vertical axis) and RAW (black, right axis) response of a single B
pixel in the iPhone SE (left) and Galaxy S8 (right) rear cameras, under varying incident
intensities. Each point represents the mean of a stack of 10 images at the same exposure.
Vertical error bars are smaller than the dot size. The black and blue lines represent the
best-fitting linear (RAW) and sRGB-like (JPEG) profiles, respectively. The lower row shows
the residuals, normalized to the dynamic range.
some pixels in our Galaxy S6 which even saturated in bias frames. Phantom Pro 4 data are scaled
up from 12-bit (its native bit depth) to 16-bit, increasing the observed bias variations. Scaled
down to 12 bits, its bias variations are similar to those in the other cameras.
Typical observed RON values were distributed similarly to inter-pixel bias variations. The
smartphones and D5300 show RON distributions consisting of one or two main components <3
ADU, which correlate with inter-pixel gain variations (Sect. 4.6), and a long but shallow tail
towards RON values >20 ADU. As with the bias variations above, the Phantom Pro 4 showed
a comparatively high mean RON (14 ADU at ISO speed 100) in 16-bit (scaled-up) data but a
comparable value (1.8 ADU) when scaled down to its native bit depth of 12 bits.
Large-scale patterns in inter-pixel and inter-filter bias and RON variations were observed in
several cameras, most prominently in the smartphones. Figure 5 shows the RON per pixel in
the sensors of two iPhone SE devices. The RON and bias patterns on each device are strongly
correlated, suggesting a common origin. The RMS difference in bias between these two devices
was 0.31 ADU, larger than the standard deviation on either device (0.24 and 0.21 ADU). The
large-scale patterns persisted over time scales of months, indicating that they are systematic.
Both bias variations and RON decreased with ISO speed when normalized (Sect. 3.6). This
may be a result of better amplifier or ADC performance at a higher gain. Similarly, large-scale
patterns such as those in Fig. 5 become less distinct at high ISO speeds.
Either a map of mean bias per pixel at a given ISO speed _B_ ( _x_, y, _ISO_ ) or a mean value _B_ is
used in Eq. (6). For low-light applications such as dark-sky measurements [6] or spectroscopy, a
detailed map is necessary since a single ‘bad’ pixel with an abnormally high output may cause a
significant systematic error. Being manufacturing defects, bad pixels are in different locations
even on two cameras of the same model, and thus a map is required for each device. Conversely,
for bright conditions, the bias variations are not significant and thus a mean value can be used.
Similarly, RON values can be incorporated in the error budget separately for individual pixels or
using the RMS value as an ensemble estimate.
600000
400000
200000
0
150000
100000
50000
0
600000
400000
200000
0
1.75 2.00 2.25 2.50
Best fit
0 10 20 30
RMS diff. (%)
<u>= 2.2</u> <u>= 2.4</u>
0 10 20 30
RMS diff. (%)
Fig. 4. Histogram of best-fitting γ and RMS relative difference between JPEG data and fit
(for models with γ = 2.2 and 2.4) in the RGB bands.
_4.4._ _Dark current_
The methods described in Sect. 3.5 were applied to two smartphones (iPhone SE and Galaxy S8)
to measure their dark current properties. Both cameras have built-in dark current calibrations
(autodark; see Sect. 2). Measurements were done at room temperature, with short breaks between
differently exposed stacks to prevent overheating the sensor. However, sensor temperatures were
not obtained from the camera software.
A separate data set consisting of 96 images taken with 4 seconds between each on the iPhone
SE, during which the entire device palpably warmed up, was analyzed to identify thermal effects.
Pearson _r_ correlations between response and time stamps (as a proxy for temperature) were
calculated for the individual pixels. These _r_ values were well-described by a normal distribution
with µ = 0.00 and σ = 0.10, indicating that no strong relation exists between temperature
and residual dark current. However, we note that again no direct sensor temperatures could be
obtained.
In both cameras, a small residual (positive or negative) dark current signal was observed. Most
pixels in both cameras had little dark current (RMS <2 ADU s <sup>−1</sup>, 99.9th percentile of absolute
values <6 ADU s <sup>−1</sup> ), though notable outliers were found, such as >300 pixels in our Galaxy
S8 with dark current >50 ADU s <sup>−1</sup> . The residual dark current decreased at higher ISO speeds,
similar to RON and bias variations (Sect. 4.3), but showed no large-scale patterns.
These results show that autodarking accurately corrects most pixels, but is inadequate for
outliers. Since autodarking is built into camera chips, it cannot be disabled. For outliers and in
low-light conditions, it should be augmented with a manual dark current correction. As with bias
variations, the dark current map _D_ ( _x_, y, _ISO_ ) is used in Eq. (6) for low-light conditions, but an
approximation is adequate for bright conditions. For autodarked cameras like the ones tested
here, a mean value of _D_ = 0 ADU s <sup>−1</sup> is assumed, and the RMS variation incorporated into the
2.00 2.25 2.50 2.00 2.25 2.50 2.00 2.25 2.50 2.00 2.25 2.50
Read noise (ADU)
Fig. 5. Read-out noise per pixel of two iPhone SE devices (top and bottom) at ISO speed
23, in the RGBG2 filters from left to right. Darker colors correspond to lower read-out
noise. A two-dimensional Gaussian filter (σ = 5 pixels) has been applied to better visualize
large-scale variations. The G image shows similar patterns to Fig. 7.
error budget. Outliers may be masked in either case.
_4.5._ _ISO speed_
The normalization of data at different ISO speeds was measured using the methods from Sect. 3.6
on two smartphones (iPhone SE and Galaxy S8) and one digicam (Nikon D5300).
The measured and best-fit normalization curves are depicted in Fig. 6. The Nikon D5300 and
Galaxy S8 were best fit with a single linear relation, while the iPhone SE curve is clipped at ISO
184. This clipping is not due to image saturation, as none of the pixels in any image reached
saturation. The linear part of the iPhone SE relation passes through the origin, while the Nikon
D5300 and Galaxy S8 curves do not, instead showing significant (>5%) systematic errors when
using the simplest mathematical model (zero offset and slope 1/minimum ISO speed).
30
25
20
15
10
5
0
iPhone SE
~~Galaxy S8~~
<u>D5300</u>
0 500 1000 1500 2000
ISO speed
Fig. 6. ISO speed normalization for the iPhone SE, Samsung Galaxy S8, and Nikon D5300.
Dots indicate means of image stacks divided by the mean value per pixel at the lowest ISO
speed. Lines indicate the best-fitting relationships.
The clipping of the iPhone SE curve likely corresponds to a transition from purely analog to
purely digital gain. However, data from the Camera2 API on the Galaxy S8 indicated that it too
uses digital gain, at ISO speeds >640. This suggests that there are different implementations of
gain for RAW photography.
The large observed differences in ISO speed normalization can lead to significant systematic
errors when combining data taken at different ISO speeds, if not adequately calibrated. Data are
normalized by dividing by _N_, as expressed in Eq. (6).
_4.6._ _Gain_
The methods from Sect. 3.7 were used to characterize inter-pixel gain variations in two smartphones
(iPhone SE and Galaxy S8).
Significant inter-pixel variations were observed, as shown in Fig. 7 for the G pixels in both
cameras. Since the measurement protocol is applied on the individual pixel level, the observed
variations are only due to differences in gain, rather than external factors such as vignetting
effects. The iPhone SE showed small variations, with higher gain values at the edges and lower
values in the center. This pattern is similar to that seen in Fig. 5, suggesting a common origin.
Conversely, on the Galaxy S8 a concentric pattern with a very wide range is clearly visible, likely
intended as a first-order vignetting correction. Both showed similar ranges in gain (0.58–2.74
and 0.59–2.45 ADU/e <sup>−</sup>, respectively), though on the iPhone SE most variations were on small
scales and thus are not visible in the smoothed image.
1.95
1.90
1.85
1.80
1.75
1.70
<u>iPhone SE (ISO 88)</u> <u>Galaxy S8 (ISO 200)</u>
2.2
2.0
1.8
1.6
1.4
1.2
1.0
0.8
Fig. 7. Gain values of G pixels in the iPhone SE (left; ISO speed 88) and Galaxy S8 (right;
ISO speed 200) sensors. Darker colors indicate lower gain values. A two-dimensional
Gaussian filter (σ = 5) has been applied to better visualize large-scale fluctuations. The
iPhone SE patterns are similar to the read noise shown in Fig. 5.
Histograms of gain values for both cameras are shown in Fig. 8. Inter-filter differences are
small in the Galaxy S8 but obvious in the iPhone SE. In particular, the R, G, and B distributions
in the latter clearly have different mean values and widths (means and standard deviations of
1.97 ± 0.24, 1.78 ± 0.29, and 1.73 ± 0.30 ADU/e <sup>−</sup>, respectively). Furthermore, the G distribution
is bimodal while both others are unimodal; no significant differences between the _G_ and _G_ 2 gain
distributions were found, so this is not the cause for the observed bimodality.
The observed gain variations are significant and provide insights into camera design and
fabrication, specifically the origins of some of the phenomena seen in flat-field data (Sect. 4.7).
However, they are not necessary in the radiometric calibration of data, since our flat-field
correction method (Sects. 3.8 and 4.7) accounts for these inter-pixel gain variations as well as all
other differences in sensitivity, such as vignetting, as discussed in Sect. 3.10.
<u>iPhone SE (ISO 88)</u> <u>Galaxy S8 (ISO 200)</u>
1.5
0.5
1.5
0.5
1.5
0.5
0.5 1.0 1.5 <u>2.0</u> 2.5
Gain (ADU/e )
0.5 1.0 1.5 <u>2.0</u> 2.5
Gain (ADU/e )
Fig. 8. Histogram of gain values in the R (top), G and G2 (middle), and B pixels (bottom)
in the iPhone SE (left; ISO speed 88) and Galaxy S8 (right; ISO speed 200) sensors. The
vertical axes were normalized to account for the different amounts of pixels.
_4.7._ _Flat-field correction_
Three smartphones (iPhone SE and 6S, and Galaxy S8) and one UAV (DJI Phantom Pro 4) were
flat-fielded using an integrating sphere as described in Sect. 3.8. An aperture of _f_ /2.8 was used
for the Phantom Pro 4, and on each device the maximum focus was used. 300 images were taken
with the iPhone SE and Galaxy S8, 224 with the Phantom Pro 4, and 30 with the iPhone 6S. The
latter was flat-fielded using a different set-up, with a Newport 819D-SF-4 integrating sphere and
taking only 30 images as this was sufficient for an SNR >3 in >99% of its pixels.
Significant vignetting was found in all cameras. The observed correction factors of the iPhone
SE, the best-fitting model, and residuals between the two are shown in Fig. 9. The smooth pattern
suggests optical vignetting is the main flat-field component; the same is true in the iPhone 6S
and Galaxy S8. The Phantom Pro 4 data showed an additional steep cut-off near the corners,
suggesting mechanical vignetting. To counteract the latter, the outermost 250 pixels on all sides
of the images from all cameras were removed prior to further analysis. Correction factors up to
2.42 (iPhone SE), 2.03 (iPhone 6S), 1.43 (Galaxy S8), and 2.79 (Phantom Pro 4) were observed.
No significant chromatic differences were found, so the recombined data were used instead of
separate RGBG2 data.
1.2 1.6 2.0 2.4
g (Observed)
1.2 1.6 2.0 2.4
g (Best fit)
0.02 0.00 0.02
Residual
Fig. 9. Flat-field correction factor g for the iPhone SE camera. From left to right: observed
values (inverse of observed relative sensitivity), best-fitting DNG model, and residuals.
As seen in Fig. 9, the DNG model fitted the data well with only small residuals remaining.
The RMS of the residuals, normalized to the unsmoothed observed values, was 1.5% (iPhone
SE), 1.4% (Galaxy S8), 3.1% (iPhone 6S), and 2.0% (Phantom Pro 4). These differences drop to
≤0.7% on all cameras when using the spatially smoothed data, implying that they are mostly due
to pixel-by-pixel variations and noise in the observations. These small residuals show that the
DNG model is an adequate approximation for most applications; a pixel-by-pixel map per device
is necessary only if sub-percent precision is required. Estimated errors in the model were <0.01
on the polynomial coefficients and <10 <sup>−5</sup> on the optical center (in relative coordinates) for all
cameras. Anomalous dots can be seen throughout the difference image in Fig. 9, possibly due to
dust particles or inter-pixel gain variations (Sect. 4.6).
Since iOS also uses the DNG model for its internal vignetting correction, a direct comparison
between correction models for the iPhone SE was made. The RMS relative residual between our
smoothed data and the internal model was 5.9%, more than 10 times that of our model (0.5%).
While the iOS model is symmetric ( ˆ _c_ x = _c_ ˆy = 0.5), ours had a slight offset ( ˆ _c_ x = 0.494226(1)
and _c_ ˆy = 0.503718(2)). The polynomial coefficients all differed by >400σ, with σ the standard
error on our model derived by the fitting routine. Finally, the RMS difference between the models
per pixel was 5.7%.
The three alternate methods described in Sect. 3.8 were tested on the Galaxy S8. 40 images
of the overcast sky were taken, as well as 40 of the sun and 50 of a monitor with a paper
diffuser. The Galaxy S8 was used because its integrating sphere data show a large asymmetry
( ˆ _c_ x = 0.449391(5), _c_ ˆy = 0.426436(9)), providing a simple comparison metric. The RMS
difference between the smoothed data from the integrating sphere and alternative methods
relative to the sphere data were 4%, 4%, and 5%, respectively. The best-fitting optical centers
of all three data sets differed significantly both from the sphere data and from each other
( ˆ _c_ x = 0.53447(1), 0.501989(4), 0.490794(4) and _c_ ˆy = 0.38837(2), 0.449426(7), 0.477590(7), for
the sky, sun, and monitor methods, respectively). This causes a typical systematic error on the
order of 5% in all three cases. Finally, six replicate measurement sets (50 images each) were
taken using the monitor method to assess the effects of nonuniformities in the paper diffusers,
generating a correction model for each set. The typical variation, expressed as the RMS of
the standard deviation per pixel relative to the mean value per pixel, was 3%, smaller than the
typical deviations between the do-it-yourself methods and ground truth data. The effect of paper
nonuniformities thus does not significantly impact the quality of do-it-yourself data.
The flat-field correction is incorporated in the radiometric correction expressed in Eq. (6) as
the factor g = g( _x_, y). For cameras with a fixed aperture, such as smartphones, one measurement
is sufficient; otherwise, g varies with aperture. This corrects for the systematic error induced by
flat-fielding effects but pixels at the edges still receive fewer photons than those in the center.
The former correspondingly have a smaller SNR due to shot noise, scaling as _SNR_ ∝ g <sup>−1/2</sup> .
Therefore, objects of interest are preferably imaged near the optical center of the camera.
_4.8._ _Spectral response_
Two smartphones (iPhone SE and Galaxy S8) and one UAV (DJI Phantom Pro 4) were spectrally
calibrated using a monochromator, and the iPhone SE using iSPEX, as described in Sect. 3.9.
Figure 10 shows the normalized spectral response curves derived from the monochromator
data, calibrated to the spectral throughput of the monochromator and spectral irradiance of the
light source. This calibration was done by measuring its output under the same conditions as
during the measurements, using a pre-calibrated silicon photodiode. Parts of the spectra were
measured with different exposure settings and monochromator filters; these were first calibrated
and then normalized and averaged on overlapping sections. The peak response wavelengths and
effective bandwidths of the RGBG2 filters in the different cameras are given in Table 1.
Some similarities and differences between the cameras are immediately obvious from Fig. 10
and Table 1. Notably, no significant differences between G and G2 were found in any camera
(RMS differences ≤0.003); the different peak wavelength for the Phantom Pro 4 is likely due to
1.0
0.8
0.6
0.4
0.2
0.0
iPhone SE
<u>Phantom Pro 4</u>
<u>Galaxy S8</u>
400 450 500 550 600 650 700
Wavelength (nm)
Fig. 10. Spectral response curves of the iPhone SE, Galaxy S8, and Phantom Pro 4, derived
from monochromator data. The responses are normalized to the global maximum per camera,
giving relative sensitivities. G is the average of the G and G2 responses over the wavelength
axis, since no significant differences were found. RMS errors are ≤0.005.
Camera λP, R ΛR λP,G ΛG λP,G2 ΛG2 λP, B ΛB
iPhone SE 596 72 524 110 524 109 458 93
Galaxy S8 594 73 524 109 524 109 468 117
Phantom Pro 4 594 65 524 115 532 116 468 94
Table 1. Peak response wavelength λP, C and effective spectral bandwidth ΛC of each filter
in the three cameras, derived from monochromator measurements. All values are in nm.
noise. The peak response wavelengths are very similar or even identical between cameras, as are
the effective bandwidths, with two notable exceptions. The Galaxy S8 B filter is significantly
broader than the others, with a comparatively high response at λ - 500 nm. Conversely, the
Phantom Pro 4 has a relatively narrow R filters due to its NIR cut-off around 670 nm rather than
680 nm. Moreover, the R filters in all three cameras show a secondary peak around 535 nm and
nearly identical responses between 570–650 nm.
The spectral response curves measured with iSPEX, shown in Fig. 11, were similar to those
derived from the monochromator data but showed small though significant systematic differences.
No significant differences were found between narrow- and broad-slit spectra, so these were
averaged. RMS differences between iSPEX- and monochromator-derived responses were 0.04,
0.02, and 0.02 (SMARTS2 normalization) and 0.12, 0.11, and 0.10 (black-body normalization), in
RGB respectively. The black-body under-estimated the irradiance <500 nm and over-estimated it
>500 nm compared to the SMARTS2 model, resulting in large deviations in the retrieved spectral
response. The RMS difference between the monochromator-derived and black-body-normalized
iSPEX-derived spectral responses could be reduced to 0.05, 0.11, and 0.04 by multiplying each
filter with an empirical constant. However, systematic differences >0.2 remained in the G filter at
wavelengths of 500-600 nm. Conversely, the SMARTS2-normalized iSPEX-derived spectral
responses only showed a significant systematic difference compared to monochromator data at
wavelengths >650 nm, the origins of which are unclear.
The observed differences between devices have important implications for RGB color measurements and spectroscopy, for example for color measurements as discussed in Sect. 1. The
1.0
0.8
0.6
0.4
0.2
0.0
Monochromator
<u>iSPEX (SMARTS2)</u>
<u>iSPEX (black-body)</u>
400 450 500 550 600 650 700
Wavelength (nm)
Fig. 11. Comparison of the iPhone SE spectral response curves measured with the
monochromator and iSPEX. iSPEX data are normalized using a 5777 K black-body and a
SMARTS2 model, as described in Sect. 3.9.
effective spectral bandwidths are incorporated into the radiometric calibration of imaging data as
described in Sect. 3.10. Furthermore, smartphone spectrometers naturally require calibration for
the spectral response of the camera, as expressed in Eq. (7).
_4.9._ _SPECTACLE database_
To facilitate the use of consumer cameras in scientific projects and improve future compatibility,
we have created the SPECTACLE (Standardised Photographic Equipment Calibration Technique
And CataLoguE) database. It includes the calibration data required for radiometric corrections
(Sect. 3.10), for the most popular cameras. The data are given in standardized formats, split into
three categories (device, camera, and software) to minimize the amount of data required. For
example, two devices using the same camera module have the same spectral response curves
and flat-field response, while software parameters such as bias and ISO speed settings vary.
The former can thus be combined while keeping the latter separate. Since the properties of a
camera may change with firmware updates or changes in manufacturing, database entries may be
split according to device version, rather than assuming devices of the same model are clones.
Finally, given calibration data for multiple identical devices, statistics on variations within a
camera model may be included. The open design of the SPECTACLE database, based on the
Parse platform, allows anyone to use or contribute data, particularly using the calibration apps we
have developed. Submitted data are currently curated by the authors to ensure their quality. As
the database grows, community curation or automated curation based on outlier analysis may
become preferable. [SPECTACLE can be accessed at http://spectacle.ddq.nl/.](http://spectacle.ddq.nl/)
5. Discussion & conclusions
In this work, we have presented a standardized calibration methodology for the most important
factors limiting the quality of consumer camera data, the first to our knowledge. Furthermore,
we have developed the SPECTACLE database, containing calibration data for the most popular
devices. The standardized methodology and the SPECTACLE database have the potential to
improve the sustainability of projects using these cameras, by simplifying their calibration and
the use of multiple camera models.
The main difference between our approach and those in much of the literature is the use of
RAW data. Software constraints previously forced the use of JPEG data, which are compressed
and heavily processed, introducing systematic effects that negatively affect the data quality and are
difficult to calibrate [2,5,9,10,24,32,40,49,50]. The desire to use RAW data has been expressed
widely in the literature [2,9,19,21,24,40,42,57], and their superiority is clearly demonstrated by
the highly linear response and larger dynamic range found in Sect. 4.2. The former is especially
notable since nonlinearity and the associated gamma correction are among the most cited problems
of JPEG data [1,2,9–12,19,22,24,28,32,50–53,55]. While JPEG nonlinearity corrections exist,
either fully empirical or based on the sRGB standard [9,32,51], the wide (1.7–2.6) variations in
gamma and large (>30%) deviations from sRGB profiles shown in Sect. 4.2 and Fig. 4 indicate
that these are inaccurate and difficult to generalize. The highly linear nature of RAW data was
previously demonstrated in [54,57,60] and may be a result of internal linearity corrections in the
CMOS chip [69]. Furthermore, RAW data are not affected by white balance, a color correction
in JPEG processing which severely affects colorimetric measurements, is difficult to calibrate,
and differs strongly between measurements and cameras [1, 4, 8–10, 13, 32, 40, 42, 73]. This
variable gamma correction and white balance make it impossible to invert the JPEG algorithm
and recover RAW data. However, RAW data are no panacea, since they still require further
calibrations. Furthermore, not all consumer cameras support RAW imagery, especially low-end
smartphones; hence the low adoption rate in literature until now. Still, we consider the linearity,
larger dynamic range, and lack of unknown post-processing affecting the data worth relying on
RAW data, especially in a market trending towards broader support.
Inter-pixel and inter-device bias variations and read noise were found to be small in general
(σ<1 for bias variations, mean RON <3 ADU), though with large outliers (Sect. 4.3). These
distributions are similar to those found in several smartphones [14] and a Raspberry Pi camera [57],
though neither work distinguishes between bias variations, read noise, and dark current. The
large-scale patterns seen in Fig. 5 were not found in the literature. Their cause is unclear, though
correlations with inter-pixel gain variations (Sect. 4.6) suggest a common origin. Ultimately,
since both phenomena are small, for most applications these patterns are merely a curiosity
and an estimate in the error budget and masking of outliers is sufficient for further radiometric
calibrations (Sect. 3.10).
While dark current has been implicated in the literature as a major noise source [5,14,34,46,
56–58], the results presented in Sect. 4.4 indicate that it is actually typically quite minor. The
RMS dark current in the iPhone SE and Galaxy S8 (<2 ADU s <sup>−1</sup> ) is similar to values found
in [5, 51, 56, 58], while we found larger outliers, such as >300 pixels with >50 ADU s <sup>−1</sup> in
our Galaxy S8. Similarly to [58], no significant relationship was found between temperature
and residual dark current, though this experiment should be repeated under more controlled
conditions and using internal sensor temperatures to draw strong conclusions. In general, a
quantitative comparison with the literature is difficult, since those studies used JPEG data, not
RAW. While our sample of two cameras is insufficient to draw broad conclusions, these results
suggest that dark current is less important than previously thought. As discussed in Sect. 4.4
and similarly to the aforementioned bias and RON variations, extensive characterization of the
dark current in individual pixels is necessary for low-light applications and spectroscopy as these
are significantly affected by a few ‘bad’ pixels. Conversely, for bright-light conditions the dark
response is typically negligible and an ensemble estimate in the error budget and masking of
outliers are sufficient.
ISO speed normalization is typically done by simply dividing digital values by the ISO
speed [2, 61], but the results presented in Sect. 4.5 and Fig. 6 contradict the validity of this
method. This discrepancy was also identified in [62]. Observed relations differ significantly
from the naïve linear model in shape, offset and slope. For example, differences between the
two models of >5% were found in the Galaxy S8. More extremely, the expected and observed
normalization factor at ISO speed 1840 on the iPhone SE differ by a factor of 10. Moreover,
Android documentation suggests that more complex curves with mixed analog and digital gain
may also be in use. Thus, to prevent similar systematic errors, either a single ISO speed per
device must be used or these relations must be calibrated.
Significant inter-pixel gain variations were found in Sect. 4.6, as shown in Figs. 7 and 8. The
Galaxy S8 showed a strong radial pattern, likely intended as a first-order vignetting correction;
this was not seen in the iPhone SE. Conversely, gain values in the latter differed significantly
between color filters. This may be a color correction called analog white balance, which is
described in the DNG standard [63]; however, in this case it is not clear why significant inter-pixel
variations exist. No previous discussion of such variations in gain in a consumer camera was
found in the literature. Typically, an equal gain in all pixels is assumed in absolute radiometric
calibrations [57,62] but the variations found here cast doubt on the generality of this assumption.
Strong flat-field effects were found in Sect. 4.7, with correction factors up to 2.79. Similarly
large correction factors have been found for other cameras, for instance approximately 2.8 in
a Canon EOS 400D [19] and 650D [20], 4 in a Raspberry Pi camera [57], 1.8 in a Canon
EOS 10D [71], and 1.5 in a Nikon E775 [72]. It should be noted that vignetting is highly
aperture-dependent and thus these correction factors will change with varying apertures [71].
Interestingly, we did not find the large chromatic differences described in [19, 57]. Notably,
the Galaxy S8 showed a much weaker vignetting effect (gmax = 1.43) than the other cameras
(gmax - 2), likely due to the aforementioned inter-pixel gain variations. These may also explain
the strong asymmetry ( ˆ _c_ x = 0.449391(5), _c_ ˆy = 0.426436(9)) seen in the Galaxy S8, due to the
main symmetrical component having been corrected already.
The 7-parameter vignetting model described in the DNG standard [63] fits our data very
well (RMSE ≤3.1% for raw data, ≤0.7% for smoothed data), without significant systematic
differences. Since the typical difference between observed and modeled corrections is small,
pixel-by-pixel flat-fielding is necessary only for applications requiring sub-percent precision. For
those, a flat-field map would be made for each individual device, rather than using the same map
for multiple devices of the same model. Flat-field measurements of the latter could be used to
quantify typical variations in flat-field response among identical devices and further determine
when pixel-by-pixel or modeled flat-field corrections are preferable. The DNG model is also
used for internal vignetting correction in iOS. While this correction is sometimes considered a
major advantage of JPEG data over RAW data, the internal model of the iPhone SE was shown
to be significantly less accurate (RMSE = 5.9%) than one based on our data (RMSE = 0.5%),
contradicting this notion. Moreover, residual vignetting effects up to 15% have been observed in
JPEG data [51]. A comparison to the internal correction data in Android smartphones, consisting
of pixel-by-pixel look-up tables, has not yet been done since these data are relatively difficult to
access.
Finally, three simpler alternative flat-fielding methods were tested, namely imaging the sky,
the sun, and a computer monitor, as described in Sect. 3.8. Applied on the Galaxy S8, data from
these methods differed from the integrating sphere data by ≤5% RMS. These errors mainly result
from a difference in the location of the optical center. The cause of these discrepancies is unclear,
though insufficiently isotropic light sources are an obvious explanation. Nevertheless, the RMS
difference of ≤5% is small compared to the overall flat-field correction of up to 179% and better
than the internal correction of the iPhone (RMS 5.9%). These methods thus serve as a useful
first estimate for the flat-field correction in the absence of integrating sphere data. As discussed
in Sect. 2, many further alternative flat-fielding methods exist [19,20,70–74]. Our data may be
useful as a ground truth for a thorough comparison of such methods akin to [20,54].
The spectral responses found in Sect. 4.8 and shown in Fig. 10 agree well with those found
in the literature [1,2,13,19,23,24,46,51,54,57,59–62], with the RGB curves centered around
600, 520, and 470 nm, respectively. Notably, the strong secondary peaks seen in [2,51] were
not found in our data and may be JPEG artefacts. Differences are mainly found in the wings,
such as the NIR cut-offs [19,46] and harmonics. The comparatively high response of the Galaxy
S8 B filter at wavelengths >500 nm is also seen in the Nokia N900 [23] and Sony A7SII [1],
and to a lesser extent the Galaxy S5 [2], but is otherwise uncommon. The early NIR cut-off
of the Phantom Pro 4 appears to be similarly uncommon but not unique [1,2,23,46]. These
differences again show the importance of spectral characterization for normalizing smartphone
spectrometer data. Furthermore, the significant variations show that the common assumption of
sRGB responses [9,22] does not hold, as has been suggested previously [21], and characterization
of the spectral response is necessary to convert observed colors to color spaces such as CIE
1931 XYZ or CIELAB [23,25]. However, color measurements still depend on the incident light
spectrum [25]; hyperspectral measurements, for example with iSPEX [10], and characterization
of common light sources [1,78] may provide valuable additional information. Finally, while no
significant response was found at wavelengths <390 or >700 nm on our test cameras, it may be
worthwhile in the future and the SPECTACLE database to use a spectral range of 380-780 nm to
follow colorimetric standards [25,52,56].
Spectral response measurements done with the iSPEX smartphone spectrometer [10] agreed
well (RMS differences ≤0.04) with the monochromator measurements (Sect. 4.8 and Fig. 11).
The only systematic difference was an under-estimation at wavelengths >650 nm, though it is
unclear what causes this. The good agreement shows that iSPEX measurements are an adequate
replacement for monochromator data if the latter are not available. This will be especially useful
with the new iSPEX we are developing, which will also feature universal smartphone hardware
interface. One downside of this method is that it requires an accurate solar reference spectrum.
We used one generated with SMARTS2 [76, 77]; this model matches observed solar spectra
very well but it is not very portable or user-friendly for non-expert users. A 5777 K black-body
approximation was also used but reproduced the SMARTS2 spectrum poorly (RMSE of 34%)
and accurate spectral response curves could not be retrieved this way. A more portable model or
set of standard spectra could improve the user-friendliness of this calibration method.
Further alternative methods for spectral response characterization include those based on
multispectral measurements using computational methods to enhance their resolution [25,68,
82,83] or those using a linear variable edge filter [24]. However, the former are not sufficiently
accurate [60] while the latter is not necessarily more accessible than a monochromator. Our data
may be used as a ground-truth for testing other methods akin to [60] but with the advantage of
smartphones being more accessible than the cameras used therein.
Finally, we have created the SPECTACLE database containing the calibration data described
above. The aim of this database is to facilitate the use of consumer cameras in scientific projects
by reducing the labor required for calibration. Data sets containing spectral responses [23,60] and
extensive calibrations of single cameras [57] have been published before but to our knowledge
SPECTACLE is the first comprehensive, centralized spectral and radiometric calibration database.
It is designed with community participation in mind, relying on volunteer contributions to become
and remain complete in the rapidly evolving camera market. This will require a critical mass of
users to maintain it, which is easier if more accessible calibration methods, like those discussed
previously, can be used. We have kick-started this process with the calibrations done in this paper
and will continue this while developing iSPEX.
Though extensive, our calibration methodology is not complete. The two most prominent
missing components are geometric distortions and absolute radiometric calibration. The former
are a well-known phenomenon with a large impact on image quality but relatively simple to
measure and correct [11,16–18,45,74]. A parametric model for distortion is given in the DNG
standard [63] and a comparison between measured distortions and the internal correction models
of different cameras, similar to that done in Sect. 4.7 for vignetting corrections, may be used to
determine the accuracy of the latter. Absolute radiometric calibration is extremely valuable for
quantitative measurements, as described in Sect. 3.10. In principle, our methods and calibration
data contain most of the information required for this, bar a constant _K_ . Absolute radiometric
calibration of consumer cameras has been demonstrated before, notably in the Raspberry Pi
camera [57], and Nikon D300 and Canon 40D [62], though only for a small number of devices.
Another notable example is the Hukseflux Pyranometer app (Sect. 3.8) for measurements of
solar irradiance, though it is intended for education and entertainment rather than scientific
measurements. Finally, most of our calibrations were done on a single device, and differences
between devices may exist, as shown in Fig. 5. Calibration of multiple devices per camera
model would allow the characterization of these differences and the associated errors when using
multiple devices. Additionally, differences may be introduced by changes in manufacturing or
camera software. Characterization of different generations of the same model camera will be
necessary to characterize these, which may result in separate entries in the SPECTACLE database
for each camera version being necessary. However, the modular design of the SPECTACLE
database makes it simple to extend. The simple, standardized calibration methods described in
this work and the SPECTACLE database have the potential to greatly improve the data quality
and sustainability of future scientific projects using consumer cameras.
Funding
European Commission Horizon 2020 program (grant nr. 776480, MONOCLE and grant nr.
824603, ACTION)
Acknowledgments
The authors wish to thank Molly and Chris MacLellan of the NERC Field Spectroscopy Facility
for experimental help and invaluable insights in the flat-field and spectral response measurements.
Figure 1 was drawn using _draw.io_ . Data analysis and visualization were done using the AstroPy,
ExifRead, Matplotlib, NumPy, RawPy, and SciPy libraries for Python. Finally, the authors
wish to thank the two anonymous reviewers for their thorough and constructive reviews. This
project has received funding from the European Union’s Horizon 2020 research and innovation
programme under grant agreement No 776480.
References
1. A. Sánchez de Miguel, C. C. Kyba, M. Aubé, J. Zamorano, N. Cardiel, C. Tapia, J. Bennie, and K. J. Gaston, “Colour
remote sensing of the impact of artificial light at night (I): The potential of the International Space Station and other
DSLR-based platforms,” Remote. Sens. Environ. 224, 92–103 (2019).
2. T. Leeuw and E. Boss, “The HydroColor app: Above water measurements of remote sensing reflectance and turbidity
using a smartphone camera,” Sensors 18, 256 (2018).
3. Y. Yang, L. L. Cowen, and M. Costa, “Is ocean reflectance acquired by citizen scientists robust for science applications?”
Remote. Sens. 10, 835 (2018).
4. J. B. Gallagher and C. H. Chuan, “Chlorophyll a and turbidity distributions: Applicability of using a smartphone app
across two contrasting bays,” J. Coast. Res. 34, 1236–1243 (2018).
5. D. P. Igoe, A. V. Parisi, A. Amar, N. J. Downs, and J. Turner, “Atmospheric total ozone column evaluation with a
smartphone image sensor,” Int. J. Remote. Sens. 39, 2766–2783 (2018).
6. A. Hänel, T. Posch, S. J. Ribas, M. Aubé, D. Duriscoe, A. Jechow, Z. Kollath, D. E. Lolkema, C. Moore, N. Schmidt,
H. Spoelstra, G. Wuchterl, and C. C. Kyba, “Measuring night sky brightness: methods and challenges,” J. Quant.
Spectrosc. Radiat. Transf. 205, 278–290 (2018).
7. F. Cai, W. Lu, W. Shi, and S. He, “A mobile device-based imaging spectrometer for environmental monitoring by
attaching a lightweight small module to a commercial digital camera,” Sci. Reports 7, 15602 (2017).
8. A. Friedrichs, J. A. Busch, H. J. van der Woerd, and O. Zielinski, “SmartFluo: A method and affordable adapter to
measure chlorophyll a fluorescence with smartphones,” Sensors 17, 678 (2017).
9. S. Novoa, M. R. Wernand, and H. J. van der Woerd, “WACODI: A generic algorithm to derive the intrinsic color of
natural waters from digital images,” Limnol. Oceanogr. Methods 13, 697–711 (2015).
10. F. Snik, J. H. H. Rietjens, A. Apituley, H. Volten, B. Mijling, A. Di Noia, S. Heikamp, R. C. Heinsbroek, O. P.
Hasekamp, J. M. Smit, J. Vonk, D. M. Stam, G. van Harten, J. de Boer, C. U. Keller, and . ISPEX citizen scientists,
“Mapping atmospheric aerosols with a citizen science network of smartphone spectropolarimeters,” Geophys. Res.
Lett. 41, 7351–7358 (2014).
11. S. Sumriddetchkajorn, K. Chaitavon, and Y. Intaravanne, “Mobile-platform based colorimeter for monitoring chlorine
concentration in water,” Sensors Actuators B: Chem. 191, 561–566 (2014).
12. A. Kreuter, C. Emde, and M. Blumthaler, “Measuring the influence of aerosols and albedo on sky polarization,”
Atmospheric Res. 98, 363–367 (2010).
13. L. Goddijn-Murphy, D. Dailloux, M. White, and D. G. Bowers, “Fundamentals of in situ digital camera methodology
for water quality monitoring of coast and ocean,” Sensors 9, 5825–5843 (2009).
14. D. Whiteson, M. Mulhearn, C. Shimmin, K. Cranmer, K. Brodie, and D. Burns, “Searching for ultra-high energy
cosmic rays with smartphones,” Astropart. Phys. 79, 1–9 (2016).
15. M. Ruwaimana, B. Satyanarayana, V. Otero, A. M. Muslim, M. Syafiq A., S. Ibrahim, D. Raymaekers, N. Koedam,
and F. Dahdouh-Guebas, “The advantages of using drones over space-borne imagery in the mapping of mangrove
forests,” PLOS ONE 13, e0200288 (2018).
16. J. Rasmussen, G. Ntakos, J. Nielsen, J. Svensgaard, R. N. Poulsen, and S. Christensen, “Are vegetation indices
derived from consumer-grade cameras mounted on UAVs sufficiently reliable for assessing experimental plots?” Eur.
J. Agron. 74, 75–92 (2016).
17. K. Flynn and S. Chapra, “Remote sensing of submerged aquatic vegetation in a shallow non-turbid river using an
unmanned aerial vehicle,” Remote. Sens. 6, 12815–12836 (2014).
18. X. Liang, A. Jaakkola, Y. Wang, J. Hyyppä, E. Honkavaara, J. Liu, and H. Kaartinen, “The use of a hand-held camera
for individual tree 3D mapping in forest sample plots,” Remote. Sens. 6, 6587–6603 (2014).
19. V. Lebourgeois, A. Bégué, S. Labbé, B. Mallavan, L. Prévot, and B. Roux, “Can commercial digital cameras be used
as multispectral sensors? A crop monitoring test,” Sensors 8, 7300–7322 (2008).
20. A. Kordecki, A. Bal, and H. Palus, “A study of vignetting correction methods in camera colorimetric calibration,” in
_Proc. SPIE 10341,_ vol. 10341 (International Society for Optics and Photonics, 2017), p. 103410X.
21. R. Nguyen, D. K. Prasad, and M. S. Brown, “Raw-to-raw: Mapping between image sensor color responses,” in _The_
_IEEE Conference on Computer Vision and Pattern Recognition (CVPR),_ (2014), pp. 3398–3405.
22. R. Charrière, M. Hébert, A. Trémeau, and N. Destouches, “Color calibration of an RGB camera mounted in front of a
microscope with strong color distortion,” Appl. Opt. 52, 5262–5271 (2013).
23. J. Jiang, D. Liu, J. Gu, and S. Susstrunk, “What is the space of spectral sensitivity functions for digital color cameras?”
in _2013 IEEE Workshop on Applications of Computer Vision (WACV),_ (IEEE, 2013), pp. 168–179.
24. D. L. Bongiorno, M. Bryson, D. G. Dansereau, and S. B. Williams, “Spectral characterization of COTS RGB cameras
using a linear variable edge filter,” in _Proc. SPIE 8660, Digital Photography IX,_ N. Sampat and S. Battiato, eds.
(International Society for Optics and Photonics, 2013), p. 86600N.
25. V. Cheung, C. Li, J. Hardeberg, D. Connah, and S. Westland, “Characterization of trichromatic color cameras by
using a new multispectral imaging technique,” J. Opt. Soc. Am. A 22, 1231–1240 (2005).
26. A. Khedekar, B. Devarajan, K. Ramasamy, V. Muthukkaruppan, and U. Kim, “Smartphone-based application
improves the detection of retinoblastoma,” Eye (2019).
27. R. G. Mannino, D. R. Myers, E. A. Tyburski, C. Caruso, J. Boudreaux, T. Leong, G. D. Clifford, and W. A. Lam,
“Smartphone app for non-invasive detection of anemia using only patient-sourced photos,” Nat. Commun. 9, 4924
(2018).
28. H. Ding, C. Chen, S. Qi, C. Han, and C. Yue, “Smartphone-based spectrometer with high spectral accuracy for
mHealth application,” Sensors Actuators A: Phys. 274, 94–100 (2018).
29. L.-J. Wang, Y.-C. Chang, R. Sun, and L. Li, “A multichannel smartphone optical biosensor for high-throughput
point-of-care diagnostics,” Biosens. Bioelectron. 87, 686–692 (2017).
30. K. D. Long, E. V. Woodburn, H. M. Le, U. K. Shah, S. S. Lumetta, and B. T. Cunningham, “Multimode smartphone
biosensing: the transmission, reflection, and intensity spectral (TRI)-analyzer,” Lab on a Chip 17, 3246–3257 (2017).
31. A. Lam and Y. Kuno, “Robust heart rate measurement from video using select random patches,” in _The_ _IEEE_
_International Conference on Computer Vision (ICCV),_ (2015), pp. 3640–3648.
32. A. Skandarajah, C. D. Reber, N. A. Switz, D. A. Fletcher, and A. J. Kabla, “Quantitative imaging with a mobile
phone microscope,” PLOS ONE 9, e96906 (2014).
33. Z. J. Smith, K. Chu, A. R. Espenson, M. Rahimzadeh, A. Gryshuk, M. Molinaro, D. M. Dwyre, S. Lane, D. Matthews,
and S. Wachsmann-Hogiu, “Cell-phone-based platform for biomedical device development and education applications,”
PLOS ONE 6, e17150 (2011).
34. H. Kim, Y. Jung, I.-J. Doh, R. A. Lozano-Mahecha, B. Applegate, and E. Bae, “Smartphone-based low light detection
for bioluminescence application,” Sci. Reports 7, 40203 (2017).
35. M. Grossi, “A sensor-centric survey on the development of smartphone measurement and sensing systems,”
Measurement 135, 572–592 (2019).
36. A. A. Zaidan, B. B. Zaidan, O. S. Albahri, M. A. Alsalem, A. S. Albahri, Q. M. Yas, and M. Hashim, “A review
on smartphone skin cancer diagnosis apps in evaluation and benchmarking: coherent taxonomy, open issues and
recommendation pathway solution,” Heal. Technol. 8, 223–238 (2018).
37. S. Kanchi, M. I. Sabela, P. S. Mdluli, Inamuddin, and K. Bisetty, “Smartphone based bioanalytical and diagnosis
applications: A review,” Biosens. Bioelectron. 102, 136–149 (2018).
38. X. Huang, D. Xu, J. Chen, J. Liu, Y. Li, J. Song, X. Ma, and J. Guo, “Smartphone-based analytical biosensors,”
Analyst 143, 5339–5351 (2018).
39. A. J. S. McGonigle, T. C. Wilkes, T. D. Pering, J. R. Willmott, J. M. Cook, F. M. Mims, and A. V. Parisi, “Smartphone
spectrometers,” Sensors 18, 1–15 (2018).
40. G. Rateni, P. Dario, and F. Cavallo, “Smartphone-based food diagnostic technologies: A review,” Sensors 17, 1453
(2017).
41. F. Li, Y. Bao, D. Wang, W. Wang, and L. Niu, “Smartphones for sensing,” Sci. Bull. 61, 190–201 (2016).
42. K. E. McCracken and J.-Y. Yoon, “Recent approaches for optical smartphone sensing in resource-limited settings: a
brief review,” Anal. Methods 8, 6591–6601 (2016).
43. R. A. Crocombe, “Portable Spectroscopy,” Appl. Spectrosc. 72, 1701–1751 (2018).
44. S. Manfreda, M. McCabe, P. Miller, R. Lucas, V. Pajuelo Madrigal, G. Mallinis, E. Ben Dor, D. Helman, L. Estes,
G. Ciraolo, J. Müllerová, F. Tauro, M. de Lima, J. de Lima, A. Maltese, F. Frances, K. Caylor, M. Kohv, M. Perks,
G. Ruiz-Pérez, Z. Su, G. Vico, and B. Toth, “On the use of unmanned aerial systems for environmental monitoring,”
Remote. Sens. 10, 641 (2018).
45. F. Tauro, M. Porfiri, and S. Grimaldi, “Surface flow measurements from drones,” J. Hydrol. 540, 240–245 (2016).
46. E. Berra, S. Gibson-Poole, A. MacArthur, R. Gaulton, and A. Hamilton, “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,” in _International Conference on Unmanned Aerial Vehicles in Geomatics,_ (2015), pp.
207–214.
47. P. C. Gray, J. T. Ridge, S. K. Poulin, A. C. Seymour, A. M. Schwantes, J. J. Swenson, and D. W. Johnston, “Integrating
drone imagery into high resolution satellite remote sensing assessments of estuarine environments,” Remote. Sens.
10, 1257 (2018).
48. S. Levin, S. Krishnan, S. Rajkumar, N. Halery, and P. Balkunde, “Monitoring of fluoride in water samples using a
smartphone,” Sci. The Total. Environ. 551-552, 101–107 (2016).
49. C. Zhang, G. Cheng, P. Edwards, M.-D. Zhou, S. Zheng, and Z. Liu, “G-Fresnel smartphone spectrometer,” Lab on a
Chip 16, 246–250 (2016).
50. A. Kreuter, M. Zangerl, M. Schwarzmann, and M. Blumthaler, “All-sky imaging: a simple, versatile system for
atmospheric research,” Appl. Opt. 48, 1091–1097 (2009).
51. C. A. Coburn, A. M. Smith, G. S. Logie, and P. Kennedy, “Radiometric and spectral comparison of inexpensive
camera systems used for remote sensing,” Int. J. Remote. Sens. 39, 4869–4890 (2018).
52. Y. Q. Xu, J. Hua, Z. Gong, W. Zhao, Z. Q. Zhang, C. Y. Xie, Z. T. Chen, and J. F. Chen, “Visible light communication
using dual camera on one smartphone,” Opt. Express 26, 34609–34621 (2018).
53. Y. Wang, M. M. A. Zeinhom, M. Yang, R. Sun, S. Wang, J. N. Smith, C. Timchalk, L. Li, Y. Lin, and
D. Du, “A 3D-printed, portable, optical-sensing platform for smartphones capable of detecting the herbicide
2,4-dichlorophenoxyacetic acid,” Anal. Chem. 89, 9339–9346 (2017).
54. A. Manakov, “Evaluation of computational radiometric and spectral sensor calibration techniques,” in _Proc. SPIE_
_9896,_ vol. 9896 (International Society for Optics and Photonics, 2016), p. 98960O.
55. A. Cescatti, “Indirect estimates of canopy gap fraction based on the linear conversion of hemispherical photographs:
Methodology and comparison with standard thresholding techniques,” Agric. For. Meteorol. 143, 1–12 (2007).
56. J. Turner, A. V. Parisi, D. P. Igoe, and A. Amar, “Detection of ultraviolet B radiation with internal smartphone
sensors,” Instrumentation Sci. & Technol. 45, 618–638 (2017).
57. M. Pagnutti, R. E. Ryan, G. Cazenavette, M. Gold, R. Harlan, E. Leggett, and J. Pagnutti, “Laying the foundation to
use Raspberry Pi 3 V2 camera module imagery for scientific and engineering purposes,” J. Electron. Imaging 26,
013014 (2017).
58. D. P. Igoe, A. V. Parisi, and B. Carter, “A method for determining the dark response for scientific imaging with
smartphones,” Instrumentation Sci. Technol. 42, 586–592 (2014).
59. D. Javoršek, T. Jerman, and A. Javoršek, “Comparison of two digital cameras based on spectral data estimation
obtained with two methods,” Acta Polytech. Hungarica 12, 183–197 (2015).
60. M. M. Darrodi, G. Finlayson, T. Goodman, and M. Mackiewicz, “Reference data set for camera spectral sensitivity
estimation,” J. Opt. Soc. Am. A 32, 381–391 (2015).
61. H. Zhao, R. Kawakami, R. T. Tan, and K. Ikeuchi, “Estimating basis functions for spectral sensitivity of digital
cameras,” in _Meeting on Image Recognition and Understanding (MIRU),_ (2009).
62. F. Sigernes, M. Dyrland, N. Peters, D. A. Lorentzen, T. Svenøe, K. Heia, S. Chernouss, C. S. Deehr, and M. Kosch,
“The absolute sensitivity of digital colour cameras,” Opt. Express 17, 20211–20220 (2009).
63. Adobe Systems Incorporated, “Digital Negative (DNG) specification, version 1.4.0.0,” Tech. rep. (2012).
64. European Machine Vision Association, “EMVA standard 1288: Standard for characterization of image sensors and
cameras,” Tech. rep. (2016).
65. B. E. Bayer, “Color imaging array,” (1975).
66. C.-H. Lin, K.-L. Chung, and C.-W. Yu, “Novel chroma subsampling strategy based on mathematical optimization for
compressing mosaic videos with arbitrary RGB color filter arrays in H.264/AVC and HEVC,” IEEE Transactions on
Circuits Syst. for Video Technol. 26, 1722–1733 (2016).
67. D. Menon, S. Andriani, and G. Calvagno, “Demosaicing with directional filtering and a posteriori decision,” IEEE
Transactions on Image Process. 16, 132–141 (2007).
68. G. Finlayson, M. M. Darrodi, and M. Mackiewicz, “Rank-based camera spectral sensitivity estimation,” J. Opt. Soc.
Am. A 33, 589–599 (2016).
69. H. Zhang and E. Sanchez-Sinencio, “Linearization techniques for CMOS low noise amplifiers: A tutorial,” IEEE
Transactions on Circuits Syst. I: Regul. Pap. 58, 22–36 (2011).
70. V. D. Silva, V. Chesnokov, and D. Larkin, “A novel adaptive shading correction algorithm for camera systems,”
Electron. Imaging 2016, 1–5 (2016).
71. D. B. Goldman, “Vignette and exposure calibration and compensation,” IEEE Transactions on Pattern Analysis Mach.
Intell. 32, 2276–2288 (2010).
72. Y. Zheng, S. Lin, C. Kambhamettu, J. Yu, and S. Bing Kang, “Single-image vignetting correction,” IEEE Transactions
on Pattern Analysis Mach. Intell. 31, 2243–2256 (2009).
73. S. J. Kim and M. Pollefeys, “Robust radiometric calibration and vignetting correction,” IEEE Transactions on Pattern
Analysis Mach. Intell. 30, 562–576 (2008).
74. W. Yu, Y. Chung, and J. Soh, “Vignetting distortion correction method for high quality digital imaging,” in
_Proceedings of the 17th International Conference on Pattern Recognition, 2004. ICPR 2004._, (IEEE, 2004), pp.
666–669.
75. I. S. McLean, _Electronic imaging in astronomy:_ _detectors and instrumentation_ (Springer-Verlag Berlin Heidelberg,
2008).
76. C. A. Gueymard, “Parameterized transmittance model for direct beam and circumsolar spectral irradiance,” Sol.
Energy 71, 325–346 (2001).
77. C. A. Gueymard, “SMARTS2, A Simple Model of the Atmospheric Radiative Transfer of Sunshine: Algorithms and
performance assessment,” Tech. rep., Florida Solar Energy Center/University of Central Florida (1995).
78. C. E. Tapia Ayuga and J. Zamorano, “LICA AstroCalc, a software to analyze the impact of artificial light: Extracting
parameters from the spectra of street and indoor lamps,” J. Quant. Spectrosc. Radiat. Transf. 214, 33–38 (2018).
79. J. R. Schott, _Remote sensing:_ _the image chain approach_ (Oxford University Press, 2007), 2nd ed.
80. U. Beisl, “Absolute spectroradiometric calibration of the ADS40 sensor,” in _Proc._ _of_ _the_ _ISPRS_ _Commission_ _I_
_Symposium "From Sensors to Imagery", Paris – Marne-la-Vallée,_ (2006).
81. S. W. Brown, T. C. Larason, C. Habauzit, G. P. Eppeldauer, Y. Ohno, and K. R. Lykke, “Absolute radiometric
calibration of digital imaging systems,” in _Proc. SPIE 4306,_ vol. 4306 M. M. Blouke, J. Canosa, and N. Sampat, eds.
(International Society for Optics and Photonics, 2001).
82. S. Chaji, A. Pourreza, H. Pourreza, and M. Rouhani, “Estimation of the camera spectral sensitivity function using
neural learning and architecture,” J. Opt. Soc. Am. A 35, 850–858 (2018).
83. P.-K. Yang, “Determining the spectral responsivity from relative measurements by using multicolor light-emitting
diodes as probing light sources,” Optik 126, 3088–3092 (2015).
섹션 본문
섹션 본문이 없습니다.
참고문헌 68건
- Colour remote sensing of the impact of artificial light at night (I): The potential of the International Space Station and other DSLR-based platforms Remote Sensing of Environment · Elsevier BV · 2019 10.1016/j.rse.2019.01.035
- The HydroColor App: Above Water Measurements of Remote Sensing Reflectance and Turbidity Using a Smartphone Camera Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18010256
- Is Ocean Reflectance Acquired by Citizen Scientists Robust for Science Applications? Remote Sensing · Multidisciplinary Digital Publishing Institute · 2018 10.3390/rs10060835
- Chlorophyll <i>a</i> and Turbidity Distributions: Applicability of Using a Smartphone “App” Across Two Contrasting Bays Journal of Coastal Research · Coastal Education and Research Foundation · 2018 10.2112/jcoastres-d-16-00221.1
- Atmospheric total ozone column evaluation with a smartphone image sensor International Journal of Remote Sensing · Taylor & Francis · 2018 10.1080/01431161.2018.1433895
- Measuring night sky brightness: methods and challenges Journal of Quantitative Spectroscopy and Radiative Transfer · Elsevier BV · 2017 10.1016/j.jqsrt.2017.09.008
- A mobile device-based imaging spectrometer for environmental monitoring by attaching a lightweight small module to a commercial digital camera Scientific Reports · Nature Portfolio · 2017 10.1038/s41598-017-15848-x
- SmartFluo: A Method and Affordable Adapter to Measure Chlorophyll a Fluorescence with Smartphones Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17040678
- WACODI: A generic algorithm to derive the intrinsic color of natural waters from digital images Limnology and Oceanography Methods · Wiley · 2015 10.1002/lom3.10059
- Mapping atmospheric aerosols with a citizen science network of smartphone spectropolarimeters Geophysical Research Letters · American Geophysical Union · 2014 10.1002/2014gl061462
- Mobile-platform based colorimeter for monitoring chlorine concentration in water Sensors and Actuators B Chemical · Elsevier BV · 2013 10.1016/j.snb.2013.10.024
- Measuring the influence of aerosols and albedo on sky polarization Atmospheric Research · Elsevier BV · 2010 10.1016/j.atmosres.2010.07.010
- Fundamentals of in Situ Digital Camera Methodology for Water Quality Monitoring of Coast and Ocean Sensors · Multidisciplinary Digital Publishing Institute · 2009 10.3390/s90705825
- Searching for ultra-high energy cosmic rays with smartphones Astroparticle Physics · Elsevier BV · 2016 10.1016/j.astropartphys.2016.02.002
- The advantages of using drones over space-borne imagery in the mapping of mangrove forests PLoS ONE · Public Library of Science · 2018 10.1371/journal.pone.0200288
- Are vegetation indices derived from consumer-grade cameras mounted on UAVs sufficiently reliable for assessing experimental plots? European Journal of Agronomy · Elsevier BV · 2015 10.1016/j.eja.2015.11.026
- Remote Sensing of Submerged Aquatic Vegetation in a Shallow Non-Turbid River Using an Unmanned Aerial Vehicle Remote Sensing · Multidisciplinary Digital Publishing Institute · 2014 10.3390/rs61212815
- The Use of a Hand-Held Camera for Individual Tree 3D Mapping in Forest Sample Plots Remote Sensing · Multidisciplinary Digital Publishing Institute · 2014 10.3390/rs6076587
- Can Commercial Digital Cameras Be Used as Multispectral Sensors? A Crop Monitoring Test Sensors · Multidisciplinary Digital Publishing Institute · 2008 10.3390/s8117300
- Raw-to-Raw: Mapping between Image Sensor Color Responses 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2014 10.1109/cvpr.2014.434
- Color calibration of an RGB camera mounted in front of a microscope with strong color distortion Applied Optics · Optica Publishing Group · 2013 10.1364/ao.52.005262
- What is the space of spectral sensitivity functions for digital color cameras? 2013 10.1109/wacv.2013.6475015
- 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
- Characterization of trichromatic color cameras by using a new multispectral imaging technique Journal of the Optical Society of America A · Optica Publishing Group · 2005 10.1364/josaa.22.001231
- Smartphone app for non-invasive detection of anemia using only patient-sourced photos Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-07262-2
- Smartphone-based spectrometer with high spectral accuracy for mHealth application Sensors and Actuators A Physical · Elsevier BV · 2018 10.1016/j.sna.2018.03.008
- A multichannel smartphone optical biosensor for high-throughput point-of-care diagnostics Biosensors and Bioelectronics · Elsevier BV · 2016 10.1016/j.bios.2016.09.021
- Multimode smartphone biosensing: the transmission, reflection, and intensity spectral (TRI)-analyzer Lab on a Chip · Royal Society of Chemistry · 2017 10.1039/c7lc00633k
- Robust Heart Rate Measurement from Video Using Select Random Patches 2015 10.1109/iccv.2015.415
- Quantitative Imaging with a Mobile Phone Microscope PLoS ONE · Public Library of Science · 2014 10.1371/journal.pone.0096906
- Cell-Phone-Based Platform for Biomedical Device Development and Education Applications PLoS ONE · Public Library of Science · 2011 10.1371/journal.pone.0017150
- Smartphone-based low light detection for bioluminescence application Scientific Reports · Nature Portfolio · 2017 10.1038/srep40203
- A sensor-centric survey on the development of smartphone measurement and sensing systems Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.12.014
- A review on smartphone skin cancer diagnosis apps in evaluation and benchmarking: coherent taxonomy, open issues and recommendation pathway solution Health and Technology · Springer Science+Business Media · 2018 10.1007/s12553-018-0223-9
- Smartphone based bioanalytical and diagnosis applications: A review Biosensors and Bioelectronics · Elsevier BV · 2017 10.1016/j.bios.2017.11.021
- Smartphone-based analytical biosensors The Analyst · Royal Society of Chemistry · 2018 10.1039/c8an01269e
- Smartphone Spectrometers Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18010223
- Smartphone-Based Food Diagnostic Technologies: A Review Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17061453
- Smartphones for sensing Science Bulletin · Elsevier BV · 2015 10.1007/s11434-015-0954-1
- Recent approaches for optical smartphone sensing in resource-limited settings: a brief review Analytical Methods · Royal Society of Chemistry · 2016 10.1039/c6ay01575a
- Portable Spectroscopy Applied Spectroscopy · SAGE Publishing · 2018 10.1177/0003702818809719
- On the Use of Unmanned Aerial Systems for Environmental Monitoring Remote Sensing · Multidisciplinary Digital Publishing Institute · 2018 10.3390/rs10040641
- Surface flow measurements from drones Journal of Hydrology · Elsevier BV · 2016 10.1016/j.jhydrol.2016.06.012
- Integrating Drone Imagery into High Resolution Satellite Remote Sensing Assessments of Estuarine Environments Remote Sensing · Multidisciplinary Digital Publishing Institute · 2018 10.3390/rs10081257
- Monitoring of fluoride in water samples using a smartphone The Science of The Total Environment · Elsevier BV · 2016 10.1016/j.scitotenv.2016.01.156
- G-Fresnel smartphone spectrometer Lab on a Chip · Royal Society of Chemistry · 2015 10.1039/c5lc01226k
- All-sky imaging: a simple, versatile system for atmospheric research Applied Optics · Optica Publishing Group · 2009 10.1364/ao.48.001091
- Radiometric and spectral comparison of inexpensive camera systems used for remote sensing International Journal of Remote Sensing · Taylor & Francis · 2018 10.1080/01431161.2018.1466085
- Visible light communication using dual camera on one smartphone Optics Express · Optica Publishing Group · 2018 10.1364/oe.26.034609
- A 3D-Printed, Portable, Optical-Sensing Platform for Smartphones Capable of Detecting the Herbicide 2,4-Dichlorophenoxyacetic Acid Analytical Chemistry · American Chemical Society · 2017 10.1021/acs.analchem.7b02139
- Indirect estimates of canopy gap fraction based on the linear conversion of hemispherical photographs Agricultural and Forest Meteorology · Elsevier BV · 2007 10.1016/j.agrformet.2006.04.009
- Detection of ultraviolet B radiation with internal smartphone sensors Instrumentation Science & Technology · Taylor & Francis · 2017 10.1080/10739149.2017.1298042
- Laying the foundation to use Raspberry Pi 3 V2 camera module imagery for scientific and engineering purposes Journal of Electronic Imaging · SPIE · 2017 10.1117/1.jei.26.1.013014
- A METHOD FOR DETERMINING THE DARK RESPONSE FOR SCIENTIFIC IMAGING WITH SMARTPHONES Instrumentation Science & Technology · Taylor & Francis · 2014 10.1080/10739149.2014.915557
- 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
- The absolute sensitivity of digital colour cameras Optics Express · Optica Publishing Group · 2009 10.1364/oe.17.020211
- Novel Chroma Subsampling Strategy Based on Mathematical Optimization for Compressing Mosaic Videos With Arbitrary RGB Color Filter Arrays in H.264/AVC and HEVC IEEE Transactions on Circuits and Systems for Video Technology · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcsvt.2015.2472118
- Demosaicing With Directional Filtering and a posteriori Decision IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2006 10.1109/tip.2006.884928
- Rank-based camera spectral sensitivity estimation Journal of the Optical Society of America A · Optica Publishing Group · 2016 10.1364/josaa.33.000589
- Linearization Techniques for CMOS Low Noise Amplifiers: A Tutorial IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2010 10.1109/tcsi.2010.2055353
- A Novel Adaptive Shading Correction Algorithm for Camera Systems Electronic Imaging · Society for Imaging Science & Technology · 2016 10.2352/issn.2470-1173.2016.18.dpmi-249
- Vignette and Exposure Calibration and Compensation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2010 10.1109/tpami.2010.55
- Single-Image Vignetting Correction IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2008 10.1109/tpami.2008.263
- Robust Radiometric Calibration and Vignetting Correction IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2008 10.1109/tpami.2007.70732
- Parameterized transmittance model for direct beam and circumsolar spectral irradiance Solar Energy · Elsevier BV · 2001 10.1016/s0038-092x(01)00054-8
- LICA AstroCalc, a software to analyze the impact of artificial light: Extracting parameters from the spectra of street and indoor lamps Journal of Quantitative Spectroscopy and Radiative Transfer · Elsevier BV · 2018 10.1016/j.jqsrt.2018.04.022
- Estimation of the camera spectral sensitivity function using neural learning and architecture Journal of the Optical Society of America A · Optica Publishing Group · 2018 10.1364/josaa.35.000850
- Determining the spectral responsivity from relative measurements by using multicolor light-emitting diodes as probing light sources Optik · Elsevier BV · 2015 10.1016/j.ijleo.2015.07.097