next up previous [pdf]

Next: Discontinuity in the solution Up: VESUVIUS PHASE UNWRAPPING Previous: Estimating the inverse gradient

Digression: curl grad as a measure of bad data

The relation (96) between the phases and the phase differences is
\begin{displaymath}
\left[
\begin{array}{rrrr}
-1 & 1& 0& 0 \\
0 & 0& -1& 1 ...
...
\Delta \phi_{ac} \\
\Delta \phi_{bd}
\end{array}\right]
\end{displaymath} (97)

Starting from the phase differences, equation (97) hope to find all the phases themselves because an additive constant cannot be found. In other words, the column vector $[1,1,1,1]'$ is in the null space. Likewise, if we add phase increments while we move around a loop, the sum should be zero. Let the loop be $ a \rightarrow c \rightarrow d \rightarrow b \rightarrow a $. The phase increments that sum to zero are:


\begin{displaymath}
\Delta \phi_{ac} + \Delta \phi_{cd} - \Delta \phi_{bd} - \Delta \phi_{ab}
\eq 0
\end{displaymath} (98)

Rearranging to agree with the order in equation (97) yields
\begin{displaymath}
- \Delta \phi_{ab}
+ \Delta \phi_{cd}
+ \Delta \phi_{ac}
- \Delta \phi_{bd}
\eq 0
\end{displaymath} (99)

which says that the row vector $[-1,+1,+1,-1]$ premultiplies (97), yielding zero. Rearrange again
\begin{displaymath}
- \Delta \phi_{bd}
+ \Delta \phi_{ac}
\eq
\Delta \phi_{ab}
- \Delta \phi_{cd}
\end{displaymath} (100)

and finally interchange signs and directions (i.e., $\Delta \phi_{db} = -\Delta \phi_{bd}$)
\begin{displaymath}
(\Delta \phi_{db} - \Delta \phi_{ca})
\ -\
(\Delta \phi_{dc} - \Delta \phi_{ba})
\eq 0
\end{displaymath} (101)

This is the finite-difference equivalent of
\begin{displaymath}
{\partial^2 \phi \over \partial x \partial y}
\ -\
{\partial^2 \phi \over \partial y \partial x}
\eq 0
\end{displaymath} (102)

and is also the $z$-component of the theorem that the curl of a gradient $\nabla\times\nabla\phi$ vanishes for any $\phi$.

The four $\Delta\phi$ summed around the $2\times 2$ mesh should add to zero. I wondered what would happen if random complex numbers were used for $a$, $b$, $c$, and $d$, so I computed the four $\Delta\phi$s with equation (96), and then computed the sum with (98). They did sum to zero for 2/3 of my random numbers. Otherwise, with probability 1/6 each, they summed to $\pm2\pi$. The nonvanishing curl represents a phase that is changing too rapidly between the mesh points. Figure 13 shows the locations at Vesuvius where bad data occurs. This is shown at two different resolutions. The figure shows a tendency for bad points with curl $2\pi$ to have a neighbor with $-2\pi$. If Vesuvius were random noise instead of good data, the planes in Figure 13 would be one-third covered with dots but as expected, we see considerably fewer.

screw
screw
Figure 13.
Values of curl at Vesuvius. The bad data locations at both coarse and fine resolution tend to occur in pairs of opposite polarity.
[pdf] [png] [scons]


next up previous [pdf]

Next: Discontinuity in the solution Up: VESUVIUS PHASE UNWRAPPING Previous: Estimating the inverse gradient

2011-07-17