# Texture and Analysis of Texture

## What is Texture?

Texture is the disposition or manner of union of the particles of a body or substance, a visual or tactile surface characteristic resulting in a certain appearance. Texture is also defined as a repeating pattern of local variations in image intensity and a feature used to partition and classify images into regions of interest. In textiles differences in texture are the result of differences in fibers and spinning, weaving, or knitting processes.

## Our Motivation and Goal

Humans recognize texture as a defining feature of objects and sections of images. Texture has been studied in imaging, particularly in monochromatic imaging, primarily to enhance the capability to segment images in computer vision applications and effectively encode images for storage and transmission. The relationship between color and texture has been less well understood. A number of methods have been attempted to characterize texture which usually include both first and second order statistics, in both the space and frequency domains. Although there are methods for segmentation that use both color and texture, these approaches have not emphasized the combination of the two attributes. Some work has included perceptual attributes; however, these attributes used have been relatively general and qualitative, including terms such as dominant color, smoothness, directional properties, etc. We aim to consider the frequency content of the texture patterns in relationship to the color frequency response of the human eye. The goal is define texture quantitatively and better understand how texture affects humans’ perception of objects under a certain illumination condition.

## Methods for the Analysis of Texture

In textile fabrics, the texture is quite regular, that is, the elementary woven or knitted pattern is repeated over the entire substrate. The level of texture is therefore usually described by a roughness or coarseness index. Attempts have been made to automate the description and recognition of these patterns over the last few years since humans’ ability to distinguish different textures is limited and the process is also time- consuming. In the field of imaging classification and segmentation of texture are the two primary issues in analysis. Since texture is a regular repetition of an element or pattern on the surface, with the aid of mathematical models and computer image analysis, several approaches are available for analysis of texture as shown:

- Statistical methods using pixel statistics
- Structural methods dealing with the arrangement of image primitives
- Model-based methods to construct a model of texture
- Transform-based methods to present the texture of an image in a transformed domain

## Statistical Method for Texture Analysis

A well known statistical tool for extracting texture information form images is the Grey Level Co-occurrence Matrix (GLCM), which was originally introduced by Haralick in 1973. This method can be used to measure second-order texture characteristics for the gray images.

The intensities of current pixel *i* and that of its neighbor *j* conjugate a single co-occurrence of *i* and *j*, given the sampling parameters distance *d* (pixels) and direction *q* (4 directions, 0°, 45°, 90°, 135°). The frequencies of all co-occurrences are stored in a matrix *M _{N×N}*. Since the gray shades of the image can be ranged from 0 to 255, the GLCM dimension is 256 × 256. Thus entry

*i*,

*j*in the matrix is the number of

*i*,

*j*pair samples in the image. Typically, these frequencies are normalized by the sample size.

The GLCM can be expressed using equation:

Where P(g_{1}, g_{2}) is the frequency of a co-occurrence when the gray level varied from g_{1} to g_{2} under a given distance and direction. The denominator is the sum of the pairs in the global image under the given distance and direction, while the numerator is the number of the pairs whose gray level changed from g_{1} to g_{2}.

The indices based on GLCM are the main tools for the analysis of texture, and there are about 14 indices available. Commonly, however, five indices can be used to analyze the texture, namely, the angular second moment, the entropy, the contrast, the inverse difference moment and the correlation. These are shown in the equations:

where *W _{1}* is the angular second moment,

*W*is the entropy,

_{2}*W*is the contrast,

_{3}*W*is the inverse difference moment,

_{4}*W*is correlation. Each index can be used to represent one characteristic for a given texture. The result from GLCM is also significantly influenced by the other two parameters, the direction

_{5}*q*and the distance

*d*.

## Transform-based methods

In this method the digital image from the spatial domain is transformed to the frequency domain, and the details pertaining to the texture are shown in the frequency domain. 2-D discrete Fourier transform has been widely used for the texture analysis of digital images using equation (1):

where *f(x,y)* is the original image, and *M×N* is the resolution of the image. The inverse transformation is expressed using equation (2) below:

The following examples show the typical frequency spectra, on the right, for images given on the left.

Increasing the uniformity of an image increases the energy in the center of its frequency domain (low frequency), that is, the texture information is represented in the high frequency domain in the spectrum.

The analysis of texture based on transformation is complicated but useful. In recent years the Gabor and Wavelet transformations have been utilized to analyze texture in specific domains.

## Recent Activity and Accomplishments

We are currently investigating the effect of texture on perception of high luminance factor objects. To that end we are continuing to examine:

- The role of texture on perception of white objects
- The effect of texture on perception and measurement of white objects

We are also interested in very low luminance factor objects (i.e. blacks, dark navy colors) and have started an investigation to determine the role of texture on perception of dark objects. Ultimately we aim to expand this work and study the effect of texture on perception of color.