Texture
Texture
Bryan
c S. Morse, Brigham Young University, 1998–2000
Last modified on March 22, 2000 at 6:00 PM
Contents
22.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
22.2 Intensity Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
22.3 Overview of Texture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
22.4 Statistical Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
22.4.1 Moments of Intensity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
22.4.2 Grey-level Co-occurrence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
22.5 Structural Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
22.6 Spectral Approaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
22.6.1 Collapsed Frequency Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
22.6.2 Local Frequency Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
22.7 Moments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Reading
SH&B, Chapter 14
Castleman, 19.4
22.1 Introduction
In previous lectures we’ve talked about how to describe the shape of a region. In this lecture, we’ll be talking about
how to describe the content of the region itself.
In this lecture we’ll mainly discuss ways of describing textures, each of which can be applied to all three of these
tasks.
There are three common ways of analyzing texture:
1. Statistical Approaches
2. Structural Approaches
3. Spectral Approaches
• The second central moment is the variance, which describes how similar the intensities are within the region.
• The third central moment, skew, described how symmetric the intensity distribution is about the mean.
• The fourth central moment, kirtosis, describes how flat the distribution is.
The moments beyond this are harder to describe intuitively, but they can also describe the texture.
• by ignoring the direction of the position operator and considering only the (bidirectional) relative relationship.
T
This second way of defining the co-occurrence matrix makes all such matrices symmetric. So, if Pleft = Pright ,
Phorizontal = Pleft + Pright .
We can get various descriptors from C by measuring various properties, including the following:
2
1. the maximum element of C
max (cij ) (22.3)
ij
4. entropy
− cij log cij (22.6)
i j
5. uniformity
c2ij (22.7)
i j
π
S(r) = S(r, θ) (22.8)
θ=0
and
N/2
S(θ) = S(r, θ) (22.9)
r=0
S(r) tells us the distribution of high and low frequencies across all angles. S(θ) tells us the distribution of fre-
quency content in specific directions. These two one-dimensional descriptors can be useful for discriminating textures.
3
22.6.2 Local Frequency Content
As we discussed earlier, the frequency domain contains information from all parts of the image. This makes the
previous method useful for global texture analysis, but not local. If a region has already been segmented, you could
pad the region with its average intensity to create a rectangular image. This doesn’t, however, provide a useful way of
using texture to do the segmentation.
We can define local frequency content by using some form of co-joint spatial-frequency representation. As we dis-
cussed, though, this only partially localizes the position or frequency of the information—you can’t do both perfectly.
A simple way to do this would be to examine the N × N neighborhood around a point and to compute the Fourier
Transform of that N × N subimage. As you move from one textured region to another, the frequency content of the
window changes. Differences in the frequency content of each window could then be used as a means of segmentation.
Of course, one still needs to distill descriptors from the frequency content of each window. One such descriptor
(Coggins, 1985) is to compute the total energy (squared frequency content) of the window. If you exclude the zero-
frequency term, this is invariant to the average intensity. If you normalize by the zero-frequency term, it is invariant to
intensity gain as well. There are, of course, other descriptors you could use as well.
22.7 Moments
We talked earlier about how moments of an intensity histogram can be used to describe a region.
We can go one step further by describing the combination of both intensity and pattern of intensity by computing
moments of the two-dimensional grey-level function itself. Remember that we said that if you had enough moments,
you could reconstruct the function itself? Well, this means that we can reconstruct an entire image from its moments,
much like we could reconstruct the image from the transforms we’ve discussed. As we’ve done before, though, we
don’t really need all of the moments to be able to get good matching criteria.
However, moments themselves aren’t invariant to all of the transformations we’ve discussed. Certain combina-
tions of the moments can be constructed so as to be invariant to rotation, translation, scaling, and mirroring. These
combinations can be used as descriptors for matching images.
Vocabulary
• Texture