• Aucun résultat trouvé

Discrete Modal Decomposition for surface appearance modelling and rendering

N/A
N/A
Protected

Academic year: 2021

Partager "Discrete Modal Decomposition for surface appearance modelling and rendering"

Copied!
11
0
0

Texte intégral

(1)

HAL Id: hal-02042845

https://hal.archives-ouvertes.fr/hal-02042845

Submitted on 22 May 2019

HAL

is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire

HAL, est

destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Discrete Modal Decomposition for surface appearance modelling and rendering

Gilles Pitard, Gaëtan Le Goïc, Hugues Favreliere, Serge Samper, Simon-Frédéric Desage, Maurice Pillet

To cite this version:

Gilles Pitard, Gaëtan Le Goïc, Hugues Favreliere, Serge Samper, Simon-Frédéric Desage, et al.. Dis-

crete Modal Decomposition for surface appearance modelling and rendering. SPIE Optical Metrology,

Jun 2015, Munich, Germany. pp.952523, �10.1117/12.2184840�. �hal-02042845�

(2)

Discrete Modal Decomposition for surface appearance modelling and rendering

Gilles Pitard

a

, Ga¨etan Le Go¨ıc

b

, Hugues Favreli`ere

a

, Serge Samper

a,c

, Simon-Fr´ed´eric Desage,

a

Maurice Pillet

a

a

Laboratoire Syst`emes et Mat´eriaux pour la M´ecatronique, SYMME EA 4144, Universit´e de Savoie, Annecy, France;

b

Laboratoire Electronique, Informatique et Image, LE2I UMR CNRS 6306, Universit´e de Bourgogne, Auxerre, France;

c

Laboratoire de Recherche en M´ecanique Appliqu´ee, LARMAUR - ERL CNRS 6274, Universit´e de Rennes, Rennes, France;

ABSTRACT

Controlling surface appearance has become essential in the supplier/customer relationship. In this context, many industries have implemented new methods to improve the sensory inspection, particularly in terms of variability.

A trend is to develop both hardware and methods for moving towards the automation of appearance inspection and analysis. If devices inspired from dimensional control solutions generally allow to identify defects far apart the expected quality of products, it do not allow to quantify finely appearance anomalies, and decide on their acceptance.

To adress this issue, new methods devoted to appearance modelling and rendering have been implemented, such as the Reflectance Transformation Imaging (RTI) technique. By varying the illumination positions, the RTI technique aims at enriching the classical information conveyed by images. Thus each pixel is described by a set of values rather than one value classically; each value corresponding to a specific illumination position. This set of values could be interpolated or approximated by a continuous model (function), associated to the reflectance of the pixel, generally based on a second order polynomial (namely, Polynomial Texture Mapping Technique).

This paper presents a new approach to evaluate this information from RTI acquisitions. A modal projection based on dynamics (Discrete Modal Decomposition) is used to estimate surface reflectance on each measurement point. After presenting the acquisition device, an application on an industrial surface is proposed in order to validate the approach, and compare it to the more classical polynomial transformation. Results show that the proposed projection basis not only provides closer assessment of surface reflectance (modelling) but also yields to a more realistic rendering.

Keywords: Discrete Modal Decomposition, Reflectance Transformation Imaging, Surface appearance, BRDF 1. INTRODUCTION

In many industrial fields, such as micro-mechanics, biomedicine, horology, surface quality is measured visually by human observation of reflected images on the surface, viewed under controlled lighting conditions in order to identify potential defects. The sensory evaluation is often hand-operated, quality controllers vary viewing and light incidence angles on the surface to ensure that they have covered a wide range of configurations. In order to limit the risk of undetected appearance defects, specific configurations are sought (Figure 1): black light e↵ect, white light e↵ect and mirror e↵ect. Based on the observation of this current practice, our approach consists in analysing the interaction of surfaces with their light environment thanks to an estimate of the biangular components of the reflectance function1–3 which quantifies the light reflecting o↵ an object. To adress the modelling of reflectance, three approachs di↵er in complexity and accuracy to approximate the Bidirectional Reflectance Distribution Function (BRDF) which is one of the most complete physical reflection model:

Corresponding author, Gilles.Pitard@univ-savoie.fr

Optical Measurement Systems for Industrial Inspection IX, edited by Peter Lehmann, Wolfgang Osten, Armando Albertazzi G. Jr., Proc. of SPIE Vol. 9525, 952523

© 2015 SPIE · CCC code: 0277-786X/15/$18 · doi: 10.1117/12.2184840

