Engineering and Technology | Open Access | DOI: https://doi.org/10.37547/tajet/Volume08Issue06-19

An Effective Method for Detecting and Removing Hair Artifacts in Dermoscopic Images

Gulmirzaeva Guzal , Tashkent University of Information Technologies named after Muhammad al-Khwarizmi, Tashkent, Uzbekistan
Rajabov Jamshid , Karakalpak State University, Nukus, Uzbekistan

Abstract

Hair artifacts in dermoscopic images distort the boundaries of skin lesions, alter texture features, and reduce the accuracy of automatic segmentation and classification systems. In this paper, a method based on morphological Black-hat filtering, probabilistic Hough transform, and local median interpolation is proposed to remove hair artifacts from dermoscopic images. The proposed method is computationally simple and CPU-efficient, and it was evaluated using PSNR and SSIM metrics. Experimental results show that this method improves the visual quality of dermoscopic images, removes hair artifacts while preserving important diagnostic features of the dermoscopic image, and is a suitable preprocessing method for the next segmentation step.

Keywords

Dermoscopic image, hair artifact, Black-hat

References

A. R.P. and J. Zacharias, ‘Semantic segmentation in skin surface microscopic images with artifacts removal’, Computers in Biology and Medicine, vol. 180, p. 108975, Sep. 2024, doi: 10.1016/j.compbiomed.2024.108975.

Z. Wang et al., ‘Influence of hair presence on dermoscopic image analysis by AI in skin lesion diagnosis’, Computers in Biology and Medicine, vol. 183, p. 109335, Dec. 2024, doi: 10.1016/j.compbiomed.2024.109335.

C. F. O.- Blandón, E. Restrepo-Parra, J. Rojas, and F. J. Ayerbe, ‘Multiscale Morphological Reconstruction for Hair Removal in Dermoscopy Images’, Modern Applied Science, vol. 12, no. 12, pp. 90–90, Nov. 2018, doi: 10.5539/mas.v12n12p90.

A. S. Ashour et al., ‘Cascaded Hough Transform-Based Hair Mask Generation and Harmonic Inpainting for Automated Hair Removal from Dermoscopy Images’, Diagnostics, vol. 12, no. 12, p. 3040, Dec. 2022, doi: 10.3390/diagnostics12123040.

A. H. Khan, D. N. F. A. Iskandar, J. F. Al‐Asad, and S. El-Nakla, ‘Classification of Skin Lesion with Hair and Artifacts Removal using Black-hat Morphology and Total Variation’, International Journal of Computing and Digital Systems, vol. 10, no. 1, pp. 597–604, May 2021, doi: 10.12785/ijcds/100157.

R. Kasmi et al., ‘SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images’, Skin Research and Technology, vol. 29, no. 4, Mar. 2023, doi: 10.1111/srt.13203.

D. Kang, S. Kim, and S. Park, ‘Flow-guided hair removal for automated skin lesion identification’, Multimedia Tools and Applications, vol. 77, no. 8, pp. 9897–9908, Jan. 2018, doi: 10.1007/s11042-018-5672-7.

Ç. Suiçmez, H. Tolga Kahraman, A. Suiçmez, C. Yılmaz, and F. Balcı, ‘Detection of melanoma with hybrid learning method by removing hair from dermoscopic images using image processing techniques and wavelet transform’, Biomedical Signal Processing and Control, vol. 84, p. 104729, Jul. 2023, doi: 10.1016/j.bspc.2023.104729.

A. Shahzaib, A. B. Siddiqui, N. Anjum, M. U. Rehman, and N. Ramzan, ‘Hair removal and lesion segmentation of dermoscopic images for classification of skin cancer using deep neural networks’, Egyptian Informatics Journal, vol. 32, p. 100844, Dec. 2025, doi: 10.1016/j.eij.2025.100844.

T. Lee, V. Ng, R. Gallagher, A. Coldman, and D. McLean, ‘Dullrazor®: A software approach to hair removal from images’, Computers in Biology and Medicine, vol. 27, no. 6, pp. 533–543, Nov. 1997, doi: 10.1016/S0010-4825(97)00020-6.

