You are on page 1of 4

International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)

Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com


Volume 2, Issue 4, July – August 2013 ISSN 2278-6856

Robust Rule Based Local Binary Pattern


Method for Texture Classification
and Analysis
O.Rama Devi 1, Dr. E.V.Prasad2, Dr.L.S.S.Reddy 3
1
Assistant Professor, P.V.P.S.I.T, AP, India
2
Dean, Planning & Development, K. L. University, AP, India
3
Director, LBRCE, Mylavaram, A.P, India

Abstract: The primary objective of texture image informal, it is very difficult to propose semantics to
segmentation is to divide the image into uniform parts. Object measure the quality of a given segmentation, unless the
extraction; object recognition and object-based compression segmentation’s goal is well defined. Image segmentation
is typical applications that use texture image segmentation as has a variety of purposes. For example, segmentation
a low-level image processing. Texture Image segmentation is plays an important role in the field of video object
an important processing step in various image, video and extraction [1–3]. Since homogeneous regions correspond
computer vision applications. Extensive research has been
to meaningful objects (which are mostly inhomogeneous),
done in creating many different approaches and algorithms
for texture image segmentation, but it is still complex to
many of the video object extraction algorithms first
assess whether one algorithm produces more accurate partition the image into homogeneous regions, and then,
segmentation than another for a particular image or set of in order to extract the moving object, the regions are
images, or for a whole category of images. A new texture merged according to temporal information of the
segmentation approach, including a feature extraction sequence. In image compression [4–6], the input image is
method and the novel segmentation algorithm, is shown in divided into regions that should be separately compressed
this paper. The proposed feature extraction method called since better compression is achieved as long as the
rule based local binary patterns (RLBP), selects the regions are more homogeneous. Tracking systems that are
frequently occurred patterns to construct the main pattern regionally based [7–9] utilize the information of the entire
set, which avoids the usage of same pattern set for describing object’s regions. They track the homogeneous regions of
different texture structures in traditional local binary
the object by their color, luminance or texture. Then, a
patterns. According to the different morphologies and
merging technique that is based on motion estimation is
different semantics of texture, the segmentation algorithm is
designed for texture segmentation based on RLBP features used in order to obtain the complete object in the next
.As it is simple and efficient so our implementation is suitable frame. Image segmentation is also used in object
for large-scale texture Images. The experiments exhibited the recognition systems [10, 11]. Many of these system
segmentation effect of the proposed method is satisfactory partition the object to be recognized into sub-regions and
from human visual aspect and segmentation accuracy. try to characterize each separately in order to simplify the
matching process. Automatic segmentation in still image
Keywords: RLBP, Texture Image segmentation, has been investigated [12, 13] by many researchers from
Objective evaluation, unsupervised evaluation, Empirical diverse fields of sciences. The existing segmentation
good measure. methods can be divided into the following primary
approaches: 1) Histogram-based methods, 2) boundary-
1. INTRODUCTION based methods, 3) region-based methods, 4) hybrid-based
Image segmentation partitions an image into methods and 5) graph-based techniques. In the digital
nonoverlapping regions. A region is defined as a images, the spatial distributions of gray values choose the
homogeneous group of connected pixels with respect to a textural features and hence, statistical methods analyze
chosen property. There are several ways to define the spatial allocation of pixel values in the digital image.
homogeneity of a region that are based on a particular Based on the number of pixels defining the local feature,
objective in the segmentation process. For example, it statistical methods can be categorized into first-order
may be measured by color, gray levels, texture, motion, statistical methods, second-order statistical methods and
depth of layers, etc. Overlaps among regions are not higher-order statistical methods [14]. A large number of
permitted; therefore, each pixel belongs only to a Single statistical texture approaches have been proposed, range
region. Two neighboring regions should be merged if the from first order statistics to higher order statistics. As first
new combined region is homogeneous. Consequently, order statistical methods cannot model the texture
each region is anticipated to be as large as possible under completely, higher order statistics are generally used for
its certain characterization. Then, the total number of texture analysis [15]. Gray level co-occurrence matrices
regions is reduced. Since segmentation definition is [16], gray level differences [17] and Local Binary
Patterns [18] are some of the popular second-order
Volume 2, Issue 4 July – August 2013 Page 274
International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com
Volume 2, Issue 4, July – August 2013 ISSN 2278-6856

