wavelet based features for texture classification ipaper

5
 WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION P.S.Hirema th*, S.Shivashankar   Dept. of P.G.Studies and Research in Computer Science, Gulbarga University, Gulbarga, Karnataka, India. *[email protected], [email protected] Abstract. This paper presents a feature extraction algorithm using wavelet decomposed images of an image and its complementary image for texture classification. The features are constructed from the different combination of sub- band images. These feature s offer a  better discriminating strategy for texture classification and enhance the classif ication rate. In our study we have used the Euclidean distance measure and the minimum distance classifier to classify the texture. The experimental results demonstrate the efficiency of the  proposed algorithm.  Keywords : Wavelet decomposition, Texture, Feature  Extraction, Classification. 1. Introduction Texture classification is very important in image analysis. This process plays an important role in many machine vision applications such as biomedical image processing, automated visual inspection, content based image retrieval, and r emote sensing applications. To design an effective algorithm for texture classification, it is essential to find a set of texture features with good discriminating power. Most of the textural f eatures are generally obtained from the application of a local operator, statistical analysis, or measurement in a transformed domain. Generally, the features are estimated from co-occurrence matrices, Law’s texture energy measures, Fourier transform domain, Markov random field m odels, local linear tr ansforms etc. A number of texture classification techniques have been reported in literature [1, 2, 3, 9]. The wavelet methods [1, 9, 15] offer computational advantages over other methods for texture classification and segmentation. Initially, texture analysis was based on the first order or second order statistics of textures. The co-occurr ence matrix features were first proposed by Haralick [11]. Weszka [7] compared texture feature extraction schemes  based on the Fourier power spectrum, second order gray level statistics, the co-occurrence statistics and gray level run length statistics. The co-occ urrence f eatures were found to be the best of these features. This fact is demonstrated in a study by Conners and Harlow[12]. In[13], Haralick features are obtained from wavelet decomposed image yielding improved classification rates. Hiremath and Shivashankar[6] have considered Haralick features for texture classification using wavelet packet decomposition. In Montiel et al[5], texture features are characterized  by considering intensity and contextual information obtained from binary images. The conditional co- occurrence histograms are computed from the intensity and binary images. To obtain binary images the fixed thresholds have been used. A wavelet transform-based texture classification algorithm has several important characteristics: (1) The wavelet transform is able to decorrelate the data and achieve the same goal as the linear transformation used in[4]. (2) The wavelet transform provides orientation sensitive information which is essential in texture analysis. (3) The computational complexity is significantly reduced by considering the wavelet decomposition. It is evident that the context or the position information of a pixel in an image is very important for the purpose of classification. In this paper, we propose a novel wavelet based feature extraction algorithm for texture classification problem. The features are extracted from the cumulative histograms generated using the different combinations of approximation and detail subbands of the wavelet decomposed i mage. Further, complementary image is used for enhancing white or gray details em bedded in dark regions [10]. The features so obtained have more uncorrelated texture information. The features obtained fr om the proposed algorithm have  better discriminating strategy for texture classification. The paper is organized as follows: In the section 2, the wavelet decomposition process is discussed. The  proposed feature extraction algorithm is presented in section 3. The te xture training a nd class ification a re explained in section 4. In section 5, experimental r esults of the proposed method are discussed in de tail. Finally, section 6 concludes the discussion. GVIP Journal, Volume 6, Issue 3, December, 2006 55

Upload: jeevani2005

Post on 06-Apr-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

8/3/2019 WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION ipaper

http://slidepdf.com/reader/full/wavelet-based-features-for-texture-classification-ipaper 1/4

 

WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION

P.S.Hiremath*, S.Shivashankar † 

 Dept. of P.G.Studies and Research in Computer Science,

Gulbarga University, Gulbarga, Karnataka, India.*[email protected], †[email protected]

Abstract.

This paper presents a feature extractionalgorithm using wavelet decomposed images of an image

and its complementary image for texture classification.The features are constructed from the different

combination of sub-band images. These features offer a  better discriminating strategy for texture classificationand enhance the classification rate. In our study we haveused the Euclidean distance measure and the minimum

distance classifier to classify the texture. Theexperimental results demonstrate the efficiency of the

 proposed algorithm.

  Keywords : Wavelet decomposition, Texture, Feature

 Extraction, Classification.

1.  Introduction

Texture classification is very important in image analysis.This process plays an important role in many machinevision applications such as biomedical image processing,

