Skip to main content

The identification of liver cirrhosis with modified LBP grayscaling and Otsu binarization


Liver cirrhosis is considered as one of the most common diseases in healthcare. The widely accepted technology for the diagnosis of liver cirrhosis is via ultrasound imaging. This paper presents a technique for detecting the cirrhosis of liver through ultrasound images. The region of interest has been selected from these ultrasound images and endorsed from a radiologist. The identification of liver cirrhosis is finally detected through modified local binary pattern and OTSU methods. Experimental results from the proposed method demonstrated its feasibility and applicability for high performance cirrhotic liver identification.


World Health Organization (WHO) states that 130–150 million people globally have chronic hepatitis C infection. Lot many those patients may develop liver cirrhosis due to poor medical attention (WHO 2015). Cirrhosis is considered to be the end stage of chronic hepatopathies which may leads to hepatocellular carcinoma (Virmani et al. 2013). The diagnosis of the liver cirrhosis is best achieved by looking at the granular structure of the liver parenchyma and the aspects of the liver surface such as its unevenness and roughness (Virmani et al. 2011). Ultrasound imaging techniques are widely used to diagnose liver cirrhosis using the advanced image processing tools and techniques.

In the present medical scenario, a physician’s experience matters to diagnose the cirrhosis where often it is felt that assistive technologies must be developed to improve ultrasound images. Therefore, researchers have been actively exploring the quantitative method to characterize and analyze the different stages of cirrhotic liver (Fujino et al. 2014). Biopsy is considered as “golden standard” for diagnosing diffuse liver diseases, but being in vivo in nature usually not easily accepted the patient. Ultrasonography is the most preferred examination for screening, mainly due to its noninvasive and nonradioactive nature (Jeong et al. 2007). Here, it has been established by the radiologist that the texture of the body tissues provides an important visual property in classification and characterization of results in their radiological significant (Mitrea et al. 2012). Image texture can be qualitatively defined in following categories of fineness, coarseness, smoothness, surface granulation, randomness, irregular or hummocky (Hawlick 1979). In the textural images, the intensity and spatial arrangement of pixels describes all the above mentioned features (Castellano et al. 2004). This irregular pattern/hummocky is due to rough as well as eruptions/sores/scares on the surface of cirrhotic liver. The regular pattern in normal liver and irregular pattern in cirrhotic liver is shown in Fig. 1a.

Fig. 1

a Normal liver, b cirrhosis liver: provided by National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health (NIDDK 2010)

Image texture can be qualitatively defined in following categories of fineness, coarseness, smoothness, surface granulation, randomness, irregular or hummocky. In the textural images, the intensity and spatial arrangement of pixels describes all the above mentioned features.

The most common pattern or hummocky of human liver disease is micronodular cirrhosis, a condition characterized by fibrosis and the conversion of normal liver architecture into uniform sized regenerating small nodules. Microscopically, normal liver architecture is distorted by scar tissue which forms a band of connecting tissue joining the periportal and perivenous areas. It is often said that micronodular cirrhosis may be converted into cirrhosis of macronodular type (Fauerholdt et al. 1983). The progression may lead to complete cirrhosis. This becomes a very tedious job to differentiate the change when ultrasound scanning is done. Radiologist needs a very critical analysis to differentiate between these two. If a diagnostic tool can be developed based on the concept of image processing, early disease detection is possible.

Of course, ultrasound images are to be taken for spatial domain analysis as texture differentiation appears to be the vital parameter (Lee 2013; Wu et al. 2012, 2013). Here, the main problem lies in identifying smaller granular or hummocky bodies (about the size of millet seed measuring from 1 to 2.5 mm in diameter) in case of normal liver and substantially, clustered and inflammatted matrices of granular hummocky bodies (because of scarring) for the case of Cirrhotic Liver. The widely accepted techniques in spatial domain are LBP and OTSU methods. LBP technique reduces a grayscale image to mean weighted grayscale image i.e. grayscale value of central pixel is calculated as per the mean of its surrounding pixels which is defined by the radius parameter of LBP technique.