(3)

Black light effect! White light effect! Mirror effect!

LABORATOIRE LE2I Journée technique CFM Jeudi 6 Février 2014

9

!  Pratique actuelle : L’ analyse sensorielle (visuo-tactile)

9"

Refusées Acceptées

Désaccord

" et réduire la variabilité de l’évaluation

" Assurer que les anomalies soient detectées

34% 40% 26%

Refusées Acceptées

## Vers l’évaluation

# Aide à la détection ### Conclusion

Hand-operated controls!

12 Chapitre 1. Comment d´ecrire l’aspect d’une surface ? 10 Chapitre 1. Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse

2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

M y

x θ1z

θ2 V

θ3 r i

1-E↵etlumi`ere noire 2-E↵etbrillance 3-E↵etmiroir

L’observateur regarde la surface verticalement, et l’´eclairage est rasant, ce qui donne `a la surface un aspect globalement noir, et fait

ressortir certaines irr´egularit´es de surface avec un fort contraste

(✓1 0).

L’observateur regarde dans l’axe du rayon sp´eculaire (2 1). La surface apparait alors tr`es brillante (cette configuration est aussi appel´ee e↵etlumi`ere blanche).

L’observateur regarde la surface verticalement et se voit dans le reflet sur la surface (✓2 0 ).

Tableau 1.1 – Les 3 e↵ets lumi`ere

1.4.2 Etape d’´evaluation

Dans cet exemple, on se r´ef`ere `a un standard ´ecrit pour ´evaluer et caract´eriser les anomalies. Les anomalies visuelles sont class´ees selon 4 grandes cat´egories, appel´eesattributs: il s’agit soit d’une marque, soit d’une h´et´erog´en´eit´e, soit d’une d´eformation ou enfin d’une pollution. L’op´erateur doit alors d´ecrire de fa¸con factuelle les anomalies qu’il d´etecte, en s’appuyant sur le standard d´efini pour le type de pi`ece qu’il inspecte.

Cet exemple propose d’utiliser 2 types de crit`eres d’´evaluation [Baudet 12] : (i)les crit`eres li´es aux conditions d’observation.

12 Chapitre 1. Comment d´ecrire l’aspect d’une surface ? 10 Chapitre 1. Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 ´Etape d’´evaluation 1.4.3 ´Etape de d´ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres

1: Angle d’incidence de la source lumineuse

2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

M y

x θ1 z

θ2 V

θ3 r i

1-E↵etlumi`ere noire 2-E↵etbrillance 3-E↵etmiroir

L’observateur regarde la surface verticalement, et l’´eclairage est rasant, ce qui donne `a la surface un aspect globalement noir, et fait ressortir certaines irr´egularit´es de surface avec un fort contraste

(✓1 0).

L’observateur regarde dans l’axe du rayon sp´eculaire (2 1). La surface apparait alors tr`es brillante (cette configuration est aussi appel´ee e↵etlumi`ere blanche).

L’observateur regarde la surface verticalement et se voit dans le reflet sur la surface (✓2 0 ).

Tableau 1.1 – Les 3 e↵ets lumi`ere

1.4.2 Etape d’´evaluation

Dans cet exemple, on se r´ef`ere `a un standard ´ecrit pour ´evaluer et caract´eriser les anomalies. Les anomalies visuelles sont class´ees selon 4 grandes cat´egories, appel´eesattributs: il s’agit soit d’une marque, soit d’une h´et´erog´en´eit´e, soit d’une d´eformation ou enfin d’une pollution. L’op´erateur doit alors d´ecrire de fa¸con factuelle les anomalies qu’il d´etecte, en s’appuyant sur le standard d´efini pour le type de pi`ece qu’il inspecte.

Cet exemple propose d’utiliser 2 types de crit`eres d’´evaluation [Baudet 12] : (i)les crit`eres li´es aux conditions d’observation.

12 Chapitre 1. Comment d´ecrire l’aspect d’une surface ? 10 Chapitre 1. Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 ´Etape d’´evaluation 1.4.3 ´Etape de d´ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse 2: Angle d’observation

1.4.2 Etape d’´´ evaluation 1.4.3 Etape de d´´ ecision

10 Chapitre 1.Comment d´ecrire l’aspect d’une surface ?

Principe

1-E↵et Miroir 2-E↵et lumi`ere noire 3-E↵et Brillance

Tableau 1.1 – Les 3 e↵ets lumi`eres 1: Angle d’incidence de la source lumineuse

