Recognition of Skin Lesions in Dermoscopic Images using Local Binary Patterns and Multinomial Logistic Regression


  • Washington Quero-Caiza Valencian International University, Valencia, Spain
  • Miguel Altuve Valencian International University, Valencian, Spain, and with the Applied Biophysics and Bioengineering Gropu, SImon Bolivar University, Caracas, Venezuela


Melanoma, Cancer, Local Binary Patterns, Logistic Regression, Classification, Machine Learning, digital image processing, Computer Vision


Skin cancer, such as melanoma, affects more than 13 million people annually and causes more than 65,000 deaths. As with almost all types of cancer, it can be treated effectively if it's diagnosed in it's early stages. The development of computer-aided diagnostic tools is, therefore, a valuable and urgent need to suport the decision of dermatologists, minimize human error, and accelerate the time to diagnosis and the prognosis of patients. The present work proposes the automatic recognition of three skin lesions, namely Common Nevus, Atypical Nevus, and Melanoma, from dermoscopic images. First, a feature vector representing texture is extracted from the dermoscopic images using the local binary pattern operator (LBP). Then, a multinomial logistic regression (MRL) model is used to exploit the feature vector to perform the multiclass classification. The hyperparameters of the LBP operator, namely the radius and the pixel neighborhoods, were modified to provide the feature set to the MRL model that maximizes the classification performance. Moreover, to assure the generalizability of the model and the reproducibility of the results, a 10-iteration Monte Carlo cross-validation (MCCV) was employed, by dividing the dataset into 70% for training and 30% for testing, with different random seeds in each iteration. The optimal LBP-MRL classification model was finally embeddeb in a graphical user interface (GUI) to facilitate the interaction between the user and the classification system. An average accuracy of 90%, averge recall of 89.23%, 84.75% and 100%, and average precision of 89.95%, 88.12% and 100% were obtained, to identify Common Nevus, Atypical Nevus and Melanoma, respectively, in the MCCV strategy. It should be highlighted that the proposed classification system can perfectly differentiate melanoma from the other two skin lesions.


Download data is not yet available.

Author Biographies

Washington Quero-Caiza, Valencian International University, Valencia, Spain

MSc in Biomedical Engineering (2022), Valencian International University, Spain, B.E. in Electronics and Instrumentation Engineering (2019), The Armed Forces University - ESPE, Ecuador. His research interests include digital signal processing and augmented reality.

Miguel Altuve, Valencian International University, Valencian, Spain, and with the Applied Biophysics and Bioengineering Gropu, SImon Bolivar University, Caracas, Venezuela