Regeneration of the ultrasound image on the basis of local binary patterns (LBP) technique has been applied to various uniform texture patterns detection (Brunenberg et al. 2006; Caballero et al. 2006; Keramidas et al. 2007; Pujol et al. 2003). The most important properties of LBP are its tolerance regarding monotonic illumination changes and its computational simplicity. LBP was originally proposed for texture analysis (Ojala et al. 1996) and hence proved to be a simple yet powerful approach to describe local structures. It has been extensively exploited in many applications, for instance, face image analysis (Ahonen et al. 2004; Hadid et al. 2004), image and video retrieval (Huijsmans and Sebe 2003; Grangier and Bengio 2008), environment modeling (Ali et al. 2008; Nanni and Lumini 2008), visual inspection (Maenpaa et al. 2003; Turtinen et al. 2006), motion analysis (Heikkila and Pietikainen 2006; Kellokumpu et al. 2008), biomedical and aerial image analysis (Oliver et al. 2007; Kluckner et al. 2007), and remote sensing (Lucieer et al. 2005). However, this very technique can be seen very useful for cirrhotic liver images obtained through ultrasound.

On the other hand, Otsu’s method (Rodríguez 2006; Huang and Wang 2009) a high-speed and effective thresholding approach is applied for image binarization. In this method, it is mainly exploited to discriminate the background and objects on a gray level histogram. It has indeed the advantage to be highly efficient and demands less computation time when the number of classes is two (Tamim et al. 2015; Filipczuk et al. 2013).

The present research work is an effort to detect and classify liver cirrhosis based on their structure and texture pattern retrieved from USI. During the past few years, LBP has aroused increasing interest in image processing and computer vision due to its nature of nonparametric method and Otsu method has the capability in changing grayscale images to binary images using adaptive thresholding. That’s why OTSU is additionally added to LBP generated weighted gray scale image. OTSU is doing its normal job but it is applied not to the original image but to the modified LBP image. This modification of LBP method is represented as differential local binary pattern (DLBP) in our further discussion.


The US images were acquired from radiology center under supervision of an experienced radiologist. The ultrasound images each of size 381 by 331 in JPG format were specified in two categories as normal and cirrhotic liver. All the images were acquired from same ultrasound machine to nullify the effects of change in dimensions and texture values on the images which may have happened if it is taken by different sources. The ultrasound probe used for acquiring these images was having depth of 15 cm and frequency of 5 MHz. Radiologist also specified the portion in the images which belonged to cirrhosis as shown in Fig. 2 for cross evaluation. Region of interest (ROI) has been selected as templates of size 50 × 50 each from both normal liver and cirrhotic liver ultrasound images as in Fig. 2a–d.

Fig. 2

a Ultrasound image of normal liver, b ROI defined by radiologist from normal liver, c ultrasound image of cirrhosis liver, d ROI defined by radiologist from cirrhosis liver

Accordingly, one template was selected from each image, i.e. total of 6 templates were taken from 6 images of normal liver. Similarly, 44 templates were selected from 44 images of cirrhotic liver. Modified LBP with OTSU approach was applied on to the selected templates of both normal and cirrhotic liver.

Ojala et al. (2002) presented the LBP operator for texture classification. LBP operator is that value of the pixel where the accumulative value is calculated from comparing its gray value with its neighbors as given in Eq. (1).

$$LBP_{P,R} \left( {x_{c} ,y_{c} } \right) = \mathop \sum \limits_{p = 1}^{P} s\left( {g_{p} - g_{c} } \right)2^{P - 1}$$


