Professional Documents
Culture Documents
Hair Removal On Dermoscopy Images: Conference Paper
Hair Removal On Dermoscopy Images: Conference Paper
net/publication/308817316
Conference Paper in Conference proceedings: ... Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology
Society. Conference · August 2015
DOI: 10.1109/EMBC.2015.7319013
CITATIONS READS
11 212
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Ilias Maglogiannis on 09 November 2020.
Abstract— Digital Dermoscopy is a tool commonly used by identified hair pixels with neighboring non-hair pixels and c)
dermatologists for assisting the diagnosis of skin lesions. The the smoothing of the final result. DullRazor can only be
presence of hair in such dermoscopic images frequently applied to dark hairs, but not to light colored hair. Schmid et
occludes significant diagnostic information and reduces their al. [4] developed an algorithm in which the morphological
value. In this work we propose algorithms that successfully closing operator was applied to the three components of the
identify and remove hair from the dermoscopic images. The
L*u*v* uniform color space, with similar results as
proposed algorithms consist of two parts; the first deals with
the identification of hair, while the second part concerns the DullRazor. Xie et al. [5] used the morphologic closing-based
image restoration using interpolation. For the evaluation of the tophat operator to enhance hairs in the melanoma image and
algorithms we used ground truth images with synthetic hair then used a statistic threshold for segmentation. Finally the
and compared the results with the commonly used in the hairs are extracted and a PDE-based image inpainting
literature DullRazor tool. According to the experimental results technique is applied to repair the image. Kiani et al [6] used
the proposed hair removal algorithms can be used successfully the Radon transform to detect the predominant orientation of
in the detection and removal of both dark and light colored hairs in the image, followed by filtering the image by Prewitt
hair. filters using the orientation of existing hairs. Toossi et al [2]
I. INTRODUCTION AND RELATED WORK proposed an algorithm in which an adaptive canny edge
detector is used to identify hairs and they are repaired based
Dermoscopy, also known as dermatoscopy or on multi-resolution coherence transport inpainting. Sultana
epiluminescence microscopy, is the examination of skin et al [7] applied a simple Top Hat morphological technique
lesions using the dermatoscope, which is a medical to identify hairs and used patch-based inpainting to restore
instrument used from dermatologists in the examination of the image.
such skin lesions. Melanoma is one of the most common and In this paper we present and compare five novel algorithms
aggressive form of cancer, therefore accurate and early-stage that identify and remove both dark and light colored hair
melanoma detection is particularly important for the survival from dermoscopic images. In these algorithms we have
of patients [1]. However the use of dermoscopy by combined some of the steps included in the surveyed
inexperienced dermatologists may have the opposite result methods and we have optimized the workflows using trial
and lead to lower rates of accurate melanoma detection. and errors measurement. In this context for the performance
Therefore it is necessary to develop computer based evaluation of the algorithms we used ground truth images
automated diagnostic systems, in order to assist the early with synthetic hair of different color.
diagnosis of melanoma [2]. Hair removal is an important
step in the development of these systems since the presence II. METHODS
of hair in dermoscopic images might conceal important In the following subsections, we describe shortly the
information about the depicted skin lesions. proposed five hair removal methodologies; namely Bothat,
Several methods have been developed over the past few Laplasian LoG, Logsobel and LLS algorithms.
years for the removal of hair in dermoscopic images. The
first approach is from Lee et al [3], who developed a freely A. Bothat based algorithm
available program called DullRazor that consists of three Figure 1 shows the workflow followed in the Bothat based
parts: The identification of hair location using morphological algorithm. In this approach the initial RGB image is
operations, such as image closing, b) the replacement of converted to grayscale. Subsequently a 3x3-averaging filter,
followed by a Laplacian -based sharpening filter [8] is
*Research supported by the 12CHN 204 Bilateral Greece-China applied. The Laplacian image is subtracted from the
Research Program of the Hellenic General Secretariat of Research and previously denoised image to obtain a sharpened result. In
Technology and the Chinese Ministry of Research and Technology entitled
“Personalization of melanoma therapeutic management through the fusion order to detect the hairs, which are basically thin and long
of systems biology and intelligent data mining methodologies-PROMISE”, structures, we used the Bottom-hat transformation [9], which
sponsored by the Program “Competitiveness and Entrepreneurship”, performs a morphological closing of the original image
Priority Health of the Peripheral Entrepreneurial Program of Attiki. using linear structuring elements at different orientations.
I. Maglogiannis and S. Kranitι are with University of Piraeus, Dept. of
Digital Systems, Piraeus, Greece (e-mail:imaglo@unipi.gr ). The original image is then subtracted from the “closed” one,
K. Delibasis is with University of Thessaly, Dept of Computer Science followed by an enhancement in the image contrast. The
and Biomedical Informatics Lamia Greece
a b C d e
f g
h i j k l m q
Figure 2. Hair identification and removal stages using the Bothat based algorithm a) original RGB image b) image converted to grayscale c) average image
filtering d) Laplacian image filtering e) subtraction of images c,d f) Bottom-hat transform (se0) g) Bottom-hat transform (se45) h) Bottom-hat transform
(se90) i) addition of images f,g j) addition of images h,i k) image adjustment l) global image thresholding m) image dilation q) final image.
2961
a b c d e
f g
h i j
k l m q
Figure 3. Hair identification and removal stages using the Laplacian based algorithm a) original RGB image b) image converted to grayscale c)
Laplacian image filtering d) subtraction of images b,c e) noise reduction filtering f) Log edge detection g) morphological operation (bridge) h)
morphological operation (diag) i) morphological operation (clean) j) image closing (se0) k) image closing (se45) l) image closing (se90) m) image
dilation q) final image
III. RESULTS
In order to evaluate the developed hair removal algorithms
we created images with synthetic hairs, by simulating lines
to match the hair structure with different color: black, dark
brown and light brown. These images were used as the
ground truth hair masks. Tables I, II, III display the
corresponding results.
Sensitivity relates to the ability of the proposed hair removal
methods to identify hair pixels correctly, whereas Specificity
relates to the ability of the hair removal method to exclude
hair pixels correctly. Accuracy is used as a statistical
measure of how well the hair removal method identifies or
excludes hair pixels. we also use the Balanced Accuracy [13]
which can be defined as the average accuracy
(Q=(Sensitivity + Specificity)/2). The Matthews correlation
coefficient (MCC) and the Root Mean Square Error (RMSE)
are also used to measure the difference between the original
ground truth image without hair and the processed image.
An additional evaluation was done using manual marking on
10 existing dermoscopy images that contain hairs that
compared with the binary masks produced by the proposed
algorithms as well as the binary mask produced by
DullRazor. The results of this process are shown in Table
Figure 4. Diagram showing the hair removal process followed by the
IV.
Log based algorithm, the Logsobel based algorithm and the Lls based
Although DullRazor has a very high Specificity and algorithm.
therefore achieves high Accuracy, it has really low
Sensitivity, which means that many hair pixels are TABLE I. RESULTS OF THE FIVE ALGORITHMS FOR THE GROUND TRUTH
misclassified as non-hair pixels resulting in a high RMSE. IMAGE WITH BLACK HAIR
On the other hand the proposed algorithms achieve high Method SENS SPE Q ACC MCC RMSE
Sensitivity as well as Specificity resulting to high Balanced Bothat 100.00 92.65 96.32 92.68 0.22 1.32
Accuracy and low RMSE. In order to receive a qualitative Laplacian 100.00 84.74 92.37 84.80 0.15 2.47
evaluation of the algorithms we asked an experienced Logsobel 100.00 88.32 94.16 88.36 0.17 2.32
Log 100.00 93.76 96.88 93.79 0.24 1.70
dermatologist to express his opinion. His response was that
Lls 100.00 92.31 96.15 92.34 0.21 1.51
the Log algorithm is the most effective for the removal of DullRazor 38.75 99.93 69.34 99.69 0.51 9.86
black and dark brown hair, whereas the Lls algorithm is the
most effective for the removal of light brown hair.
a b c d e
Figure 5. Hair identification and removal stages using the Log based algorithm: a) original RGB image, b) Log edge detection, c) image dilation d) image
erosion, e) final image
2962
a b
c d e f g
Figure 6. Hair identification and removal stages using the LogSobel based algorithm a) original RGB image, b) Log, c) Sobel edge detection, d)
addition of images b and c, e) image closing result, f) image dilation, g) final interpolated image.
A b c d e
f g
H i j k l m
Figure 7. Hair identification and removal stages using the Lls based algorithm a) original RGB image b) conversion to grayscale c) Laplacian image
filtering d) subtraction of images b,c e) Log edge detection f) Sobel edge detection g) addition of images e and f, h) noise reduction filtering, i) conversion
to binary, j) morphological operation (area open) image closing (se0), k) image dilation, l) image erosion, m) final interpolated image
2963