07.11.2014 Views

Application and Optimisation of the Spatial Phase Shifting ...

Application and Optimisation of the Spatial Phase Shifting ...

Application and Optimisation of the Spatial Phase Shifting ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2 <strong>Phase</strong>-shifting ESPI 53<br />

known since decades [Bru74] <strong>and</strong> has recently been referred to as DFT (digital Fourier transform) formula<br />

[Sur96]:<br />

ϕ<br />

O<br />

N −1<br />

− ∑ In<br />

sinαn<br />

π<br />

mod 2π<br />

n 0<br />

2<br />

= arctan<br />

=<br />

with α<br />

N<br />

n = n⋅<br />

.<br />

−1<br />

(3.14)<br />

N<br />

∑ In<br />

cosαn<br />

n=<br />

0<br />

With this choice <strong>of</strong> <strong>the</strong> a n <strong>and</strong> b n , numerator/denominator represent <strong>the</strong> digital implementation <strong>of</strong> a<br />

Fourier sine/cosine transform [Bra87, p.17], where α(x,y,t) has an angular frequency <strong>of</strong> 2π/(N samples)<br />

<strong>and</strong> <strong>the</strong> sample interval is in time or space units; <strong>the</strong> Fourier aspect <strong>of</strong> phase sampling will be treated in<br />

greater detail in 3.2.2. The signs <strong>of</strong> numerator <strong>and</strong> denominator are used to generate a 0-2π arctan, in<br />

contrast to its ma<strong>the</strong>matical definition used in Chapter 2, where it ranges from –π/2 to π/2. This is more<br />

convenient when converting <strong>the</strong> phases to grey levels.<br />

For 3-step formulae, one can also choose n ∈{-1, 0, 1}, thus assume phase shifts <strong>of</strong> {-α, 0, α} <strong>and</strong> write<br />

down <strong>the</strong> generally valid expression [Cre88, Schwi90, Gre92]<br />

ϕ<br />

O<br />

⎛ 1−<br />

cosα<br />

I−1 − I1<br />

⎞ ⎛ ⎛ α ⎞ I−1 − I1<br />

mod 2 π = arctan⎜<br />

⎟ = arctan⎜<br />

tan⎜<br />

⎟<br />

⎝ sinα<br />

2I − I − I ⎠ ⎝ ⎝ 2 ⎠ 2I − I − I<br />

0 −1 1<br />

0 −1 1<br />

⎞<br />

⎟ . (3.15)<br />

⎠<br />

Much work has been done to improve <strong>the</strong>se simple approaches to very sophisticated sampling schemes,<br />

frequently at <strong>the</strong> expense <strong>of</strong> increased N . These are <strong>of</strong>ten called algorithms, although <strong>the</strong>ir flow diagrams<br />

are trivial; to distinguish <strong>the</strong>m from ano<strong>the</strong>r class <strong>of</strong> phase-retrieval methods that are truly algorithms<br />

[Ger72, Fie82, Rav99], I will avoid <strong>the</strong> term "algorithm" henceforth. Today, <strong>the</strong>re are not only tailored<br />

formulae with excellent rejection <strong>of</strong> various errors [Schwi83, Har87, Lar92b, Sur93, Schwi93, dGro95,<br />

Hib95, MYo95, Schmi95a, dGro97, Hib97, Küch97, Ser97b, Sto97, Zha99], but also, <strong>the</strong> properties <strong>of</strong><br />

phase-shifting formulae are by now so well understood [Fre90a, Lar92a, Rat95, Sur96, Phi97, Sur97b,<br />

Sur98c, Dor99] that for many purposes phase-extraction schemes can be tailored to adapt to <strong>the</strong> particular<br />

task. Good measurements reach an accuracy <strong>of</strong> about λ/100 [Schwi83, Har87].<br />

But <strong>the</strong> basic approaches with N=3 to 5 have survived in ESPI because superb <strong>the</strong>oretical accuracy would<br />

remain <strong>the</strong>oretical where speckle noise <strong>and</strong> decorrelation set <strong>the</strong> limits. Also, since ESPI is obviously not<br />

concerned with precision surfaces, <strong>the</strong> requirements are <strong>of</strong>ten lower.<br />

Moreover, a small N helps to determine phases very quickly: since <strong>the</strong> most time-consuming step in phase<br />

calculation is <strong>the</strong> arctangent operation, it is advantageous to map all possible values <strong>of</strong> numerator <strong>and</strong><br />

denominator in two-dimensional look-up tables (LUTs).<br />

The size <strong>of</strong> <strong>the</strong>se LUTs depends on <strong>the</strong> digital resolution as well as on <strong>the</strong> respective number <strong>of</strong> samples<br />

involved. In <strong>the</strong> case <strong>of</strong> (3.15) with 8-bit digitisation, <strong>the</strong> LUT would have 5111021 entries, because <strong>the</strong><br />

numerator can range from –255 to 255 <strong>and</strong> <strong>the</strong> denominator from –510 to 510. These integers <strong>the</strong>n serve<br />

as matrix indices to retrieve <strong>the</strong> associated phase value, which is <strong>of</strong>ten represented by an 8-bit integer as

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!