by a convolution filter and is therefore called “quasi-
convolution pyramidal blurring.”
In addition to the two mentioned contributions, an
efficient GPU implementation of the new analysis fil-
ter is described in Section 5, while some experiments
demonstratingthe benefits of the proposed method are
presented in Section 6.
2 PYRAMIDAL BLURRING
Image blurring with the pyramid algorithm was first
suggested by Burt (Burt, 1981). In the first part of the
method, called analysis, an image pyramid of down-
sampled or reduced image levels is computed by ap-
plying a (usually small) analysis filter mask and sub-
sampling the result by a factor of 2 in each dimension.
In the second part of the method, called synthesis,
one of the levels is chosen based on the specified blur
width. The coarse image of the chosen level is itera-
tively upsampled to the original dimensions by apply-
ing a synthesis filter. Figure 1 illustrates this method
for a one-dimensional image of 16 pixels.
Figure 1: Illustration of pyramidal blurring in 1D.
An efficient GPU implementation of this algo-
rithm was presented by Strengert et al. (Strengert
et al., 2006) for a 2× 2 box analysis filter and a syn-
thesis filter that corresponds to filtering the coarse im-
age by a biquadratic B-spline filter. The resulting
image quality can be improved by applying a 4 × 4
box analysis filter or an analysis filter corresponding
to a biquadratic B-spline filter as suggested by Kraus
and Strengert (Kraus and Strengert, 2007b). While
this improvement often results in an acceptable image
quality when blurring static images, rendering arti-
facts become visible in animations since the proposed
pyramidal blur deviates significantly from blurring by
convolution filtering, i.e., the blur varies depending
on the image position.
In this work, the deviation from convolutionfilters
is quantitatively analyzed and a new analysis filter is
designed that allows for an efficient GPU implemen-
tation while minimizing the deviation from a convo-
lution filter. We employ the synthesis filter proposed
by Strengert et al. since biquadratic B-spline filter-
ing offers several interesting features such as compact
support, C
1
continuity, similarity to a Gaussian distri-
bution function and therefore almost radial symme-
try, and the possibility of an efficient implementation
based on bilinear interpolation (Strengert et al., 2006).
3 QUANTITATIVE ANALYSIS OF
RESPONSE FUNCTIONS
In order to analyze the deviation of pyramidal blur-
ring from convolution filtering, we consider the con-
tinuous limit case of infinitely many downsampling
and upsampling steps; thus, the “pixels” of the input
image are infinitely small. Without loss of generality,
the size of a pixel of the coarsest image level, which is
used as input for the synthesis, is set to 1 and the sam-
pling positions of these pixels are positioned at integer
coordinates. We discuss only one-dimensional gray-
scale images since the extension to two-dimensional
color images is straightforward for separable filters
and linear color spaces.
The limit of infinitely small input pixels allows us
to define continuous response functions for a black
input image with a single, infinitely small intensity
peak at position p ∈ R in a coordinate system where
the pixels of the coarsest image level are at integer
coordinates. We distinguish between two kinds of re-
sponse functions: the first is denoted by ϕ
i
(p) and
specifies the intensity of a pixel of the coarsest image
level at integer position i ∈ Z after downsampling the
input image with a peak at position p.
The second kind of response functions is denoted
by ψ(x, p) and specifies the intensity of the blurred
image (of infinitely high resolution) at position x ∈ R
for a peak at position p ∈ R. In this work, the blurred
image is always obtained by filtering the coarsest im-
age level by a quadratic B-spline. We denote the
quadratic B-spline function centered at i by ϕ
quad
i
(x)
(see Equation 5 for its definition); thus, ψ(x, p) is
defined as the sum over all pixels of the product of
the response function for the i-th pixel ϕ
i
(p) with the
quadratic B-spline ϕ
quad
i
(x).
ψ(x, p) =
∑
i
ϕ
i
(p)ϕ
quad
i
(x) (1)
With the help of these definitions we compute
ϕ
i
(p) and ψ(x, p) for three analysis filters discussed
by Kraus and Strengert (Kraus and Strengert, 2007b).
The analysis filter mask for the 2-tap box filter is
1
2
(1 1); thus, the corresponding response function for
the i-th pixel of the coarsest image level is a simple
rectangle function denoted by ϕ
rect
i
(p) and depicted
in Figure 2a.
ϕ
rect
i
(p) =
1 if i−
1
2
< p < i+
1
2
0 otherwise
(2)
GRAPP 2008 - International Conference on Computer Graphics Theory and Applications
156