2: Angle d’observation

1.4.2 ´Etape d’´evaluation 1.4.3 ´Etape de d´ecision

M y

x θ1 z

θ2 V

θ3 r i

1-E↵etlumi`ere noire 2-E↵etbrillance 3-E↵etmiroir

L’observateur regarde la surface verticalement, et l’´eclairage est rasant, ce qui donne `a la surface un aspect globalement noir, et fait ressortir certaines irr´egularit´es de surface avec un fort contraste

(✓1 0).

L’observateur regarde dans l’axe du rayon sp´eculaire (2 1). La surface apparait alors tr`es brillante (cette configuration est aussi appel´ee e↵etlumi`ere blanche).

L’observateur regarde la surface verticalement et se voit dans le reflet sur la surface (✓2 0 ).

Tableau 1.1 – Les 3 e↵ets lumi`ere

1.4.2 Etape d’´evaluation

Dans cet exemple, on se r´ef`ere `a un standard ´ecrit pour ´evaluer et caract´eriser les anomalies. Les anomalies visuelles sont class´ees selon 4 grandes cat´egories, appel´eesattributs: il s’agit soit d’une marque, soit d’une h´et´erog´en´eit´e, soit d’une d´eformation ou enfin d’une pollution. L’op´erateur doit alors d´ecrire de fa¸con factuelle les anomalies qu’il d´etecte, en s’appuyant sur le standard d´efini pour le type de pi`ece qu’il inspecte.

Cet exemple propose d’utiliser 2 types de crit`eres d’´evaluation [Baudet 12] : (i)les crit`eres li´es aux conditions d’observation.

Figure 1. Sensory e↵ects obtained in di↵erent light configurations of a polished lighter (bottom view) by quality controllers

• model-based rendering methods consist in the parametrization on analytical BRDF models. This approach is not suitable to adress the appearance quality control due to the complexity of surface textures and light behavior make it difficult to apply to the real materials.

• measuring the complete Bidirectional Reflectance Distribution Function. A dense reflectance sample at a single surface point is generally acquired by a gonioreflectometer.4–6 This method provides a complete description of the interaction light/surface, but will lead to the generation of huge amounts of data and the cost of acquiring data make it incompatible with an application in the context of surface inspection, especially when applied to finding defects.

• image-based rendering methods rely on the acquisition of photometric data (only the direction of illumination varies between images), similar approach as known as ReflectanceTransformation Imaging techniques.7, 8

Thus, our approach is based on the RTI techniques which can accurately model a surface appearance without needing knowledge of its materials or geometrical properties. Several RTI-based techniques have been developped for better measured approximation to reflectance field that uses a set of images - taken from a camera in a fixed position - of the object surface illuminated from di↵erent light directions.

The RTI approach and a sphere capture system are presented in Section 2. After presenting the usual RTI methods (Section 2.3), a new modelling technique of angular components of local reflectance from the set of images based on the Discrete Modale Decomposition is presented in Section 3. A comparison with Polynomial Texutre Mappings (PTM) and Hemispherical Harmonics (HSH) is applied to high value-added industrial surfaces in Section 4. It appears that the DMD technique allows us to aid in quantifying particular aspects of surface appearance by preserving spatially local luminance variations in the reconstructed images.

2. REFLECTANCE TRANSFORMATION IMAGING 2.1 RTI approach

A proportional relationship exists between the gray level G of an image and the luminance L(!uc) along the optical axis !uc even if the estimate is biased in presence of cast shadows or overexposed regions. As similar formulations used in numerous papers about Shape-From-Shading, the gray level of an image can be expressed as follows:9

G=k⇥g with g=L(!uc) (1)

wherekis the factor of proportionality, andgis the normalized gray level. A camera can consenquently be used to make measurements of the luminance of associated pixel values. The RTI principe can divide in 3 steps:

1. Acquisition: The RTI acquisition device provide for each pixel a set of corresponding luminance values for di↵erent angles of illumination. The set of intensities at each pixel location are captured by a fixed camera at position (✓v, v) under di↵erent light directions (✓i, i).

2. Modelling: The bidirectional reflectance function BRDF is approximated from the discrete luminance values to model a continuous information. The surface reflectance is approximated by an RTI method in which di↵erent approaches are detailed from the Section 2.2.

(4)

φ View direction!

Light direction!

Surface Σ!

1 pixel!

(θv,φv)

ii)

Lu

Lv G

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 Luminance value!0 Reflectance surface!

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5

