Shape Preserving Rational Bi Cubic Function
Shape Preserving Rational Bi Cubic Function
Cairo University
ORIGINAL ARTICLE
a
Department of Mathematics, University of the Punjab, Lahore, Pakistan
b
Lahore College for Women University, Lahore, Pakistan
KEYWORDS Abstract The study is dedicated to the development of shape preserving interpolation scheme for
Rational bi-cubic functions; monotone and convex data. A rational bi-cubic function with parameters is used for interpolation.
Parameters; To preserve the shape of monotone and convex data, the simple data dependent constraints are
Monotone surface; developed on these parameters in each rectangular patch. The developed scheme of this paper is
Convex surface confined, cheap to run and produce smooth surfaces.
2012 Faculty of Computers and Information, Cairo University.
Production and hosting by Elsevier B.V. All rights reserved.
atives at each ijth corner of rectangular patch. The explicit ð1 aÞ5i ai s4;i
i¼0
formulae are as follows: Sð1Þ ðx; yj Þ ¼ ; ð7Þ
ðv1 ðaÞÞ2
d0
Fx0;j ¼ D0;j þ ðD0;j D1;j Þ ;
d0 þ d1 with
s4;0 ¼ Fxi;j ; s4;1 ¼ 2ðwi;j Di;j Fxiþ1;j Þ þ Fxi;j ;
dm1
Fxm;j ¼ Dm1;j þ ðDm1;j Dm2;j Þ ;
dm1 þ dm2
s4;2 ¼ Di;j þ 2ðwi;j Di;j Fxiþ1;j Þ þ ðvi;j wi;j Di;j wi;j Fxi;j vi;j Fxiþ1;j Þ;
Di;j þ Di1;j
Fxi;j ¼ ; i ¼ 1; 2; 3; ; m 1; j ¼ 0; 1; 2; ; n:
2 s4;3 ¼ 3Di;j þ 2ðwi;j Di;j Fxi;j Þ þ ðvi;j wi;j Di;j wi;j Fxi;j vi;j Fxiþ1;j Þ;
4.1.1. Demonstration
In this section two monotone data sets are considered. These
data sets are interpolated by bi-cubic Hermite (Figs. 1–3 and
7–9) and monotonicity preserving scheme (Figs. 4–6 and 10–
12) developed in Section 4.1. It is observed that bi-cubic Her-
mite although C1 is unable to preserve the monotone shape of
data, whereas, the monotonicity preserving scheme of Sec-
tion 4.1 preserves the shape of data.
( )
Figure 5 xz-view of Fig. 4. Fyi;jþ1 Fyi;j Fyi;jþ1 Fyi;j
v^i;j ¼ w
^i;j > Max 0; ; ;
b i;j Fyi;j Fy D
D b i;j
same figure. Fig. 10 is the interpolation of same data by C1 i;jþ1
s7;5 ¼ 3ð^
vi;j þ 2Þs5;5 þ 3^
vi;j s5;4 3ðs5;3 þ s5;2 Þ;
s7;6 ¼ ð4^
vi;j þ w
^i;j Þs5;5 þ ðw
^i;j 2Þs5;4 2s5;3 ;
s7;7 ¼ ð2w
^i;j 1Þs5;5 s5;4 :
The boundary curve S(xi, y) is convex if s7,i > 0, i = 0, 1, 2,
. . . , 7. s7,i > 0, i = 0, 1, 2, . . . , 7 if
( )
Fyi;jþ1 Fyi;j Fyi;jþ1 Fyi;j
v^i;j ¼ w
^i;j > Max 0; ; :
b i;j Fyi;j Fy D
D b i;j
i;jþ1
Figure 13 C1 convex rational bi-cubic function. Figure 14 C1 convex rational bi-cubic function.
5. Conclusion