We have
and the torsion
i
can be defined by
iii
nb
⋅=
'
τ
. The
discrete version of the Frenet formulas will then
have the form
:
where the coefficients
ij
a may not be zero. This is
due to the discrete effect of the digital curve
C . We
define the discrete Frenet matrix of the digital
curve
C at
i
p to be the 33
matrix:
where
ij
a is given by equations (4-5), (4-6) and
(4-7).
5 NUMERICAL SIMULATIONS
In this section, we will find the Frenet matrices of
the closed curves ( without boundary points ) and the
open curves ( with two boundary points ). For closed
curves, we choose the ellipses and
2
C
Bezier curves.
For open curves, we choose the helix
),sin,cos()(
c
b
c
s
a
c
s
atc =
(5-1)
with 0, >ba and
22
bac += . We shall compare
the error between the exact Frenet matrix and our
estimated discrete Frenet matrix by
||||
||||
RF
FRF
Error
−
=
(5-2)
where
R
is the exact Frenet matrix of the given
regular curve and
•
is the norm of matrix. We will
digitize these curves by two different kinds of
partitions -- uniform and non-uniform partitions. In
figures 3 to 8, the x-axis presents the number of
points of digital curves and the y-axis gives the
average of errors. We test 1,000 different random
curves in each partition for different size of points
and compute their average.
In figures 3 and 4, we show the numerical results
of closed curves and helix by uniform partitions.
From these results, the discrete Frenet matrix
approximates to the exact Frenet matrix very quickly.
In figures 5 and 8, we test the helix with uniform or
non-uniform partitions at the interior points and the
boundary points. These numerical simulations show
that our discrete method is very stable.
ACKNOWLEDGEMENTS
This work is partially supported by NSC, Taiwan.
We also thank Professor Chen-Yao Lai for helpful
discussions about the eigenvalue problem.
REFERENCES
Bjorck, A. Golub, G. H., 1977. Eigenproblems for matrices
associated with periodic boundary conditions. SIAM
Review Vol. 19, No. 1
Chen, S.-G.., Wu, J.-Y., 2004. Estimating normal vectors
and curvatures by centroid weights. Computer Aided
Geometric Design, 21, pp. 447-458.
Chen, S.-G.., Wu, J.-Y., 2005. A geometric interpretation
of weighted normal vectors and application.
Proceeding of the IEEE Computer Society Conference
on Computer Graphics, Imaging and Visualization,
New Trends, pp.422-425.
do Carmo, M., 1976. Differential Geometry of curves and
surfaces. Prentice Hall, Englewood Cliffs, NJ.
Rosenfeld, A. Klette, R. 2002. Digital geometry.
Information Sciences 148,p 123-127
Wu, J.-Y., Chen, S.-G. and Chi, M.-H., 2005. A simple
effective method for curvatures estimation on
triangular meshes, Technical Report WU02, NCCU,
Department of Mathematics.
ii
ii
ii
ii
i
pp
bb
pp
bb
b
−
−
+
−
−
=
+
+
−
−
1
1
2
1
1
1
'
r
ωω
(4-4)
iiii
ntat
r
rr
κ
+=
11
'
(4-5)
iiii
banatan
r
r
r
232221
'
++=
(4-6)
iiiii
bantab
r
r
r
r
3331
'
++=
τ
(4-7)
⎟
⎟
⎟
⎠
⎞
⎜
⎜
⎜
⎝
⎛
=
333231
232221
1211
0
aaa
aaa
aa
F
(4-8)
THE HEAT EQUATION AND THE FRENET FORMULAS FOR DIGITAL CURVES
101