DullRazor
Description
Recently, there has been an increase in the number of studies using image processing techniques to analyze melanocytic lesions for atypia and possible malignancy, and for total-body mole mapping. Such lesions, however, can be partially obscured by body hair; and, to date, no study has fully addressed the problem of human hair occluding imaged lesions. In a previous study we designed an automatic segmentation program to differentiate skin lesions from normal healthy skin. Our program performed well with most images, the exception being images where dark thick hair covers part of the lesions. Dark hair confused the program which resulted in unsatisfactory segmentation results.
Presented here is a method to remove hair from images using a pre-processing program called DullRazor. DullRazor performs the following steps:
(1) It identifies the dark hair locations by a generalized grayscale morphological closing operation,
(2) It verifies the shape of the hair pixels as thin and long structure, and replace the verified pixels by a bilinear interpolation, and
(3) It smooths the replaced hair pixels with an adaptive median filter.
The Sun Unix version and the Windows version of the program are available for download. Please visit the download site at the department of
Dermatology and Skin Science, UBC.
Principal Investigators
Tim Lee
David McLean