automated visual inspection, content based imageretrieval, and remote sensing applications. To design aneffective algorithm for texture classification, it isessential to find a set of texture features with gooddiscriminating power. Most of the textural features aregenerally obtained from the application of a local

operator, statistical analysis, or measurement in a

transformed domain. Generally, the features areestimated from co-occurrence matrices, Law’s textureenergy measures, Fourier transform domain, Markovrandom field models, local linear transforms etc. Anumber of texture classification techniques have been

reported in literature [1, 2, 3, 9]. The wavelet methods [1,9, 15] offer computational advantages over other methodsfor texture classification and segmentation.

Initially, texture analysis was based on the first order or second order statistics of textures. The co-occurrencematrix features were first proposed by Haralick [11].

Weszka [7] compared texture feature extraction schemes based on the Fourier power spectrum, second order gray

level statistics, the co-occurrence statistics and gray levelrun length statistics. The co-occurrence features were

found to be the best of these features. This fact isdemonstrated in a study by Conners and Harlow[12].In[13], Haralick features are obtained from wavelet

decomposed image yielding improved classification rates.Hiremath and Shivashankar[6] have considered Haralick features for texture classification using wavelet packetdecomposition.

In Montiel et al[5], texture features are characterized  by considering intensity and contextual informationobtained from binary images. The conditional co-

occurrence histograms are computed from the intensityand binary images. To obtain binary images the fixedthresholds have been used.

A wavelet transform-based texture classificationalgorithm has several important characteristics: (1) Thewavelet transform is able to decorrelate the data and

achieve the same goal as the linear transformation usedin[4]. (2) The wavelet transform provides orientation

sensitive information which is essential in textureanalysis. (3) The computational complexity issignificantly reduced by considering the waveletdecomposition.

It is evident that the context or the positioninformation of a pixel in an image is very important for 

the purpose of classification. In this paper, we propose anovel wavelet based feature extraction algorithm for texture classification problem. The features are extractedfrom the cumulative histograms generated using the

different combinations of approximation and detailsubbands of the wavelet decomposed image. Further,

complementary image is used for enhancing white or gray details embedded in dark regions [10]. The featuresso obtained have more uncorrelated texture information.The features obtained from the proposed algorithm have better discriminating strategy for texture classification.

The paper is organized as follows: In the section2, the wavelet decomposition process is discussed. The  proposed feature extraction algorithm is presented insection 3. The texture training and classification areexplained in section 4. In section 5, experimental resultsof the proposed method are discussed in detail. Finally,

section 6 concludes the discussion.

GVIP Journal, Volume 6, Issue 3, December, 2006

55

8/3/2019 WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION ipaper

http://slidepdf.com/reader/full/wavelet-based-features-for-texture-classification-ipaper 2/4

2. Wavelet decomposition of an imageThe continuous wavelet transform of a 1-D

signal f(x) is defined as

( )( ) ( ) ( )∫ dxxΨxf = bf W *

 b,aa (1)

where the waveletba,Ψ is computed from the mother 

waveletΨ

 by translation and dilation,

( ) ⎟ ⎠

 ⎞⎜⎝ 

⎛  −Ψ=Ψ

b

a x

a x

ba

1, (2)

Under some mild assumptions, the mother wavelet

Ψ satisfies the constraint of having zero mean. Eq. (1)

can be discretized by restraining a and b to a discrete

lattice ( ∈= bab ,2 ). Typically it is imposed that the

transform should be non-redundant, complete andconstitutes a multiresolution representation of the originalsignal. The extension to the 2–D case is usually performed by using a product of 1–D filters. In practice,

the transform is computed by applying a separable filter  bank to the image:

2,1↓1,2↓yx ]]I*L[*L[=A  

2,1↓1,2↓yx ]]I*G[*L[=H (3)

2,1↓1,2↓yx ]]I*L[*G[=V  

2,1↓1,2↓yx ]]I*G[*G[=D  

where * denotes the convolution operator, )2,1↓(1,2↓  

denotes the downsampling along the rows (columns) andI is the original image, L and G are lowpass and highpassfilters, respectively. A is obtained by lowpass filtering

and is referred to as the low resolution image at scale oneH,V,D are obtained by bandpass filtering in a specificdirection and thus contain directional detail information

at scale one. The original image I is thus represented bya set of sub images at several scales. Every detailsubimage contains information of a specific scale andorientation. Spatial information is retained within the

subimage.Wavelets are functions generated from one

single function by dilations and translations. The

  basic idea of the wavelet transform is to represent anyarbitrary function as a superposition of wavelets. Any

such superposition decomposes the given function intodifferent levels, where each level is further decomposedwith a resolution adapted to that level.

Fig 1: Wavelet decomposition of an image : one-level

The sub-bands labeled H, V and D correspond to

Horizontal, Vertical and Diagonal coefficientsrespectively, representing the detail images, while thesub-band A corresponds to coefficients representing theapproximation image. The values of transformedcoefficients in approximation and detail images are

essential features, which are useful for textureclassification and segmentation. In other words, thefeatures derived from these approximation and detail co-

efficients uniquely characterize a texture.

3. Proposed feature extraction algorithm:

1. Consider the image X and its complementary image 'X  

2. Apply DWT on X using Haar wavelet which gives theapproximation(A) co-efficient and the detail co-efficients: horizontal(H), vertical(V) and diagonal(D).

3. Consider the pair of images (A,H) for featureextraction. For a pixel x in A and corresponding pixely in H, their 8-nearest neigbours are as shown in Fig. 2

Fig. 2. 8-nearest neighbors of x and y in A and Hrespectively

4. Construct two histograms H1 and H2 for A based on themaxmin composition rule:

Let α = max(min(x,hi), min(y,ai))

Then, x∈H1, if α = min(x,hi)

and, x∈H2, if α = min(y,ai)

It yields 16 histograms, 2 for each directioni = 1,2,…,8.

5. Construct the cumulative histogram for each histogramobtained in step(4) and normalize it. The points on the

cumulative frequency curve are the sample points.6. From the sample points of each cumulative histogram

obtained in step (5), calculate the following features:i.  Slope of the regression line fitted across the

sample points.ii.  Mean of the sample points.iii.  Mean deviation of the sample points.

7. Repeat steps 3-6 for the pair of images (A,V), (A,D),(A,abs(V-H-D)) for feature extraction.

8. Repeat steps 2-7 for the complementary image 'X  

The above process generates 384 features (2 (images)x 4 (combinations) x 3 (features) x 16(histograms))

which constitute the feature vector f. The vector f is usedfor texture classification (Table 1: feature Set). If theimage size is nxn and m nearest neighbours are

considered, the complexity of the above algorithm iso(mn2).

Also, during experimentation, the above algorithm is

repeated by considering different combinations (Table 1;Feature sets F1, F2 and F4) in step 7.

4. Texture training and classification

Each texture image is subdivided into 16 equalsized blocks out of which 8 randomly chosen blocks are

used as samples for training and remaining blocks areused as test samples for that texture class.

x a1 a5 

a3  a2 a4 

a7  a8 a6 

A

y h1 h5 

h7  h8 h6 

H

h3  h2 h4 

A H

V D

GVIP Journal, Volume 6, Issue 3, December, 2006

56

8/3/2019 WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION ipaper

http://slidepdf.com/reader/full/wavelet-based-features-for-texture-classification-ipaper 3/4

 

4.1 TrainingIn the texture training phase, the texture features

are extracted from the 8 samples selected randomly  belonging to each texture class, using the proposedfeature extraction algorithm. The average of thesefeatures for each texture class is stored in the featurelibrary, which is further used for texture classification.

4.2 Classification In the texture classification phase, the texture

features are extracted from the test sample x using the  proposed feature extraction algorithm, and thencompared with the corresponding feature values of all thetexture classes k stored in the feature library using the

distance vector formula,

( ) ( ) ( )[ ]2 N

0= j

 j j∑ k f -xf =k D (4)

where, N is the number of features in f, ( )xf  j represents

the jth

texture feature of the test sample x, while ( )k f  j  

represents the jth feature of k th texture class in the library.

Then, the test texture is classified as k th

texture, if the

distance ( )k  D is minimum among all the texture classes

available in the library.

5. Experimental results5.1 Experimental data

In order to assess the discrimination capability

of wavelet based feature sets, we have performed

experimental tests using the same data presented in[8].The test defines 32 test categories from selected imagesof Brodatz(1966)[4] collection as shown in the Fig. 2.For the 32-category problem, texture samples areobtained from a 256x256 image with 256 gray levels.

Each image is subdivided into 16 blocks of 64x64 pixelsand each block is transformed into a new block by 90

rotation. This produced 1024 blocks. Half of the data isselected randomly choosing 8 blocks and thecorresponding transformed blocks. This data is used todefine classes and the remaining blocks to evaluate the

classification process.

5.2 Computation of featuresThe features are computed for each texture block 

separately by considering 3x3 neighborhoods. For 

comparative analysis, texture classification is done usingfour different feature databases constructed by using thedifferent combinations of wavelet decomposed images:

F1: (A,H), (A,V),(A,D).F2: (A,H), (A,V),(A,D), (A,abs(H-V-D)).

F3: (A,H), (A,V), (A,D), (A,abs(V-H-D)).F4: (A,H),(A,V), (A,D), (A,abs(D-H-V)).

The features extracted from joint occurrence of the pixelsof approximation and detail coefficients have moreuncorrelated texture information.

5.3 Classification resultsFrom Table 1, it is found that when

classification is carried out with F3, the mean successrate is maximum (96.13) as compared to F1, F2, F4 and

the method proposed by Montiel et al.[5]. The proposedmethod is simple and computationally less expensivethan the method in [5], which employs computationallyexpensive genetic algorithm. The improved performanceof the proposed algorithm can be attributed to the co-occurrence features extrcted from the waveletdecomposition of the image and its complement, in

which the detail subbands contain discriminatinginformation. The difference image of detail subbandimages also contains discriminating information whichenhances the classification performance.

Table 1. Average classification accuracies(%) over 10experiments for 32 texture category

Correct classification (%)

ProposedSl.No. Texture Montielet al.

(2005)F1 F2 F3 F4

1 Bark 100.00 100.00 100.00 100.00 100.00

2 Beachsand85.00 92.50 93.75 95.00 93.75

3 Beans100.00 100.00 100.00 100.00 100.00

4 Burlap100.00 98.75 100.00 98.75 98.75

5 D1061.56 88.75 92.50 93.75 92.50

6 D1195.63 100.00 100.00 100.00 100.00

7 D496.25 100.00 100.00 100.00 100.00

8 D596.88 100.00 100.00 100.00 100.00

9 D51 100.00 98.75 100.00 100.00 100.00

10 D52100.00 100.00 100.00 100.00 100.00

11 D6100.00 100.00 100.00 100.00 100.00

12 D95100.00 100.00 100.00 100.00 100.00

13 Fieldstone76.25 97.50 97.50 97.50 97.50

14 Grass99.06 90.00 92.50 96.25 88.75

15 Ice63.13 92.50 91.25 95.00 86.25

16 Image09100.00 100.00 100.00 100.00 100.00

17 Image1596.56 76.25 73.75 76.25 73.75

18 Image1792.50 87.50 97.50 100.00 100.00

19 Image19100.00 100.00 100.00 100.00 100.00

20 Paper 99.38 100.00 100.00 100.00 100.00

21 Peb5497.81 95.00 100.00 100.00 100.00

22 Pigskin92.50 97.50 100.00 98.75 100.00

1 2 3 4 5 6 7 8

9 10 11 12 13 14 15 16

17 18 19 20 21 22 23 24

25 26 27 28 29 30 31 32Fig. 3 : Texture images from Brodatz album. The image Nos 1 to 32 correspond to the texture Sl.No. 1 to 32 in

Table 1.

GVIP Journal, Volume 6, Issue 3, December, 2006

57

8/3/2019 WAVELET BASED FEATURES FOR TEXTURE CLASSIFICATION ipaper

http://slidepdf.com/reader/full/wavelet-based-features-for-texture-classification-ipaper 4/4

23 Pressedcl100.00 85.00 85.00 87.50 86.25

24 Raffia100.00 100.00 100.00 100.00 100.00

25 Raffia2100.00 100.00 100.00 100.00 100.00

26 Reptile100.00 95.00 97.50 97.50 96.25

27 Ricepaper 100.00 70.00 81.25 81.25 83.75

28 Seafan93.13 100.00 98.75 100.00 100.00

29 Straw2

100.00 100.00 100.00 100.00 100.0030 Tree

92.19 60.00 71.25 72.50 66.25

31 Water 100.00 88.75 92.50 91.25 91.25

32 Woodgrain100.00 91.25 97.50 95.00 96.25

Mean success rate94.91 93.91 95.70 96.13 95.35

6. ConclusionWe have proposed a feature extraction algorithm

using wavelet decomposed images of an images and itscomplementary image for texture classification. Thecharacterization defines the features constructed from the

different combination of sub-band images. Experimentalresults show the combination of detail subbands withapproximation subband helps to improve theclassification rate at reduced computational cost. Further,these texture features can be used for efficientsegmentation.

AcknowledgementThe authors are grateful to the refrees for their 

helpful comments.

Reference:[1]  A. Laine and J. Fan, “Texture classification by

wavelet packet signatures”, IEEE Trans. on PAMI,15(11), pp. 1186—1190(1993).

[2]  A. Bovik , M. Clark , W. S. Geisler, “MultichannelTexture Analysis Using Localized Spatial Filters”,IEEE Transactions on Pattern Analysis andMachine Intelligence, 12 (1), pp. 55-73, (1990 ).

[3]  A. K. Jain and F. Farrokhnia, “Unsupervised texturesegmentation using Gabor filters”, Pattern

Recognition, 24(12), pp. 1167-1186( 1991).[4]  Brodatz, P., “Textures: A Photographic Album for 

Artists and Designers”, New York:Dover, NewYork, 1966.

[5]  E. Montiel, A. S. Aguado, M. S. Nixon, “Textureclassification via conditional histograms”, Pattern

Recognition Letters, 26, pp. 1740-1751(2005).[6]  Hiremath, P. S. and Shivashankar, S. “Texture

classification using Wavelet PacketDecomposition ”, ICGSTs GVIP Journal, 6(2), pp.77-80(2006).

[7]  J. S. Weszka, C. R. Dyer, A. Rosenfeld, “A

comparative study of texture measures for terrainclassification”, IEEE Trans. System ManCybernat ,6(4), pp. 269-285(1976).

[8]  K. Valkealahti, E. Oja, “Reduced multidimensionalco-occurrence histograms in texture classification”,IEEE Trans. Pattern Anal. Mach. Intell. 20(1), 90-

94.[9]  M. Unser, M. Eden, “Multiresolution feature

extraction and selection for texture segmentation”,

IEEE Transactions on Pattern Analysis andMachine Intelligence, 11, pp. 717 -- 728(1989).

[10]  Rafael C. Gonzalez and Richard E. Woods, “Digital

Image Processing”, Pearson Education Asia(Second Edition, 2002).

[11]  R. M. Haralick, K. Shanmugam, I. Dinstein,“Texture features for image classification.” IEEETrans. System Man Cybernat, 8 (6), pp. 610-621(1973).

[12]  R. W. Conners and C. A. Harlow. “A TheoreticalComparison Texture Algorithms”, IEEETransactions on Pattern Analysis and MachineIntelligence, 2, pp. 204—222(1980).

[13]  S. Arivazhagan, L. Ganesan, “Texture classificationusing wavelet transform”, Pattern Recognition

Letters, 24, pp. 1513-1521(2003).[14]  T. R. Reed and J.M. Hans Du Buff, “A review of 

recent texture segmentation and feature extractiontechniques”, CVGIP, Image Understanding,57(3),359-372(1993).

[15] T. Chang, C. C. Jay Kuo, “Texture analysis andclassification with tree-structured wavelettransform”, IEEE Trans. Image Process, 2(4), pp.429-441(1993).

Author BiographyDr. P.S. Hiremath Professor andChairman, Department of P. G. Studies

and Research in Computer Science,Gulbarga University, Gulbarga-585106,

He has obtained M.Sc. degree in 1973and Ph.D. degree in 1978 in AppliedMathematics from Karnataka University,

Dharwad. He had been in the Faculty of 

Mathematics and Computer Science of Various Institutions in India, namely, National Institute of 

Technology, Surathkal(1977-79), Coimbatore Institute of 

Technology, Coimbatore(1979-80), National Institute of Technology, Tiruchinapalli(1980-86), Karnatak University,

Dharwad(1986-1993) and has been presently working asProfessor of Computer Science in Gulbarga University,

Gulbarga(1993 onwards). His research areas of interest areComputational Fluid Dynamics, Optimization Techniques,Image Processing and Pattern Recognition. He has published 45

research papers in peer reviewed International Journals.Tel (off): +91 8472 249682, Fax: +91 8472 245927.

Sri. S. Shivashankar, Research Scholar,

Department of P.G.Studies andResearch in Computer Science,Gulbarga University, Gulbarga - 585106,

Karnataka, INDIA. He has obtainedMaster of Computer Application(M.C.A.)

degree in 2000 from Gulbarga University,Gulbarga. Karnataka, India.

He is working for his doctoraldegree in Computer Science. His research area of interest is

Image Processing and Pattern Recognition.Tel (off): +91 8472 249682.

GVIP Journal, Volume 6, Issue 3, December, 2006

58