HOME JOURNALS CONTACT

Journal of Applied Sciences

Year: 2014 | Volume: 14 | Issue: 7 | Page No.: 709-713
DOI: 10.3923/jas.2014.709.713
Classification of Textures using Patch Based Energy Features of Selected Wavelet Coefficients
A. Jayasudha and D. Pugazhenthi

Abstract: In this study, a method for classification of texture images using patch based energy features is proposed. The ability of Discrete Wavelet Transform (DWT) to capture the texture properties of given image is exploited. First, the texture image is decomposed by using DWT. Then the proposed patch based energy features are extracted from the selected wavelet coefficients in each sub-band based on the edge intensities. The performance of the system is evaluated by varying the decomposition level, No. of selected wavelet coefficients and size of the patch used to extract the energy features. Brodatz album is used for the proposed classification task. The performance of the system is analyzed with other state of art techniques and the results are tabulated. Experimental results show the efficiency of the proposed system in terms of classification accuracy and better accuracy of over 99% is obtained.

Fulltext PDF Fulltext HTML

How to cite this article
A. Jayasudha and D. Pugazhenthi, 2014. Classification of Textures using Patch Based Energy Features of Selected Wavelet Coefficients. Journal of Applied Sciences, 14: 709-713.

Keywords: Texture, nearest neighbor classifier, image classification and wavelet transform

INTRODUCTION

Texture classification is the most important task in image processing and pattern recognition. Over the years, extensive researches have been made for the classification of texture images. It has been widely used in industrial, biomedical, remote sensing areas and target recognition. Approaches to texture feature extraction can be categorized as statistical, structural and model based. Statistical approaches are based on definitions such as smooth, coarse, grainy, regular, directional, etc. that include standard deviation, variance, skewness and kurtosis of the gray levels. The structural approaches are based on the spatial arrangement of basic primitives. The texture feature extraction can then be done by obtaining measurements of the primitives and their spatial arrangements. The model based approaches are based on random fields and fractal parameters. In this study, classification of Brodatz texture images based on DWT is proposed.

Li et al. (2010) have presented an approach for texture classification by modelling the wavelet sub band detail coefficients based on Refined Histogram (RH) and the associated RH signature. The RH model makes use of the step function with exponentially increasing intervals to approximate the detail histogram and to capture the histogram characteristics. Also, RH signature is extracted efficiently using the coefficient-counting technique that involves only multiplication and counting. Dong and Ma (2011) have reviewed supervised texture classification using one-nearest neighbour classifier. The contrast of local energy histograms is calculated from input texture patch and each sample texture patch in a given training set. The various wavelet families are used for feature extraction and an efficient one-nearest-neighbour classifier is used for classification task.

Liu and Fieguth (2012) have implemented a simple and powerful approach for texture classification based on random projection. An effective random feature in the compressed patch domain is obtained. The random features are embedded into a bag-of-words model to perform texture classification and support vector machine is used as a classifier. Lategahn et al. (2010) have proposed an efficient texture classification based on joint Probability Density Functions (jPDFs) to reduce information loss. Local texture neighborhoods are first filtered by a filter bank. Without further quantization, the jPDF of the filter responses is described parametrically by gaussian mixture models.

Zhao et al. (2012) has proposed Local Binary Count (LBC) for rotation invariant texture classification. LBC features are effectively represented by the local texture. The micro-structure can improve the classification rate sometimes but the micro-structure is not absolutely invariant to rotation, especially when the illumination conditions or the textural scales change a lot. Riaz et al. (2013) have developed a novel texture descriptor that is invariant to rotation and scale changes in the images. Gabor filters are used for feature extraction task. Homogeneous texture features mean and variance are calculated from two distinct matrices and support vector machine is used for classification purpose.

Huh and Lee (2010) have implemented signature Linear Discriminant Analysis (signature-LDA) as an extension of LDA that can be applied to signatures. Several good properties including avoiding the rank deficiency problem of classical LDA and requiring no parameter tuning. Dong and Ma (2012) have reviewed a novel Bayesian texture classifier based on the adaptive model selection learning of poisson mixtures on the contourlet features of texture images. The contourlet decomposition sets up an efficient representation of the image for texture classification.

Zhang et al. (2013) have presented a local descriptor which models texture image as histogram over statistical local feature vectors. These features are less sensitive to the imaging conditions. The pyramid analysis makes the feature more robust to scale changes. N-nary coding is used for the vector quantization. Maani et al. (2013) have analyzed rotation invariant method for texture classification based on local frequency components. A set of features are extracted from the low frequency components, two based on the phase and one based on the magnitude.

DISCRETE WAVELET TRANSFORM

The proposed texture classification approach is based on Discrete Wavelet Transform (DWT). In this section the theoretical background of DWT is introduced. Wavelets are families of basis functions generated by dilations and translations of a basic filter function. The wavelet functions construct an orthogonal basis and the discrete wavelet transform is thus a decomposition of the original signal in terms of these basis functions in Eq. 1 (Mallat, 1989):

(1)