C. Sagar and L. M. Saini, ‘Color channel based segmentation of skin lesion from clinical images for the detection of melanoma’, in 2016 IEEE 1st International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES), Delhi, India: IEEE, Jul. 2016, pp. 1–5. doi: 10.1109/ICPEICES.2016.7853624.

I. Zaqout, ‘An Efficient Block-Based Algorithm for Hair Removal in Dermoscopic Images’, in Computer Methods and Programs in Biomedical Signal and Image Processing, L. Wang, Ed., IntechOpen, 2020. doi: 10.5772/intechopen.80024.

K. Delibasis, K. Moutselos, E. Vorgiazidou, and I. Maglogiannis, ‘Automated hair removal in dermoscopy images using shallow and deep learning neural architectures’, Computer Methods and Programs in Biomedicine Update, vol. 4, p. 100109, 2023, doi: 10.1016/j.cmpbup.2023.100109.

Q. Abbas, M. E. Celebi, and I. F. García, ‘Hair removal methods: A comparative study for dermoscopy images’, Biomedical Signal Processing and Control, vol. 6, no. 4, pp. 395–404, Oct. 2011, doi: 10.1016/j.bspc.2011.01.003.

A. S. Al‐Waisy, S. Al-Fahdawi, M. Khalaf, M. A. Mohammed, B. Al-Attar, and M. N. Al-Andoli, ‘A deep learning framework for automated early diagnosis and classification of skin cancer lesions in dermoscopy images’, Scientific Reports, vol. 15, no. 1, Aug. 2025, doi: 10.1038/s41598-025-15655-9.

S. Nazari and R. García, ‘Automatic Skin Cancer Detection Using Clinical Images: A Comprehensive Review’, Life, vol. 13, no. 11. Multidisciplinary Digital Publishing Institute, pp. 2123–2123, Oct. 2023. doi: 10.3390/life13112123.

F. Xie, S. Qin, Z. Jiang, and R. Meng, ‘PDE-based unsupervised repair of hair-occluded information in dermoscopy images of melanoma’, Computerized Medical Imaging and Graphics, vol. 33, no. 4, pp. 275–282, Mar. 2009, doi: 10.1016/j.compmedimag.2009.01.003.

‘From Dermoscopy to Mobile Teledermatology’, in CRC Press eBooks, Informa, 2015, pp. 401–434. doi: 10.1201/b19107-16.

R. B. Oliveira, M. Filho, Z. Ma, J. P. Papa, A. S. Pereira, and J. M. R. S. Tavares, ‘Computational methods for the image segmentation of pigmented skin lesions: A review’, Computer Methods and Programs in Biomedicine, vol. 131. Elsevier BV, pp. 127–141, Apr. 2016. doi: 10.1016/j.cmpb.2016.03.032.

W. El‐Shafai, I. A. El‐Fattah, and T. E. Taha, ‘Deep learning-based hair removal for improved diagnostics of skin diseases’, Multimedia Tools and Applications, vol. 83, no. 9, pp. 27331–27355, Sep. 2023, doi: 10.1007/s11042-023-16646-6.

D. Bardou et al., ‘A Review of Automatic Hair Removal in Dermoscopy Images: From Image Processing to Deep Learning’, J Digit Imaging. Inform. med., Apr. 2026, doi: 10.1007/s10278-026-01950-y.

L. Jütte, H. Patel, and B. Roth, ‘Advancing dermoscopy through a synthetic hair benchmark dataset and deep learning-based hair removal’, Journal of Biomedical Optics, vol. 29, no. 11, pp. 116003–116003, Nov. 2024, doi: 10.1117/1.jbo.29.11.116003.

Download and View Statistics

Views: 0   |   Downloads: 0

Copyright License

Download Citations

How to Cite

Gulmirzaeva Guzal, & Rajabov Jamshid. (2026). An Effective Method for Detecting and Removing Hair Artifacts in Dermoscopic Images. The American Journal of Engineering and Technology, 8(06), 214–218. https://doi.org/10.37547/tajet/Volume08Issue06-19