Cargando…
SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images
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 finall...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
John Wiley and Sons Inc.
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10234178/ https://www.ncbi.nlm.nih.gov/pubmed/37113095 http://dx.doi.org/10.1111/srt.13203 |
_version_ | 1785052428829196288 |
---|---|
author | Kasmi, Reda Hagerty, Jason Young, Reagan Lama, Norsang Nepal, Januka Miinch, Jessica Stoecker, William Stanley, R Joe |
author_facet | Kasmi, Reda Hagerty, Jason Young, Reagan Lama, Norsang Nepal, Januka Miinch, Jessica Stoecker, William Stanley, R Joe |
author_sort | Kasmi, Reda |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-10234178 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | John Wiley and Sons Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-102341782023-08-11 SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images Kasmi, Reda Hagerty, Jason Young, Reagan Lama, Norsang Nepal, Januka Miinch, Jessica Stoecker, William Stanley, R Joe Skin Res Technol Original Articles 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. John Wiley and Sons Inc. 2023-03-30 /pmc/articles/PMC10234178/ /pubmed/37113095 http://dx.doi.org/10.1111/srt.13203 Text en © 2023 The Authors. Skin Research and Technology published by John Wiley & Sons Ltd. https://creativecommons.org/licenses/by-nc-nd/4.0/This is an open access article under the terms of the http://creativecommons.org/licenses/by-nc-nd/4.0/ (https://creativecommons.org/licenses/by-nc-nd/4.0/) License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non‐commercial and no modifications or adaptations are made. |
spellingShingle | Original Articles Kasmi, Reda Hagerty, Jason Young, Reagan Lama, Norsang Nepal, Januka Miinch, Jessica Stoecker, William Stanley, R Joe SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title | SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title_full | SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title_fullStr | SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title_full_unstemmed | SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title_short | SharpRazor: Automatic removal of hair and ruler marks from dermoscopy images |
title_sort | sharprazor: automatic removal of hair and ruler marks from dermoscopy images |
topic | Original Articles |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10234178/ https://www.ncbi.nlm.nih.gov/pubmed/37113095 http://dx.doi.org/10.1111/srt.13203 |
work_keys_str_mv | AT kasmireda sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT hagertyjason sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT youngreagan sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT lamanorsang sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT nepaljanuka sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT miinchjessica sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT stoeckerwilliam sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages AT stanleyrjoe sharprazorautomaticremovalofhairandrulermarksfromdermoscopyimages |