0.5 0 Pixel grid!

θ

Figure 2. Light direction parametrizationlu, lv

3. Rendering: The model enables to compute a reflectance function that can be used to interactively display images under novel lighting conditions varying a virtual source light controlled by a user to reveal surface phenomena.

The surface reflectance is modelled and represented in the U V texture coordinate system10(Figure 2) where (lu, lv) are the projections of the normalized light vector onto the local basis (Lu, Lv) of a particular pixel at the spatial coordinates (u, v) in the studied surface. The descriptors of HSH and DMD techniques are expressed as functions of angles for azimuth and co-latitude✓ by the following change of variables:

= arctan 2(lu, lv) and ✓= arccos(p

1 l2u l2v) (2)

2.2 Image acquisition

Figure 3 shows the steps involved in implementing the RTI techniques which require the acquisition of multiple images of a surface with a fixed camera under varying lighting conditions. A system with multiple cameras positioned around a dark sphere was developed. It enables the acquisition of surfaces-of-revolution or freeform surfaces which requires several viewing angles, such as spherical roller bearings (aeronautics), femoral heads of hip implant (medical) or rings (jewellery) because visual coverage of the entire surface can be an issue using a single scene description. The multi-camera system also opens up the creation enriching new methods for 3D reconstruction, surface analysis based on curvatures and slopes, or even measuring transmittance properties of transparent materials. In the present paper, we focus on the upper dome of our spherical structure using only a single camera (cam1) for gathering and processing reflectance transformation imaging. The object is positioned on a glass at the center of the sphere (65 cm diameter). 56 LED light sources are homogenously distributed over the upper hemisphere and above the inspected surface.

2.3 Existing modelling techniques 2.3.1 Polynomial Texture Mapping

Polynomial Texture Mappings was originally developped by Tom Malzbender and Al.10–16 The classical PTM model consists in approximating the BRDF from the discrete values of luminance obtained by the device, via polynomial regression. For each pixel, we can seek a polynomial regression 6-vectors of coefficients (a0 a5) of the quadratic surface defined by the second degree polynomial equation 3. The regressing is carried out using Least Squares formulation (Eq. 4) and solved using Singular Value Decomposition (SVD):

L(lu, lv) =a0+a1lu+a2lv+a3lulv+a4l2u+a5lv2 (3) 2

66 66 66 4

l2u0 l2v0 lu0lv0 lu0 lv0 1 l2u1 l2v1 lu1lv1 lu1 lv1 1

. . . .

. . . .

. . . .

l2uN l2vN luNlvN luN lvN 1 3 77 77 77 5 2 66 66 66 4

a5

a4

a3

a2

a1

a0

3 77 77 77 5

= 2 66 66 66 4

L0

L1

. . . LN

3 77 77 77 5

(4)

(5)

RTI-based techniques!

Lu

Lv G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5 0.5 0 0

DMD*

cam 1!

cam 2!

cam 3!

112 LED!

cam 1!

cam 2!

cam 3!

cam 4!

11)!

N images ! captured by cam1!

11)!

22)!

33)!

44)!

For each pixel:!

N discrete luminance values!

NN)! Lu

luminances*

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5 0.5 0 0

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1 −0.5

0.5 0 0

PTM*

PTM!

(6 terms)!

Lu HSH*

Lu

Lv

G

250

150

50

−1

−0.5

−1

1

0.5 0

1

−0.5 0.5 0 0

HSH ! (16 descriptors)!

DMD!

(32 modes)!

ACQUISITION! MODELLING!

Figure 3. Diagram of the automatic acquisition of N images for gathering and processing Reflectance Transformation Imaging

Hence, we can interpolate and relight in order to simulate the rendering of a surface under any chosen light direction. PTM descriptors are basic shapes and they provide limited estimation about the overall shape of reflectance field (ie. high-frequency components removed). PTM tends to smooth out the fine details of the surface where sharp shadow boundaries and highly specular surfaces occur.

2.3.2 Hemispherical Harmonics

HemiSpherical Harmonics17, 18 is an evolution of the PTM technique. This method consists in using a more appropriate projection into a set of basis functions, based on hemispherical harmonics whose shapes are close to reflectance field. HSH have been applied in several topics in computer graphics such as the modelling of BRDFs, irradiance environment maps or invariant object recognition. The hemispherical harmonicsHlmare derived from Spherical Harmonic functions (SH) using shifted associated Legendre Polynomials (Eq. 5) to map these functions to a basis set defined only over the upper hemisphere (Eq. 6):

