Fast Hierarchical and Flat Classification of Dermoscopic Skin Lesions Using Hand-Crafted Features and Classical Machine Learning

Main Article Content

Mohamed Amin Belal
Dr. Sara. I. Ibrahim
Prof. (Dr.) BenBella S. Tawfik
Prof. (Dr.) Mohamed M. El-Gazzar

Abstract

Skin cancer screening using dermoscopic images remains challenging because malignant and benign lesions can share overlapping visual cues, including irregular borders, heterogeneous pigmentation, and complex textures. In addition, real clinical datasets often contain ambiguous samples, acquisition artifacts, and non-uniform illumination, which may degrade training quality and generalization. Although deep learning has achieved strong performance in dermoscopic lesion classification, its dependence on large annotated datasets, limited interpretability, and computational demands can limit adoption in resource-constrained clinical settings. This paper presents a complete classical machine learning framework for four clinically significant dermoscopic categories: basal cell carcinoma (BCC), melanoma, nevus, and pigmented benign keratosis (PBK). A unified hand-crafted feature representation is constructed by combining texture descriptors (Histogram of Oriented Gradients and Local Binary Patterns), region geometry and border regularity measures, Hu moment invariants, lesion intensity statistics, and multi-space colour descriptors (RGB/HSV statistics and HSV histograms). To reduce the effect of label noise and hard-to separate samples, a margin-based smart cleaning strategy removes low-reliability instances on a per-class basis using a preliminary classifier’s confidence margin. Class imbalance is then mitigated through controlled upsampling to a common class count without synthesizing new image content. Feature dimensionality is reduced using minimum-redundancy maximum-relevance (mRMR) ranking, retaining the top 300 features to balance accuracy and runtime. We evaluate both flat multi-class classification and a clinically motivated two-level hierarchical design that first separates Cancer vs non-Cancer, then performs subtype classification within each branch (BCC vs melanoma; nevus vs PBK). Experiments are implemented in MATLAB R2022 using stratified 5-fold cross-validation with strict fold-wise isolation to prevent information leakage. The best flat model, SVM with an RBF kernel, achieves a mean accuracy of 82.87%. The hierarchical system achieves an overall accuracy of 81.80%, with Level-1 accuracy of 86.54%. For Level-1 malignancy detection, ROC AUC = 0.9383 and PR AUC = 0.9367 (all folds combined), indicating strong discrimination. Oracle branch evaluations confirm high intra branch separability (94.04% for BCC vs melanoma; 94.19% for nevus vs PBK) and show that residual loss is primarily due to Level-1 routing errors.

Downloads

Download data is not yet available.

Article Details

Section

Articles

How to Cite

[1]
Mohamed Amin Belal, Dr. Sara. I. Ibrahim, Prof. (Dr.) BenBella S. Tawfik, and Prof. (Dr.) Mohamed M. El-Gazzar , Trans., “Fast Hierarchical and Flat Classification of Dermoscopic Skin Lesions Using Hand-Crafted Features and Classical Machine Learning”, IJEAT, vol. 15, no. 3, pp. 29–36, Feb. 2026, doi: 10.35940/ijeat.D4747.15030226.
Share |

References

T. Akram, et al., “Dermo-Optimiser: Skin lesion classification using information-theoretic deep feature fusion and entropy-controlled binary bat optimisation,” International Journal of Imaging Systems and Technology, 2024. DOI: https://doi.org/10.1002/ima.23172

T. Tschandl, C. Rosendahl, and H. Kittler, “The HAM10000 dataset: a large collection of multi-sources dermatoscopic images of common pigmented skin lesions,” Scientific Data, vol. 5, 180161, 2018. DOI: https://doi.org/10.1038/sdata.2018.161

A. Yilmaz, et al., “DERM12345: A Large, Multisource Dermatoscopic Skin Lesion Dataset with 40 Subclasses,” Scientific Data, vol. 11, art. 1302, 2024. DOI: https://doi.org/10.1038/s41597-024-04104-3

N. C. F. Codella, et al., “Skin lesion analysis toward melanoma detection: A challenge at the 2017 ISBI, hosted by the ISIC,” in IEEE ISBI, 2018, pp. 168–172. DOI: https://doi.org/10.1109/ISBI.2018.8363547

