Texture_segmentation_using_wavelet_trans
Texture_segmentation_using_wavelet_trans
www.elsevier.com/locate/patrec
Abstract
Texture analysis such as segmentation and classification plays a vital role in computer vision and pattern recognition
and is widely applied to many areas such as industrial automation, bio-medical image processing and remote sensing.
This paper describes a novel technique of feature extraction for characterization and segmentation of texture at multiple
scales based on block by block comparison of wavelet co-occurrence features. The performance of this segmentation
algorithm is superior to traditional single resolution techniques such as texture spectrum, co-occurrences, local linear
transforms, etc. The results of the proposed algorithm are found to be satisfactory.
2003 Elsevier B.V. All rights reserved.
0167-8655/$ - see front matter 2003 Elsevier B.V. All rights reserved.
doi:10.1016/j.patrec.2003.08.005
3198 S. Arivazhagan, L. Ganesan / Pattern Recognition Letters 24 (2003) 3197–3203
label of a single homogeneous region is determined avoided if one uses the wavelet transform, which
using distinguishing features derived from the provides a precise and unifying frame work for the
region, texture segmentation is concerned with analysis and characterization of a signal at differ-
automatically determining the boundaries between ent scales (e.g., Unser, 1995). Another advantage
various textured regions in an image (e.g., Jain of wavelet transform over Gabor filter is that the
et al., 1995). low pass and high pass filters used in the wavelet
Analysis of texture requires the identification of transform remain the same between two consecu-
proper attributes or features that differentiate the tive scales while the Gabor approach requires fil-
textures in the image for segmentation, classifica- ters of different parameters (e.g., Chang and Jay
tion and recognition. The features are assumed to Kuo, 1993). In other words, Gabor filters require
be uniform within the regions containing the same proper tuning of filter parameters at different
textures. Initially, texture analysis was based on scales. Later, Kaplan (1999) proposed extended
the first order or second order statistics of textures fractal analysis for texture classification and seg-
(e.g., Haralick et al., 1973; Weszka et al., 1976; mentation and Wang and Liu (1999) proposed
Davis et al., 1979; Faugeras and Pratt, 1980; Chen multi-resolution MRF (MRMRF) parameters for
and Pavlidis, 1983). Then, Gaussian Markov ran- texture classification. Wavelet statistical features
dom field (GMRF) and Gibbs random field (WSF) and wavelet co-occurrence features (WCF)
models were proposed to characterize textures were proposed and effectively used for texture
(e.g., Cross and Jain, 1983; Chellappa and Chat- characterization and classification (e.g., Arivazha-
terjee, 1986; Kashyap and Khotanzed, 1986; Derin gan and Ganesan, 2003).
and Elliot, 1987; Cohen et al., 1991; Manjunath The wavelet transform is a multi-resolution
and Chellappa, 1991). Later, local linear trans- technique, which can be implemented as a pyramid
formations are used to compute texture features or tree structure and is similar to sub-band de-
(e.g., Laws, 1980; Unser, 1986). Then, texture composition. In this paper, texture segmentation is
spectrum technique was proposed for texture carried out by comparing co-occurrence matrix
analysis (e.g., He and Wang, 1990). The above features derived from discrete wavelet transformed
traditional statistical approaches to texture ana- overlapping but adjacent sub-blocks of size
lysis, such as co-occurrence matrices, second order 32 · 32, both horizontally and vertically. The re-
statistics, GMRF, local linear transforms and sults are found to be satisfactory.
texture spectrum, are restricted to the analysis of This paper is organized as follows: In Section 2,
spatial interactions over relatively small neigh- the theory of discrete wavelet transforms is briefly
borhoods on a single scale. As a consequence, their reviewed. The texture segmentation system is
performance is best for the analysis of micro- explained in Section 3. In Section 4, texture seg-
textures only (e.g., Unser, 1995, p. 1549). mentation experimental results for various texture
More recently, methods based on multi-resolu- mosaic images are discussed in detail. Finally,
tion or multi-channel analysis, such as Gabor fil- concluding remarks are given in Section 5.
ters and wavelet transform, have received a lot of
attention (e.g., Unser and Eden, 1989; Bovik et al.,
1990; Chang and Jay Kuo, 1993; Unser, 1995; 2. Discrete wavelet transform (DWT)
Teuner et al., 1995; Haley and Manjunath, 1995;
Manjunath and Ma, 1996; Wu and Wei, 1996; Wavelets are functions generated from one
Raghu and Yegnanarayana, 1996; Van de Wou- single function W by dilations and translations.
wer et al., 1999). But, the outputs of Gabor filter The basic idea of the wavelet transform is to rep-
banks are not mutually orthogonal, which may resent any arbitrary function as a superposition of
result in a significant correlation between texture wavelets. Any such superposition decomposes the
features. Finally, these transformations are usually given function into different scale levels where each
not reversible, which limits their applicability for level is further decomposed with a resolution
texture synthesis. Most of these problems can be adapted to that level (e.g., Antonini et al., 1992).
S. Arivazhagan, L. Ganesan / Pattern Recognition Letters 24 (2003) 3197–3203 3199
Texture
Mosaic image
Sub image DWT Feature
(32 x 32) Block (Decomposition) Extraction
Successive Block
Feature Differences
Thinning Post Processing Segmentation Band
Segmented
Texture
simplicity, without affecting their original varia- thickness. The thinned result gives the line of de-
tions. marcation among the different textures present
in the image i.e., thinned lines are exactly aligned
X
N
with texture boundaries. The texture segmentation
Contrast ¼ ði jÞ2 Cði; jÞ; ð1Þ
i;j¼1 algorithm is given as follows.
X
N
3
Segmentation algorithm:
Cluster shade ¼ ði Mx þ j My Þ Cði; jÞ; Input: Texture mosaic image of size N N .
i;j¼1 Output: Texture segmented image.
ð2Þ
Step 1. Read the texture mosaic image.
Cluster prominence Step 2. Obtain 32 · 32 sub-image blocks, starting
XN from the top left corner.
¼ ði Mx þ j My Þ4 Cði; jÞ; ð3Þ Step 3. Decompose sub-image blocks using 2-D
i;j¼1 DWT.
Step 4. Derive co-occurrence matrices (C) for
where original image, and detail sub-bands of
X
N X
N DWT decomposed sub-image blocks.
Mx ¼ iCði; jÞ and My ¼ jCði; jÞ: Step 5. Calculate WCFs such as contrast, cluster
i;j¼1 i;j¼1 shade and cluster prominence from co-
occurrence matrices.
Then, texture segmentation is carried out by Step 6. Calculate the difference between the sums
comparing the normalized co-occurrence features of WCFs of adjacent sub-image blocks.
of discrete wavelet transformed adjacent but This results in segmentation band.
overlapping 32 · 32 sub-image blocks, both hori- Step 7. Apply disk filtering and thresholding tech-
zontally and vertically. Each successive block is niques to remove noise like artifacts, if
differ from the previous one in its spatial location any, in the segmentation band.
by one column or one row, depending on whether Step 8. Apply skeletonizing algorithm to get
the successive block is taken in horizontal or ver- thinned or segmented line of one pixel
tical direction, respectively. Here, the sum of the thickness.
above normalized features of one block is com-
pared with the corresponding sum of features de-
rived from the next block. The difference in feature
values is less when successive blocks belong to the 4. Experimental results and discussion
same texture region and it increases in the texture
border region while it is high when the successive The segmentation technique discussed in the
blocks are from two different texture regions. previous section is applied on six different texture
By carrying out the above block by block feature mosaic images of size 256 · 256, stitched from
comparison both in horizontal and vertical direc- texture images of Brodatz (1966) texture album.
tions, a segmentation band is formed across the The stitched texture mosaic images, shown in Fig.
texture boundaries. When the difference in feature 3(a), consist of (i) leather, straw, grass and wood
values within the same texture region is high, noise textures of square shape in clockwise direction; (ii)
like artifacts or spurious spots appear in the seg- wood texture of square shape at the center of
mented image. This spurious spots are removed by leather texture; (iii) leather texture of circular
applying disk filtering and thresholding techniques shape at the center of wood texture; (iv) leather
(i.e., post processing). Then, the post processed and water textures of triangular shape with sand
segmented band is thinned using a skeletonizing texture at the center; (v) water and sand textures of
algorithm to get segmented line of one pixel square shape with weave texture of circular shape
S. Arivazhagan, L. Ganesan / Pattern Recognition Letters 24 (2003) 3197–3203 3201
Fig. 3. Texture segmentation results. (a) Texture mosaic images. Texture spectrum technique: (b) segmented band, (c) thinned results.
Proposed method: (d) segmented band, (e) thinned results.
3202 S. Arivazhagan, L. Ganesan / Pattern Recognition Letters 24 (2003) 3197–3203
He, D.-C., Wang, L., 1990. Texture unit, texture spectrum, and Teuner, A., Pichler, O., Hosficka, B.J., 1995. Unsupervised
texture analysis. IEEE Trans. Geo-Sci. Remote Sens. 28 (1), texture segmentation of images using Tuned matched Gabor
509–513. filters. IEEE Trans. Image Process. 4 (6), 863–870.
Jain, R., Kasturi, R., Schunch, B.G., 1995. Machine Vision. Unser, M., 1986. Local linear transforms for texture measure-
McGraw Hill. pp. 234–240. ments. Signal Process. 11, 61–79.
Kaplan, L.M., 1999. Extended fractal analysis for texture Unser, M., 1995. Texture classification and segmentation using
classification and segmentation. IEEE Trans. Image Pro- wavelet frames. IEEE Trans. Image Process. 4 (11), 1549–
cess. 8 (11), 1572–1585. 1560.
Kashyap, R.L., Khotanzed, A., 1986. A model based method Unser, M., Eden, M., 1989. Multiresolution feature extraction
for rotation invariant texture classification. IEEE Trans. and selection for texture segmentation. IEEE Trans. Pattern
Pattern Anal. PAMI-8 (4), 472–481. Anal. 2, 717–728.
Laws, K.L., 1980. Rapid texture identification. Proc. SPIE 238, Van de Wouwer, G., Schenders, P., Van Dyek, D., 1999.
376–380. Statistical texture characterization from discrete wavelet
Manjunath, B.S., Chellappa, R., 1991. Unsupervised texture representation. IEEE Trans. Image Process. 8 (4), 592–598.
segmentation using Markov random fields. IEEE Trans. Wang, L., Liu, J., 1999. Texture classification using multires-
Pattern Anal. 13, 478–482. olution Markov random field models. Pattern Recogn. Lett.
Manjunath, B.S., Ma, W.Y., 1996. Texture features for 20 (2), 171–182.
browsing and retrieval of image data. IEEE Trans. Pattern Weszka, J.S., Dyer, C.R., Rosenfeld, A., 1976. A comparative
Anal. 18 (8), 837–842. study of texture measures for terrain classification. IEEE
Raghu, P.P., Yegnanarayana, B., 1996. Segmentation of Gabor Trans. Syst. Man Cyb. SMC-6 (4), 269–286.
filtered textures using deterministic relaxation. IEEE Trans. Wu, W.-R., Wei, S.-C., 1996. Rotation and gray scale trans-
Image Process. 5 (12), 1625–1636. form invariant texture classification using spiral resampling,
Sklansky, J., 1978. Image segmentation and feature extraction. sub band decomposition and hidden Markov model. IEEE
IEEE Trans. Syst. Man Cyb. 8, 237–247. Trans. Image Process. 5 (10), 1423–1433.