lm(cos✓) =Plm(2 cos✓ 1) and ✓2h 0,⇡

2

i (5)

where Legendre polynomialsPlmcan be computed by applying recurrence relations.18

Hlm(✓, ) = 8<

:

p2 ˜Klmcos(m ) ˜Plm(cos✓) ifm >0 p2 ˜Klmsin( m ) ˜Pl m(cos✓) ifm <0 K˜l0l0(cos✓) ifm= 0

(6)

whereKlm are the hemispherical normalization factors:

Klm=

s(2l+ 1)(l |m|)

2⇡(l+|m|) (7)

Any surface reflectance function can be decomposed into a HSH series8, 19–22 of varying order l and degree m and the decomposition residual:

f(✓v, v)(✓i, i) = Xn

l=0

Xl m= l

Clm(✓v, v)Hlm(✓i, i) +Rn (8)

(6)

H0

0 H1

−1 H1

0 H1

1 H2

−2 H2

−1 H2

0 H2

1 H2

2

b)!

a)!

HSH#

DMD#

Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9

a)!

b)!

Figure 4. Function plotsHlmof the Hemispherical Harmonics basis for orderlfrom 0 to 2

where the coefficientsClmcan be obtained as the projection off onto each basis function (Eq. 9):

Clm(✓v, v) = Z 2⇡

0

Z 2

0

f(✓v, v,✓i, i)Hlm(✓i, i) sin✓id✓id i (9) Visual representations of the first few real hemispherical harmonics are given Figure 4 where blue portions represent regions where|Hlm|is positive, and yellow portions represent where it is negative.

3. DISCRETE MODAL DECOMPOSITION

Resulting from vibratory mechanics,Discrete Modal Decomposition (DMD) models a geometrical element in a geometrical form space. DMD is applied in:

1. geometrical tolerancing23, 24, to visualize the geometrical errors of surfaces and to specify the acceptable variations - form, position and orientation - of the real geometry around the target,

2. multiscale analysis of topographic surface roughness25, 26, to characterize the form, waviness and roughness defects of a surface,

3. heat source evaluation27, 28, to estimate the spatial term of a heat di↵usion problem.

Similarly to the Discrete Fourier Transform or the Discrete Cosine Transform, this decomposition enables to make the projection of the measured surface into an eigen basis built from structural dynamics.

3.1 Modal basis

The hemispherical domain [0,2]⇥[0,2⇡] designates the local hemisphere of BRDFs at surface points where the reflection integral is evaluated. An illuminated ideal di↵use reflecting surface will have equal luminance from all directions which lie in the half-space adjacent to the surface (Lambertian reflectance). The associated geometry (simple half dome in the proposed problem) leads to the definition of the dynamic structural problem which is classically defined as follows:

M.q¨+K.q= 0 with q=q(✓, ) (10)

where M and K stand for the mass and the sti↵ness matrices respectively. Under such formalism,q(✓, ) stands for the displacements which characterizes the modal shapes defined as the harmonic solution of the equation 10.

The eigen vectorsQk with the pulsationswk are solutions of the equation:

q(✓, , t) = X+1 k=1

Qkcos(wkt) (11)

and form the associated modal basis (Q0, Q1..., Qn 1) where n is the number of modes used for the projection.

The point of the present paper is to associate the displacement fields q(✓, , t) to the measured luminances L = (L0, L1...., LN) which draws the reflectance field. The eigen modes are determined by solving the linear system:

(M 1K 1

w2kI)Qk = 0 (12)

(7)

PTM (Polynarntal Mappmg) HSH (Hemaphericai Harmonics)

1118=1.11111111

H00 H1−1 H10 H11 H2−2 H2−1 H20 H21 H22 b)!

a)!

HSH#

DMD#

Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9

a)!

b)!

Figure 5. Function plotsQk of the Discrete Modal Decomposition basis (first 9 modes)

3.2 Modelling

Thus, any surface reflectance functionf can be expressed as the sum of a linear combination of the modal vectors and the decomposition residualRn (Eq.13):

f(✓v, v)(✓i, i) = Xn k=1

k(✓v, v)Qk(✓i, i) +Rn (13)

where the modal coefficients k can be obtained as the projection of the vector of measured luminancesLonto each modes of the non-orthonormal basis (Eq. 14):

k(✓v, v) = (QkTQk) 1QkT.L (14)

