Let us make each orientation of the elliptical filter a gridded array with 1's at the cross-hatched pixels in Figure 1 and 0's everywhere else. We will then get a
grid where
is the major axis dimension of the ellipse (i.e. the grid will be
if the ellipses have a major axis of 64 pixels and a minor axis of 15 pixels). Let us also denote by
the number of points that are 1 in the
orientation,
, of the filter. 5 Then, the averaging operation,
can be written as:
Let us assume that we use grids of size
and elliptical filters of size
. Then, the number of operations required to compute each filter point value is
. This has to be done for each orientation of the filter. Since there are
filter orientations, one has to perform
operations for each
which in turn has to be computed for each pixel in the image. Thus, the total computational overhead for the algorithm as described in Wolfson et al. (1999) is of the order of
.
For a
image and a
elliptical filter in 10-degree increments, we have
,
and
. The computational overhead is of the order of 19 billion operations.