statistical texture methods for texture analysis. 3. RULE BASED LOCAL BINARY PATTERNS
Geometrical methods are founded on the concept that Rule Based LBP can be generally described as discrete
texture could be seen as a spatial association of texture dynamic systems completely defined by a set of rules in a
primitives. 1n [19] proposed an idea in which the texture local neighborhood. The state of a system is represented
image is viewed as texture primitives, which are precise as a regular grid, on which the rules apply to produce a
according to a placement rule and texture analysis is a new state. An interesting property of RLBP is that very
process of identifying those primitives or the placement simple rules can result in very complex behavior. Now
rule. In [20] used a Fourier spectrum of a texture image to consider sample window S3X3 and compare each pixel
detect texture periodicity for the texture analysis. In [21] with significant centers of the sample window. All
examined the structures of texture patterns in terms of neighboring pixels with values greater than the center to
their translation symmetries for the texture analysis. In be replaced with the value 1 otherwise replace them with
this paper robust rule based local binary pattern technique 0 such that gray images is converted to binary image. On
is implemented for texture classification and analysis. the binary image the following rules have been used to
remove the uncertainty of texture classification.
2. LOCAL BINARY PATTERNS
The original LBP operator labels the pixels of an image 1) Calculation of the column wise count on sample space
by means of decimal numbers, which are called LBP S3X3
codes that encode the local structure around each pixel. It 3
proceeds thus, as illustrated in Fig. 1: every pixel is Xi= ∑S (si, n) ; where n=1, 2,3
compared with its eight neighbors in a 3 × 3 i=1
neighborhood by subtracting the center pixel value; the If Xi >=2 then
resulting strictly negative values are encoded with 0, and Ci=1
the others with 1. For each given pixel, a binary number Else
is obtained by concatenating all these binary values in a Ci=0
clockwise direction, which starts from the one of its top-
left neighbor. The corresponding decimal value of the 2) Calculation of the row wise count on sample space S3X3
generated binary number is then used for labeling the 3
given pixel. The derived binary numbers are referred to Yi= ∑S (si, m) where m=1, 2,3
be the LBPs or LBP codes. i=1

If Yiion>=2 then
Ri=1;
Else
Ri=0;
Figure 1 An example of the basic LBP operator.
3) Calculate the count for left diagonal D1 and right
While the LBP was, invariant to monotonic changes in diagonal D2 on sample space S3x3
gray scale, it was supplemented by an autonomous
measure of local contrast. Fig. 2 shows how the contrast 4) From the new sample matrix like giving blow.
measure (C) was derived. The average gray level below R1 D1 C1
the center pixel is subtracted from that of the gray level R2 C2
above (or equal to) the center pixel. Two-dimensional R3 D2 C3
distributions of the Local Binary Pattern (LBP) and local
contrast technique were used as features. This operator 5) Compute the LBP operator on new sample space and
was called LBP/C, and extremely good discrimination replace the center pixel.
rates were reported through textures.
6) Repeat step 1 through step5 on entire images and form
the new unambiguous image.

The result of this method can be conveniently represented


a two-dimensional pattern that can be further be used in
image processing. RLBP of 8-bit, segments the Image in
better way even for Noisy Images and the quality of the
LBP = 1+2+4+8+128 = 143 images are found to be better than images obtained with
C = (5+4+3+4+3)/5 – (1+2+0)/3 = 2.8 the conventional methods.

Figure 2 Calculating the original LBP code and a 4. EXPERIMENTAL RESULTS


contrast measure.
Volume 2, Issue 4 July – August 2013 Page 275
International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com
Volume 2, Issue 4, July – August 2013 ISSN 2278-6856

In order to verify the effectiveness of the segmentation Table 2: RBPR