Thus, the modal parametrization uses a basis of adaptative number of modes to better represent surfaces. The first modal vectors composing the modal basis are given Figure 5 with the latter color represention of HSH descriptors. The complexity of shape and frequency increase when the ordern increases. If sampled at a high enough rate, the original function can in theory be perfectly reconstructed from the infinite set of samples. In practice, the number of modes used for the projection can not be equal to the number of measured luminances in order to avoid phenomenon known as aliasing or overfitting. So, the number of modes are chosen as to obey the Nyquist-Shannon sampling theorem.

3.3 Rendering

Figure 6. MSA-viewer interface. The user can control interactively the light direction by moving a mouse on an intuitive graphic in order to detect and evaluate particular aspects of surface appearance

A viewer (Figure 6) was implemented in Matlab including PTM, HSH and DMD reconstructions. The modal coefficients can be viewed as a modal amplitude spectrum that approximates the surface points color change as the lighting position changes. We established our RTI format in order to save the modal coefficients encoding the approximative reconstruction of the reflectance spectrum at each pixel in a computer file with the extension .msa(MeasuringSurfaceAppearance). TheMSA-viewerallows the controller to move the light in any direction and to aid him in detecting and evaluating particular aspects of surface appearance.

(8)

Figure 7. Two bodies of prestige ligther with guilloched pattern

4. RESULTS 4.1 Application on high value-added industrial surfaces

The RTI methods are applied to two surfaces of prestige lighter (Figure 7) in which a V-shaped pattern is engraved with an engine turning machine calledguilloche to draw vertical lines on a surface at various spacing and widths. The surface can usually be achieved by light hand abrasion after depositing in a thin silver layer.

Aspect defects have been identified on both surfaces, such as strockes and scratches that will be most apparent in the cropped views. After acquiring the sets of 56 images by our system, we compute the three approaches to obtain for each pixel the PTM, HSH and DMD contributions. Taking into account the sampling theorem, we use a modal basis composed of 32 modes, and according to the original embodiment 16 harmonics for HSH and 6 terms for PTM. We can interpolate and relight in the same light direction of the measured images in order to estimate the quality of RTI-based reconstructions whose results are presented in Section 4.2. Our comparative approach focuses on both thespace of image representationand thespace of lightingbecause RTI can be regarded as a mapping from the 4D space of lighting and viewing directions to the space of all 2D images.

4.2 Comparison/discussion

Lu

Lv

PTM! HSH! DMD!

Lu Lv

Acquisition! Rendering!

Light direction 1!Light direction 2!

PSNR=16.54 PSNR=17.82 PSNR=19.51

PSNR=10.20 PSNR=13.24 PSNR=24.33

Figure 8. Cropped views of the original and reconstructed images of lighter 1 and their PSNR value in dB Polynomial Texture Mapping removes the high frequencies of the reflectance field. The smoothing a↵ects the light space, especially in regions where strong specular spikes (high-frequency) are observed (Figure 8). We compute the Peak Signal-to-Noise Ratio (PSNR) which is the most widely used objective image quality metric, in order to assess the quality of reconstruction in both light directions of the device that are chosen arbitrarily.

The higher the PSNR, the better the quality of the reconstructed image. Even if the PSNR value indicates the higher quality for DMD reconstruction, it’s important to recognize its limitations:

• it relies strictly on numeric comparison based on a pixel-by-pixel comparison of images and does not actually take into account either the location of observable reconstruction degradation nor any level of biological factors of the human vision system,

(9)

¡r

` t_ ,f. -.a+=i :w; !.' / ;.aiil:iL` *aì:

= V'T='.-AaL.ilYt.ie

.._ '.; f ..Y .!.f- -t*4

• it does not provide information along the light space of the RTI techniques. PTM technique tends to transform the measured luminances distribution in the di↵use (matte) surfaces (gaussian distribution) while DMD and, to a lesser extent, HSH preserve the shapes of luminance distributions as illustrated in Figure 3.

A consequence of this transformation of luminance distributions can be observed in Figure 9. Our perceptual assessment di↵ers between the image obtained with the light direction 1 and 2. However, changing lighting direction does not much a↵ect the visual appearance of the surface in rendered images produced with the HSH and PTM fitters. DMD can account much luminance variation, for example in low-angled light, the stroke appears as a clear spot in a dark zone like on the original image. Sudden and strong changes in the constrast can automatically draw visual attention to their locations when the user moves the virtual light in any direction.

When the controller has to evaluate the criticity of a detected anomaly, he automatically moves the light source to yield local and global processing of contrast variations.

Lu

