Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2020 Jun 5;12119:308–316. doi: 10.1007/978-3-030-51935-3_33

A New Texture Descriptor: The Homogeneous Local Binary Pattern (HLBP)

Ibtissam Al Saidi 12,, Mohammed Rziza 12,, Johan Debayle 13,
Editors: Abderrahim El Moataz8, Driss Mammass9, Alamin Mansouri10, Fathallah Nouboud11
PMCID: PMC7340952

Abstract

This paper presents a simple and novel descriptor named Homogeneous Local Binary Pattern (HLBP) for texture analysis. The purpose of this description is to improve the Local Binary Pattern (LBP) approach basing on the impact of criterion homogeneous region using General Adaptive Neighborhood (GAN) principle. HLBP method is generated by using the criterion homogeneity which helps to represent a significant feature based on relationships between neighboring pixels. The main idea of HLBP is to threshold the distance between the current pixel and each of its neighbors with a homogeneity tolerance value which correspond more to the underlying spatial structures consequently allow extracting highly distinctive invariant features of the image. To assess the performance of the our proposed descriptor, we use “Outex" database and compared with the basic (LBPs). The experimental results show that the proposed Homogeneous Local Binary Pattern gives a good performance in term of classification accuracy.

Keywords: Texture classification, Local Binary Pattern (LBP), General Adaptive Neighbor (GAN), Feature extraction

Introduction

Texture wears the basic characteristic that appears in each natural surface, which gives a hardness to determine a specific definition by the scientific community [15]. Texture analysis is omnipresent as one of the most arduous and defying issue in computer founded pattern recognition, due to their similarity in spectral features between the various surfaces. However, until now, it has been considered as the only powerful manner that can present a fundamental discriminate based on various methods of feature extraction used in image processing and recognition. In texture image processing, several applications such as: face recognition [14], object detection [13], image matching [5] segmentation [1] and texture classification [9]. In the literature, there exists four main approaches for texture analysis: statistical methods [11], model-based method [2], structural-based approach [8] and spectral-based or filter-based methods [7].

In order to allow an efficient classification of the texture, two main steps are required. The texture representation phase and the classification phase. These make it possible to generate a model using compact and discriminating characteristics extracted from the first phase. To extract features, several approaches have been developed. Specifically, the Local Binary Patterns (LBP) descriptor introduced by [11] has obtained important attention caused by their robustness and performance in front of illumination and scale variation with minimum algorithmic complexity. Based on LBP, many extensions have been defined and studied such as: ILBP [6], DLBP [1], CLBC [17], LDP [16], MRELBP [10] and SSLBP [4].

Recently, GAN-based Minkowski maps proposed by [12] have been employed for texture analysis as a powerful technique that has already proved its effectiveness on gray tone and color images in a local, adaptive and multi-scale way. In [3] this method is applied in combination with LBP descriptors to classify skin lesions. More precisely, the geometrical GAN-based features of each pixel are extracted from the texture images, then the LBP are computed to characterize them. The GAN processes the image locally.

In this work, to obtain better details of the image, we present a new LBP method based on the impact of homogeneous tolerance used in General Adaptive Neighborhood [3, 12] named Homogeneous Local Binary Pattern HLBP. This one allows to overcome the shortcoming of the initial approach by using a thresholding based on a selected criterion such as luminance, contrast, thickness, etc. Pixel criterion values fit within a specified range of homogeneity tolerance which allow to better take into consideration the relationships between the neighboring pixels. Therefore, the neighborhoods of the pixels correspond more to the underlying spatial structures. Consequently, HLBP descriptor obtains more intrinsic characteristics of the image. The proposed descriptor offers robust and powerful discriminative features in low dimension which are used as input of the support vector machine (SVM) classifier. The classical database Outex of texture images is employed to evaluate the method. According to the experimental results, the proposed HLBP gives the best performance in term of classification accuracy.

The following paper is organized as follows: a depth explanation of the specified methods and tools including the new approach of LBP is presented after the introduction. Thereafter, the performance of the descriptor is evaluated using the outex texture image dataset in Sect. 3, followed by discussion and conclusion in the last section.

Background

Local Binary Pattern LBP

LBP is one of the effective approaches to represent the texture characteristics which generate binary code for each pixel by thresholding the neighboring pixels with the central pixel value [11]. For the neighbors that have a value strictly negative from the center value pixel are encoded with 0; otherwise, they are encoded with 1. A concatenation of these binary values presents a binary number that is multiplied with corresponding weights to generate the LBP code as a decimal value employed for labeling the given pixel. This code is computed as follows:

graphic file with name M1.gif 1

Where P is the number of neighbor pixels and R is the radius, Inline graphic and Inline graphic are respectively pixel center and pixels neighbors of position Inline graphic. The basic LBP is extending to a circular symmetric area [11], due to the limitation that can provide from LBP using square neighbors front of rotating invariant features. The following equations illustrate the rotation invariant uniform LBP Inline graphic

graphic file with name M6.gif 2

where the uniform LBP is given by:

graphic file with name M7.gif 3

Proposed Approach

In this section, we will describe in details our new proposed approach HLBP, in order to improve LBP and obtain more intrinsic image characteristics.

Homogeneous Local Binary Pattern Method

First of all, we observe that the GAN approach is provides homogeneous spatial regions using m tolerance with a specific criterion function (luminance, contrast ...) that make him robust compared to other methods for analyzing gray tone and color images. Therefore, based on this observation, we propose the HLBP descriptor that aims to improve LBP by using the condition of criterion homogeneity of its pixels Inline graphic close to the one of the center Inline graphic. Formally, the Inline graphic is defined as:

graphic file with name M11.gif 4
graphic file with name M12.gif 5

With the same notations as LBP, Inline graphic is the center of the pixel, Inline graphic denotes the pixel neighbors at the Inline graphic position, P the number of samples and R the radius. s() represents the sign function with a new additional parameter for HLBP: the homogeneity tolerance Inline graphic with respect to the criterion (luminance, contrast, ....) h which helps to threshold all the neighbor pixels in a specific interval.

To get the HLBP code we need to follow this steps:

  1. Firstly, we need to specify the size of the window by choosing the radius R and the sample number of neighbor pixels P.

  2. Secondly, we must precise homogeneity tolerance m by considering in our approach the luminance criterion Inline graphic (f is pixel intensity) to get pixels that are adjacent to Inline graphic in relation to the criterion mapping.

  3. Finally, calculating the code of homogeneous Local Binary Pattern. In this step, the value of the center is substituted with binary code of the neighbors which are thresholded in relation with the center pixel Inline graphic. Precisely, each pixel is sill by homogeneity tolerance m with its neighbors by subtracting the center pixel value. The resulting that is respect threshold values are encoded with 1, otherwise are encoded with 0. Then, all binary numbers are concatenated to obtain decimal code which label the pixel.

To clarify the proposed approach, in figure “Fig. 1” we illustrate the complete procedure with specific parameters of R and P (8,1). We have an example of local pattern with the center Inline graphic we substitute all neighbors Inline graphic then we compare it with homogeneity tolerance that we choose as Inline graphic to compose binary code “10001101”.

Fig. 1.

Fig. 1.

Example of HLBP of (P = 8, R = 1) and m = 15.

Experimental Results

The objective of this section is to figure out the effectiveness of our proposed method in texture classification.

Texture Dataset

The experiment is realized using one of the most popular databases in texture analysis “Outex TC 0010”. This database is composed of 24 classes of rich surface texture (random motifs, irregular patterns, texture regularity, various granularity, ect), each class contains 180 images with size 128*128. In the total, 4320 texture images are provided, with a variety of angle orientation (0.5, 10, 15, 30, 45, 60, 75 and 90). Some samples of each class are illustrated in figure “Fig. 2”.

Fig. 2.

Fig. 2.

Example of Outex TC 0010 database.

Experimental Procedure

In order to test our proposed method, we use the support vector machine SVM as one of the powerful classifiers in literature where 10 cross validation is employed.

In the proposed method, we use variation of two parameters radius R = 1, 2, 3, 4, 5, 6 and homogeneity tolerance m = 5, 10, 15, 20, 30. This variation allows to extract multiscale HLBP. In order to reduce the feature dimension and computational time in this paper, we fix P to 8 neighbors for all R. With the aim to evaluate the performance of our descriptor, we use Outex_TC_00010. Table 1 illustrates the results of the proposed experiments.

Table 1.

Classification accuracy (%) of the HLBP and HLBP+LBP descriptor for different values of radius R on the Outex-TC-10 dataset.

