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.

4.1 Previous methods 103<br />

4.1.2.2 Smoothing sine <strong>and</strong> cosine<br />

To cope with <strong>the</strong> problem <strong>of</strong> edges, it has also been adopted to work on, in <strong>the</strong> ma<strong>the</strong>matical sense,<br />

continuous data: <strong>the</strong> sawtooth image (signifying <strong>the</strong> optical phase) can be decomposed a posteriori into<br />

<strong>the</strong> sine <strong>and</strong> <strong>the</strong> cosine part from which it was originally generated [Lüh93] (cf. 3.4.5); this step has<br />

recently been given <strong>the</strong> name <strong>of</strong> "trigonometric transform" [Sea98]. This gives two edge-free fringe<br />

pr<strong>of</strong>iles that can be filtered with considerably larger filter windows, without affecting <strong>the</strong> 02π<br />

transitions that appear again when <strong>the</strong> phase is re-calculated. However, too large a filter will attenuate <strong>the</strong><br />

contrast <strong>of</strong> <strong>the</strong> sine/cosine patterns or eliminate <strong>the</strong>m completely, depending on <strong>the</strong>ir spatial frequency;<br />

<strong>the</strong>refore <strong>the</strong> proper choice <strong>of</strong> filter size requires some care as well. Fig. 4.2 shows <strong>the</strong> improvement<br />

brought about by this strategy when <strong>the</strong> same filter size as above is used.<br />

grey value<br />

224<br />

192<br />

160<br />

128<br />

96<br />

64<br />

32<br />

0<br />

raw data<br />

9x9 lowpass<br />

0 50 100 150 200 250<br />

x -position/pixel<br />

Fig. 4.2: Effect <strong>of</strong> image smoothing by decomposing into sine <strong>and</strong> cosine part, low-pass filtering each <strong>of</strong> <strong>the</strong>m <strong>and</strong><br />

re-calculating <strong>the</strong> phase. As above, single image lines are shown, <strong>and</strong> <strong>the</strong> filtering was done in 2D.<br />

Obviously, <strong>the</strong> edges <strong>and</strong> <strong>the</strong>ir heights are preserved in this case; but <strong>the</strong> fringe shape still remains noisy.<br />

It improves a little when a median filter is used for <strong>the</strong> sine <strong>and</strong> cosine images: unlike <strong>the</strong> low-pass filter<br />

that is simply an average formation, <strong>the</strong> median filter really eliminates outliers. Yet it is clear that <strong>the</strong><br />

ideal fringe pr<strong>of</strong>ile will still not be restored by this type <strong>of</strong> filtering operation. Moreover, it is definitely<br />

inappropriate for <strong>the</strong> case <strong>of</strong> deterministic large-scale distortions <strong>of</strong> <strong>the</strong> fringe pr<strong>of</strong>ile, as Fig. 4.3 shows.<br />

In this case, a severe phase-shift miscalibration resulted in a concentration <strong>of</strong> calculated phase values<br />

around 0 <strong>and</strong> 180° (see Chapter 3.4.6), <strong>and</strong> <strong>the</strong> filtering does not even approximately restore <strong>the</strong> expected<br />

fringe pr<strong>of</strong>ile. While this is certainly an extreme example, it shows that filtering does not automatically<br />

generate an ideal reference phase map ∆ϕ ref (x,y) where both r<strong>and</strong>om <strong>and</strong> deterministic errors ought to be<br />

small or absent. Therefore, σ ∆ϕ will be underestimated when calculated with <strong>the</strong> black curve in Fig. 4.3 as<br />

a reference.

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

Saved successfully!

Ooh no, something went wrong!