Fractal interpolation functions [6] are included in the afore- mentioned fractal ..... [2] M. F. Barnsley, Fractals Everywhere, New York Academic,. 1988. [3] X. Zhu ...
EFFICIENT CONTOUR SHAPE DESCRIPTION BY USING FRACTAL INTERPOLATION FUNCTIONS Satoshi UEMURA, Miki HASEYAMA, Hideo KITAJIMA School of Engineering, Hokkaido University Kita-Ku Kita-13 Nishi-8, Sapporo 060-8628, Japan ABSTRACT This paper presents a novel representation method for contour shape using Fractal Interpolation Functions (FIF). In the traditional idea of the FIF, the scope of its application has been limited to the case where the signal is represented by a single-valued function. Therefore, the traditional FIF cannot be applicable to multiple-valued signals. The proposed method can model a multiple-valued signal with an extended FIF derived by introducing new parameters to the traditional one. Furthermore, the proposed method utilizes the fractal dimension known as a measure of complexity to determine the parameters in the FIF and thereby can model the signal based on its complexity. Experimental results show the validity of the proposed method.
shape description using the extended FIF is derived in Section 3, and experimental results are given in Section 4. Lastly, concluding remarks are given in Section 5. 2. FRACTAL INTERPOLATION FUNCTIONS In this section, we summarize basic ideas from the theory of FIF [6]. Let be a given discrete signal, where
.
/
0
/
#
$
2
'
$
!
$
4
+
6
(1)
4
8
!
be a subset of ; and let the points are called the interpolation points, and particuand . Note that larly the interval is defined by two consecutive interpolation points and we call this interval the th interpolation interval. Then the FIF are constructed with -affine maps of the form -
.
#
/
.
0
#
/
0
.
1. INTRODUCTION
/
E
'
#
.
/
#
.
>
0
>
+
+
H
D
2
4
In the past several years, modeling a given discrete signal to achieve highly accurate analysis has received a great deal of attention in the field of signal processing, image processing, and computer vision. Traditionally, Lagrange’s polynomial formula, splines, and ARMA model have been used to model the discrete signal. However, recently it was reported that the best way to model the signal which has the property of self-similarity [1] or self-affinity [2] is to use a fractal model [3, 4]. It is well-known that the natural shapes such as shoreline and mountain profile have the property of statistically self-similarity [5] and are easily described by using fractal models [1, 2]. Fractal interpolation functions [6] are included in the aforementioned fractal models and are used to model a one-dimensional discrete signal. When the FIF are applied to a given discrete signal, the signal is represented by its own contraction. This indicates that the FIF are capable of producing varied signals depending on the determination of the parameters. Hence an active area of research is the inverse problem [3, 7, 8]; that is, the determination of the map parameters to produce an accurate approximation of the original. Though the FIF have the ability to model a given discrete signal well, its application has been limited to the case where the signal is represented by a single-valued function. Therefore, an extended FIF derived by introducing new parameters to the traditional one are presented, and it can model a multiple-valued signal. Furthermore, the fractal dimension known as a measure of the complexity is used to solve the inverse problem, and thereby a given signal can be modeled based on its complexity. Therefore, by using the proposed method, we can efficiently describe the contour shape. This paper is organized as follows. In Section 2, the basic idea of traditional FIF is presented in brief. An efficient contour
0-7803-7622-6/02/$17.00 ©2002 IEEE
/ .
/
/ .
K
J
Q / 0
M
/ 0
O
P
/
L
2
/
/
/ M
S
Q /
4
(2)
/
where the map parameters , and are real and in particular the parameter must satisfy ; is a contractive mapping which maps into the th interpolation interval and it , when applied to , will yield a function . The signal is approximated by L
K
M
P
/
M
/
$
/
J
T
T
2
/
J
>
U
W
/
(3)
J
/
X
'
W
where is the attractor of the IFS. Each affine map is constrained to map the endpoints of the signal into the endpoints of the th interpolation interval as follows: 2
.
#
.
/
E
'
.
/
>
.
/
/
J J
# 0
/ 0
E
'
> 0
/ 0
2
S
4
(4)
/ M
Under the above constraint, if is a variable then the other four parameters , , , and can be written as follows:
I - 485
Q
/
/
/
/
L
K
P
/ .
/
_
/ .
E
'
(5)
K
.
> .
/
_ >
.
/ .
#
E
'
_
# .
/ .
.
_ >
.
(6)
#
P
/ 0
/
_
/ 0
E
'
> 0
_
M
_
# 0
/
(7)
L
.
.
_ >
> 0
.
/
E
#
'
.
_
# .
Q /
0
.
>
_ .
#
.
/ .
_
_ >
M
#
>
# 0
_
# .
0
>
/
.
>
_ .
#
(8)
IEEE ICIP 2002
/ M
Note that the parameter chosen as a free parameter has the ability to control the vertical scaling of and it is called the contraction factor concerned with the th interpolation interval. When the FIF are used to model a given discrete signal, the inverse problem arises : how to generate the attractor approximated to the given signal, and this problem results in the problem how to determine the interpolation points and the contraction factors. We propose a solution of the problem by using the fractal dimension. Therefore, we describe the relation between the fractal dimension of the attractor and the map parameters in the following subsection. /
M
/
Table 1. The value of the contraction factor versus the fractal dimension of the function . fractal dimension fractal dimension 0.1 1.013058 0.5 1.092842 0.6 1.109844 0.2 1.033364 0.7 1.116691 0.3 1.060195 0.4 1.076334 0.8 1.121626
J
/
J
2
/
M
W
/
M
W
a multiple-valued function. The outline of our method is: first, with the help of new introduced parameters, two signals can be generated from ; second, the map parameters are determined by using the fractal dimension and then two attractors concerned with each new signal are generated; finally, the given signal is represented by the attractor acquired by synthesizing the two attractors. Detailed account of our proposed method is as follows.
2.1. Fractal Dimension of the Attractor W
Let denote the fractal dimension of the attractor , then the and the map parameters is presented as folrelation between lows [2]: b
c
b
c
>
E
'
/ M
(9)
/
K
T
/
X
e
f
T
3.1. Generate Two Signals '
In order to understand this relation more definitely, we consider the relation between the contraction factor and the function acquired by mapping into the th interpolation interval. Since as the parameter helps to control the vertical scaling of described before, we guess that the value of affects the complexity of . That is, the smaller becomes, the smaller becomes. the complexity of We verify the validity of this consideration by the following experiments. Fig. 1(a) shows a discrete signal , and (b) shows acquired by mapping into the interval with varbeious . It can be seen from Fig. 1(b) that as the value of comes smaller, also the complexity of becomes smaller and the shape of gets closer to a straight line. Table 1 shows the value of versus the fractal dimension of computed with the yard-stick method [1]. We can find from Table 1 that the is to closer is to zero, the closer the fractal dimension of one. From these results, we can say that the contraction factor affects the complexity of . M
/
/
J
2
/
M
/
M
/
M
/
/
T
/
T
J
/
J
S
w
w
J
J
The traditional FIF have been applied only to a single-valued signal, because of the constraint shown in (1). Thus we introduce which are indepennew parameters is real and must satisfy dent of the given signal ; note that ; here we use to simplify the later process. As shown in Fig. 2, with the help and of , two new signals are generated from the given signal . w
#
$
w
'
w
$
$
+
w
w
w
w
!
!
!
!
H
D
M
/
M
/
/
J
/
J
M
/
/
J
M
/
/
J
M
/
/
J
(a) a multiple-valued signal 500
380
450
360 550
200
500
180
340
400
320
350 300
300
160
450
k
j
n
o
p
m
n
o
p
140
m
n
o
p
s
m
n
o
p
t
400
m
q
120
r
280
250
260
200
240
350
100
300
80 60
250
0
200
400
600
800
1000
1200
0
50
100
150
200
40
200
20
l i
150
(a)
(b)
0
200
400
600
800
1000
1200
0
0
200
400
600
800
/
(c) signal
/
Fig. 1. Effect of the contraction factor on the complexity of the : (a) a discrete signal ; (b) . function
J
1200
(b) signal M
1000
/
J
Fig. 2. Two signals help of . w
and
are generated from
with the
3. CONTOUR SHAPE DESCRIPTION In this section, we present a novel and efficient contour shape description with an extended FIF derived by introducing new parameters to the traditional FIF. Here, let be a given discrete signal which is represented by
!
3.2. Parameter Identification
First, a set of the interpolation points for the signal and must be determined. Thus we extract them with equal space from and , respectively; here, we let
I - 486
w
/
-
.
/
2
4
!
w
/ 0
2
4
2
!
and be a set of the interpolation points concerned with and , respectively. Second, the map parameters are identified by using the fractal dimension as follows. Note that though we describe the process for as an example, similar process must be done for the the signal . In the case where the interpolation points are equally signal spaced, the map parameter is equal to . Consequently, we can rewrite (9) as follows:
obtained because the th interpolation interval includes only a few data. However, our proposed method does not include the above problem because the fractal dimension required by the method is computed as follows. First, an interval is set on as shown in is set on the centre of the interval Fig. 3 (a); the point data points are included within the interval. Second, and we compute the fractal dimension of the data within this interval and denote the value by . Repeat above process as we move the interval toward the right endpoint of , finally a set of fractal can be obtained as shown in dimension Fig. 3 (b). It can be seen from Fig. 3 (b) that the fractal dimension corresponds with the local complexity of the signal. Thus we can use the following equation for the purpose to compute the fractal dimension of , instead of computing directly.
/
-
S
«
w
O
'
/
>
K
b
>
!
E
'
b
M
/
4
X
(10)
f e
T
/
T
'
b
W
In (10), indicates the fractal dimension of the attractor , and it is unknown. By the way, our purpose has been directed to produce the attractor which approximates to the original. Therefore, we assume that the attractor will correspond with the given signal. This assumption also indicates that the fractal dimension of the attractor will correspond with the fractal dimension of the given signal. Under this assumption one can rewrite (10) as follows: b
c
/
/
b
b
(14)
/
b
¬
_ w
¬
w
/
/
E
'
O
550
>
500 E
M
/
4
e
T
/
X
'
450
(11)
T
400
'
¶
350 300
is the fractal dimension of and can be easily comwhere puted with yard-stick method [1]. Thus the right-hand side of (11) is a known constant. From (11), it can be seen that though each is still unknown, the total amount of is equal to the constant . Therefore, we can determine the value of by dividing the total amount of into pieces as follows. Let be a subset of , which is located within the th interpolation in, and it is represented by . terval, i. e., has a complex shape, must be generated to be comIf plex. Consequently, to determine the contraction factor which affects the complexity of as described before, which is the fractal dimension of can be used as the weight function shown in (12) . b
·
250
M
/
M
E
T
150
/
T
°
±
²
®
²
³
´
µ
®
¸
0
200
400
600
800
1000
1200
®
T
4
M
200
®
'
T
e
T
(a)
T
1.09
/
M
/
4
/
T
T
1.08 Æ
2
/
Ä
Å
1.07
/
J
T
Á
1.06 ÂÃÄ
/
/
J
M
/
1.05
/
¿ÀÁ
1.04 ¾
/
¼
1.03
J
b
/
º
1.02 »¼½
1.01
0
200
400
600
2
¡
¢ >
X
'
Fig. 3. Local fractal dimension of the target signal. ¤
¤
b
In addition, by multiplying the above weight function by the total shown in (11), each can be determined based amount of on the complexity of as follows: M
/
M
T
T
1200
(12)
b
1000
(b)
/
800
¹
/
T
T
/
3.3. Reconstruction by Interpolation
>
M
/
¡
2
M ¥
¢
¤
T
T T
T
and with application of the First, we form the attractor of random iteration algorithm [2]; let and be the attractor of and , respectively. Second, by resampling and to have a common index, we can obtain the attractors and . Finally, by synthesizing the two attractors, we can obtain the attractor of the . Consequently, by using form our proposed method, the original signal is represented by the attractor .
W
X
'
¤
w
Ç
Ç
Ç
W
E
'
w
È
!
Ç
¡
2
¥
4
(13)
¢
e
Ç
W
W
Ç
Ç
È
W
È
However, one process still remains; that is the determination of the sign of . Therefore we actually map into th interpolation interval in both case of and , and comand . Then we pute the mean square error between choose the one gives smaller error. As described in Section 2, once has been determined, the other parameters can be easily computed with (5)–(8), and then a set of -contraction maps concerned with the signal can be obtained. When similar processes have been done for the signal , also can be obtained. By the way, in the case where adjacent interpolation points may not be exist with narrow space, the fractal dimension of M
/
2
M
/
¦
/
M
/
$
/
J
M
/
È
!
W
!
È
W
È
!
È
W
4
2
S
4
!
/
4. EXPERIMENTS
J
2
S
4
!
/
J
/
We illustrate the effectiveness of our proposed method with some examples. As shown in Fig. 4, the - plane data represent the shapes of the Japanese region are used. This data were acquired
I - 487
.
0
!
by extracting the boundary contour with raster scanning from the map data on the web page 1 of TAKESHI TAKEDA. Fig. 5 shows the description acquired by applying our proposed method; (a)– (d) show the shapes connected adjacent interpolation points with a line segment; (e)–(h) show the shapes reconstructed by using the extended FIF. The number of the interpolation points and the mean square error of fit are given in Table 2. It can be seen from Fig. 5 that it is possible to reconstruct the shape which is similar to the original with a few data. In particular, we can find that the portions surrounded by a dashed-dotted line are approximated well to their original.
(a)
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(b)
(c)
(d)
Fig. 4. Experimental data represent the shape of Japanese regions: (a) HOKKAIDO; (b) TOHOKU; (c) SHIKOKU; (d) KYUSYU. Fig. 5. Contour shape description using the extended FIF: (a)–(d) show the shape connecting the adjacent interpolation point with line segment; (e)–(h) show the shape using fractal interpolation functions.
Table 2. Performance of the description using the FIF. Figure signal Error 18.810279 40 41/1577 22.500474 (a)HOKKAIDO 41.310753 4.211640 30 39/1122 33.373322 (b)TOHOKU 37.584962 1.523365 (c)SHIKOKU 10 119/1177 0.785212 2.308577 17.203793 40 53/2056 14.929312 (d)KYUSYU 32.133105 4
Î
6. REFERENCES
5. CONCLUSIONS This paper has presented a representation method for contour shape using fractal interpolation functions. We found that our method had the ability to produce the shape approximated to the original with a few data points. This method has many possible applications such as; the shape representation on the automobile navigation system and animation image production using computer graphics. 1 http://hp.vector.co.jp/authors/VA003652/wtizuK/wtizuk.html
[1] B. B. Mandelbrot, The fractal geometry of nature, W. H. Freeman, San Francisco, 1982. [2] M. F. Barnsley, Fractals Everywhere, New York Academic, 1988. [3] X. Zhu, B. Cheng, and D. M. Titterington, “Fractal model of a one-dimensional discrete signal and its implementation,” IEE Proc. vision image and signal processing, vol. 141, no. 5, pp. 318–324, Oct. 1994. [4] M. A. Marvasti and W. C. Strahle, “Fractal geometry analysis of turbulent data,” Signal Processing, vol. 41, pp. 191–201, 1995. [5] A. P. Pentland, “Fractal-based description of natural scenes,” IEEE Trans. Pattern Analysis. Machine Intell., vol. PAMI-6, no. 6, pp. 661–674, Nov. 1984. [6] M. F. Barnsley, “Fractal functions and interpolation,” Constructive Approximation, vol. 2, pp. 303–329, 1986. [7] P. Maragos, “Fractal aspects of speech signals: dimension and interpolation,” in Proc. ICASSP, vol. 1, pp. 417–420, 1991. [8] D. S. Mazel and M. H. Hayes, “Using iterated function systems to model discrete sequences,” IEEE Trans. Signal Processing, vol. 40, no. 7, pp. 1724–1734, July 1992.
I - 488