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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

106 Quantification <strong>of</strong> displacement-measurement errors<br />

4.2 Noise quantification in this work<br />

For a quantitative comparison <strong>of</strong> TPS <strong>and</strong> SPS, we will have to test different speckle sizes, fringe<br />

densities, <strong>and</strong> experimental set-ups, which means that a universal method is needed to find <strong>the</strong> reference<br />

data from which to calculate σ d . From <strong>the</strong> preceding discussion, it appears desirable to avoid estimating<br />

∆ϕ ref(x,y) from <strong>the</strong> experiment, which means that <strong>the</strong> <strong>the</strong>oretical displacement function should be known.<br />

Fur<strong>the</strong>rmore, unwrapping should be avoided because it involves additional, <strong>and</strong> sometimes unknown,<br />

image processing by <strong>the</strong> unwrapping algorithm.<br />

A concept fulfilling <strong>the</strong>se requirements is fitting a syn<strong>the</strong>tic, noise-free sawtooth image to <strong>the</strong> completely<br />

unprocessed original one. This <strong>of</strong> course requires that we know very well what type <strong>of</strong> fringe pattern <strong>the</strong><br />

experiment should generate. We choose a linear phase course in x- <strong>and</strong>/or y-direction as displacement<br />

function, which gives straight <strong>and</strong> equidistant sawtooth fringes with arbitrary density <strong>and</strong> direction. This<br />

approach is sufficiently general for our purpose: provided <strong>the</strong> field <strong>of</strong> sensitivity is quasi-uniform, it<br />

adapts to out-<strong>of</strong>-plane tilts, <strong>and</strong> in-plane rotations.<br />

Since <strong>the</strong> global phase is not controlled in most <strong>of</strong> <strong>the</strong> experiments, <strong>the</strong> positions <strong>of</strong> <strong>the</strong> white-black edges<br />

can vary considerably for o<strong>the</strong>rwise identical displacements; <strong>the</strong>refore <strong>the</strong> syn<strong>the</strong>tic fringe pattern has to<br />

be given <strong>the</strong> correct phase <strong>of</strong>fset as well.<br />

Toge<strong>the</strong>r, we have three parameters to optimise in order to obtain <strong>the</strong> best-matching syn<strong>the</strong>tic image: (i) <strong>the</strong><br />

number <strong>of</strong> fringes per image width (1024 pixels) in x-direction, N x ; (ii) <strong>the</strong> number <strong>of</strong> fringes per image<br />

height (768 pixels) in y-direction, N' y ; <strong>and</strong> (iii) <strong>the</strong> phase <strong>of</strong>fset N 0 at some arbitrary point. For <strong>the</strong> latter, a<br />

practical choice is <strong>the</strong> upper left corner <strong>of</strong> <strong>the</strong> images that is interpreted as (0,0) by computer graphics.<br />

In <strong>the</strong> plots that follow in Chapters 5 <strong>and</strong> 5, N' y is multiplied by 4/3 to yield N y "fringes per 1024 pixels",<br />

so that <strong>the</strong> fringe densities, not <strong>the</strong> actual fringe numbers in <strong>the</strong> image, are equal when N x =N y . Since we<br />

are evaluating phase maps, <strong>the</strong> signs <strong>of</strong> N x <strong>and</strong> N y must match <strong>the</strong> respective phase gradient in <strong>the</strong> image.<br />

Every triple (N x , N y , N 0 ) is a point in IR 3 from which a noise-free sawtooth image can be generated. Since<br />

we are interested in <strong>the</strong> rms <strong>of</strong> <strong>the</strong> displacement-measurement error, σ d , first a least-squares fit must be<br />

run to find that ∆ϕ ref(x,y) which minimises σ ∆ϕ , <strong>and</strong> <strong>the</strong>n σ ∆ϕ must be converted to σ d via <strong>the</strong><br />

interferometric sensitivity vector. The quantity actually used for <strong>the</strong> fit are <strong>the</strong> pixels´ grey values in <strong>the</strong> 8-<br />

bit phase map representations.<br />

In multidimensional parameter spaces, it is generally not easy to implement fitting algorithms; most <strong>of</strong><br />

<strong>the</strong>m are extensions <strong>of</strong> one-dimensional strategies. They tend to be ma<strong>the</strong>matically complicated <strong>and</strong><br />

require some care to make <strong>the</strong>m reasonably fail-safe. Apparently, <strong>the</strong>re is only one genuinely<br />

multidimensional fitting strategy, namely <strong>the</strong> "downhill simplex method" that is described in detail in<br />

[Pre88]. It is easy to code <strong>and</strong> extend to more degrees <strong>of</strong> freedom, which is presumably why several<br />

ma<strong>the</strong>matics programs also include a "simplex" module. Although <strong>the</strong> simplex method is comparatively<br />

slow, it has a high inherent robustness (indeed, it never failed to terminate correctly in thous<strong>and</strong>s <strong>of</strong> runs<br />

for this work).

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

Saved successfully!

Ooh no, something went wrong!