$$s\left( z \right) = \left\{ {\begin{array}{*{20}c} {1, \quad z \ge 0} \\ {0, \quad z < 0} \\ \end{array} } \right.$$

where g c is the gray value of the center pixel, g p is the gray value of neighbor at radius R from the center pixel (g c ) and P is the number of neighbors at a distance (radius) R from the center pixel (g c ) in an image. Examples of such circular neighbor sets for different configurations of (P, R) are shown in Fig. 3. The LBP operator when processed onto the entire image creates new LBP image with desired intensity at each pixels. The concept used to get this desired intensity at pixel level is:

If the gray level of the neighboring pixel is higher or equal to the center pixel, the value is set to one otherwise the value is zero.

Fig. 3

Circular neighborhood set for different (P, R)

Otsu’s method is a clustering-based image thresholding, which is based on the selection of the optimal thresholds from the gray-level histogram of an image that maximizes the between-class variance (Fukunage 1972). Otsu defines the between-class variance using the discriminate analysis based on statistics of the 1-D histogram (Otsu 1979).

Assuming an image with the size M × N and gray range L, the number of pixels at gray level i is denoted by ni, thus the probability of gray level i can be gained by

$${\text{P}}_{\text{i}} = {\text{n}}_{\text{i}} /\left( {{\text{M}} \times {\text{N}}} \right),\quad \quad {\text{P}}_{\text{i}} \ge 0;\quad \mathop \sum \limits_{0}^{{{\text{L}} - 1}} {\text{P}}_{\text{i}} = 1$$

If we divide the pixels of the image into two classes of object C0 and background C1 by the threshold t, the gray level probability distributions for the two classes can be expressed by

$$\upomega_{0} = {\text{P}}_{\text{r}} \left( {{\text{C}}_{0} } \right) = \mathop \sum \limits_{{{\text{i}} = 0}}^{\text{t}} {\text{P}}_{\text{i}} =\upomega\left( {\text{t}} \right)$$
$$\upomega_{1} = {\text{P}}_{\text{r}} \left( {{\text{C}}_{1} } \right) = \mathop \sum \limits_{{{\text{i}} = {\text{t}} + 1}}^{{{\text{L}} - 1}} {\text{P}}_{\text{i}} = 1 -\upomega\left( {\text{t}} \right)$$

The gray means of the class C0 and C1 are

$$\upmu_{0} = \mathop \sum \limits_{{{\text{i}} = 0}}^{\text{t}} {\text{iP}}_{\text{r}} /\upomega_{0} =\upmu\left( {\text{t}} \right)/\upomega\left( {\text{t}} \right)$$
$$\upmu_{1} = \mathop \sum \limits_{{{\text{i}} = {\text{t}} + 1}}^{{{\text{L}} - 1}} {\text{iP}}_{\text{r}} /\upomega_{1} = \frac{{\upmu_{\text{T}} -\upmu\left( {\text{t}} \right)}}{{1 -\upomega\left( {\text{t}} \right)}}$$

where \(\upomega\left( {\text{t}} \right) = \sum\nolimits_{{{\text{i}} = 0}}^{\text{t}} {{\text{P}}_{\text{i}} }\), \(\upmu\left( {\text{t}} \right) = \sum\nolimits_{{{\text{i}} = 0}}^{\text{t}} {{\text{iP}}_{\text{i}} }\), \(\upmu_{\text{T}} = \sum\nolimits_{{{\text{i}} = 0}}^{{{\text{L}} - 1}} {{\text{iP}}_{\text{i}} }\).

The between-cluster variance of the class C0 and C1 can be given by

$$\upsigma_{\text{B}}^{2} \left( {{\text{t}}^{*} } \right) =\upomega_{0} \left( {\upmu_{0} -\upmu_{\text{T}} } \right)^{2} +\upomega_{1} \left( {\upmu_{1} -\upmu_{\text{T}} } \right)^{2}$$

During the image segmentation process by the OTSU method, the between-cluster variance is considered as an important index for the uniformity of gray distributions (Chaou et al. 2015). The larger the between class variance is, the greater the difference between the two classes becomes. The optimal threshold \({\text{t}}^{*}\) can be figured out through maximizing the between-class variance σ B .

$$\sigma_{B}^{2} \left( {t^{*} } \right) = \mathop \sum \limits_{{{\text{t}} = 0}}^{{{\text{L}} - 1}} Max\left\{ {\sigma_{B}^{2} \left( t \right)} \right\}$$

Being a nonparametric approach, LBP summarizes local structures of images efficiently by comparing each pixel with its neighboring pixels (Murala and Jonathan 2014; Hu and Zhao 2010). Here, it is important to mark the radius i.e. R for the computation of LBP operator.

In the present study, a technique for detecting the liver cirrhosis through ultrasound images has been developed by exploiting LBP operator’s computing principle. Widely used local binary pattern encodes the relationship among the surrounding neighbors for a given referenced pixel in an image. The possible relationships among the surrounding neighbors are depending on the number of neighbors. The LBP approach has been observed as a good approach for texture analysis of regular pattern. Hence, found to be advantageous for simultaneously classification between a regular and an irregular pattern.

LBP technique has been slightly modified in terms of difference value between neighboring pixels and centre pixel. The modified approach is:

If the difference value is less than or equal to standard deviation of that matrix then difference value is replace by 0 and otherwise the difference value is replace by one.

Hence, the macro granular in the hummocky type structure of liver appears in the form of black portion in the binary images. Therefore, a technique is needed so that binarization and thresholding becomes so accurate to figure out difference between the normal and cirrhotic liver.

Now if the dimension or size of these black portions can be calculated in terms of no. of consecutive pixels either horizontally or vertically placed, classify between a normal texture and cirrhotic texture is possible.

In the present work the ideology used is to measure black portion or spot or granular as count of horizontally connected black pixels. This count is called here as connectivity. The concept is further extended by counting three such consecutive pixels then four and lastly five such pixels. These 3, 4 and 5 connected pixels can further be explored to segregate the stages of cirrhosis. The concept of radius is used to generate spatially equalized LBP grayscale image. Three such selection were made; firstly LBP with radius = 1, secondly = 2 and lastly = 3. Bigger the radius leads to more spatial equalization and thus less chance to detect irregularisation or hummocky type structure.

The same has been projected as an experiment below. In this, Fig. 4a, b were regular and irregular texture images. Figure 4c, d were LBPs’ images of regular and irregular images respectively. Figure 4e, f were the results after applying OTSU on LBPs’ images. Figure 4g, h were complement of the OTSU images.

Fig. 4

a, b Regular and irregular texture image, c, d LBPs’ images of regular and irregular images, e, f OTSU images i.e. results after applying OTSU on both LBPs’ images (g, h) complement of OTSU images (i, j) values of connected objects for both regular and irregular images

If the image is of any regular texture as shown in Fig. 4a then regularity is in its gray level distribution. As first step, Modified LBP approach was applied which removed variation of grayscale and generated Fig. 4e. As there was no abrupt change of grayscale, compliment of 4e becomes a white (blank) image. Therefore, connectivity of black portion comes zero as shown in 4i. Similarly, if any image contains an irregular texture as in Fig. 4b, this means that there is a non-uniform distribution of its grayscale; therefore connecting of the cells will be increased as shown in Fig. 4h. There is a values in 3, 4 as well as in 5 connected pixels as shown the value in Fig. 4j.

In normal liver, because granular or hummocky structure is about uniform in sizes, the value will come very lesser in all 3, 4 or 5 connectivity. If cirrhotic liver is taken, due to the non uniformity, it may appear more. That is the basic of this connectivity. The detailed methodology has been presented in the flow chart shown in Fig. 5.

Fig. 5

Flow chart of proposed method

Results and discussion

Firstly, by applying Otsu method directly to the all templates and get these all 3, 4 and 5 connected counts as shown in Table 1. This method is not giving any specific result.

Table 1 3, 4 and 5 connected counts using Otsu method

Secondly, standard LBP is used and Otsu method is applied on that LBP images. LBP radius (R) is used to compute the LBP operator as shown in Fig. 3. If radius (R) is 1, 2 and 3 then matrix become of 3 × 3, 5 × 5 and 7 × 7 respectively. Then, 3, 4 and 5 connected pixels as explained earlier and are getting these all counts for all three radiuses separately as shown in Table 2. There is again no specific result as observed from table.

Table 2 3, 4 and 5 connected counts using LBP with Otsu method

Finally, modified LBP (DLBP) is used and Otsu method is applied on that DLBP images. Then, again 3, 4 and 5 connected pixels are getting these all counts for all three radiuses separately as shown in Table 3. This is giving the specific result for identification of liver cirrhosis from normal liver.

Table 3 3, 4 and 5 Connected Counts using DLBP with Otsu method

As observed from the Table 3, if the counts of 3 connected pixels for radius 1 are <58 then the liver is normal liver and if the counts are >71 then the liver is cirrhotic liver. Similarly, the counts for 3, 4 and 5 connected pixels for radius 1, 2 and 3 are explained in Table 4 for normal liver and cirrhotic liver.

Table 4 3, 4 and 5 connected counts for normal liver and cirrhotic liver using DLBP with Otsu method

There are some problem in counts for cirrhotic liver because which are assuming as cirrhotic liver that might be at the first stage of cirrhosis i.e. fibrosis. So, further methodology can be amending to stage the cirrhosis. That’s why radius 2 and radius 3 is chosen. As the granular and scarring increases that much part is cirrhosis. If it does not lie in the range of cirrhosis then it might be fibrosis.

For statistical interpretation, widely accepted classifiers are used. Here, two classifiers have been selected; one is support vector machine (SVM) and other one is K-nearest neighbor (KNN) support vector machine (SVM) has been chosen for the classification task because classifier designs which use regularization like SVM are less prone to over fitting and obtain good generalization performance to a certain extent even without feature space dimensionality reduction. KNN has been chosen because KNN is non-parametric, i.e. it makes no assumption about the data distribution. Accuracy of both the classifier will justify our methodology and decision.

Figures 6 and 7 are the classifications of OTSU with LBP method and OTSU with DLBP method respectively. In these classifiers, x axis is 4 connected black objects and y axis is 5 connected black objects for LBP radius of 3.

Fig. 6

a SVM classification of OTSU with LBP method, b KNN classification of OTSU with LBP method

Fig. 7

a SVM classification of OTSU with DLBP method, b KNN classification of OTSU with DLBP method

In SVM classification of Figs. 6a and 7a, pink plus sign ‘+’ indicates the normal liver and blue plus sign ‘+’ indicates the cirrhotic liver. The line divides the region of the normal and cirrhotic liver. When OTSU with LBP method is used, there are only 32 out of 44 blue plus signs falls in the cirrhosis region and 5 out of 6 red plus signs in normal region as shown in Fig. 6a. So accuracy is 72.7 % for the cirrhotic liver and 83.3 % for normal liver of OTSU with LBP method. When OTSU with DLBP is used, there are 42 out of 44 blue plus signs falls in the cirrhosis region and all red plus signs in normal region as shown in Fig. 7a. So accuracy is 95.45 % for the cirrhotic liver and 100 % for normal liver of OTSU with DLBP method.

In KNN classification of Figs. 6b and 7b, blue dots for normal liver and red dots for cirrhotic liver. In this, all blue dots are accumulated together and red dots are accumulated together. In this classification, plus (+) sign is the point that separates the region of cirrhosis and normal liver and circles are the nearest neighbors of this plus (+) sign. When OTSU with LBP method is used, there are 40 out of 44 red dots falls in the cirrhosis region and 2 out of 6 blue dots falls in the normal region as shown in Fig. 6(b). So, accuracy is 90.9 % for the cirrhotic liver and 33.33 % for the normal liver of OTSU with LBP method. When OTSU with DLBP method is used, there are 43 out of 44 red dots falls in the cirrhosis region and 5 out of 6 red dots falls in the normal region as shown in Fig. 7b. So, accuracy is 97.72 % for the cirrhotic liver and 83.33 % for the normal liver of OTSU with DLBP method. The sensitivity is 97.75 and specificity is 83.3 % of this method.

Methods Recognition rate
Using SVM classifier (%) Using KNN classifier (%)
OTSU with LBP method 72.7 90.9
OTSU with DLBP method 95.45 97.72


In this study, a modified LBP with OTSU method has been proposed for better identification of texture in ultrasound images of liver in which uncertainty is introduced by inherent noise. The proposed inspection technique was evaluated on a real dataset of 44 templates of 44 cirrhotic liver and 6 templates of 6 normal liver ultrasound images. The promising results achieved in detecting cirrhotic liver. SVM classifier has given the accuracy of 95.45 % for cirrhotic liver and 100 % for normal liver. Similarly, KNN has given the accuracy of 97.72 % for cirrhotic liver and 83.3 % for normal liver. The sensitivity is 97.2 % and specificity is 83.3 %. In the future study; the performance of this technique can be investigated on ultrasound images to classify different stages of cirrhotic liver.


  1. Ahonen T, Hadid A, Pietikainen M (2004) Face recognition with local binary patterns. In: Proceedings of the European conference on computer vision, pp 469–481

  2. Ali W, Georgsson F, Hellstrom T (2008) Visual tree detection for autonomous navigation in forest environment. In: Proceedings of the IEEE conference on intelligent vehicles symposium, pp 560–565

  3. Brunenberg E, Pujol O, Romeny BH, Radeva P (2006) Automatic IVUS segmentation of atherosclerotic plaque with stop & go snake. Med Image Comput Comput Assist Interv 4191:9–16

    Google Scholar 

  4. Caballero KL, Barajas J, Pujol O, Salvatella N, Radeva P (2006) In-vivo IVUS tissue classification a comparison between normalized image reconstruction and RF signals. Prog Pattern Recognit Image Anal Appl 4225:137–146

    Article  Google Scholar 

  5. Castellano G, Bonilha L, Li LM, Cendes F (2004) Texture analysis of medical images. Clin Radiol 59:1061–1069

    Article  Google Scholar 

  6. Chaou AK, Mekhaldi A, Teguar M (2015) Elaboration of novel image processing algorithm for arcing discharges recognition on hv polluted insulator model. IEEE Trans Dielectr Electr Insul 22:990–999

    Article  Google Scholar 

  7. Fauerholdt L, Schlichting P, Christensen E, Poulsen H, Tygstrup N, Juhl E (1983) Conversion of micronodular cirrhosis into macronodular cirrhosis. Hepatology 3:928–931

    Article  Google Scholar 

  8. Filipczuk P, Fevens T, Krzyżak A (2013) Computer-aided breast cancer diagnosis based on the analysis of cytological images of fine needle biopsies. IEEE Trans Med Imaging 32:2169–2178

    Article  Google Scholar 

  9. Fujino K, Mitani Y, Fujita Y, Hamamoto Y, Sakaida I (2014) Liver cirrhosis classification on m-mode ultrasound images by higher-order local auto-correlation features. J Med Bioeng 3:29–32

    Google Scholar 

  10. Fukunage K (1972) Introduction to statistical pattern recognition. Academic Press, NewYork, pp 260–267

    Google Scholar 

  11. Grangier D, Bengio S (2008) A discriminative kernel-based approach to rank images from text queries. IEEE Trans Pattern Anal Mach Intell 30:1371–1384

    Article  Google Scholar 

  12. Hadid A, Pietikainen M, Ahonen T (2004) A discriminative feature space for detecting and recognizing faces. In: Proceedings of the international conference on computer vision pattern recognition, pp 797–804

  13. Hawlick RM (1979) Statistical and structural approaches to texture. Proc IEEE 67:786–808

    Article  Google Scholar 

  14. Heikkila M, Pietikainen M (2006) A texture-based method for modeling the background and detecting moving objects. IEEE Trans Pattern Anal Mach Intell 28:657–662

    Article  Google Scholar 

  15. Hu Y, Zhao C (2010) A local binary pattern based methods for pavement crack detection. J Pattern Recognit Res 1:140–147

    Article  Google Scholar 

  16. Huang DY, Wang CH (2009) Optimal multi-level thresholding using a two-stage Otsu optimization approach. Pattern Recognit Lett 30:275–284

    Article  Google Scholar 

  17. Huijsmans DP, Sebe N (2003) Content-based indexing performance: a class size normalized precision, recall, generality evaluation. In: Proceedings of the international conference on image processing, pp 733–736

  18. Jeong JW, Lee S, Lee JW, Yoo DS, Kim S (2007) The echotextural characteristics for the diagnosis of the liver cirrhosis using the sonographic images. In: Proceedings of the IEEE conference on engineering in medicine and biology society, pp 1343–1345

  19. Kellokumpu V, Zhao G, Pietikainen M (2008) Human activity recognition using a dynamic texture based method. In: Proceedings of the British machine vision conference, Leeds, U.K.

  20. Keramidas EG, Iakovidis D, Maroulis D, Karkains S (2007) Efficient and effective ultrasound image analysis scheme for thyroid nodule detection. In: Proceedings of the international conference on image analysis and recognition (ICIAR), vol 4633. Montreal, Canada, pp 1052–1060

  21. Kluckner S, Pacher G, Grabner H, Bischof H (2007) A 3D teacher for car detection in aerial images. In: Proceedings of the IEEE international conference on computer vision, pp 1–8

  22. Lee WL (2013) An ensemble-based data fusion approach for characterizing ultrasonic liver tissue. Appl Soft Comput 13:3683–3692

    Article  Google Scholar 

  23. Lucieer A, Stein A, Fisher P (2005) Multivariate texture-based segmentation of remotely sensed imagery for extraction of objects and their uncertainty. Int J Remote Sens 26:2917–2936

    Article  Google Scholar 

  24. Maenpaa T, Viertola J, Pietikainen M (2003) Optimising colour and texture features for real-time visual inspection. Pattern Anal Appl 6:169–175

    Article  Google Scholar 

  25. Mitrea D, Nedevschi S, Badea R (2012) The role of the multiresolution textural features in improving the characterization and recognition of the liver tumors, based on ultrasound images. In: Proceedings of the international symposium on symbolic and numeric algorithms for scientific computing, pp 192–199

  26. Murala S, Jonathan QM (2014) Local mesh patterns versus local binary patterns: biomedical image indexing and retrieval. IEEE J Biomed Health Inf 18:929–938

    Article  Google Scholar 

  27. Nanni L, Lumini A (2008) Ensemble of multiple pedestrian representations. IEEE Trans Intell Transp Syst 9:365–369

    Article  Google Scholar 

  28. NIDDK (2010) Cirrhosis. National Institute of Diabetes and Digestive and Kidney Diseases.

  29. Ojala T, Pietikainen M, Harwood D (1996) A comparative study of texture measures with classification based on featured distribution. Pattern Recognit 29:51–59

    Article  Google Scholar 

  30. Ojala T, Pietikainen M, Maenpaa T (2002) Multiresolution gray-scale and rotation invariant texture classification with local binary patterns. IEEE Trans Pattern Anal Mach Intell 24:971–987

    Article  Google Scholar 

  31. Oliver A, Llado X, Freixenet J, Marti J (2007) False positive reduction in mammographic mass detection using local binary patterns. In: Proceedings of the international conference on medical image computing and computer assisted intervention, pp 286–293

  32. Otsu N (1979) A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9:62–66

    Article  Google Scholar 

  33. Pujol O, Rotger D, Radeva P, Rodriguez O, Mauri J (2003) Near real-time plaque segmentation of IVUS. Comput Cardiol 30:69–72

    Google Scholar 

  34. Rodríguez R (2006) A strategy for blood vessels segmentation based on the threshold which combines statistical and scale space filter: application to the study of angiogenesis. Comput Methods Programs Biomed 82:1–9

    Article  Google Scholar 

  35. Tamim A, Minaoui K, Daoudi K, Yahia H, Atillah A, Aboutajdine D (2015) An efficient tool for automatic delimitation of Moroccan coastal upwelling using SST images. IEEE Geosci Remote Sens Lett 12:875–879

    Article  Google Scholar 

  36. Turtinen M, Pietikainen M, Silven O (2006) Visual characterization of paper using isomap and local binary patterns. IEICE Trans Inf Syst E89D:2076–2083

    Article  Google Scholar 

  37. Virmani J, Kumar V, Kalra N, Khandelwal N (2011) Prediction of cirrhosis based on singular value decomposition of gray level co-occurence matrix and a neural network classifier. In: Proceedings of the IEEE international conference on developments in e-systems engineering, pp 146-151

  38. Virmani J, Kumar V, Kalra N, Khandelwal N (2013) SVM-based characterization of liver ultrasound images using wavelet packet texture descriptors. Springer J Digit Imaging 26:530–543

    Article  Google Scholar 

  39. WHO (2015) Hepatitis C. World Health Organization.

  40. Wu CC, Lee WL, Chen YC, Lai CH, Hsieh KS (2012) Ultrasonic liver tissue characterization by feature fusion. Expert Syst Appl 39:9389–9397

    Article  Google Scholar 

  41. Wu CC, Lee WL, Chen YC, Hsieh KS (2013) Evolution-based hierarchical feature fusion for ultrasonic liver tissue characterization. IEEE J Biomed Health Inf 17:967–976

    Article  Google Scholar 

Download references

Authors’ contributions

Our contributions in this paper were that KA carried out the study of image processing, participated in design and analysis and drafted the manuscript. MSB participated in the designing of the technique and performed the statistical analysis. HSR conceived of the study, and participated in its design and coordination and helped to draft the manuscript. All authors read and approved the final manuscript.


We thank Dr. Ila Lynddem Bimbhra, Radiologist, Amar Hospital, Patiala for providing ultrasound image data.

Competing interests

The authors declare that they have no competing interests.

Author information



Corresponding author

Correspondence to Karan Aggarwal.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Aggarwal, K., Bhamrah, M.S. & Ryait, H.S. The identification of liver cirrhosis with modified LBP grayscaling and Otsu binarization. SpringerPlus 5, 322 (2016).

Download citation


  • Cirrhotic liver
  • Ultrasound image
  • Differential local binary pattern