Professional Documents
Culture Documents
Abstract—Windscreen optical quality is an important aspect the future promise of autonomous driving (AD) many cars
of any advanced driver assistance system, and also for future nowadays are equipped with several camera systems, many
autonomous driving, as today at least some cameras of the of which are situated behind the windscreen. A camera is
sensor suite are situated behind the windscreen. Automotive mass
production processes require measurement systems that charac- not a human observer, and it is now not enough to qualify a
terize the optical quality of the windscreens in a meaningful windscreen using human perception, especially as the quality
way, which for modern perception stacks implies meaningful and resolution of the cameras are steadily increasing. The
for artificial intelligence (AI) algorithms. The measured optical influence of the optical quality on the image quality and further
quality needs to be linked to the performance of these algorithms, on the computer vision algorithms evaluating these images has
such that performance limits – and thus production tolerance
limits – can be defined. In this article we demonstrate that to be precisely determined.
the main metric established in the industry – refractive power In theory, the working limits of the computer vision al-
– is fundamentally not capable of capturing relevant optical gorithms are determined, and production tolerance limits are
properties of windscreens. Further, as the industry is moving derived from these algorithmic working limits through a num-
towards the modulation transfer function (MTF) as an alterna- ber of processes defined in the above mentioned quality norms.
tive, we mathematically show that this metric cannot be used on
windscreens alone, but that the windscreen forms a novel optical Opto-mechanical tolerance calculations, numerical simulations
system together with the optics of the camera system. Hence, and test campaigns in the real world form three important
the required goal of a qualification system that is installed at pillars of these studies accompanied by environmental stress
the windscreen supplier and independently measures the optical tests and aging simulations [7], [15].
quality cannot be achieved using MTF. We propose a novel In practice, though, modern camera-based ADAS appli-
concept to determine the optical quality of windscreens and to
use simulation to link this optical quality to the performance cations are based on artificial intelligence (AI) and employ
of AI algorithms, which can hopefully lead to novel inspection deep convolutional neural networks, due to their superior
systems. performance in comparison to traditional, rule-based computer
Index Terms—windscreen optical quality, AI algorithms, com- vision algorithms. The difference in performance is such that
puter vision, refractive power, MTF currently there is no alternative to using AI algorithms. As
these AI algorithms are ’black boxes’ in nature [13], i.e. the
I. I NTRODUCTION output cannot be predicted, the link between optical quality
Every car has a windscreen. The number of newly pro- and AI algorithm performance cannot be easily established
duced windscreens therefore ranges in the millions every year. [25]. And due to the lack of quantitative working limits
Following quality processes for automotive mass production w.r.t. the AI algorithms, production tolerance limits for the
established since the 1960ies – like the outdated ISO/TS 16949 windscreens can not be straightforwardly deduced [4].
[18] or the more recent VDA6.3 [31] – these windscreens are In this article we are evaluating the two main measurement
tested end-of-line (EOL) at the suppliers (Tier 1) production processes that are currently used in the automotive industry
line using well-defined optical measurements. Importantly, the to qualify windscreen optical quality: refractive power and the
windscreen quality is measured at the production site alone, modulation transfer function (MTF). While refractive power is
independent of any production tolerances that may arise during the established measurement method and has been standard-
assembly of the whole car at the site of the car manufacturer ized already in the 1990ies [6], [9], the MTF – or equivalently
(original equipment manufacturer, OEM). Economically, this the spatial frequency response (SFR) – has gained recent
is mandatory, as a thorough testing of the whole windscreen attention as automotive researchers [32] look for alternatives
after assembly by the OEM is prohibitively expensive. to refractive power because of the increasing ADAS camera
For several decades the optical quality of these windscreens performances in terms of the number of pixels per field angle.
has been judged acceptable if humans could look through Novel startups are even forming around the promise of using
it with low impact on the perception of the driver. With MTF to characterize windscreens.
the rise of advanced driver assistance systems (ADAS) and We find and mathematically demonstrate in this work that
both refractive power and MTF are not sufficient to quantify aberrations, where the optical path difference mathematically
windscreen quality for AI algorithm performance. This is models the aberrations present in the windscreen.
a fundamental finding in that our results are derived from
A. Wavefront Modelling with Zernike Polynomials
first principles of optics, and apply very generally. First, we
recapitulate the optical basics in Sec. II. Importantly, the The optical path difference W , defined on the principle
optical quality is described in terms of wavefront aberrations, plane, is usually expressed as a decomposition into Zernike
using the Zernike formalism to mathematically decompose the polynomials Zn with corresponding Zernike coefficients cn
nature of the optical perturbations. Then in Sec. III, using (in units of meters) as [3]:
these basics we show how refractive power is fundamentally ∞
X (2)
not capable of accounting for a distinct number of wavefront W (ρ, ϕ) = cn Zn (ρ, ϕ) , cn : = ⟨W, Zn ⟩ . (1)
aberrations, while at the same time these aberrations have a n=0
demonstrable effect on AI algorithm performance [24], [26]. Here, the domain of the principle plane of the optical element
In Sec. IV we then show how the windscreen and the camera is parameterized by normalized polar coordinates with radius ρ
system form a joint optical system, that – again fundamentally and polar angle ϕ. There are different numbering schemes for
– cannot be separated into two distinct optical systems. This Zernike polynomials, i.a. a linear numbering scheme according
separation, though, is a necessary requirement in linear system to the American National Standards Institute (ANSI) which
theory for the multiplicativity of the system MTF w.r.t. the has been adopted within this work. The Zernike polynomi-
individual optical elements [12]. Therefore, this prohibits any als reproduce the aberration pattern on the unit circle and
MTF measurement on the windscreen alone, and thus from correspond to different, independent optical perturbations like
using MTF as a qualifying measurement at the production site defocus or astigmatism.
of the Tier 1. The independence of the perturbations is mathematically
Optical quality has many different aspects. For this article, reflected by the orthogonality relation of the scalar product:
we concentrate solely on the ’sharpness’ of the camera image,
ˆ2πˆ1
which is deteriorated by optical path variations across the
windshield plane and is typically quantified by the MTF in ⟨Zi , Zj ⟩ := Zi (ρ, ϕ)·Zj (ρ, ϕ)·ρ dρ dϕ = π ·δij . (2)
optical linear system theory. In general, lens distortions, which 0 0
describe the failure of a lens to map lines into lines and This is important, because we will demonstrate how certain
represent a curvilinear mapping [28], might also deteriorate Zernike polynomials are simply not present in the refrac-
the performance of ADAS functionalities. Effects of optical tive power measurement, and the orthogonality fundamentally
distortions will not be considered in the following. implies that this information can not be recovered. Table I
In summary, we will show how the two only current indicates the normalized Zernike polynomials defined by ISO
measurement techniques in the automotive industry are not 24157 [17] up to the third order.
sufficient to measure the sharpness of the windscreen alone.
These results have far reaching implications for the automotive B. Refractive Power
industry, which needs to focus more effort on finding alterna- Refractive power measures how much focusing power a lens
tives. We finally propose a concept on how to find a novel has. It is given in units of diopters, i.e. in inverse distance of
measurement process, combining optical modeling, numerical the focal length of the lens. A comprehensible way to visualize
simulation and AI algorithms to link the optical quality of refractive power is two parallel light rays entering the optical
windscreens to the performance of AI algorithms. system – here: the windscreen – and upon exit are not parallel
anymore, but either divergent or convergent. In the convergent
II. O PTICAL Q UALITY AND M ATHEMATICAL M ODELS case, the focal length is the distance from the refractive
Maxwell’s equations are the fundamental physical model of element to the intersection of the two rays, and its inverse is the
electromagnetic radiation, and the wave equation forms the
basis for the technological application of light. If all elements Zi Zernike polynomial Harmonic
in the optical system are large compared to the wavelength Polar coordinates Cartesian coordinates
of the light, geometrical optics may be used. It plays an Z0 1 1 ✓
important role in the development of optical systems as well, Z1 2ρ sin ϕ 2y ✓
Z2 2ρ
√ 2cos ϕ 2x√ ✓
in the form of raytracing simulations. A windscreen is large
Z3 √6ρ sin 2ϕ 2
√ 6xy2 ✓
in mechanical dimensions, both laterally as well as axially, Z4 2 − 1) + 2y 2 − 1) ×
but previous work has shown that the aberrations originating √3(2ρ2 cos 2ϕ
√3(2x 2 − y2 )
Z5 6ρ
√ 3 √ 6(x ✓
inside the windscreen cannot be neglected [5], [20]. Thus, it 2 3
Z6 √8ρ sin 3
3ϕ √8(3x2 y − y )3 ✓
is not sufficient to take only the geometry of the windscreen Z7 √8(3ρ3 − 2ρ) sin ϕ √8(3x3 y + 3y 2 − 2y) ×
into account – which would allow for a raytracing approach – Z8 √8(3ρ − 2ρ) cos ϕ √8(3x + 3xy − 2x) ×
but a comprehensive optical model needs to be based on the Z9 8ρ3 cos 3ϕ 8(x3 + 3xy 2 ) ✓
wave description of light. This is why in the following we use
the fundamental Zernike approach [10] to model wavefront TABLE I: Zernike polynomials up to the third order.
to measure the MTF [16], and IEEE P2020 is currently
finalizing an automotive extension of this norm [14]. In this
article, we will use slanted edge measurements.
According to scalar diffraction theory, the MTF is propor-
tional to the absolute value of the Fourier transform of the
wavefront in the aperture plane of the lens (more general: the
optical element). The wavefront is transformed, normalized,
and the absolute value is taken to yield the MTF. This
Fig. 1: Refractive power measurement of the ADAS camera
allows for an analytical relationship between the MTF and the
area of a VW series production windshield under an inclination
wavefront aberrations, which can be parameterized by Zernike
angle of ϵ = 63°. The difference in magnitude between
coefficients cn :
horizontal and vertical direction originates from the inclination ‚ ∞ i
2πi P h
angle, which amplifies the refractive power according to the exp cn Zn (ξ⃗ + ∆)
⃗ − Zn (ξ⃗ − ∆)
⃗ dξ 2
λ n=0
P+ ∩P−
Kerkhof model [33]. MTF(⃗k|λ) = ˜ . (3)
⃗ |2 dξ 2
| P (ξ)
R2
numerical value of the refractive power. For concave lenses,
the diverging rays are extended in the negative direction until
Eq. (3) is motivated by Goodman [10] and the domain of
these two rays intersect, and the negative distance now forms
integration is determined by the aperture stop of the camera.
the focal length.
In detail, P describes the 2D aperture stop function, which
For windscreens, the refractive power is not a single num-
is given by a circular top hat function with magnitude one
ber for the whole glass, but the measurement has a spatial
and baseline zero. The displaced aperture stop function P+ is
resolution as depicted by Fig. 1. In the early days, two actual
shifted by:
parallel laser beams were deflected, and the whole setup was ⃗ ⃗
laterally moved to achieve a certain spatial resolution [6]. More ⃗ := λza7→o k ≈ λf k .
∆ (4)
modern systems such as the one produced by ISRA use the 2 2
Moiré effect to spatially resolve the refractive power over The intersection of P+ and P− (shift by −∆) ⃗ determines the
a limited area by observing the location dependency of the domain of integration in Eq. (3). In addition, λ characterizes
perturbed grid spacing between Moiré interferences [23]. In the wavelength under consideration and za7→o quantifies the
addition, new refractive power measurement systems like the distance on the optical axis from the aperture stop to the
one produced by LaVision [22] use the Background Oriented observer plane, which roughly equals the focal length f of
Schlieren (BOS) imaging method to overcome the resolution the camera lens if the Gaussian lens equation is approximated.
limitation of the Moiré approach [33]. This simplification holds if the working distance is by magni-
Importantly, the refractive power depends on the direction, tudes larger than the image distance za7→o . Finally, ⃗k denotes
as the two parallel lines form a plane together with the princi- the spatial frequency vector.
pal plane of the optical element. In principle, this direction can As a side note, the MTF depends on the wavelength λ
be rotated full circle by 360◦ , but in practice, the refractive according to Eq. (3). The polychromatic MTF can be retrieved
power is determined and specified only in the horizontal and by integrating the conditioned, monochromatic MTF over the
vertical direction. normalized power spectral density PSD of the light source.
The area under the PSD curve quantifies the likelihood of
C. Modulation Transfer Function
emitting a photon in the wavelength range [λ, λ + ∆λ] by the
The modulation transfer function (MTF) – and its non- light source. As a result, the polychromatic MTF is given by:
harmonic equivalent, the spatial frequency response (SFR) –
ˆ∞
are established metrics to characterize optical systems, based
MTF(⃗k) = MTF(⃗k|λ) · PSD(λ) dλ . (5)
on linear system theory and scalar diffraction theory [2], [10].
In image space, the transfer function of the system under test is 0
called the point spread function (PSF), and in frequency space, Consequently, chromatic aberrations will potentially also influ-
it is denoted as the optical transfer function (OTF). The MTF ence the performance of AI-based algorithms for autonomous
is given by the absolute value of the OTF and is of particular driving but they are not discussed in detail in this paper.
importance if the intensity distribution is the matter of interest. At this point, it has to be emphasized, that the first three
The PSF and the MTF are highly non-linear functions over Zernike coefficients for piston and tilt do not represent optical
the image field (radius, azimuth), and they also depend on the aberrations in the classical sense. Even though there is a
defocus ∆z, due to the refractions on different lens element wavefront perturbation of the light beam, the image quality
surfaces. Hence, the input space of the PSF is in general three is not influenced by those terms because the curvature of
dimensional. the wavefront is not affected. Instead, tilts induce image
The MTF is measured by using either harmonic input distortions and generate a non-conformal mapping. As we
signals (MTF, e.g. sinusoidal Siemens star) or a step function focus in this article on the sharpness of the optical system
type input (SFR, e.g. slanted edge). ISO12233 defines a norm we will not further investigate this influence.
If the Zernike polynomials of Table I are transformed into
Cartesian coordinates it becomes obvious that the difference
in Eq. (3) vanishes for Zernike polynomials of zeroth order.
For the y-tilt Z1 and the x-tilt Z2 , the integrand evaluates to
a constant phasor. Hence, it holds that:
‚
1 dξ 2
(3) ⃗ P ∩P
MTF(⃗k|λ) = e(2πi·c1,2 ·za7→o ·k) · ˜
+ −
⃗ |2 dξ 2
| P (ξ)
R2
‚
1 dξ 2
⃗ P ∩P Fig. 2: Sketch of the measurement principle of a Shack-
⇔ MTF(⃗k|λ) = e( 1,2 a7→o )
·z ·
2πi·c k + −
·˜
⃗ |2 dξ 2
| P (ξ) Hartmann sensor [34].
R2
⃗ which Zernike polynomials are not present in the refractive
⇔ MTF(⃗k|λ) := e(2πi·c1,2 ·za7→o ·k) · MTFdiff (⃗k|λ) power measurement. As the Zernike polynomials form an
orthogonal function basis, this proves that there are optical
⇔ MTF(⃗k|λ) = MTFdiff (⃗k|λ) . aberrations that cannot be captured by the refractive power.
(6) Finally, we experimentally demonstrate the validity of our
As a consequence, the diffraction limited MTF is not mod- assumption in Sec. III-D by using a Shack-Hartmann sensor to
ulated by the Zernike coefficients c0 up to c2 . Therefore, the measure the wavefront modulation induced by a high-quality
second order Zernike coefficients are those of main interest for convex lens of well-known refractive power.
studying the effect of optical aberrations in terms of sharpness A. From Shack-Hartmann Measurements to the Wavefront
degradation on convolutional neural networks for autonomous Aberration Map
driving. Nonetheless, the optical distortion does influence the
rectilinear mapping, but as stated before this is an independent Fig. 2 demonstrates the method of operation of a Shack-
effect we do not study in this work. Hartmann wavefront sensor. If a collimated light beam is
Finally, note that the MTF is unfortunately currently not transmitting a refractive optical element then the wavefront
traceable to fundamental physical quantities, and therefore a gets modulated. A Shack-Hartmann sensor consists of a mi-
calibration chain to national metrological institutes like the crolens array, which resolves the local wavefront perturbations
PTB in Germany or the NIST in the US can not be established by focusing a wavefront snippet on a CCD or CMOS sensor.
at the moment. For the automotive industry, this is a major Without any aberrations, the wavefront sensor will capture the
source of discussion, as the implementations of ISO12233 light in the center of each pixel. If aberrations are present,
are very sensitive to many diverse influences: stable lighting then the focusing spot will be displaced locally by dx and dy ,
conditions (spectrum, intensity, direction, homogeneity), a respectively. The resulting local gradient of the optical path
reproducible mechanical setup (target distance, field-of-view) difference (W ) is given by:
and well-defined camera settings (gain, exposure, HDR, ISP h iT
β⃗ := βx . . . βx βy . . . βy
. . . ) are the goal, which are not met in practice. Instead, ⃗
x1 ⃗
xm ⃗
x1 ⃗
xm
2 fxa1 fxa1
In a nutshell, refractive power measurements are not sen-