Lv

PTM! HSH! DMD!

Lu

Lv

Acquisition! Rendering!

PTM! HSH! DMD!

Acquisition!Rendering!

Lu

Lv

Light direction 1!Light direction 2!

PSNR=16.85 PSNR=17.14 PSNR=17.99

PSNR=17.18 PSNR=18.56 PSNR=23.85

Figure 9. Cropped views of the original and reconstructed images of lighter 2 and their PSNR value in dB

5. CONCLUSIONS AND PERSPECTIVES

This paper presents a robust and e↵ective approach to model the local reflectance from the photometric RTI data acquisitions, basing on a parameterization named Discrete Modal Decomposition. By varying the illumi- nation position, the RTI technique aims at enriching the classical information conveyed by images. Each pixel is described by a set of values rather than one value classically; each value corresponding to a specific illumination position. The local reflectance of each pixel can thus be modelled from the set of luminance values associated to each illumination direction. This modelisation is generally performed by applying an interpolation (or ap- proximation) of the discrete acquired data, using a continuous family of functions to describe each pixel local reflectance. Then, this simplified model allows the surface to be virtually rendered for any (chosen) illumination incidence (azimuth and elevation), and the surface can therefore be inspected by varying virtually the direction of illumination. This exploration enhances the micro-geometry and roughness local morphology, and for industrial applications, allows appearance surace quality and perception to be better controlled.

The relevance of the DMD approach is investigated by comparing the results with the ones obtained performing the two most used RTI methods, which are respectively associated to a second order polynomial (PTM) and an hemispherical harmonics (HSH) vector basis. Particularly, this study figures out an interesting feature of the DMD-based reflectance modelisation, that consists in its ability to describe complex local reflectance in terms of angular and intensity luminance variations. If similar results are obtained for lambertzian di↵use reflectances, a more reliable approximation of specular lobes, and more generally of glossy surface local areas is provided by this approach.

(10)

Future work will include an assessment of RTI reconstruction quality by analyzing more precisely how this new technique behaves, and particularly, the evolution of luminance local distribution from the acquisition to the RTI modelisation/reconstruction will be investigated. The evaluation of the RTI methods will be carry out statistically in order to better quantify their relevance.

REFERENCES

1. F. E. Nicodemus, “Directional Reflectance and Emissivity of an Opaque Surface,”Applied Optics4, pp. 1–8, 1965.

2. F. E. Nicodemus, J. C. Richmond, J. J. Hsia, I. W. Ginsberg, and T. Limperis,Geometrical considerations and nomenclature for Reflectance, Institute for Basic Standards, National Bureau of Standards, Washington, 1977.

3. J. J. Koenderink, A. J. van Doorn, and M. Stavridi, “Bidirectional Reflection Distribution Function ex- pressed in terms of surface scattering modes,”Computer Vision—ECCV’94, pp. 28–39, 1996.

4. J. F. Murray-Coleman and A. M. Smith, “The automated measurement of BRDFs and their application to luminaire modeling,” Journal of the Illuminating Engineering Society19, pp. 87–99, 1990.

5. K. J. Dana, B. van Ginneken, S. K. Nayar, and J. J. Koenderink, “Reflectance and Texture of Real-World Surfaces,”ACM Transactions on Graphics18, pp. 1–34, 1999.

6. G. Ged, G. Obein, Z. Silvestri, J. Le Rohellec, and F. Vienot, “Recognizing real materials from their glossy appearance,”Journal of Vision10, pp. 18–18, July 2010.

7. L. W. MacDonald, “Visualising an Egyptian Artefact in 3D: Comparing RTI with Laser Scanning,”Proceed- ings of the 2011 international conference on Electronic Visualisation and the Arts EVA’11 , pp. 155–162, 2011.

8. M. Zhang and M. S. Drew, “Efficient robust image interpolation and surface properties using polynomial texture mapping,”Eurasip Journal on Image and Video Processing, pp. 1–36, 2014.

9. J. D. Durou, “Shape from shading – Eclairages, r´eflexions et perspectives,” tech. rep., 2007.

10. T. Malzbender, D. Gelb, and H. Wolters, “Polynomial texture maps,” Proceedings of the 28th annual conference on Computer graphics and interactive techniques, pp. 519–528, 2001.

11. T. Malzbender and D. G. Gelb, “Apparatus for and method of enhancing shape perception with parametric texture maps,” 2000.

12. H. J. Wolters, “Apparatus for and method of converting height fields into parametric texture maps,”