where, the Um,n(x) = 2¯m/2U(2¯mx-n) are dilations and translations of the basic filter function U(x). Unlike Fourier bases which are composed of sines and cosine that have infinite length. Wavelet basis functions are of finite duration.

Fig. 1: 2 Level discrete wavelet transform

The discrete wavelet transform coefficients Cnm are the estimation of signal components centered at (2mn. 2¯m) in the time-frequency plane and can be calculated by the inner products of Um,n(x) and f(x). It is obvious that the wavelet transform is an octave frequency band decomposition of the original signal. The narrow band signals then can be further down-sampled and provide a multi-resolution representation of the original signal.

The discrete wavelet coefficients Cnm can be efficiently computed with a pyramid transform scheme using a pair of filters (a low-pass filter and a high-pass filter) (Mallat, 1989). For images which have two dimensions, the filtering and down sampling steps will be repeated in rows and columns respectively. The procedure for two levels is shown in Fig. 1. At each level the image can be transformed into four sub-images: LL (both horizontal and vertical directions have low frequencies). LH (the vertical direction has low frequencies and the horizontal has high frequencies). HL (the vertical direction has high frequencies and the horizontal has low frequencies) and HH (both horizontal and vertical directions have high frequencies).

PROPOSED METHOD

The proposed method for texture classification based on DWT and KNN classifier is shown in Fig. 2. The proposed system incorporates a series of two stages that include feature extraction stage and classification stage.

In the first stage, the features that best discriminate the textures are extracted. The extracted features contain sufficient information to allow specific and correct classification of texture types. The process of extracting the proposed feature is as follows. At first, texture image is decomposed by DWT at various decomposition levels. The output of DWT based decomposition produces a collection of sub-images called sub-bands. Each sub-band represents the components of the original image at specific resolutions. The number of wavelet coefficients in the decomposed image is same as the size of the input texture image. This high dimensionality makes it difficult to extract salient features or produces high number of features. To overcome this, the dominant wavelet coefficients must be selected. As the high frequency sub-band in the wavelet decomposed image produces edge information in the horizontal, vertical and diagonal direction, the edge density is chosen as a parameter for the selection of wavelet coefficients in each sub-band.

Initially, the wavelet coefficients in each sub-band are sorted in descending order and predefined number of coefficients is selected from the sorted list. Then the proposed patch based features are extracted around the selected coefficients. The Patch Based Energy (PBE) is calculated by using Eq. 2:

(2)

where, Ps is the patch size and PB is the patch block around the selected wavelet coefficients. This process produces patch based energies for the corresponding sub-band involved. This process is carried out for all the sub-bands of the wavelet decomposed image. The extracted patch based energies of all sub-bands are fused together to form the feature vector. The proposed features are extracted for all training texture samples in the same way and stored in the database for classification.

Fig. 2: Proposed texture classification system using discrete wavelet transform

The second stage of the proposed system is classification. In the classification stage, KNN classifier is used. The proposed patch based energy features from each sub-band are extracted for the unknown texture image. The distance between the extracted features to the feature database is calculated based on Euclidean distance metric. The minimum distance measure produced by the reference texture image is assigned to the class of unknown texture image. The euclidean distance measure in Eq. 3 is used in the proposed method. Let us consider a = (x1, y1) and b = (x2, y2) are two points. The Euclidean distance between these two points is given by:

(3)

The proposed approach is evaluated by classification accuracy measured as the percentage of test set images classified into the correct texture class.

EXPERIMENTAL RESULTS

The proposed system presented for texture classification in section 3 is based on DWT which means that the proposed patch based energy features are extracted from the wavelet decomposed image. In this section, the accuracy of the proposed method is estimated on Brodatz texture images. The accuracy obtained by the system is analyzed with other techniques such as Linear Regression Modal (Wang and Yong, 2008)., TSWT (Chang and Kuo, 1993), Gabor and GLCM (Clausi and Deng, 2005), Wavelet with GLCM (Van de Wouwer et al., 1999), Gabor transform (Manjunath and Ma, 1996), F16b (Randen and Husoy, 1999) and PSWT (Mallat, 2003). The size of the Brodatz texture image is 640x640 pixels and the images are gray scale images. Figure 3 shows the selected texture images for the classification task.

Fig. 3: Selected texture images from Brodatz album

Table 1: Overall classification accuracy achieved by the proposed system

Table 2: Classification accuracy of each texture classes achieved for 5x5 patch size with 30% coefficients at 3-level discrete wavelet transform

As a preliminary step, the images in the Brodatz album are subdivided into 128x128 sub-images with an overlap of 32 pixels between vertical and horizontal direction from the original image resulting in a database of 256 samples per class. From the whole database, 81 images are randomly chosen and split into two disjoint subsets, one for training with 40 samples per class and another one for testing with 40 samples per class.

The performance of the proposed system is evaluated by varying the three parameters; decomposition level, number of selected coefficients and patch size for extracting the features.

From one-level to 3-level decompositions is used and 10-60% of coefficients are selected for each sub-band based on edge intensities. As the sub-band size varies for a particular decomposition level, the number of selected coefficients also varies. The patch sizes used to analyze the system are 3x3, 5x5 and 7x7. Table 1 shows the overall classification accuracy of the proposed system by changing the aforementioned parameters.

