
 
papillary dermis not visible to the naked eye. 
(Stanganelli08). 
 
Figure 1:  Distinguishing using ABCD method, Source: 
The Ear, Nose, and Throat Alliance: 
http://www.allianceent.net/index.php?section=3&pid 
=198. 
Before extracting features, it is important to 
perform some pre-processing and noise reduction to 
enhance the images. One technique for noise 
reduction is combining many images by frame 
averaging (Bosdogianni99).  Another technique, 
called neighborhood averaging, involves adding 
together the color or brightness values for pixels in a 
certain area and then dividing by the number of 
pixels in that area. This average value is then used to 
construct a new image with less noise. Another type 
of neighborhood averaging, involves replacing each 
pixel with the average of its neighbors 
(Bosdogianni99). Neighborhood averaging reduces 
noise; however, it also blurs edges, displaces 
boundaries, and reduces contrast. Other image 
processing techniques can be used to correct non-
uniform illumination (Russ95). One currently 
available software uses image processing and noise-
reduction to digitally remove hair from images of 
moles. To do this it identifies the dark hair locations 
by a generalized grayscale closing operation and 
makes sure the shape of the hair pixels are thin and 
long structures. It then replaces the hair pixels by a 
bilinear interpolation and levels the replaced pixels 
with an adaptive median filter. (DermWeb07)  
The next step is feature extraction. For the 
purposes of our project, the features we would need 
are the ones described by the ABCDE method. Two 
important first steps  in feature extraction are edge 
detection and image segmentation (Bosdogianni99). 
In image segmentation, we must divide up the image 
into uniform regions. In order to do so, there are 
many methods available, the simplest of which are 
histogramming and thresholding (Bosdogianni99).  
For an image of a mole, the histogram will usually 
have two peaks. However, if the mole has multiple 
colors, and therefore is possibly malignant, the 
histogram would have three peaks, or one of the 
peaks would not be well defined. Therefore, by 
looking at the histogram, we can determine a 
variation in color of the mole. Once the image is 
thresholded, we know the points of the outer edge of 
the image (Bosdogianni99). Using these points, we 
can determine the perimeter of the mole and use an 
integral function to find the area. By comparing the 
perimeter to the area using some predefined 
algorithm we can extract the asymmetry, border 
irregularity, and diameter of a mole. Finally, given 
multiple images over time and comparing their 
features, we can determine if a mole is evolving. For 
this project, however, we will focus on features in 
one given point of time.  
There are many available tools for feature 
extraction. One tool is CVIPtools (CVIP06). We can 
use this software for image processing and feature 
extraction. This tool can do the segmentation of an 
image using Fuzzy C Mean, Grey Level 
Quantization, Histogram Thresholding, and many 
more techniques. It can also preform edge detection, 
and various transforms including Fast-Fourier 
Transform, Hadamard, and Walsh. Finally, we can 
use this tool to extract texture features, spectral 
features, and for pattern classification and image 
segmentation. (CVIP06) Other similar tools that can 
be used for feature extraction or preprocessing of 
images of moles are Dull Razor, Hosei tool, and 
Skinseg (DermWeb07) (Hosei09) (Skinseg98).  
After extracting the features, the next step is to 
create a machine learning database. In this database, 
we store the images, their features, and whether or 
not they were cancerous as evaluated by trained 
dermatologists using microscopic evaluation. Then, 
BIODEVICES 2011 - International Conference on Biomedical Electronics and Devices
406