(6583790), 2000.

13. T. Malzbender, “Direction-dependent texture maps in a graphics system,” (6297834), 2001.

14. B. A. Ritter, “System and method for synthesis of parametric texture map textures,” 2004.

15. T. Malzbender and D. G. Gelb, “Apparatus for and method of rendering 3D objects with parametric texture maps,” Oct. 2005.

16. N. Horton and B. A. Ritter, “System and method for combining parametric texture maps,” (7009620), 2006.

17. S. H. Westin, J. R. Arvo, and K. E. Torrance, Predicting Reflectance Functions from Complex Surfaces.

PhD thesis, Faculty of the Graduate School of Cornell University, 1992.

18. P. Gautron, J. Krivanek, S. N. Pattanaik, and K. Bouatouch, “A Novel Hemispherical Basis for Accurate and Efficient Rendering,”Eurographics Symposium on Rendering 2004, pp. 1–10, 2004.

19. J. Kautz, P. P. Sloan, and J. Snyder, “Fast, arbitrary BRDF shading for low-frequency lighting using spherical harmonics,” inProceedings of the 13th Eurographics Workshop on Rendering, 2002.

20. M. Mudge, T. Malzbender, A. Chalmers, and R. Scopigno, “Image-based empirical information acquisi- tion, scientific reliability, and long-term digital preservation for the natural sciences and cultural heritage,”

homepages.inf.ed.ac.uk, 2008.

21. J. Krivanek, J. A. Ferwerda, and K. Bala, “E↵ects of global illumination approximations on material ap- pearance,” ACM Transactions on Graphics (TOG)29(4), pp. 1–10, 2010.

22. G. Palma, M. Corsini, and P. Cignoni, “Dynamic shading enhancement for reflectance transformation imag- ing,”Journal on Computing and Cultural Heritage3, 2010.

23. H. Favreliere,Modal Tolerancing : From metrology to specifications. PhD thesis, Universit´e de Savoie, 2009.

(11)

24. S. Samper, P.-A. Adragna, H. Favreliere, and M. Pillet, “Modeling of 2D and 3D Assemblies Taking Into Account Form Errors of Plane Surfaces,”Journal of Computing and Information Science in Engineering9, p. 041005, Dec. 2009.

25. G. Le Goic, H. Favreliere, S. Samper, and F. Formosa, “Multi scale modal decomposition of primary form, waviness and roughness of surfaces,” Scanning, the journal of scanning microscopies - Special Issue on Surface Metrology II 33(5), pp. 332–341, 2011.

26. J. Grandjean, G. Le Goic, H. Favreliere, Y. Ledoux, S. Samper, F. Formosa, L. Devun, and T. Gradel,

“Multi-scalar analysis of hip implant components using modal decomposition,” Measurement Science and Technology23(12), 2012.

27. T. Pottier, H. Louche, S. Samper, H. Favreliere, F. Toussaint, and P. Vacher, “A new filtering approach dedicated to heat sources computation from thermal field measurements,” PhotoMechanics Conference, Montpellier : France, pp. 1–4, 2013.

28. T. Pottier, H. Louche, S. Samper, H. Favreliere, F. Toussaint, and P. Vacher, “Proposition of a modal filtering method to enhance heat source computation within heterogeneous thermomechanical problems,”

International Journal of Engineering Science , pp. 1–14, 2014.

Références

Documents relatifs

Finally, the variation of angular separation between specular peak and secondary peaks (as well as the variation in the relative intensity of diffractive orders) with the

Image denoising has been considered in the seminal work of Rudin, Osher and Fatemi (ROF) [1] as the decomposition of an image into a component with bounded variations (BV), and a

As shown in Section 6 , our approach permits to convey a plausible, spatially-varying appearance from one or more input MatCaps, without ever having to recover physically-

We propose a new poly- nomial algorithm to split the surfa e of any dis rete volume into pie es of naive dis rete plane whi h have known shape properties, and present a study of the

n -dof systems, lasting contact phases necessitate a purely inelastic impact law of the form Pu C D 0, leading to a loss of kinetic energy incompatible with the conservative

(a) Reference eld; (b) measurement support with ran- dom acquisitions; (c) reconstructed eld using GPOD1; (d) reconstructed eld using GPOD2; (e) reconstructed eld using the

Fast discrete convolution in R2 using Sparse Bessel Decomposition..

As this article aims to show how modal para- meterization can help in the multi-scale analysis of surfaces, this section describes how modal filtering can highlight primary