Skip to main content
Log in

A neighbourhood feature-based local binary pattern for texture classification

  • Original article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

The CNN framework has gained widespread attention in texture feature analysis; however, handcrafted features still remain advantageous if computational cost needs to take precedence and in cases where textures are easily extracted with few intra-class variation. Among the handcrafted features, the local binary pattern (LBP) is extensively applied for analysing texture due to its robustness and low computational complexity. However, in local difference vector, it only utilizes the sign component, resulting in unsatisfactory classification capability. To improve classification performance, most LBP variants employ multi-feature fusion. Nevertheless, this can lead to redundant and low-discriminative sub-features and high computational complexity. To address these issues, we propose the neighbourhood feature-based local binary pattern (NF-LBP). Inspired by gradient’s definition, we extract the neighbourhood feature in a local region by simply using the first-order difference and 2-norm. Next, we introduce the neighbourhood feature (NF) pattern to describe intensity changes in the neighbourhood. Finally, we combine the NF pattern with the local sign component and the centre pixel component to create the NF-LBP descriptor. This approach provides better complementary texture information to traditional local sign pattern and is less sensitive to noise. Additionally, we use an adaptive local threshold in the encoding scheme. Our experimental results of classification accuracy and F1 score on five texture databases demonstrate that our proposed NF-LBP method attains outstanding texture classification performance, outperforming existing state-of-the-art approaches. Furthermore, extensive experimental results reveal that NF-LBP is strongly robust to Gaussian noise and salt-and-pepper noise.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22
Fig. 23
Fig. 24
Fig. 25
Fig. 26
Fig. 27

Similar content being viewed by others

Data Availability

The datasets that underpin the findings of this study are openly available at the following URLs: http://www.outex.oulu.fi, www.cs.columbia.edu/CAVE/curet, and www.computer.org/publications/dlib. The program that was used to generate the findings of this study is available upon request from the corresponding author. Any questions related to the datasets or the program may also be directed to the corresponding author.

