mization stage is O((n/ε)
2
).
According to the previous discussion, the over-
all complexity of the algorithm in Fig. 3 is O(n
4
+
(n/ε)
2
) = max(n
4
,(n/ε)
2
). Additional work is re-
quired to determine which one of n
4
and (n/ε)
2
is
dominant. A valid question to be posed is whether the
pre - processing might be removed, and its computa-
tional cost (O(n
4
)) spared. The answer is negative,
since a good quality initial guess for P is essential for
the optimization algorithm to converge to a topologi-
cally and geometrically valid solution. Fig. 10 illus-
trates the result for a run lacking a good quality initial
guess for P.
In the previous discussion, it must be pointed out
that the complexities considered are worst case ones.
Therefore, we present here a very conservative esti-
mation. For complexity estimation expected values
are also used.
6 CONCLUSIONS AND FUTURE
WORK
This article has presented the implementations of al-
gorithms to synthesize a parametric planar curve C as
an optimized fit for a point cloud S sampled from an
unknown initial curve C
0
. The curve C is therefore an
approximation for C
0
.
The implemented method presents several nov-
elties with respect to the existing contributions by
other authors: (1) It is successful in recovering
self-intersecting and non-Nyquist curves. (2) It
implements a Principal Component Analysis pre-
processing which finds a topologically faithful PL ap-
proximation for P, the control polygon of C. (3) This
initial guess for P is optimized in the sense of using a
very reduced number of vertices, which are chosen
according to the local curvature of P. (4) The al-
gorithm avoids the expensive calculation of distance-
point-curve, which implies algebraic roots, by calcu-
lating a PL approximation of curve C in each iteration
and solving the distance-point-curve with this proxy
approximation. (5) The algorithm penalizes f by con-
sidering not only the distances of cloud points p
i
∈ S
to C but also the distances from curve points C
i
to S.
Since C is finite, theses distances are not equal. By
doing so, the implemented method avoids the genera-
tion of spurious curls and outlier legs. Finally, (6) the
implemented algorithms lower the computation time
required to solve the problem by introducing features
(2), (3), (4), above.
Ongoing work includes exploration of other mini-
mization algorithms (Quasi-Newton for large values
of residuals), usage of different objective functions
to obtain faster convergence, improvement in self-
tunning of the algorithms, usage of unequal weights
in the residuals of Eq. 9 and a more aggressive strat-
egy to minimize the number m of the control points of
P. Since the search space is R
2m
, lowering m consid-
erably cuts the computing time for the minimization
of f .
REFERENCES
Blake, A. and Isard, M. (1998). Active contours: the ap-
plication of techniques from graphics, vision, control
theory and statistics to visual tracking of shapes in
motion. Springer.
Fl
¨
ory, S. (2009). Fitting curves and surfaces to point clouds
in the presence of obstacles. Computer Aided Geo-
metric Design, 26(2):192–202.
Fl
¨
ory, S. and Hofer, M. (2008). Constrained curve fitting on
manifolds. Computer-Aided Design, 40(1):25–34.
Fl
¨
ory, S. and Hofer, M. (2010). Surface fitting and registra-
tion of point clouds using approximations of the un-
signed distance function. Computer Aided Geometric
Design, 27(1):60–77.
G
´
alvez, A., Iglesias, A., Cobo, A., Puig-Pey, J., and Es-
pinola, J. (2007). B
´
ezier curve and surface fitting
of 3d point clouds through genetic algorithms, func-
tional networks and least-squares approximation. In
Proceedings of the 2007 international conference on
Computational science and Its applications-Volume
Part II, pages 680–693. Springer-Verlag.
Kapur, D. and Lakshman, Y. (1992). Elimination Methods:
An Introduction, pages 45–88. Academic Press.
Liu, Y. and Wang, W. (2008). A revisit to least squares
orthogonal distance fitting of parametric curves and
surfaces. In Chen and Juttler, editors, Advances in
Geometric Modeling and Processing, volume 4975 of
Lecture Notes in Computer Science, pages 384–397.
Springer Berlin / Heidelberg.
Liu, Y., Yang, H., and Wang, W. (2005). Reconstructing b-
spline curves from point clouds–a tangential flow ap-
proach using least squares minimization. In Proceed-
ings of the International Conference on Shape Mod-
eling and Applications 2005, pages 4–12. IEEE Com-
puter Society.
Nyquist, H. (1928). Certain topics in telegraph transmission
theory. Bell System Technical Journal.
Park, H. and Lee, J. (2007). B-spline curve fitting based
on adaptive curve refinement using dominant points.
Computer-Aided Design, 39(6):439–451.
Piegl, L. and Tiller, W. (1997). The NURBS book. Springer
Verlag.
Ruiz, O. E. and Ferreira, P. (1996). Algebraic Geometry
and Group Theory in Geometric Constraint Satisfac-
tion for Computer Aided Design and Assembly Plan-
ning. IIE Transactions. Focussed Issue on Design and
Manufacturing, 28(4):281–204. ISSN 0740-817X.
ParametricCurveReconstructionfromPointCloudsusingMinimizationTechniques
47