Table 3: Comparative analysis of the proposed system

In the proposed approach, highest accuracy achieved for 5x5 patch size with 30% selected coefficients at 3-level decomposition level. Table 2 shows the classification accuracy of each texture classes achieved for the same. It is observed from the Table 2 that the classification accuracy of the proposed approach decreases for higher decomposition level. This is due to that the DWT produces redundant data at higher decomposition level. Table 3 shows the comparative analysis with state of art techniques.

CONCLUSION

In this study, texture classification of 40 Brodatz texture images using patch based energy features is presented. The multiresolutional representation of texture images are achieved by DWT. The proposed patch based features are extracted for only the selected wavelet coefficients in each sub-band. The proposed system achieves over 99% classification accuracy for 5x5 patch size with 30% selected coefficients at 3-level decomposition level. Experimental results indicate that the proposed patch based energy features can provide useful information for discriminating the texture classes considered and the proposed patch based energy features is a superior feature compared to other state of art techniques. It is also observed that the proposed system is able to classify the g iven texture image into one of the 40 predefined texture in the Brodatz album.

REFERENCES

  • Li, L., C.S. Tong and S.K. Choy, 2010. Texture classification using refined histogram. IEEE Trans. Image Process., 19: 1371-1378.
    CrossRef    Direct Link    


  • Dong, Y. and J. Ma, 2011. Wavelet-based image texture classification using local energy histograms. IEEE Signal Process. Lett., 18: 247-250.
    CrossRef    


  • Liu, L. and P.W. Fieguth, 2012. Texture classification from random features. IEEE Trans. Pattern Anal. Mach. Intell., 34: 574-586.
    CrossRef    Direct Link    


  • Lategahn, H., S. Gross, T. Stehle and T. Aach, 2010. Texture classification by modeling joint distributions of local patterns with Gaussian mixtures. IEEE Trans. Image Process., 19: 1548-1557.
    CrossRef    Direct Link    


  • Zhao, Y., D.S. Huang and W. Jia, 2012. Completed local binary count for rotation invariant texture classification. IEEE Trans. Image Process., 21: 4492-4497.
    CrossRef    PubMed    Direct Link    


  • Riaz, F., A. Hassan, S. Rehman and U. Qamar, 2013. Texture classification using rotation- and scale-invariant gabor texture features. IEEE Signal Process. Lett., 20: 607-610.
    CrossRef    Direct Link    


  • Huh, S. and D. Lee, 2010. Linear discriminant analysis for signatures. IEEE Trans. Neural Networks, 21: 1990-1996.
    CrossRef    Direct Link    


  • Dong, Y. and J. Ma, 2012. Bayesian texture classification based on contourlet transform and BYY harmony learning of poisson mixtures. IEEE Trans. Image Process., 21: 909-918.
    CrossRef    PubMed    Direct Link    


  • Zhang, J., J. Liang and H. Zhao, 2013. Local energy pattern for texture classification using self-adaptive quantization thresholds. IEEE Trans. Image Process., 22: 31-42.
    CrossRef    PubMed    Direct Link    


  • Maani, R., S. Kalra and Y.H. Yang, 2013. Rotation invariant local frequency descriptors for texture classification. IEEE Trans. Image Process., 22: 2409-2419.
    CrossRef    PubMed    Direct Link    


  • Mallat, S.G., 1989. A theory for multiresolution signal decomposition: The wavelet representation. IEEE Trans. Pattern Anal. Mach. Intell., 11: 674-693.
    CrossRef    Direct Link    


  • Wang, Z.Z. and J.H. Yong, 2008. Texture analysis and classification with linear regression model based on wavelet transform. IEEE Trans. Image Process., 17: 1421-1430.
    CrossRef    


  • Chang, T. and C.C.J. Kuo, 1993. Texture analysis and classification with tree-structured wavelet transform. IEEE Trans. Image Process, 2: 429-441.
    CrossRef    


  • Clausi, D.A. and H. Deng, 2005. Design-based texture feature fusion using gabor filters and co-occurrence probabilities. IEEE Trans. Image Process., 14: 925-936.
    CrossRef    PubMed    Direct Link    


  • Van de Wouwer, G., P. Scheunders and D. Van Dyck, 1999. Statistical texture characterization from discrete wavelet representations. IEEE Trans. Image Process., 8: 592-598.
    CrossRef    Direct Link    


  • Manjunath, B.S. and W.Y. Ma, 1996. Texture features for browsing and retrieval of image data. IEEE Trans. Pattern Anal. Mach. Intell., 18: 837-842.
    CrossRef    Direct Link    


  • Randen, T. and J.H. Husoy, 1999. Filtering for texture classification: A comparative study. IEEE Trans. Pattern Anal. Mach. Intell., 21: 291-310.
    CrossRef    


  • Mallat, S., 2003. A Wavelet Tour of Signal Processing. 2nd Edn., China Machine Press, Beijing, China, pp: 220-374

  • © Science Alert. All Rights Reserved