Breast Ultrasound Lesion Classification Using Support Vector Machine (SVM) with Gray-Level Co-occurrence Matrix (GLCM) Feature Extraction
Keywords:
Breast cancer, ultrasound, gray-level co-occurrence matrix, support vector machine, texture analysis, medical image classificationAbstract
Breast cancer is the most commonly diagnosed cancer among women, and distinguishing benign from malignant lesions on breast ultrasound remains challenging. This study provides a reproducible empirical baseline, not a new method, for classifying already-located breast ultrasound lesions with gray-level co-occurrence matrix (GLCM) texture features and a support vector machine (SVM). The public Breast Ultrasound Images (BUSI) dataset comprises 780 images (133 normal, 437 benign, and 210 malignant). Twenty-one GLCM features were extracted from lesion regions of interest (ROIs) defined by manual masks, after Gaussian smoothing and contrast enhancement. Four SVM kernels were compared on a hold-out split, and the linear and RBF SVMs were compared with logistic regression, k-nearest neighbours, and random forest under nested repeated cross-validation, with and without a duplicate-aware (grouped) protocol. For benign-versus-malignant classification, the ROI-based RBF-SVM achieved 79.1% accuracy, 0.874 AUC, 85.2% sensitivity, and 76.2% specificity under standard nested cross-validation (77.0% accuracy and 0.857 AUC under grouped validation), and 76.9% accuracy and 0.858 AUC on the hold-out set. Whole-image classification performed worse, but the ROI and whole-image pipelines differed in spatial scale, and lesion size alone gave an AUC of 0.77–0.80, so the contribution of texture beyond lesion size was not established. Linear and RBF SVMs had similar mean AUCs under grouped validation. The results are exploratory estimates on a single dataset without patient-level separation and do not evaluate screening or triage use.
References
[1] H. Sung et al., “Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries,” CA Cancer J. Clin., vol. 71, no. 3, pp. 209–249, 2021, doi: 10.3322/caac.21660.
[2] M. Arnold et al., “Current and future burden of breast cancer: Global statistics for 2020 and 2040,” Breast, vol. 66, pp. 15–23, 2022, doi: 10.1016/j.breast.2022.08.010.
[3] J. Kim et al., “Global patterns and trends in breast cancer incidence and mortality across 185 countries,” Nat. Med., vol. 31, no. 4, pp. 1154–1162, 2025, doi: 10.1038/s41591-025-03502-3.
[4] T. Fujioka et al., “The utility of deep learning in breast ultrasonic imaging: A review,” Diagnostics, vol. 10, no. 12, Art. no. 1055, 2020, doi: 10.3390/diagnostics10121055.
[5] H. Afrin, N. B. Larson, M. Fatemi, and A. Alizad, “Deep learning in different ultrasound methods for breast cancer, from diagnosis to prognosis: Current trends, challenges, and an analysis,” Cancers, vol. 15, no. 12, Art. no. 3139, 2023, doi: 10.3390/cancers15123139.
[6] Z. Rezaei, “A review on image-based approaches for breast cancer detection, segmentation, and classification,” Expert Syst. Appl., vol. 182, Art. no. 115204, 2021, doi: 10.1016/j.eswa.2021.115204.
[7] M. F. Mridha et al., “A comprehensive survey on deep-learning-based breast cancer diagnosis,” Cancers, vol. 13, no. 23, Art. no. 6116, 2021, doi: 10.3390/cancers13236116.
[8] R. Jalloul, H. K. Chethan, and R. Alkhatib, “A review of machine learning techniques for the classification and detection of breast cancer from medical images,” Diagnostics, vol. 13, no. 14, Art. no. 2460, 2023, doi: 10.3390/diagnostics13142460.
[9] G. Varoquaux and V. Cheplygina, “Machine learning for medical imaging: Methodological failures and recommendations for the future,” npj Digit. Med., vol. 5, Art. no. 48, 2022, doi: 10.1038/s41746-022-00592-y.
[10] R. M. Haralick, K. Shanmugam, and I. Dinstein, “Textural features for image classification,” IEEE Trans. Syst., Man, Cybern., vol. SMC-3, no. 6, pp. 610–621, 1973, doi: 10.1109/TSMC.1973.4309314.
[11] A. Zwanenburg et al., “The Image Biomarker Standardization Initiative: Standardized quantitative radiomics for high-throughput image-based phenotyping,” Radiology, vol. 295, no. 2, pp. 328–338, 2020, doi: 10.1148/radiol.2020191145.
[12] M. Wei et al., “A benign and malignant breast tumor classification method via efficiently combining texture and morphological features on ultrasound images,” Comput. Math. Methods Med., vol. 2020, Art. no. 5894010, 2020, doi: 10.1155/2020/5894010.
[13] A. A. Kolchev, D. V. Pasynkov, I. A. Egoshin, I. V. Kliouchkin, and O. O. Pasynkova, “Classification of benign and malignant solid breast lesions on the ultrasound images based on the textural features: The importance of the perifocal lesion area,” Comput. Opt., vol. 48, no. 1, pp. 157–165, 2024, doi: 10.18287/2412-6179-CO-1244.
[14] A. Balodi, R. N. Raghavendra, A. Bajpai, and M. Tolani, “Texture-based classification of ultrasound breast cancer images using machine learning,” AIP Conf. Proc., vol. 3131, no. 1, Art. no. 020018, 2024.
[15] C. Cortes and V. Vapnik, “Support-vector networks,” Mach. Learn., vol. 20, no. 3, pp. 273–297, 1995, doi: 10.1007/BF00994018.
[16] W. Al-Dhabyani, M. Gomaa, H. Khaled, and A. Fahmy, “Dataset of breast ultrasound images,” Data Brief, vol. 28, Art. no. 104863, 2020, doi: 10.1016/j.dib.2019.104863.
[17] A. Pawłowska, P. Karwat, and N. Żołek, “Letter to the Editor. Re: ‘Dataset of breast ultrasound images’ by W. Al-Dhabyani, M. Gomaa, H. Khaled & A. Fahmy, Data in Brief, 2020, 28, 104863,” Data Brief, vol. 48, Art. no. 109247, 2023, doi: 10.1016/j.dib.2023.109247.
[18] C. Aumente-Maestro, J. Díez, and B. Remeseiro, “A multi-task framework for breast cancer segmentation and classification in ultrasound imaging,” Comput. Methods Programs Biomed., vol. 260, Art. no. 108540, 2025, doi: 10.1016/j.cmpb.2024.108540.
[19] A. Pawłowska et al., “Curated benchmark dataset for ultrasound based breast lesion analysis,” Sci. Data, vol. 11, Art. no. 148, 2024, doi: 10.1038/s41597-024-02984-z.
[20] Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015, doi: 10.1038/nature14539.
[21] A. Hosny, C. Parmar, J. Quackenbush, L. H. Schwartz, and H. J. W. L. Aerts, “Artificial intelligence in radiology,” Nat. Rev. Cancer, vol. 18, no. 8, pp. 500–510, 2018, doi: 10.1038/s41568-018-0016-5.
[22] R. J. Gillies, P. E. Kinahan, and H. Hricak, “Radiomics: Images are more than pictures, they are data,” Radiology, vol. 278, no. 2, pp. 563–577, 2016, doi: 10.1148/radiol.2015151169.
[23] H.-T. Lin and C.-J. Lin, “A study on sigmoid kernels for SVM and the training of non-PSD kernels by SMO-type methods,” Dept. Comput. Sci. Inf. Eng., National Taiwan Univ., Taipei, Taiwan, Tech. Rep., 2003.
[24] J. Wainer and G. Cawley, “Nested cross-validation when selecting classifiers is overzealous for most practical applications,” Expert Syst. Appl., vol. 182, Art. no. 115222, 2021, doi: 10.1016/j.eswa.2021.115222.
[25] D. Chicco and G. Jurman, “The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation,” BMC Genomics, vol. 21, Art. no. 6, 2020, doi: 10.1186/s12864-019-6413-7.
[26] A. A. Ardakani, A. Gharbali, and A. Mohammadi, “Classification of breast tumors using sonographic texture analysis,” Journal of Ultrasound in Medicine, vol. 34, no. 2, pp. 225–231, 2015, doi: 10.7863/ultra.34.2.225.
[27] M. Nieniewski and L. J. Chmielewski, “Study of classification of breast lesions using texture GLCM features obtained from the raw ultrasound signal,” Image Analysis & Stereology, vol. 39, no. 2, pp. 129–145, 2020, doi: 10.5566/ias.2113.
[28] L. Duron, J. Savatovsky, L. Fournier, and A. Lecler, “Can we use radiomics in ultrasound imaging? Impact of preprocessing on feature repeatability,” Diagnostic and Interventional Imaging, vol. 102, no. 11, pp. 659–667, 2021, doi: 10.1016/j.diii.2021.10.004.
[29] D. Mannina, A. Kulkarni, C. B. van der Pol, R. Al Mazroui, P. Abdullah, S. Joshi, and A. Alabousi, “Utilization of texture analysis in differentiating benign and malignant breast masses: Comparison of grayscale ultrasound, shear wave elastography, and radiomic features,” Journal of Breast Imaging, vol. 6, no. 5, pp. 513–519, 2024, doi: 10.1093/jbi/wbae037.
[30] V. Romeo et al., “Clinical value of radiomics and machine learning in breast ultrasound: A multicenter study for differential diagnosis of benign and malignant lesions,” European Radiology, vol. 31, no. 12, pp. 9511–9519, 2021, doi: 10.1007/s00330-021-08009-2.