A. Imran, A. Nasir, M. Bilal, G. Sun, A. Alzahrani, and A. Almuhaimeed, “Skin Cancer Detection Using Combined Decision of Deep Learners,” IEEE Access, vol. 10, pp. 118198–118212, 2022. DOI: https://doi.org/10.1109/ACCESS.2022.3220329

D. P. Yadav, B. Sharma, S. Chauhan, J. L. Webber, and A. Mehbodniya, “Dual-scale lightweight cross-attention transformer for skin lesion classification,” PLOS ONE, vol. 19, no. 12, e0312598, 2024. DOI: https://doi.org/10.1371/journal.pone.0312598

R. Xu, C. Wang, J. Zhang, S. Xu, W. Meng, and X. Zhang, “SkinFormer: Learning Statistical Texture Representation With Transformer for Skin Lesion Segmentation,” IEEE Journal of Biomedical and Health Informatics, vol. 28, no. 10, pp. 6008–6018, 2024. DOI: https://doi.org/10.1109/JBHI.2024.3417247

D. Meedeniya, S. De Silva, L. Gamage, and U. Isuranga, “Skin cancer identification utilizing deep learning: A survey,” IET Image Processing, vol. 18, no. 13, pp. 3731–3749, 2024. DOI: https://doi.org/10.1049/ipr2.13219

S. Zhang and D. Metaxas, “On the challenges and perspectives of foundation models for medical image analysis,” Medical Image Analysis, vol. 91, art. 102996, 2024. DOI: https://doi.org/10.1016/j.media.2023.102996

Q. Su, H. N. A. Hamed, M. A. Isa, X. Hao, and X. Dai, “A GAN-Based Data Augmentation Method for Imbalanced Multi-Class Skin Lesion Classification,” IEEE Access, vol. 12, pp. 16498–16513, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3360215

C. Yuan, D. Zhao, and S. S. Agaian, “UCM-Net: A lightweight and efficient solution for skin lesion segmentation using MLP and CNN,” Biomedical Signal Processing and Control, vol. 96, pt. B, art. 106573, 2024. DOI: https://doi.org/10.1016/j.bspc.2024.106573

H. Peng, F. Long, and C. Ding, “Feature selection based on mutual information criteria of max-dependency, max-relevance, and min-redundancy,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 27, no. 8, pp. 1226–1238, 2005. DOI: https://doi.org/10.1109/TPAMI.2005.159

N. Dalal and B. Triggs, “Histograms of Oriented Gradients for Human Detection,” in CVPR, 2005, pp. 886–893. DOI: https://doi.org/10.1109/CVPR.2005.177

A. Balasundaram, A. Shaik, B. R. Alroy, A. Singh, and S. J. Shivaprakash, “Genetic Algorithm Optimized Stacking Approach to Skin Disease Detection,” IEEE Access, vol. 12, pp. 88950–88962, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3412791

D. Peeters et al., “Enhancing a deep learning model for pulmonary nodule malignancy risk estimation in chest CT with uncertainty estimation,” European Radiology, vol. 34, pp. 6639–6651, 2024. DOI: https://doi.org/10.1007/s00330-024-10714-7

W. Wulaningsih, et al., “Deep Learning Models for Predicting Malignancy Risk in CT-Detected Pulmonary Nodules: A Systematic Review and Meta-analysis,” Lung, vol. 202, pp. 625–636, 2024. DOI: https://doi.org/10.1007/s00408-024-00706-1

H. Guan, P.-T. Yap, A. Bozoki, and M. Liu, “Federated learning for medical image analysis: A survey,” Pattern Recognition, vol. 151, art. 110424, 2024. DOI: https://doi.org/10.1016/j.patcog.2024.110424

R. Gudla, S. Vollala, S. K. G., and R. Amin, “A novel approach for classification of Tor and non-Tor traffic using efficient feature selection methods,” Expert Systems with Applications, vol. 249, art. 123544, 2024. DOI: https://doi.org/10.1016/j.eswa.2024.123544

Most read articles by the same author(s)

<< < 2 3 4 5 6 7 8 9 10 11 > >>