process using the proposed method, a group of images of Mud Cliff Sand
different kinds were tested. The performance evaluation 0.531 0.609 0.527
of two methods has been described based on tables of 0.559 0.614 0.516
values and graphs shown in the paper. Three texture 0.535 0.555 0.514
images of mud, cliff and sand of different soil images 0.538 0.556 0.514
have been shown in Fig 3, Fig 4 & Fig 5 of size 256X256
0.527 0.584 0.517
were considered in this experiment. Each individual
0.546 0.55 0.527
texture image is considered as a model sample and there
are 3 model samples in total. Each test sample is 0.582 0.609 0.529
compared using RLBP and LBPC and classified. Table1 0.546 0.598 0.519
& Table2 show the classification performance of the 0.54 0.599 0.534
proposed texture model and LBPC. From the Table2, it is 0.549 0.6 0.547
observed that the classification results are excellent with
high classification accuracy. The result of the comparison
is given in the form of graphs shown in Fig 6 & Fig 7. In
the case of LBPC texture model does not classify three
categories clearly. RLBP method is considered as a good
texture classifier, it clearly classifies all three types of
images. Among the two texture methods under
consideration, the proposed RLBP texture method
delivers superior classification. Figure 6 LBPC

Figure 3 Mud Images


Figure 7 RLBP

5. CONCLUSIONS
The LBP operator has been theoretically simple yet a very
powerful method of analyzing textures. Through the
extension developed during this paper, the RLBP operator
Figure 4 Cliff Images was made into a really powerful measure of image texture
showing outstanding results in terms of accuracy and
computational complexity in many empirical studies. In
this paper, we analyzed LBPC and consequently a new
scheme, namely RLBP is proposed. Two operators, LBPC
and RLBP are defined to classify the texture images.
Finally, RLBP operator gives much better texture
Figure 5 Sand Images classification accuracy than LBPC operator which
obtained. The RPBP operator doesn't classify rough and
Table1: LBPC mud images.
Mud Cliff Sand
Image
0.556 ImagLVPC
0.628 0.553 References
0.608 0.661 0.511 [1] D. Wang, Unsupervised video segmentation based on
0.555 0.662 0.497 watersheds and Temporal tracking, IEEE
0.561 0.59 0.505 Transactions on Circuits and Systems for Video
0.525 0.58 0.542
Technology 8 (5) (1998).
[2] H. Gao, W. -C. Siu, C. -H. Hou, Improved techniques
0.567 0.5 0.549
for automatic image segmentation, IEEE
0.611 0.582 0.519
Transactions on Circuits and Systems for Video
0.568 0.57 0.518 Technology 11 (12) (2001).
0.562 0.55 0.51 [3] F. Dufaux, F. Moscheni, A. Lippman, Spatio-
0.591 0.565 0.558 temporal segmentation based on motion and static
segmentation, IEEE Proceedings of International
Volume 2, Issue 4 July – August 2013 Page 276
International Journal of Emerging Trends & Technology in Computer Science (IJETTCS)
Web Site: www.ijettcs.org Email: editor@ijettcs.org, editorijettcs@gmail.com
Volume 2, Issue 4, July – August 2013 ISSN 2278-6856