R Approaches Homogeneity tolerance m
5 10 15 20 30
1 LBP classic 96.26%
GANLBP 79.54% 85.51% 89.10% 90.16% 89.79%
HLBP 95.69% 95.19% 92.48% 87.96% 69.19%
GANLBP+LBP 97.80% 98.40% 98.52% 98.73% 98.47%
HLBP+LBP 99.00% 98.35% 98.59% 99.05% 98.59%
2 LBP classic 97.10%
GANLBP 82.55% 97.19% 88.73% 90.60% 92.48%
HLBP 92.24% 98.38% 98.40% 97.73% 95.35%
GANLBP+LBP 98.89% 97.25% 99.21% 99.12% 99.05%
HLBP+LBP 99.31% 99.51% 99.54% 99.38% 99.35%
3 LBP classic 97.94%
GANLBP 79.72% 81.44% 85.37% 88.10% 90.02%
HLBP 87.01% 96.48% 98.17% 98.66% 97.87%
GANLBP+LBP 98.68% 99.00% 99.42% 99.10% 99.03%
HLBP+LBP 99.00% 99.38% 99.70% 99.51% 99.49%
4 LBP classic 96.71%
GANLBP 78.45% 85.37% 85.51% 88.61% 90.46%
HLBP 84.93% 94.31% 96.09% 96.00% 96.16%
GANLBP+LBP 98.80% 99.03% 99.17% 99.00% 99.44%
HLBP+LBP 99.05% 99.33% 99.54% 99.58% 99.61%
5 LBP classic 94.00%
GANLBP 80.09 72.63% 80.30% 81.51% 82.78%
HLBP 80.16% 90.79% 94.47% 94.58% 96.04%
GANLBP+LBP 97.85% 98.08% 97.73% 97.73% 98.26%
HLBP+LBP 97.41% 98.31% 98.91% 98.94% 98.80%
6 LBP classic 94.12%
GANLBP 78.13% 80.42% 79.81% 79.68% 80.28%
HLBP 79.38% 90.49% 94.42% 95.60% 95.51%
GANLBP+LBP 97.36% 97.66% 97.94% 97.57% 97.25%
HLBP+LBP 97.85% 98.66% 99.14% 99.07% 98.98%

Experiment 1

In experiment 1, we compare our method with the texture descriptor based on LBP “General Adaptive Neighborhood-Minkowski Local Binary Pattern Descriptor” presented in [3].

It is clearly remarkable that our proposed descriptor gives the best classification accuracy compared with GANLBP for Inline graphic we have 92.48%, 98.40% and 98,17% for R = 1, 2 and 3 respectively. Furthermore, they achieve also good results: 98.17%, 98.66% and 97.87% with different parameters of homogeneity tolerance Inline graphic and Inline graphic respectively. “Fig. 3” illustrates examples of HLBP using different homogeneity tolerances m and radius R. Generally, our approach HLBP gives better performance by capturing more intrinsic characteristics of the image due to the use of sill of homogeneity tolerance m allowing to better take into account the relationships between neighboring pixels.

Fig. 3.

Fig. 3.

Example of images HLBP employing different parameter.

Experiment 2

In Table 1 for homogeneity tolerance Inline graphic our approach outperforms LBP for most of radius. However, we did not stop here since we want to increase robustness of HLBP to surpass LBP precisely, in all multiscale variation (radius and homogeneity tolerance), therefore, we proposed the second experiment. The idea is to combine the histograms of HLBP and LBP.

As expected the performance of other descriptors such as GANLBP+LBP and LBP drops for this dataset owing to loose the structural information compared to HLBP+LBP which keep their performance in front of other methods through a margin that shows its robustness with the homogeneity criterion m. For Inline graphic we have 98.59% 99.54% 99.70% 99.54% 98.91% 99.14% in R = (1, 2, 3, 4, 5 and 6) respectively.

Conclusion

In this work we have proposed a new texture classification descriptor HLBP that helps to get a robust discriminative information from an image based on the tolerance threshold m which take into consideration the relationship between neighboring pixels. Therefore, the neighborhoods of pixels much more correspond to the underlying spatial structures. Different experiments are carried out using one of the publicly available texture databases Outex_TC_0010 showing the performance and robustness of our approach.

Contributor Information

Abderrahim El Moataz, Email: abderrahim.elmoataz-billah@unicaen.fr.

Driss Mammass, Email: mammass@uiz.ac.ma.

Alamin Mansouri, Email: alamin.mansouri@u-bourgogne.fr.

Fathallah Nouboud, Email: fathallah.nouboud@uqtr.ca.

Ibtissam Al Saidi, Email: ibtissam_alsaidi@um5.ac.ma.

Mohammed Rziza, Email: mohammed.rziza@gmail.com.

Johan Debayle, Email: debayle@emse.fr.

