next up previous
Next: Evolutionary structure recovery Up: Applying knowledge to reverse Previous: Inference of unobservables

Better feature fitting

Euclidean distance is better and fast

One important issue in surface shape fitting and reconstruction is the choice of error metrics. For many years, the algebraic metric has been the choice for fitting quadric surfaces (e.g. [4]). If $ \{ \vec{x}_i \} $ is a set of 3D data points, then the algebraic fit [22] is the $A$, $\vec{b}$ and $c$ that minimizes

\begin{displaymath}
\Sigma_i ( \vec{x}_i' A \vec{x}_i + \vec{b}'\vec{x}_i + c)^2
\end{displaymath}

By the appropriate reorganization of the terms of this function, the minimization can be expressed as an eigenvalue problem with a straightforward, efficient and numerically stable solution. In the case of linear structures like planes and lines, this approach also gives the solution that minimizes the Euclidean distance to the data. Unfortunately, there is significant shape bias when fitting curved surfaces. Taubin's distance and other variants [52,53,7,58,28] or shape specific methods [31] are improvements and can be implemented efficiently, but still with bias. However, the Euclidean distance is usually the best:

\begin{displaymath}
\Sigma_i \mid\mid \vec{x}_i - \vec{s}_i(\vec{p}) \mid\mid^2
\end{displaymath}

where $\vec{s}_i(\vec{p})$ is the point on the fitted surface (which is parameterized by shape and position parameters $\vec{p}$) closest to data point $\vec{x}_i$. Figure 11 shows a comparison of fittings to a real cylindrical dataset. For this important industrial shape, both the algebraic and Taubin fitting give serious errors in the fitting, while the Euclidean fit is good.
Figure 10: Cylinder before and after shape and texture restoration from behind an occlusion.
\begin{figure}\begin{center}
\mbox{
\epsfxsize = 0.40\textwidth
\epsfbox{FIGUR...
...sfxsize = 0.40\textwidth
\epsfbox{FIGURES/textaft.ps}}
\end{center}\end{figure}

Researchers and engineers have traditionally avoided using the Euclidean distance because there is no closed form solution for general quadric surfaces thus leading to a large computational cost. (Closed forms exist for planes, elliptical cylinders and cones, which are a very practical subset of the quadric surfaces.) Recently we have reinvestigated this question because of the recent dramatic increase in computational power [17,16]. As well as exposing the great difference in fit quality, we have investigated the computational costs. Our efficient iterative implementation of the Euclidean fit is about 20 times slower than the closed form Taubin fit, but, in fact, the actual running time is approaching negligibility. Our implementation runs at about 3000 points/second on a 500 Mhz PC.

This implies that better quality surface fitting is now possible at reasonable costs.


next up previous
Next: Evolutionary structure recovery Up: Applying knowledge to reverse Previous: Inference of unobservables
Bob Fisher 2003-08-18