References

  1. Elahi, G.M.E., Kalra, S., Zinman, L., Genge, A., Korngut, L., Yang, Y.-H.: Texture classification of MR images of the brain in ALS using M-CoHOG: a multi-center study. Comput. Med. Imaging Graph. 79, 101659 (2020)

    Google Scholar 

  2. Shahrezaei, I.H., Kim, H.-C.: Fractal analysis and texture classification of high-frequency multiplicative noise in SAR sea-ice images based on a transform-domain image decomposition method. IEEE Access 8, 40198–40223 (2020)

    Google Scholar 

  3. Khan, U.A., Javed, A., Ashraf, R.: An effective hybrid framework for content based image retrieval (CBIR). Multimed. Tools. Appl. 80, 26911–26937 (2021)

    Google Scholar 

  4. Bansal, M., Kumar, M., Kumar, M.: 2D object recognition techniques: state-of-the-art work. Arch. Comput. Methods Eng. 28, 1147–1161 (2021)

    MathSciNet  Google Scholar 

  5. Shahid, A.R., Yan, H.: SqueezExpNet: dual-stage convolutional neural network for accurate facial expression recognition with attention mechanism. Knowl. Based Syst. 269, 110451 (2023)

    Google Scholar 

  6. Kang, L.-W., Hsu, C.-Y., Chen, H.-W., Lu, C.-S., Lin, C.-Y., Pei, S.-C.: Feature-based sparse representation for image similarity assessment. IEEE Trans. Multimed. 13(5), 1019–1030 (2011)

    Google Scholar 

  7. Bay, H., Ess, A., Tuytelaars, T., Van Gool, L.: Speeded-up robust features (SURF). Comput. Vis. Image Underst. 110(3), 346–359 (2008)

    Google Scholar 

  8. Junior, O.L., Delgado, D., Gonçalves, V., Nunes, U.: Trainable classifier-fusion schemes: an application to pedestrian detection. In: 2009 12th International IEEE Conference on Intelligent Transportation Systems, pp. 1–6 (2009). IEEE

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

    Google Scholar 

  10. Tan, X., Triggs, B.: Enhanced local texture feature sets for face recognition under difficult lighting conditions. IEEE Trans. Image Process. 19(6), 1635–1650 (2010)

    MathSciNet  Google Scholar 

  11. Tuncer, T., Dogan, S., Ozyurt, F.: An automated residual exemplar local binary pattern and iterative reliefF based COVID-19 detection method using chest X-ray image. Chemometr. Intell. Lab. Syst. 203, 104054 (2020)

    Google Scholar 

  12. Guo, Z., Zhang, L., Zhang, D.: A completed modeling of local binary pattern operator for texture classification. IEEE Trans. Image Process. 19(6), 1657–1663 (2010)

    MathSciNet  Google Scholar 

  13. Zhao, Y., Huang, D.-S., Jia, W.: Completed local binary count for rotation invariant texture classification. IEEE Trans. Image Process. 21(10), 4492–4497 (2012)

    MathSciNet  Google Scholar 

  14. Chen, C., Zhang, B., Su, H., Li, W., Wang, L.: Land-use scene classification using multi-scale completed local binary patterns. Signal Image. Video Process. 10, 745–752 (2016)

    Google Scholar 

  15. Lan, S., Fan, H., Hu, S., Ren, X., Liao, X., Pan, Z.: An edge-located uniform pattern recovery mechanism using statistical feature-based optimal center pixel selection strategy for local binary pattern. Expert Syst. Appl. 221, 119763 (2023)

    Google Scholar 

  16. Pan, Z., Hu, S., Wu, X., Wang, P.: Adaptive center pixel selection strategy in local binary pattern for texture classification. Expert Syst. Appl. 180, 115123 (2021)

    Google Scholar 

  17. Liu, L., Long, Y., Fieguth, P.W., Lao, S., Zhao, G.: BRINT: binary rotation invariant and noise tolerant texture classification. IEEE Trans. Image Process. 23(7), 3071–3084 (2014)

    MathSciNet  Google Scholar 

  18. Gyimah, N.K., Girma, A., Mahmoud, M.N., Nateghi, S., Homaifar, A., Opoku, D.: A Robust Completed Local Binary Pattern (RCLBP) for Surface Defect Detection. In: 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 1927–1934 (2021). IEEE

  19. Pan, Z., Wu, X., Li, Z.: Scale-adaptive local binary pattern for texture classification. Multimed. Tools. Appl. 79, 5477–5500 (2020)

    Google Scholar 

  20. Liu, Q., Song, Y., Tang, Q., Bu, X., Hanajima, N.: Wire rope defect identification based on ISCM-LBP and GLCM features. Vis. Comput. 1–13 (2023)

  21. Murala, S., Maheshwari, R., Balasubramanian, R.: Local tetra patterns: a new feature descriptor for content-based image retrieval. IEEE Trans. Image Process. 21(5), 2874–2886 (2012)

    MathSciNet  Google Scholar 

  22. Song, T., Li, H., Meng, F., Wu, Q., Cai, J.: LETRIST: locally encoded transform feature histogram for rotation-invariant texture classification. IEEE Trans. Circ. Syst. Vid. 28(7), 1565–1579 (2017)

    Google Scholar 

  23. Wei, J., Lu, G., Yan, J.: A comparative study on movement feature in different directions for micro-expression recognition. Neurocomputing 449, 159–171 (2021)

    Google Scholar 

  24. Pan, Z., Li, Z., Fan, H., Wu, X.: Feature based local binary pattern for rotation invariant texture classification. Expert Syst. Appl. 88, 238–248 (2017)

    Google Scholar 

  25. Wang, K., Bichot, C.-E., Li, Y., Li, B.: Local binary circumferential and radial derivative pattern for texture classification. Pattern Recogn. 67, 213–229 (2017)

    Google Scholar 

  26. Wang, K., Bichot, C., Zhu, C., Li, B.: Pixel to patch sampling structure and local neighboring intensity relationship patterns for texture classification. IEEE Signal Proc. Let. 20(9), 853–856 (2013)

    Google Scholar 

  27. Song, T., Xin, L., Gao, C., Zhang, G., Zhang, T.: Grayscale-inversion and rotation invariant texture description using sorted local gradient pattern. IEEE Signal Proc. Let. 25(5), 625–629 (2018)

    Google Scholar 

  28. Verma, M., Raman, B.: Local neighborhood difference pattern: a new feature descriptor for natural and texture image retrieval. Multimed. Tools. Appl. 77(10), 11843–11866 (2018)

    Google Scholar 

  29. Xu, X., Li, Y., Wu, Q.J.: A compact multi-pattern encoding descriptor for texture classification. Digit. Signal Process 114, 103081 (2021)

    Google Scholar 

  30. Wu, X., Sun, J.: Joint-scale LBP: a new feature descriptor for texture classification. Vis. Comput. 33(3), 317–329 (2017)

    Google Scholar 

  31. Karanwal, S., Diwakar, M.: OD-LBP: orthogonal difference-local binary pattern for face recognition. Digit. Signal Process. 110, 102948 (2021)

    Google Scholar 

  32. Karanwal, S., Diwakar, M.: Neighborhood and center difference-based-LBP for face recognition. Pattern Anal. Appl. 24, 741–761 (2021)

    Google Scholar 

  33. Bai, R., Guo, X.: Automatic orientation detection of abstract painting. Knowl. Based Syst. 227, 107240 (2021)

    Google Scholar 

  34. Hazgui, M., Ghazouani, H., Barhoumi, W.: Genetic programming-based fusion of HOG and LBP features for fully automated texture classification. Vis. Comput. 1–20 (2022)

  35. Song, T., Feng, J., Luo, L., Gao, C., Li, H.: Robust texture description using local grouped order pattern and non-local binary pattern. IEEE Trans. Circuits Syst. Video Technol. 31(1), 189–202 (2020)

    Google Scholar 

  36. Kabbai, L., Abdellaoui, M., Douik, A.: Image classification by combining local and global features. Vis. Comput. 35, 679–693 (2019)

    Google Scholar 

  37. Alpaslan, N., Hanbay, K.: Multi-resolution intrinsic texture geometry-based local binary pattern for texture classification. IEEE Access 8, 54415–54430 (2020)

    Google Scholar 

  38. Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. Commun. ACM 60(6), 84–90 (2017)

    Google Scholar 

  39. Melekoodappattu, J.G., Dhas, A.S., Kandathil, B.K., Adarsh, K.: Breast cancer detection in mammogram: combining modified CNN and texture feature based approach. J. Ambient Intell. Humaniz. Comput. 1–10 (2022)

  40. Zhang, J., Wu, J., Wang, H., Wang, Y., Li, Y.: Cloud detection method using CNN based on cascaded feature attention and channel attention. IEEE Trans. Geosci. Remote Sens. 60, 1–17 (2021)

    Google Scholar 

  41. Mukhopadhyay, M., Dey, A., Shaw, R.N., Ghosh, A.: Facial emotion recognition based on textural pattern and convolutional neural network. In: 2021 IEEE 4th International Conference on Computing, Power and Communication Technologies (GUCON), pp. 1–6 (2021). IEEE

  42. Wang, P., Li, P., Li, Y., Xu, J., Yan, F., Jiang, M.: Deep manifold feature fusion for classification of breast histopathology images. Digit. Signal Process. 123, 103400 (2022)

    Google Scholar 

  43. Peng, J., Zhao, H., Hu, Z., Zhao, K., Wang, Z.: DRPN: making CNN dynamically handle scale variation. Digit. Signal Process. 133, 103844 (2023)

    Google Scholar 

  44. Li, J., Jin, K., Zhou, D., Kubota, N., Ju, Z.: Attention mechanism-based CNN for facial expression recognition. Neurocomputing 411, 340–350 (2020)

    Google Scholar 

  45. Al-wajih, E., Ghazali, R.: Threshold center-symmetric local binary convolutional neural networks for bilingual handwritten digit recognition. Knowl. Based Syst. 259, 110079 (2023)

    Google Scholar 

  46. Bello-Cerezo, R., Bianconi, F., Di Maria, F., Napoletano, P., Smeraldi, F.: Comparative evaluation of hand-crafted image descriptors vs. off-the-shelf CNN-based features for colour texture classification under ideal and realistic conditions. Appl. Sci. 9(4), 738 (2019)

  47. Ojala, T., Pietikäinen, M., Harwood, D.: A comparative study of texture measures with classification based on featured distributions. Pattern Recogn. 29(1), 51–59 (1996)

    Google Scholar 

  48. Ojala, T., Maenpaa, T., Pietikainen, M., Viertola, J., Kyllonen, J., Huovinen, S.: Outex-new framework for empirical evaluation of texture analysis algorithms. In: 2002 International Conference on Pattern Recognition, vol. 1, pp. 701–706 (2002). IEEE

  49. Lazebnik, S., Schmid, C., Ponce, J.: A sparse texture representation using local affine regions. IEEE Trans. Pattern Anal. Mach. Intell. 27(8), 1265–1278 (2005)

    Google Scholar 

  50. Dana, K.J., Van Ginneken, B., Nayar, S.K., Koenderink, J.J.: Reflectance and texture of real-world surfaces. ACM Trans. Graph. 18(1), 1–34 (1999)

    Google Scholar 

  51. Xu, Y., Ji, H., Fermuller, C.: A projective invariant for textures. In: 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), vol. 2, pp. 1932–1939 (2006). IEEE

  52. Targhi, A.T., Geusebroek, J.-M., Zisserman, A.: Texture classification with minimal training images. In: 2008 19th International Conference on Pattern Recognition, pp. 1–4 (2008). IEEE

Download references

Funding

This work is supported in part by the National Natural Science Foundation of China (Grant No. 62275211, 61675161, U1903213) and the Open Research Fund of State Key Laboratory of Transient Optics and Photonics (Grant No. SKLST202212).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhibin Pan.

Ethics declarations

Conflict of interest

We hereby affirm that there are no financial or personal affiliations with any individuals or organizations that could potentially exert undue influence on our research. Furthermore, we assert that we have no professional or personal interests that could bias our position or evaluation of the manuscript titled “A Neighbourhood Feature Based Local Binary Pattern for Texture Classification”, including but not limited to any products, services, or companies.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original online version of this article was revised: Biography of author Zhibin Pan was not correct.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lan, S., Li, J., Hu, S. et al. A neighbourhood feature-based local binary pattern for texture classification. Vis Comput 40, 3385–3409 (2024). https://doi.org/10.1007/s00371-023-03041-3

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-023-03041-3

Keywords

Navigation