SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images
Authors:
Open Access
- 30 March 2023
- journal article
- research article
- Published by Wiley in Skin Research and Technology
- Vol. 29 (4) , e13203
Abstract
Background: The removal of hair and ruler marks is critical in handcrafted image analysis of dermoscopic skin lesions. No other dermoscopic artifacts cause more problems in segmentation and structure detection. Purpose: The aim of the work is to detect both white and black hair, artifacts and finally inpaint correctly the image. Method: We introduce a new algorithm: SharpRazor, to detect hair and ruler marks and remove them from the image. Our multiple‐filter approach detects hairs of varying widths within varying backgrounds, while avoiding detection of vessels and bubbles. The proposed algorithm utilizes grayscale plane modification, hair enhancement, segmentation using tri‐directional gradients, and multiple filters for hair of varying widths. We develop an alternate entropy‐based processing adaptive thresholding method. White or light‐colored hair, and ruler marks are detected separately and added to the final hair mask. A classifier removes noise objects. Finally, a new technique of inpainting is presented, and this is utilized to remove the detected object from the lesion image. Results: The proposed algorithm is tested on two datasets, and compares with seven existing methods measuring accuracy, precision, recall, dice, and Jaccard scores. SharpRazor is shown to outperform existing methods. Conclusion: The Shaprazor techniques show the promise to reach the purpose of removing and inpaint both dark and white hair in a wide variety of lesions.Keywords
This publication has 28 references indexed in Scilit:
- Noninvasive Real-Time Automated Skin Lesion Analysis System for Melanoma Early Detection and PreventionIEEE Journal of Translational Engineering in Health and Medicine, 2015
- An effective hair removal algorithm for dermoscopy imagesSkin Research and Technology, 2013
- A Feature‐Preserving Hair Removal Algorithm for Dermoscopy ImagesSkin Research and Technology, 2011
- Hair removal methods: A comparative study for dermoscopy imagesBiomedical Signal Processing and Control, 2011
- E-shaver: An improved DullRazor® for digitally removing dark and light-colored hairs in dermoscopic imagesComputers in Biology and Medicine, 2011
- PDE-based unsupervised repair of hair-occluded information in dermoscopy images of melanomaComputerized Medical Imaging and Graphics, 2009
- Fast Image Inpainting Based on Coherence TransportJournal of Mathematical Imaging and Vision, 2007
- Techniques for a structural analysis of dermatoscopic imageryComputerized Medical Imaging and Graphics, 1998
- An unbiased detector of curvilinear structuresIEEE Transactions on Pattern Analysis and Machine Intelligence, 1998
- Dullrazor®: A software approach to hair removal from imagesComputers in Biology and Medicine, 1997