(IEEE S'01-M'12-SM'17) Ph.D. in Signal Processing and Telecommunications (2011), University of Rennes 1. Rennes, France, Msc in Electronic Engineering (2006), Simon Bolivar University, Caracas, Venezuela, and B.E. in Electronic Engineering (2012), National Experimental University of the Armed Forces, Maracay, Venezuela. Visiting Prodessor (2021-present) and Assistan Profesor (2005-2014) at Simon Bolivar University, Caracas, Venezuela, Collaborating Professor (2020-present) at Valencian International Unicersity, Spain, and Associate Professor (2015-2019) at Pontifical Bolivarian University, Bucaramanga, Colombia. His research interests include digital signal processing, digital image processing, machine learning, and deep learning.


J. Ferlay, M. Ervik, F. Lam, M. Colombet, L. Mery, M. Piñeros, A. Znaor, I. Soerjomataram, and F. Bray, “Global cancer observatory: cancer today,” Lyon, France: international agency for research on cancer, pp. 1–6, 2018.

Instituto Nacional del Cancer,,, accessed: 20-09-2021.

El Telegrafo, “Quito, Loja y Cuenca tienen mayor número de casos de cáncer de piel,”, 2019.

A. Esteva, B. Kuprel, R. A. Novoa, J. Ko, S. M. Swetter, H. M. Blau, and S. Thrun, “Dermatologist-level classification of skin cancer with deep neural networks,” Nature, vol. 542, no. 7639, pp. 115–118, 2017.

P. C. Gamerosa and J. E. Téllez, “El cancer de piel, un problema actual,” Revista de la Facultad de Medicina UNAM, vol. 59, no. 2, pp. 6–14, 2016.

M. Goyal, T. Knackstedt, S. Yan, and S. Hassanpour, “Artificial intelligence-based image classification for diagnosis of skin cancer: Challenges and opportunities,” Computers in Biology and Medicine, p. 104065, 2020.

A. Adegun and S. Viriri, “Deep learning techniques for skin lesion analysis and melanoma cancer detection: a survey of state-of-the-art,” Artificial Intelligence Review, vol. 54, no. 2, pp. 811–841, 2021.

H. Alquran, I. A. Qasmieh, A. M. Alqudah, S. Alhammouri, E. Alawneh, A. Abughazaleh, and F. Hasayen, “The melanoma skin cancer detection and classification using support vector machine,” in 2017 IEEE Jordan Conference on Applied Electrical Engineering and Computing Technologies (AEECT). IEEE, 2017, pp. 1–5.

K. Hu, X. Niu, S. Liu, Y. Zhang, C. Cao, F. Xiao, W. Yang, and X. Gao, “Classification of melanoma based on feature similarity measurement for codebook learning in the bag-of-features model,” Biomedical Signal Processing and Control, vol. 51, pp. 200–209, 2019.

S. Saravanan, B. Heshma, A. A. Shanofer, and R. Vanithamani, “Skin cancer detection using dermoscope images,” Materials Today: Proceedings, vol. 33, pp. 4823–4827, 2020.

K. H. Cheong, K. J. W. Tang, X. Zhao, J. E. W. Koh, O. Faust, R. Gururajan, E. J. Ciaccio, V. Rajinikanth, and U. R. Acharya, “An automated skin melanoma detection system with melanoma-index based on entropy features,” Biocybernetics and Biomedical Engineering, vol. 41, no. 3, pp. 997–1012, 2021.

B. Luna-Benoso, J. C. Martínez-Perales, J. Cortés-Galicia, R. Flores-Carapia, and V. M. Silva-García, “Melanoma detection in dermoscopic images using a cellular automata classifier,” Computers, vol. 11, no. 1, p. 8, 2022.

J. A. A. Salido and C. Ruiz, “Using deep learning to detect melanoma in dermoscopy images,” International Journal of Machine Learning and Computing, vol. 8, no. 1, pp. 61–68, 2018.

I. Zaqout, “Diagnosis of skin lesions based on dermoscopic images using image processing techniques,” Pattern Recognition-Selected Methods and Applications, 2019.

G. S. Ghalejoogh, H. M. Kordy, and F. Ebrahimi, “A hierarchical structure based on stacking approach for skin lesion classification,” Expert Systems with Applications, vol. 145, p. 113127, 2020.

S. Paramkusham and G. S. Kumar, “Malignant melenoma and atypical nevus classification using machine learning with shape and assymetric features,” in 2021 2nd Global Conference for Advancement in Technology (GCAT). IEEE, 2021, pp. 1–5.

T. Ojala, M. Pietikainen, and D. Harwood, “A comparative study of texture measures with classification based on featured distributions,” Pattern Recognition, vol. 29, no. 1, pp. 51–59, 1996.

B. Zhang, Y. Gao, S. Zhao, and J. Liu, “Local derivative pattern versus local binary pattern: face recognition with high-order local pattern descriptor,” IEEE Transactions on Image Processing, vol. 19, no. 2, pp. 533–544, 2009.

H. Yasar and M. Ceylan, “A new deep learning pipeline to detect Covid-19 on chest X-ray images using local binary pattern, dual tree complex wavelet transform and convolutional neural networks,” Applied Intelligence, vol. 51, no. 5, pp. 2740–2763, 2021.

J. Li, J. M. Bioucas-Dias, and A. Plaza, “Semisupervised hyperspectral image classification using soft sparse multinomial logistic regression,” IEEE Geoscience and Remote Sensing Letters, vol. 10, no. 2, pp. 318– 322, 2012.

Y. J. Kim, B. Baik, and S. Cho, “Detecting financial misstatements with fraud intention using multi-class cost-sensitive learning,” Expert Systems with Applications, vol. 62, pp. 32–43, 2016.

T. Mendonça, P. M. Ferreira, J. S. Marques, A. R. Marcal, and J. Rozeira, “PH 2-A dermoscopic image database for research and benchmarking,” in 2013 35th annual international conference of the IEEE engineering in medicine and biology society (EMBC). IEEE, 2013, pp. 5437–5440.

T. Ojala, M. Pietikainen, and T. Maenpaa, “Multiresolution gray-scale and rotation invariant texture classification with local binary patterns,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 7, pp. 971–987, 2002.

V. P. Fernández and R. S. M. Fernández, “Regresión logística multinomial,” Cuadernos de la Sociedad Española de Ciencias Forestales, no. 18, pp. 323–327, 2004.

M. Altuve, P. Lizarazo, and J. Villamizar, “Human activity recognition using improved complete ensemble EMD with adaptive noise and long short-term memory neural networks,” Biocybernetics and Biomedical Engineering, vol. 40, no. 3, pp. 901 – 909, 2020.

N. Otsu, “A threshold selection method from gray-level histograms,” IEEE Transactions on Systems, Man, and Cybernetics, vol. 9, no. 1, pp. 62–66, 1979.

P. Pitoy and I. P. Suputra, “Dermoscopy image segmentation in melanoma skin cancer using Otsu thresholding method,” JELIKU (Jurnal Elektronik Ilmu Komputer Udayana), vol. 9, no. 3, pp. 397–404, 2021.



How to Cite

Quero-Caiza, W., & Altuve, M. (2022). Recognition of Skin Lesions in Dermoscopic Images using Local Binary Patterns and Multinomial Logistic Regression. IEEE Latin America Transactions, 20(7), 2020–2028. Retrieved from