References

  • 1.Arof H, Deravi F. Circular neighbourhood and 1-D DFT features for texture classification and segmentation. IEE Proc.-Vis. Image Sig. Process. 1998;145(3):167–172. doi: 10.1049/ip-vis:19981688. [DOI] [Google Scholar]
  • 2.Chen JL, Kundu A. Rotation and gray scale transform invariant texture identification using wavelet decomposition and hidden Markov model. IEEE Trans. Pattern Anal. Mach. Intell. 1994;16(2):208–214. doi: 10.1109/34.273730. [DOI] [Google Scholar]
  • 3.González-Castro V, et al. Texture descriptors based on adaptive neighborhoods for classification of pigmented skin lesions. J. Electron. Imaging. 2015;24(6):061104. doi: 10.1117/1.JEI.24.6.061104. [DOI] [Google Scholar]
  • 4.Guo Z, Wang X, Zhou J, You J. Robust texture image representation by scale selective local binary patterns. IEEE Trans. Image Process. 2015;25(2):687–699. doi: 10.1109/TIP.2015.2507408. [DOI] [PubMed] [Google Scholar]
  • 5.Heikkilä M, Pietikäinen M, Schmid C. Description of interest regions with local binary patterns. Pattern Recognit. 2009;42(3):425–436. doi: 10.1016/j.patcog.2008.08.014. [DOI] [Google Scholar]
  • 6.Jin, H., Liu, Q., Lu, H., Tong, X.: Face detection using improved LBP under Bayesian framework. In: Third International Conference on Image and Graphics (ICIG 2004), pp. 306–309. IEEE (2004)
  • 7.Kokare M, Biswas P, Chatterji B. Rotation-invariant texture image retrieval using rotated complex wavelet filters. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2006;36(6):1273–1282. doi: 10.1109/TSMCB.2006.874692. [DOI] [PubMed] [Google Scholar]
  • 8.Lam WK, Li CK. Rotated texture classification by improved iterative morphological decomposition. IEE Proc.-Vis. Image Sig. Process. 1997;144(3):171–179. doi: 10.1049/ip-vis:19971198. [DOI] [Google Scholar]
  • 9.Liao S, Law MW, Chung AC. Dominant local binary patterns for texture classification. IEEE Trans. Image Process. 2009;18(5):1107–1118. doi: 10.1109/TIP.2009.2015682. [DOI] [PubMed] [Google Scholar]
  • 10.Liu L, Lao S, Fieguth PW, Guo Y, Wang X, Pietikäinen M. Median robust extended local binary pattern for texture classification. IEEE Trans. Image Process. 2016;25(3):1368–1381. doi: 10.1109/TIP.2016.2522378. [DOI] [PubMed] [Google Scholar]
  • 11.Ojala T, Pietikainen M, Maenpaa T. Multiresolution gray-scale and rotation invariant texture classification with local binary patterns. IEEE Trans. Pattern Anal. Mach. Intell. 2002;24(7):971–987. doi: 10.1109/TPAMI.2002.1017623. [DOI] [Google Scholar]
  • 12.Pinoli, J.C., Debayle, J.: General adaptive neighborhood mathematical morphology. In: 2009 16th IEEE International Conference on Image Processing (ICIP), pp. 2249–2252. IEEE (2009)
  • 13.Satpathy A, Jiang X, Eng HL. LBP-based edge-texture features for object recognition. IEEE Trans. Image Process. 2014;23(5):1953–1964. doi: 10.1109/TIP.2014.2310123. [DOI] [PubMed] [Google Scholar]
  • 14.Tan X, Triggs B. Enhanced local texture feature sets for face recognition under difficult lighting conditions. IEEE Trans. Image Process. 2010;19(6):1635–1650. doi: 10.1109/TIP.2010.2042645. [DOI] [PubMed] [Google Scholar]
  • 15.Tuceryan, M., Jain, A.K.: Texture analysis. In: Handbook of Pattern Recognition and Computer Vision, pp. 235–276. World Scientific (1993)
  • 16.Zhang B, Gao Y, Zhao S, Liu J. Local derivative pattern versus local binary pattern: face recognition with high-order local pattern descriptor. IEEE Trans. Image Process. 2009;19(2):533–544. doi: 10.1109/TIP.2009.2035882. [DOI] [PubMed] [Google Scholar]
  • 17.Zhao Y, Huang DS, Jia W. Completed local binary count for rotation invariant texture classification. IEEE Trans. Image Process. 2012;21(10):4492–4497. doi: 10.1109/TIP.2012.2204271. [DOI] [PubMed] [Google Scholar]

Articles from Image and Signal Processing are provided here courtesy of Nature Publishing Group

RESOURCES