
238 The Image Processing Handbook, Seventh Edition
and the interpolation in the vertical direction is
BBRB RB
jxky jxkjxk jx++ +− ++
=⋅+⋅+
δδ δδδ,,,,
1
6
11 2 kkjxk
RB R
+++
⋅+ ⋅
13
δ ,
(4.28)
where the weighting factors Ri are calculated for δx or δy, respectively, as
Rx
x
Rx
1
333
3
2
3426
2
=+
−⋅ +
+⋅ +
−⋅
=+
δδ
δ
(()
−⋅ +
()
+⋅
=+
()
−⋅
=
33
3
3
3
3
4
3
41 6
14
δδ
δδ
δ
xx
Rxx
Rx
(4.29)
The bicubic fit is smoother than the bilinear method and makes the derivatives continuous
at the corners of the 4 × 4 area around the fitted pixel. Interpolation smooths the image and
removes some high frequency information, but minimizes aliasing or stair- stepping along
lines and edges. T ...