Conference on Image Processing 95, Washington, multiresolutional decomposition. World Acad. SCI.,
DC, October 1995. Eng. Technol., 73: 657-661.
[4] P. Suetens, P. Fua, A.J. Hanson, Computational [20] Haralick, R.M., K. Shanmugam and I. Dinstein,
strategies for object recognition, ACM Computing 1973.Textural features for image classification.
Surveys 24 (1992) 5–61. [5] P. Bessel, R. Jain, IEEETrans. Syst. Man Cybernetics, 3: 610-621.
Three-dimensional object recognition, DOI:10.1109/TSMC.1973.4309314
ACMComputing Surveys 17 (1985) 75–145. [21] Weszka, J.S., C.R. Dyer and A. Rosenfeld, 1976. A
[5] M. Kunt, M. Benard, R. Leonardi, Recent results in comparative study of texture measures for terrain
higher compression image coding, IEEE classification. IEEE Trans. Syst. Man Cybernetics, 6:
Transactions on Circuits and Systems 34 269-285. DOI:10.1109/TSMC.1976.5408 777
(1987)1306–1336.
[6] K. Belloulata, J. Konrad, Fractal Image compression
with region based functionality, IEEE Transactions AUTHORS
on Image Processing 11 (4) (2002) 351.
[7] E. Ozyildiz, N. Krahnst-over, R. Sharm, Adaptive O. Rama Devi received her B. Tech degree in
texture and color segmentation for tracking moving CSE from K. L. College of Engineering,
objects, Pattern Recognition 35 (2002) 2013–2029. Guntur. M. Tech degree in Computer Science
[8] D.S. Yang, H.I. Choi, Moving object tracking by from K. L. College of Engineering, Guntur.
optimizing models, Proceedings of the International Currently, she is pursuing her PhD at JNTUK, Kakinada.
Conference on Pattern Recognition, Brisbane, And she is working as Asst. Professor in P. V. P.
Australia, 1998, pp. 738–740. Siddhartha Institute of Technology, Kanuru. She has 6
[9] R. Murrieta-CID, M. Briot, N. Vandapel, Landmark years of teaching experience .She has published 4
identification and tracking in natural environment, research papers in various national and international
IEEE International Conference on Intelligent Robots journals and attended 10 national and international
and Systems, Victoria, BC, Canada, 1998, pp. 738- conferences. Her interesting subjects are image
740 processing, computer networks and pattern recognition.
[10] N. Pal, S. Pal, A review of image segmentation She is a member of CSI professional societies.
techniques, Pattern Recognition 26 (1993) 1277–
1294. Dr. E. V. Prasad Dean, Planning and
[11] R.M. Haralick, L.G. Shapiro, Survey: image development, K. L. University .He was retired
segmentation techniques, Computer Vision, Graphics as a rector, JNTU Kakinada. He held different
and Image Processing 29 (1985) 100–132. positions Principal, Director, Registar and act
[12] B. Schacter, L. Davis, A. Rosenfeld, Scene as a BOS Chairman. And supervised 7 PhD students and
Segmentation by Cluster Detection in Color Space, 8 students working for their degree. He is the Co author
Department of Computer Science, University of of six books and published hundred papers in national
Maryland, College Park, MD, 1975. and International journals and conferences. His research
[13] A. Sarabi, J.K. Aggarwal, Segmentation of chromatic interests include Data Mining, and Information Security.
images, Pattern Recognition 13 (6) (1981) 417–427.
[14] Ojala, T., Pietikäinen, M., Harwood, D.: A Dr. L. S. S. Reddy received his B. Tech
Comparative Study of Texture Measures with degree in Electronics and communication
Classification Based on Feature Distributions. Pattern Engineering from J. N. T. University
Recognition 29(1996) 51-59 Hyderabad, M. Phil degree in Computer
[15] Ojala, T., Pietikäinen, M., Mäenpää, T.: Science from Central University Hyderabad and PhD
Multiresolution Grayscale and Rotation Invariant from BITS, PILANI. Currently, he is director of the
Texture Classification with Local Binary Patterns. Lakireddy Balireddy College of Engineering, Mylavaram,
IEEE Transactions on Pattern Analysis and Machine Andhra Pradesh. He has got more than 20 years of
Intelligence 24 (2002) 971 – 987 118 M. Pietikäinen teaching experience .He has published fifty two research
[16] Mäenpää, T., Pietikäinen, M.: Texture Analysis with papers in various national and international journals and
Local Binary Patterns. In: Chen, C.H., Wang, P.S.P. more than twenty research papers in various national and
(Eds.): Handbook of Pattern Recognition and international conferences. He is Chairman Board of study
Computer Vision, 3rdedn. World Scientific (2005) in Nagarjuna University. He guided four PhD scholars
197-216 and Chairman of CSI Chapter, Vijayawada. He is a
[17] http://www.ee.oulu.fi/research/imag/texture/ member of various professional societies like IEEE, ISTE,
[18] Ojala, T. And M. Pietikainen, 2004. Texture IETE, IE and CSI.
Classification. Machine Vision and Media Processing
Unit University of Oulu, Finland.
[19] Moasheri, B.B.M. And S. Azadinia, 2011. A new
voting approach to texture defect detection based on
Volume 2, Issue 4 July – August 2013 Page 277

You might also like