Professional Documents
Culture Documents
Crim Mins 1982
Crim Mins 1982
6, NOVEMBER/DECEMBER 1982
Astract-A set of Fourier descriptors for two-dimensional shapes is Note that a single point is not a object. Let -y and y2 be
defined which is complete in the sense that two objects have the same objects.
shape if and only if they have the same set of Fourier descriptors. It also is
shown that the moduli of the Fourier coefficients of the parameterizing Definition 2: The objects y, and y2 are equivalent, -yl = 72
function of the boundary of an object do not contain enough information to if there exist two complex numbers a and b such that
characterize the shape of an object. Further a relationship is established ,Y = ay2 + b.
between rotational symmetries of an object and the set of integers for Note that a m 0 since otherwise yl would consist of the
which the corresponding Fourier coefficients of the parameterizing func-
tion are nonzero. single point b, contradicting the assumption that it is an
object.
I. INTRODUCTION It is easy to see that = is an equivalence relation. That
is, if -yl, y2, and -y3 are objects, then
A COMPLETE SET of Fourier descriptors for two-
dimensional shapes is defined. This set is complete in a) -yl Yl (reflexivity)
the sense that two objects have the same shape if and only b) Y I Y22 m -Yl (symmetry)
if they have the same set of Fourier descriptors. The c) -y I Y2 and Y2 Y73 Y1 = -73 (transitivity).
objects will be in the complex plane and their boundaries Therefore the set of all objects can be partioned into
will be parameterized after the fashion of Granlund [1]. equivalence classes with respect to the equivalence relation
(See also Richard and Hemami [2].) Zahn and Roskies [3]
and Persoon and Fu [4] use a different but similar param- Definition 3: A shape is any equivalence class of objects
eterization. Granlund defines some Fourier descriptors with respect to the equivalence relation = .
which satisfy the condition that if two objects have the If S is a shape and -y E S then -y will be said to have the
same shape their corresponding Fourier descriptors are shape S.
equal. However, as he points out, equality of his Fourier
descriptors for two objects does not imply that the two III. PARAMETERIZATION
objects have the same shape. Thus his Fourier descriptors
do not truly characterize the shape of an object. The same Let -y be an object, let P be its perimeter, and let
comments apply to the Fourier descriptors defined by 27r
Zahn and Roskies. YN = Y
It also is shown that the moduli of the Fourier coeffi-
Then YN is an object with perimeter 2,r and YN Y. The
cients of the parameterizing function do not contain suffi-
cient information to characterize the shape of an object.object YN will be referred to as the normalization of -y.
Further, a relationship is established between rotational Now let C be the unit circle in C and let p be a point on
symmetries of the object and the supports of the FourierYN. A parameterizing function for yN, F: C -' YNN which
will also be referred to as a parameterizing function for -y,
transforms (functions on the integers, i.e., Fourier coeffi-
cients) of parameterizing functions for the object. will be defined in the following way. Let F(elo) be the
unique point on YN for which the arc length, measured in a
II. DEFINITIONS counterclockwise direction along YN from p to F(eiO), is O.
Then F is a continuous arc-length preserving one-to-one
The complex plane will be denoted by C. The following map of C onto YN. Note that F depends on the starting
definition identifies objects with their boundaries. point F(1) = Note also that if F is a
Definition 1: An object is a simple closed rectifiable function for -yp.and c is a strictly positive realparameterizing
number, then
Jordan curve in C. F is also a parameterizing function for cy.
Manuscript received January 21, 1982; revised May 20, 1982. This work IV. INSUFFICIENCY OF FOURIER MODULI
was supported by the Defense Advanced Research Projects Agency under
Contract F336 15-80-C-1 195 through the Avionics Laboratory at Air Let Yl and Y2 be objects and let F and G be parameteriz-
Force Wright Aeronautic Laboratories.
The author is with the Radar and Optics Division, Environmental ing functions for -yl and y2, respectively. The Fourier
Research Institute of Michigan, P.O. Box 8618, Ann Arbor, MI 48107. coefficients of F and G will be denoted by F(n) and G(n),
0018-9472/82/1100-0848$00.75 01982 IEEE
CRIMMINS: FOURIER DESCRIPTORS FOR 2-D SHAPES 849
ia
e 3 -e
ict 1
e
27r iaC
e 3 e ao ; 2
27r
iaV /-e 3
-e
-1 /ea
-e
e iac -e 3
f
Fig. 1. Y; 7 <at< 7
nZ (b)
Fig. 2.
and
00
G(z)= Gi(n)zn Example: A set of objects ya, will be defined which are
n==-oo not equivalent to each other, but for which the moduli of
the corresponding Fourier coefficients of their parameteriz-
for z E C. The following lemma is well-known [1], [2]. ing functions Fa are the same. This will be done by first
Lemma: y = y2 if and only if there exist real numbers a defining the derivatives fa of the parameterizing functions
and /3 such that with respect toO, where z = e'9.
F(n) = eei(a±nI3ki()
(+"G(n) Let c = g/6 and for g/3 < a < 2X/3 let
A
for all n * 0. (See Appendix for proof.) eia, for 0 < 0 < c
If w E C let W denote the complex conjugate of w. If -y is 1, for c < 0 < 2c
an object let eela
, for 2c < 0 < 3c
= (W: w E -y).
for 3c < 0 < 4c
Then y is also an object. Suppose F is a parameterizing elI.a for 4c < 0 < 5c
function for y. Then ,
Therefore by the lemma and the above, if either -yl Y2 or dent of a for all n. Now let
-y I Y2, then
Fi(e'0) = fOfa(eio) do
iF(n)l = (n)l, for alln 0.
The question now arises: does the reverse implication hold? and
That is, if IF(n)l = IG(n)I for all n # 0 does it follow that Ya=Fa(C).
either yl 72 or -y, y2? Unfortunately the answer is no, Then F. is continuous, and for (r/3) < a < (2 7/3) it is
as the following counterexample shows. one-to-one (see Fig. 2). Also since If,(z)l = 1 for all z
E C
850 IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, VOL. SMC-12, NO. 6, NOVEMBER/DECEMBER 1982
it follows that F, is arc-length preserving. Furthermore for In the next section it will be shown that objects having
n * 0, rotational symmetry do not satisfy the condition that there
exists an integer no, such that -1 * no * 0 and c0 * 0 *
Fta(n) = 2l|Fj(e()e- in0d cn + I' Hence Theorem 1 is not applicable for objects
having rotational symmetry.
I(1)
inelJTG(n) e
O.
= eiaG
G(ez) + F(o) - eiaG (0).
Therefore
YNI= eYN2 + F(O) - eaG(O). (8)
Now it follows from (2) and (8) that 0
I eia2 + 2 i [Ft(O) -
eaG(0)]
0 -e
In other words
yj = ay2 + b, -1 0
where 0
a = -e (b)
P2 Fig. 3.
and
b = 2[ F(0) - eLaG(0)].
In the sense of convergence in the L2 norm the function k
Therefore can be represented by
Y I 72
00
This completes the proof of the lemma. k(z) = E k(n )Zn.
n= -oo
Proof that tf,(n)l is independent of a for all n Also
Let
gl(z) z3k(z6)
=
g2(z) e-ist/6zh(-Z6)
= for z E C. On the other hand
The functions g, and g2 are represented schematically in 00
Figs. 3(a) and 3(b), respectively.
We have
g1(z) =
n-
E
0oo
g'(n)zn. (1 1)
fa(z) =
elagi(z) + g2(Z), for all z E C From (10) and (11) it follows that
and
for all n. (9) for m 3 and for all n
=
f (n) =
elagi(n) + g (n),
form 0,1,2,4,5
=
noo
00
ei(21r1r)pnozno E Ft(nr + no)znr
fl -00
- £ (- 1)'e- i7/6h(n)z6n+l (13)
n = -coo - ei(2 7/r)(I qr)F(z)
-
Then
£ F(nr + nO)Z(nr+no) p =P (26)
n= - 00
r r
noon 00
By (23), (25), and (26),
z"o E F(nr + n0)z nr (19)
e i(2iT/r)F(z) F(ei(27T/rl)Plz ).
n =-oo
= (27)
854 IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, VOL. SMC-12, NO. 6, NOVEMBER/DECEMBER 1982
By repeated use of (27) we obtain Finally it follows from (29) that n0 and r are relatively
F(z) = F(ei2,,pIZ
prime. This completes the proof of Theorem 2.
= F(ei(t/l pIrIZ) Proof of Theorem 3
= ei(2ir/r)riFl(z) First assume Yi Z y2. Then by the lemma there exists
=-ei(2 lrls)F( 2 (28) real a. such that
Therefore c - ei(a+n)d for alln *0. (36)
e i(lff1s), It follows from (36) that
and hence ICnl = Idnl,
for all n * 0. (37)
s= 1
Conditions a) and c) now follow from (37). Further for
Therefore p and r are relatively prinne. It follows that there n e S and] = 1,* *, J
exist integers no and q, such that
nop + qr= 1 (29) n)/rj5nj-
Cno -j)/re(fo
By (23) and (25), - ei(a+nof)(n - nj)/rd(n -nj)/r
By the above and repeated use of (830), *e i(p/r)(on- nonj+ njno -njn + nn -nno)
7rlr)pnoZ )d(nn nj)/rd(no n)/rd(nj-no)/r
F(ei(2ir/r)z ) -F( i(2TT/r)pnoZ~ ~ ~~~~~~~~~n - -
*
n
n=-oo
want to show that yl y2.
Condition a) implies that
it follows that
00 #1 n (nj no
F(ei(2w/r)z) - E ( I
n= -oo
(32) ~~~~~~~j=1
dnjcno J
and and
00
e (2X/r)noF(z) = E P(n)e (2l/r)nozn. (33) dno
n = - oo
From (31), (32), and (33) we obtain Let e'i be any of the r r th roots of
00 00
£ f(n)e (27/r)nzn - (n)e(27/r)nozn (34)
n-- n=-oo rl1 dnjcno
It follows from (34) that and let
n ) e i(2-fr)n (n)ei(2,w/r)no for all n. = d
Therefore if for any particular value of n, F(n) * 0, it
follows that We have
e-(2-r/r)no
ei(2ir/r)n = J n -no (38)
This in turn implies that there exists an integer m such that r =1
j.1
-n = -no + 2irm. (35) Now let n E S,. By condition c) n e S2. Thus
$ 0 :* dn.
Cn *# n-
From (35) it follows that
n = no + mr Also, since
or n1E SI =S2, j= 0,l0,. J,
Cn * 0 ¢dn j 0,,I J.
n = no(modr). =
CRIMMINS: FOURIER DESCRIPTORS FOR 2-D SHAPES 855
dnen dnjeno
(39) n = -oo
= E CnZn + Co
n-O
Using (38) and (39) and the definition of ei' we obtain - ei(a+n)d zn + C0
n*O
cndn f d \ p1(ny-n0)/r = eia E dn(eiPz)n + co
dncno dncn o
00
= ema E dn(eipz)n + co-e'ado
nf -oo
J_I( dnCno eiaG(ei#z) + b,
e (40)
where
b = CO- eiado
JIj=( dncno) = F(O) - eiGc (0).
= cn( )P (n nO)/r p Let YNI and YN2 be the normalizations of yl and -y2,
1-1][( cn' dn ) (n,
i no)/r].
respectively. Then it follows from (40) that
= (li [( n )(f )/n]Pn
j= dn.noI YN,1 eiYN2 + b. (41)
Finally it follows from (41) that
Yi = p eiay2 + 2 b,
- eifr)(n
-no)r where Pi and P2 are the perimeters of ry and y2, respec-
i- (n-no) tively.
Therefore REFERENCES
Cen
c -e
no0
im8n o ,8fnd [1] G. H. Granlund, "Fourier preprocessing for hand print character
recognition," IEEE Trans. Comput., vol. C-21, no. 2, pp. 195-201,
Feb. 1972.
= ei(a+nP) d for all n E S1 = S2. [2] C. W. Richard, Jr. and H. Hemani, "Identification of three-dimen-
sional objects using Fourier descriptors of the boundary curve,"
IEEE Trans. Syst., Man, Cybern., vol. SMC-4, no. 4, pp. 371-378,
On the other hand if n 0 SI = S2 and n * 0, then July 1974.
[3] C. T. Zahn and R. Z. Roskies, "Fourier descriptors for plane closed
Cn =O = dn curves," IEEE Trans. Comput., vol. C-31, no. 3, pp. 269-281, Mar.
1972.
Therefore, [4] E. Persoon and K. S. Fu, "Shape discrimination using Fourier
c = ei(a±+ n) d for alln 0. descriptors," IEEE Trans. Syst., Man, Cybern., vol. SMC-7, pp.
170-179, Mar. 1977.
[5] I. Niven and H. S. Zuckerman, An Introduction to the Theory of
Now it follows from the Lemma that -y1 7Y2. Numbers. New York: Wiley, 1972.