next up previous contents
Next: Propagation with multiple neighborhoods Up: Errors in approximate EDT Previous: Influence of the neighborhood

Influence of the propagation process

Instead of considering all possible relative error locations as in the previous section, we now restrict ourselves to the errors occurring for the particular image on which algorithm [*] is performed. Intuition tells us that errors only happen near pixels that do not propagate.

More formally, let N1 and N2 be two neighborhoods such that $N_1 \subset N_2$. Let D1 and D2 be the resulting signed distance maps generated using N1 and N2 respectively. If there is a pixel p such that $D_1(p) \neq D_2(p)$, i.e. D1(p) is inexact and D1(p)>D2(p), then there is a pixel $r \in
N_2(p)$ such that either $D_1(r) \neq D_2(r)$, either D1(r) was not propagated using N1.

To prove this, let us first consider that pixels belonging to a Voronoi polygon VP(q) can only propagate to other locations belonging to VP(q) with the same q, which is what ordered propagation aims to achieve. Let us consider q such that $p \in
VP(q)$, i.e. let q be the nearest object pixel to p. Let us consider the set $S=VP(q) \bigcap (N2(p) \backslash N1(p))$ (Figure [*]). We know this set is not empty since at least one pixel propagated to p using N2 but none did using N1. Let us suppose that all pixels $r \in S$ have a correct value and were propagated using N1. Since propagation implies a strict increase of the distance value, at least one pixel $r \in S$ must propagate to a pixel $r' \not\in S$, i.e. a pixel $r \in
VP(q) \bigcap N1(p)$. This is impossible since r' would then have been propagated to p using N1, and D1(p) would then be correct.

  
Figure 3.5: $S=VP(q) \bigcap (N2(p) \backslash N1(p))$
\begin{figure}\centerline{\epsfysize=4cm \epsfbox{figures/chapter2/n1n2.eps}}
\end{figure}

In practice, the ordered propagation of algorithm [*] allows propagation to locations that are either in the same VP or in the neighborhood of this VP. Nevertheless, the above proof remains correct since propagated pixels located in the wrong VP are corrected before being propagated, and do not propagate themselves. Q.E.D.


next up previous contents
Next: Propagation with multiple neighborhoods Up: Errors in approximate EDT Previous: Influence of the neighborhood
Olivier Cuisenaire
1999-10-05