(Laws, 1979) (Laws, 1980) has been used for many
applications of image analysis for classification and
segmentation. The texture energy measurements for
2D images are computed by applying convolution fil-
ters. In the technique, three basic filters were used as
follows:
L3 = (1 2 1)
E3 = (-1 0 1)
S3 = (-1 2 -1)
The initial letters of these filters indicate Local av-
erage (or Level), Edge detection, and Spot detection.
The numbers followed by the initial letters indicate
lengths of the filters. In this case, the length of the
filters is three. Often, extended lengths of filters are
used for 2D image analysis. The extension of the fil-
ters can be done by convolving the pairs of these fil-
ters together. For example, filters with a length of five
can be obtained by convolving pairs of filters with a
length of three. In this convolution process, nine fil-
ters (3 × 3) can be formed, and five of them are dis-
tinct. The following is a set of one dimensional con-
volution filters of a length of five:
L5 = (1 4 6 4 1)
E5 = (-1 -2 0 2 1)
S5 = (-1 0 2 0 -1)
W5 = (-1 2 0 -2 1)
R5 = (1 -4 6 -4 1)
The initial letters of these filters stand for Local
average (or Level), Edge, Spot, Wave, and Ripple.
All filters are zero-sum filters except for the L5 fil-
ter. Many applications use Laws’ filter with a size of
3 and 5 for extracting texture energyvalues. In our ex-
periments, we have extended the filter sizes to 7 and
9. The filters of 7 can be obtained by convolving fil-
ters of a length of five and filters of a length of three
as follows:
Xa7 = ( 1, 6, 15, 20, 15, 6, 1 )
Xb7 = ( 1, 4, 5, 0, -5, -4, -1 )
Xc7 = ( -1, -2, 1, 4, 1, -2, -1 )
Xd7 = ( 1, 0, -3, 0, 3, 0, -1 )
Xe7 = ( 1, -2, -1, 4, -1, -2, 1 )
Xf7 = ( 1, -4, 5, 0, -5, 4, -1 )
Xg7 = ( -1, 6, -15, 20, -15, 6, -1 )
By using a similar approach, one dimensional ker-
nels of a length of nine are obtained as follows:
All the kernels are zero-sum kernels except for
Xa7 and Ya9. Simple sequential labels X and Y were
assigned for the filters 7 and 9 for convenience, al-
though more meaningful labels such as L, E, S, W
Ya9 = ( 1, 8, 28, 56, 70, 56, 28, 8, 1 )
Yb9 = ( 1, 6, 14, 14, 0, -14, -14, -6, -1 )
Yc9 = ( -1, -4, -4, 4, 10, 4, -4, -4, -1 )
Yd9 = ( 1, 0, -4, 0, 6, 0, -4, 0, 1 )
Ye9 = ( 1, 2, -2, -6, 0, 6, 2, -2, -1 )
Yf9 = ( -1, 2, 2, -6, 0, 6, -2, -2, 1 )
Yg9 = ( -1, 4, -4, -4, 10, -4, -4, 4, -1 )
Yh9 = ( 1, -8, 28, -56, 70, -56, 28, -8, 1 )
Yi9 = ( 1, -6, 14, -14, 0, 14, -14, 6, -1 )
and R can be used. (Obviously, Xa7 can be labeled
L7, and Ya9 can be labeled L9.)
These one dimensional filters are used to gener-
ate two dimensional filters by combining these one
dimensional filters. The set of two dimensional filters
with lengths of three (3× 3) are as follows:
L3L3, L3E3, L3S3
E3L3, E3E3, E3S3
S3L3, S3E3, S3S3
In a similar manner, two dimensional filters with
the lengths of 5 × 5, 7 × 7 and 9 × 9 can be ob-
tained. Furthermore, three dimensional filters such as
3 × 3 × 3 can be generated by combining basic one
dimensional filters (Suzuki and Yaginuma, 2007).
2.2 Convolution
Once the two dimensional filters are obtained, these
filters are used to convolve the 2D texture image. The
convolution of image I and filter F with a size of 2t +
1 by 2t + 1 is expressed by the following equation:
R(i, j) = F(i, j)∗I(i, j) =
t
∑
k=−t
t
∑
l=−t
F(k,l)I(i+k, j+l)
(1)
where ’∗’ denotes two dimensional convolution com-
putation. For the next step, the windowing process
is applied to convolved images. In this process, tex-
ture energy values are computed. Every pixel in the
convolved images is replaced with a texture energy
measure value at the pixel. In the Laws’ paper, a
15 × 15 square around each pixel is added together
with the values of the neighborhood pixels. In this
computation, Laws introduced ”squared magnitudes”
and ”absolute magnitudes” to compute texture energy
(Laws, 1979) (Laws, 1980). For considering compu-
tation efficiency, ”absolute magnitude” is used in gen-
eral. This computation process can be expressed by
the following equation:
E(l,m) =
l+t
∑
i=l−t
m+t
∑
j=m−t
|K(i, j)| (2)
IMAGAPP 2009 - International Conference on Imaging Theory and Applications
146