Professional Documents
Culture Documents
Constrained Fitting of B-Spline Curves Based Onthe Force Density Method
Constrained Fitting of B-Spline Curves Based Onthe Force Density Method
235
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
shape constraints in order to produce B-Spline curve that the B-Spline fitted curve is calculated again with the intro-
successfully reproduce regularities required by engineer- duction of some shape constraints like position, distance,
ing applications (such as curvature, position and distance straight and curvature.The fitting problem is solved using
constraints). The constraints to be satisfied may be re- the Optimization Toolbox of MatLab[15] that allows to
lated to the production process, to the material or to other program linear/non-linear and equality/inequality con-
technological issues. straints.
Only the specialist that holds the specific knowledge is The results suggest that the adoption of a mechanical
able to interpreter these data and take the right decisions model of bar networks allows developing a more flexible
about the fitting (e.g.: mathematical model and relative tool than the traditional LSMs usually adopted for fitting
parameters, how to split the curve in several segments, problems. Numerical examples show that the new ap-
continuity between each couple of consecutive segments, proach is effective in fitting problems when the satisfaction
etc.). of shape constraints, such as those related to production
So it is possible to assert that curve fitting in some or to technological processes, are required.
cases is a knowledge-based process, whichmight not be
completely automated. 2 State-of-the-art
To better control the link between the semantic of the
processes, to avoid low manipulations of geometric data, Even if the FDM has been applied in different and vari-
and to be more flexible thanthe LSMs, the Force Density ous engineering fields, for what concern curve fitting prob-
Method (FDM) introduced by Scheck [9] has already lems the state-of-the-art proposes only two researches.
proved its capacities. It is based on a mechanical model Eric Saux[16] proposes an application to cartographic
of a network with tensile bars.Thanks to its properties, the generalization of maritime lines. His attempt is to include
FDM has been applied in various domains including the fitting method for geographic data reduction in carto-
lightweight tension and tensile integrity structures [10], graphic maps; in particular the use of B-
optimization of tensile textile structures [11], and deforma- SplineSplinecurves for modeling smooth lines such as
tion of free form surfaces [12,13]. The large spread of this roads, railways or waterways. With his research Saux
method is due to its main advantages: proposes two approaches for the implementation of the
· Any state of equilibrium of a general net structure can working tools in generalization of cartographic maps[17].
be obtained by the solution of one system of linear One is automatic while the other is interactive. A cata-
equations. This system is constructed using the force- logue of cartographic generalization operators has been
length ratios or “force densities” in the branches as proposed, including selection/elimination, aggregation,
network description parameters. In other words, one structuring, compression (or filtering), smoothing, exagge-
single force density is prescribed in order to obtain a ration, caricaturing, enlargement and displacement. The
unique result for the appropriate state of equilibrium. curve deformation is obtained through mechanical para-
· It is possible to extend the linear approach to the non- meter modifications which lead to a shape modification,
linear force density method. The number of non-linear the strategy is that suggested by Léon and Trompette[18]
equations is identical with the number of additional based on the ForceDensity Method. Each equilibrium po-
conditions and is independent of the number of net sition of the barsnetwork (coupledto the control polygon of
nodes [9]. the curve) can be determined solving a linear system of
Therefore this approach may be simpler and less expen- equations. The strategy relies on a mechanical approach
sive than the conventional solutions. permitting fast calculations as well as local and global de-
In this paper, we propose to take advantage of the formations.
FDM to develop a constrained B-Splinefitting tech- Sanchez [19] proposes NURBS fitting techniques to
nique,able to take into account some shape con- represent tensile structures. The first step of the method
straintsthat may be specified in order to satisfy specific consists into an initial grid generation; this structural net
technological needs. has the minimum nodes and elements needed to obtain
The paper describes the overall methodology neces- the double curvature of the membrane. On the initial grid
sary to reach a constrained fitting of B-Spline curves the FDM is applied in order to obtain the equilibrium
based on the FDM in which only a few set of constrains shape of the membrane. Once the equilibrium shape is
have been tested. After a brief introduction on the proper- obtained, NURBS fitting techniques [20, 21] are used to
ty of the FDM and the definition of the network adopted represent a smooth parametric surface that passes
for the formulation of the fitting problem, the paper ex- through the points obtained in the previous form finding
plains in detail the mathematical approach,the methods step. The values of the force density parameters and the
and the techniques usedfor the definition of the proposed applied forces may also be changed, obtaining different
constrained B-SplineSplinecurve approximation. equilibrium shapes in real time. With this method they
The approach is composed by four stages. In the first have tested different algorithms, but these are not de-
stage an initial B-SplineSplinecurve fitting problem is scribed in detail in the paper.
solved using the minimization of an objective function de- The maindrawback of these researches is their being
fined as the sum of the square external forces computed limited to the contexts of cartographic map and tensile
on the free nodes of the network. structures,respectively. Furthermore they don’t consider
The second stage implies the use of a toolbox for the the possibility to enforce shape constraints that may be
curvature analysis and evaluation. In addition to the cur- required by engineering applications and technological
vature ,this toolbox is able to compute and depict the processes.
most important points belonging to the B-SplineSpline by
means of the Leyton Process-Grammar [14]. 3 Proposed method
The third stage is characterized by a splitting toolbox
that, using the information elaborated in the previous The proposed approach for performing a constrained
0 Force Density B-SplineSplinecurve fitting is based on a
stage, introduces G continuities on the initial curve in or-
der to simplify its manipulation. In fact, in the last stage, four stages method depicted infig. 2.
June 15th – 17th, 2011, Venice, Italy 236 Proceedings of the IMProVe 2011
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
な 件血"捲沈 判 憲 隼 捲沈袋怠
軽沈 怠 岫憲岻 噺 峽 (2)
ど 剣建月結堅拳件嫌結
通貸通日 通日甜妊甜迭 貸通
軽沈 椎 岫憲岻 噺 軽沈 椎貸怠 髪 軽沈袋怠 椎貸怠 (3)
通日甜妊 貸通日 通日甜妊甜迭 貸通日甜迭
June 15th – 17th, 2011, Venice, Italy 237 Proceedings of the IMProVe 2011
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
plied to its nodes. It is possible to distinguish the blocked returns a vector of dimension に券 that are the 岫捲沈 検沈 岻
nodes from the free nodes (unknowns of the fitting prob- coordinates of the 券 control points皿沈 .
lem). The position of the free nodes is automatically up-
dated to compensate the external forces variations and 3.2 Curvature Evaluation
maintain the static equilibrium of the structure.
Each bar can be seen as a spring of length li with a The second stage of the proposed methodology is the
force density (stiffness) qi. To preserve the static equili- curvature evaluation, whose aim is the individuation, in an
brium state of bars, fiexternal forces have to be applied to objective manner, of the principal characteristics of the B-
the endpoints of the bar: 血沈 噺 圏沈 ゲ 健沈 (fig.4). The set of ex- Spline fitted curve computed in the previous stage. The
ternal forces applied to the initial bar network can be then curvature evaluation consists of two main steps: the cur-
obtained through the static equilibrium equations at each vature analysis and the Leyton signature that allows to
free node. index each curve through the adoption of the Ley-
The shape of a network strongly depends on the con- ton’sprocess-grammar.
nectivityrulesspecifyingwhich nodes have to be connected
by springs. For the fitting problem the definition of a me- 3.2.1 Curvature Analysis
chanical model of a spring network has been necessary
The curvature is defined as the vector 倦 whose magni-
for the computation of the objective function. Among the
tude is the reciprocal of the radius of the circle [24, 25].
different solution that could be adopted the next figure
For aB-Spline curve B(u) the curvature function is:
shows the final network that is coupled between the point
to be fitted and the B-Spline curve:
匂遁 匂鉄 遁
辰奪担磐 "" 卑
匂祢 匂祢鉄
倦岫憲岻 噺 匂遁 典
(5)
嵶 嵶
匂祢
June 15th – 17th, 2011, Venice, Italy 238 Proceedings of the IMProVe 2011
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
tween these two descriptors. Indeed the theorem states ing the flexibility of a curve, these algorithms can be clas-
that, to each curvature extremum, there is a unique sym- sified in: degree elevation/reduction; knot insertion; knot
metry axis terminating at that extremum. Furthermore the removal; reparameterization. The basic idea behind these
Interaction Principle [14] statesthat each of the axes is a techniques is to increase the flexibility of the curve without
direction along which a process has acted. The implica- changing the shape of the curve. The success of the idea
tion is that the boundary was deformed along the axes; depends on the fact that there are an infinite number of
e.g. each protrusion was the result of pushing out along control points with more than the minimum number of ver-
its axis, and each indentation was the result of pushing in tices that represent identical B-Spline curves [28].
along its axis. There are four alternative labels (M+, m−, In order to develop a toolbox that allows splittinglocally
m+, and M−) that could be associated to each axes and a B-Spline curve,it is necessary to enhance the flexibility
these correspond to the four alternative types of curvature of the B-Spline by increasing the number of the control
extrema. M and m denote, respectively, a curvature max- points, which corresponds in inserting additional knot val-
imum and minimum; and + and −, respectively, denote ues into the knot vector山 (knot insertion technique). The
positive and negative curvatures. finalresult is a curve defined by a larger number of control
The introduction of the Leyton’sprocess-grammar with- points, but which defines exactly the same curve as be-
in the proposed approach allows identifying the exact po- fore the knot insertion. This technique provides more local
sition of the curvature extrema. Indeed the next picture control by isolating a region to be modified from the rest of
shows that the curvature graph, calculated in the previous the curve, which thereby becomes immune from the local
section, can be enriched of the information obtained modification. In particular the development of the splitting
through the Leytonprocess-grammar; in particular the toolbox is based on the Boehm’s knot insertion algorithm
highest curvature’s value is 倦岫憲岻 噺 な のにfor 憲 噺 ば ばな. [29, 30]. Consider the original curve B(u) defined by eq.1
with the knot vector岷戟峅 噺 範憲怠 "憲態 "憲津袋椎袋怠 飯. After knot
insertion, the new curve is C(t) defined by:
察岫建岻 噺 デ陳貸怠 拍
珍退待 軽珍 椎 岫建岻 ゲ 鶏珍
茅
(6)
June 15th – 17th, 2011, Venice, Italy 239 Proceedings of the IMProVe 2011
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
June 15th – 17th, 2011, Venice, Italy 240 Proceedings of the IMProVe 2011
L. Barbieri et al. Constrained fitting of B-Spline curves based on the Force Density Method
June 15th – 17th, 2011, Venice, Italy 241 Proceedings of the IMProVe 2011