tmpBEFC TMP
tmpBEFC TMP
Abstract
This paper aims to improve the accuracy of texture
classification based on extracting texture features using five
different texture methods and classifying the patterns using
a nave Bayesian classifier. Three statistical-based and two
model-based methods are used to extract texture features
from eight different texture images, then their accuracy is
ranked after using each method individually and in pairs.
The accuracy improved up to 97.01% when model based
Gaussian Markov random field (GMRF) and fractional
Brownian motion (fBm) were used together for
classification as compared to the highest achieved using
each of the five different methods alone; and proved to be
better in classifying as compared to statistical methods.
Also, using GMRF with statistical based methods, such as
Gray level co-occurrence (GLCM) and run-length (RLM)
matrices, improved the overall accuracy to 96.94% and
96.55%; respectively.
1. Introduction
2.Methodology
2.1 Data set preparation
Different type of texture images ranging from fine to coarse
for the purpose of texture classification were used in this
paper as shown in Fig.1 . Eight different texture images
having size of 256x256 with 8-bit grey levels were selected
from the Brodatz album [2]. Each image which defines a
separate class was divided into size of 32 x 32 image
segments with 50% overlapping. Nearly one third of the
images segments (64 samples) referring to each class was
used for training, while the rest (192 samples) was used for
testing the classifier.
2.2 Texture features extraction
Five different methods 2 model and 3 statistical based
were used to extract different texture features from 2048
image segments samples referring to 8 different texture
classes, as follows:2.2.1 Model-based features methods
Random fields
Based upon the Markovian property, which is simply the
dependence of each pixel in the image on its neighbors only,
a Gaussian Markov random field model (GMRF) for third
order Markov neighbors was used [3]. The 7 GMRF
parameters are estimated using least square error estimation
method.
Fractals
p ( I ij | I kl , ( k , l ) N ij ) =
2
n
I ij l skl ;l
1
l =1
exp
2
2
2
2
(1)
Where the right hand side of (1) represents the probability of
a pixel (i,j) having a specific grey value I ij , given the values
of its neighbors, n is the total number of pixels in the
neighborhood Nij of pixel Iij, which influence its value, l is
the parameter with which a neighbor influences the value of
(i,j), and skl ;l is the value of the pixel at the corresponding
position (see Fig.2) where,
sij ;1 = I i 1, j + I i +1; j
sij ;3 = I i 2, j + I i + 2; j
sij ;5 = I i 1, j 1 + I i +1; j +1
sij ;2 = I i , j 1 + I i ; j +1
sij ;4 = I i , j 2 + I i ; j + 2
sij ;6 = I i 1, j +1 + I i +1; j 1
O
M
M = M
ij s s
n ij ; n ij ;1 L sij ; n sij ; n
sij ;1
I
ij ij M
sij ; n
ij
2 =
ij
l =1
l ij ;l
( M 2)( N 2)
(3)
E ( I ) = K r H
(4)
(2)
I s
GLCM
Training Testing
set
set
100%
82.81%
100%
100%
100%
100%
100%
88.54%
100%
99.48%
100%
97.40%
100%
97.92%
100%
100%
100%
95.77%
Texture
type
D16
D20
D74
D24
D93
D98
D106
D112
accuracy
fBm
Training Testing
set
set
98.44%
83.33%
100%
80.73%
100%
97.40%
96.88%
76.56%
90.63%
83.85%
93.75%
96.35%
92.19%
76.04%
95.31%
91.67%
95.90%
85.74%
ACF
Training Testing
set
set
7.81%
1.56%
95.31%
86.46%
21.88%
25.52%
21.88%
12.50%
56.25%
54.69%
4.69%
0.52%
45.31%
41.15%
65.63%
45.31%
39.84%
33.46%
TableI: Overall accuracy of classification using each texture feature extraction method individually
( x, y ) =
( I (i, j ) )( I (i + x, j + y) )
i =1
j =1
( M x)( N y )
(5)
P( X Ci ) P(Ci )
P( X )
(6)
1
(2 ) n / 2 i
exp 12 ( X i )T ( X i )
i
(7)
Combined
methods
GMRF & fBm
GMRF & RLM
GMRF & GLCM
RLM & fBm
GLCM & ACF
fBm & GLCM
GMRF & ACF
GLCM & RLM
RLM & ACF
fBm & ACF
No. of
features
12
27
39
25
36
37
11
52
24
9
Train set
accuracy
99.80%
100%
100%
100%
100%
100%
97.66%
100%
99.61%
96.48%
Test set
accuracy
97.01%
96.94%
96.55%
95.70%
95.05%
94.66%
92.84%
92.12%
89.58%
85.48%
Table II
Overall accuracy of texture feature extraction methods
combined in pairs
Where i and i are the covariance matrix and mean vector
of feature vector X of class Ci; ii and i-1i1 are the
determinant and inverse of the covariance matrix; and
( X i )T is the transpose of ( X i ).
4. Conclusion
As texture feature extraction methods tend to capture
different image texture characteristics, using different
combinations could assist in improving the classifier
accuracy. Using a nBC, it was shown that combined modelbased texture feature extraction methods (GMRF with fBm)
proved to be better in classifying as compared to statistical
methods. The model-based combined features improved the
overall classification accuracy above the highest achieved
using each of five different methods individually. Moreover,
using GMRF features with statistical methods (RLM and
GLCM) improved the overall accuracy as well.
5. References
[1] M. Tuceryan and A. Jain, The Handbook of pattern
Recognition and Computer Vision, 2 ed: World Scientific
Publishing Co., 1998.
[2] P. Brodatz, A Photographic Album for Artists and
Designers. New York: Dover, 1996.
[3] M. Petrou and P. Gacia Sevilla, Image processing:
Dealing with texture: Wiley, 2006.
[4] B. B. Mandelbrot, Fractal Geometry of Nature. San
Francisco, CA: Freeman, 1982.
[5] C. C. Chen, J. S. Daponte, and M. D. Fox, "Fractal
Feature Analysis and Classification in Medical Imaging,"
IEEE Transactions on Medical Imaging, vol. 8, pp. 133142, 1989.
[6] R. M. Haralick, Shanmuga.K, and I. Dinstein, "Textural
Features for Image Classification," IEEE Transactions on
Systems, Man and Cybernetics, vol. SMC3, pp. 610-621,
1973.
[7] M. M. Galloway, "Texture analysis using gray level run
lengths," Computer Graphics Image Processing, vol. 4, pp.
172-179, 1975.
[8] F. Demichelis, P. Magni, P. Piergiorgi, M. A. Rubin, and
R. Bellazzi, "A hierarchical Naive Bayes Model for
handling sample heterogeneity in classification problems: an
application to tissue microarrays," Bmc Bioinformatics, vol.
7, 2006.
[9] R. C. Gonzales and R. E. Woods, Digital Image
Processing, 2 ed: Prentice Hall, 2002.