<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJOp</journal-id><journal-title-group><journal-title>Open Journal of Optimization</journal-title></journal-title-group><issn pub-type="epub">2325-7105</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojop.2014.34006</article-id><article-id pub-id-type="publisher-id">OJOp-52375</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Fingerprint Database Optimization Using Watershed Transformation Algorithm
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>woeye</surname><given-names>Kolade</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ajayi</surname><given-names>Adedoyin Olayinka</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ukorigho</surname><given-names>Ovie</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematical Sciences, Ekiti State University, Ado Ekiti, Nigeria</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>kolade_owoeye@yahoo.com(WK)</email>;<email>dedoyyin@gmail.com(AAO)</email>;<email>ovi.uko@gmail.com(UO)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>20</day><month>11</month><year>2014</year></pub-date><volume>03</volume><issue>04</issue><fpage>59</fpage><lpage>67</lpage><history><date date-type="received"><day>5</day>	<month>October</month>	<year>2014</year></date><date date-type="rev-recd"><day>21</day>	<month>November</month>	<year>2014</year>	</date><date date-type="accepted"><day>2</day>	<month>December</month>	<year>2014</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Fingerprints are a unique feature for identification and verification of humans. The need to optimise several databases for storing the images of fingerprints is a major concerning issue. Several segmentation algorithms have been used in the time past but there are still several challenges facing some current segmentation algorithms like computational efficiency. Another challenge is that segmentation procedure can be impractically slow, or requires extremely large amounts of memory. This paper addresses the challenges by employing watershed flooding algorithm on the fingerprint images so as to optimize the sizes of the databases. A pre-processing plug-in that implements this segmentation process is developed using Java. We showed its effectiveness by testing it on fingerprint image dataset and the entropy showed that the segmented images sizes were reduced.
 
</p></abstract><kwd-group><kwd>Watershed</kwd><kwd> Transformation</kwd><kwd> Fingerprint</kwd><kwd> Segmentation</kwd><kwd> Entrophy</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Image Segmentation is a fundamental step in analysing and understanding images. It is a process of partitioning the image into multiple segments [<xref ref-type="bibr" rid="scirp.52375-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.52375-ref2">2</xref>] . It is the first important step in many image processing applications like image analysis, image description and recognition, image visualization and object based image compression. Image segmentation means assigning a label to each pixel in the image such that pixels with same labels share common visual characteristics.</p><p>For more than a century, fingerprints were considered to be the identifying mark for the human beings. Fingerprint is a protected human organ and an effective biometric approach to human or personal identification. It acts like living passwords for humans as its texture is stable throughout the human life. Fingerprints are an impression left by the friction ridges of human finger.</p><p>For several reasons, we need to store these fingerprints in a database and among them one of the main reasons is they are used for analysis of forensic evidence worldwide. For storing several fingerprint impressions a huge database is needed, where the size of the database is also a matter of consideration. A huge database needs a huge amount of memory space. If we can reduce the size of the data then we can store more number of data in the same memory space.</p><p>Watershed transformation can be applied to human fingerprints segmentation by taking the idea from friction ridges of human finger and also with an effective storage capacity for the segmented images. Watershed algorithm depends on ridges to perform a proper segmentation, a property that is often fulfilled in contour detection where the boundaries of the objects are expressed as ridges.</p><p>In grey scale mathematical morphology the watershed transform, which was originally proposed by [<xref ref-type="bibr" rid="scirp.52375-ref3">3</xref>] and later improved by [<xref ref-type="bibr" rid="scirp.52375-ref4">4</xref>] , was the method of choice for image segmentation [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] . When simulating the watershed transform for image segmentation, two approaches may be used: either one first finds basins, then watersheds by taking a set complement; or one computes a complete partition of the image into basins, and subsequently finds the watersheds by boundary detection.</p><p>The basic idea behind watershed algorithm by immersion comes from Geography. It requires that one think of an image as a surface; that bright areas are “high” surfaces and dark areas are “low” surfaces. With surfaces, it is natural to think in terms of catchment basins and watershed lines. Basins, also called catchment basins (<xref ref-type="fig" rid="fig1">Figure 1</xref>), will fill up with water starting at these local minima, and, at points where water coming from different basins would meet, dams are built.</p><p>When the water level has reached the highest peak in the landscape, the process is stopped. As a result, the landscape is partitioned into regions or basins separated by dams, called watershed lines or watersheds.</p><p>Finally, this paper is organized in sections. Section 2 explained the related work. Watershed algorithmic definitions were discussed in Section 3. While the implementation process in Section 4. Lastly, summary and conclusion is in Section 5.</p></sec><sec id="s2"><title>2. Related Work</title><p>Although the research by [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] is the most related to our research, comprehensive reviews of early segmentation techniques can be found in [<xref ref-type="bibr" rid="scirp.52375-ref7">7</xref>] and [<xref ref-type="bibr" rid="scirp.52375-ref8">8</xref>] . Some classes of segmentation methods are considered below: Gray level thresholding, and region growing/merging techniques.</p><p>Gray level thresholding is a generalization of binary thresholding [<xref ref-type="bibr" rid="scirp.52375-ref9">9</xref>] . Binary thresholding works by determining the gray level value that separates pixels in the foreground from pixels in the background, and generating a “threshold image” where pixels are assigned one of two possible values corresponding to “foreground” and “background” depending on whether their gray level is above or below the selected threshold.</p><p>The work of Beveridge et al. [<xref ref-type="bibr" rid="scirp.52375-ref10">10</xref>] offers a good example of a procedure that integrates both gray level thresholding and region merging. In their paper, an input image (which can be either grayscale or colour) is divided into sectors of fixed size and fixed location. An intensity histogram is calculated for each sector (and on colour images, for each colour channel), and used to produce a local segmentation. For every sector, information from its neighbors is used to detect clusters for which there may not be enough local support due to the artificially induced partition of the image. After the local segmentations are complete, the sector boundaries are removed by merging together similar regions in neighboring sectors.</p><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> One dimensional example of watershed segmentation. (a) Gray level profile of Image data; (b) Watershed segmentation―local minima of gray level (altitude) yield catchment basins; local maxima define the watershed lines (Source: [<xref ref-type="bibr" rid="scirp.52375-ref6">6</xref>] ).</title></caption><fig id ="fig1_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x5.png"/></fig></fig-group><p>The above measure is computed for both the complete regions, and a band that is within a fixed, small distance on both sides of the boundary. Two regions are merged if the merge score is below a specified threshold for both the global and local measure.</p><p>The last step in the segmentation is region merging; this step uses a merge score composed of a pairwise comparison of several region features. Since the algorithm can only merge regions, the thresholds used during the local, threshold based segmentation stage are selected so that they’ll yield a significantly over-segmented image; the merging step is then relied upon to turn the un-segmented image into a reasonable segmentation. Results presented in [<xref ref-type="bibr" rid="scirp.52375-ref10">10</xref>] show that this algorithm produces good segmentations in parts of the image that are reasonably homogeneous, and over-segmented regions when there is texture, significant intensity gradients, or objects with non-uniform coloring. The algorithm is not without problems, as there are several thresholds that must be chosen carefully depending on the image, and the region boundaries themselves have slight artifacts introduced by the sector-based initial segmentation. Even so, the algorithm illustrates what can be achieved with thresholding merging schemes.</p><p>The works in the literature showed that many current algorithms are able to produce reasonable results on images of moderate complexity; several of these algorithms are efficient enough that they can be used as a pre- processing stage for higher level vision tasks such as recognition and tracking.</p><p>However, there are still several challenges facing some current segmentation algorithms. Computational efficiency is still a concern issue when the processing of large affinity matrices is a part of the segmentation process, ultimately, a segmentation procedure can become impractically slow, or require extremely large amounts of memory. These have limited the size of the images that can be processed using many recent algorithms. However, we expect that the constant increase in computational power and storage capacity of modern computers should progressively reduce these limitations. The definition of a good similarity measure for general images remains an open issue. There is a general consensus that a robust image segmentation algorithm should combine multiple image cues and estimate similarity based on this combination, but so far there are few algorithms that use more than a single cue as a similarity measure, and only recently has a significant effort been dedicated to designing similarity measures based on the statistics of natural images, and human-generated segmentations.</p><p>The design of a good similarity measure is tied to the robustness of the segmentation algorithm in dealing with surface markings, lighting artifacts, and image texture. Evaluating the output of segmentation algorithms is still problematic. Therefore, watershed algorithm is adopted in this paper.</p></sec><sec id="s3"><title>3. Watershed Algorithmic Definition</title><p>The diagrammatic descriptions of watershed lines and catchment basins have been presented in <xref ref-type="fig" rid="fig1">Figure 1</xref>. An algorithmic definition of the watershed transform by simulated immersion was given by [<xref ref-type="bibr" rid="scirp.52375-ref2">2</xref>] . Consider a digital grey value image, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x6.png" xlink:type="simple"/></inline-formula>with minimum value <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x7.png" xlink:type="simple"/></inline-formula> and maximum value <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x8.png" xlink:type="simple"/></inline-formula> of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x9.png" xlink:type="simple"/></inline-formula>. We plunge this surface into a lake with a constant vertical speed, with water entering through the holes and flood the surface. Define a recursion with the grey level <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x10.png" xlink:type="simple"/></inline-formula> increasing from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x11.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x12.png" xlink:type="simple"/></inline-formula>, in which the basins associated with the minima of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x13.png" xlink:type="simple"/></inline-formula> are successively expanded. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x14.png" xlink:type="simple"/></inline-formula> denote the union of the set of basins computed at level<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x15.png" xlink:type="simple"/></inline-formula>. A connected component of the threshold set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x16.png" xlink:type="simple"/></inline-formula> at level <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x17.png" xlink:type="simple"/></inline-formula> can be either a new minimum, or an extension of a basin in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x18.png" xlink:type="simple"/></inline-formula>: in the latter case one computes the geodesic influence zone of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x19.png" xlink:type="simple"/></inline-formula> within<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x20.png" xlink:type="simple"/></inline-formula>, resulting in an update<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x21.png" xlink:type="simple"/></inline-formula>.</p><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x22.png" xlink:type="simple"/></inline-formula> denote the union of all regional minima at altitude<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x23.png" xlink:type="simple"/></inline-formula>.</p><p>Definition (Watershed Transform): Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula> have a minima <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula> for some index set<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula>. The catchment basin <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x27.png" xlink:type="simple"/></inline-formula> of a minimum <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x28.png" xlink:type="simple"/></inline-formula> is defines as the set of points <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x29.png" xlink:type="simple"/></inline-formula> which are topographically closer to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x30.png" xlink:type="simple"/></inline-formula> than to any other regional minimum<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x31.png" xlink:type="simple"/></inline-formula>.</p><disp-formula id="scirp.52375-formula206"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x32.png"  xlink:type="simple"/></disp-formula><p>The watershed of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x33.png" xlink:type="simple"/></inline-formula> is the set of points which do not belong to any catchment basins:</p><disp-formula id="scirp.52375-formula207"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x34.png"  xlink:type="simple"/></disp-formula><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula> be some label,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula>. The watershed transform of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula> is a mapping<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x38.png" xlink:type="simple"/></inline-formula>, such that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x39.png" xlink:type="simple"/></inline-formula>, if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x40.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x41.png" xlink:type="simple"/></inline-formula> if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x37.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x42.png" xlink:type="simple"/></inline-formula>.</p><p>So the watershed transform of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x43.png" xlink:type="simple"/></inline-formula> assigns labels to the points of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x44.png" xlink:type="simple"/></inline-formula>, such that i) different catchment basins are uniquely labeled, and ii) a special label <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x45.png" xlink:type="simple"/></inline-formula> is assigned to all points of the watershed of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x46.png" xlink:type="simple"/></inline-formula>.</p><p>We assume, from [<xref ref-type="bibr" rid="scirp.52375-ref11">11</xref>] , a geodesic distance <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula> between <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula> within <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula>, with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula> is the minimum path length among all paths within <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula> from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x55.png" xlink:type="simple"/></inline-formula> to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x56.png" xlink:type="simple"/></inline-formula> (in the con- tinuous case, read “infimum” instead of “minimum”). If <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x57.png" xlink:type="simple"/></inline-formula> is a subset of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x58.png" xlink:type="simple"/></inline-formula>, define<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x59.png" xlink:type="simple"/></inline-formula>.</p><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula> be partitioned in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x61.png" xlink:type="simple"/></inline-formula> connected components<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x62.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x63.png" xlink:type="simple"/></inline-formula>. The geodesic influence zone of the set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x64.png" xlink:type="simple"/></inline-formula> within <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x65.png" xlink:type="simple"/></inline-formula> is defined as:</p><disp-formula id="scirp.52375-formula208"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x66.png"  xlink:type="simple"/></disp-formula><p>Let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x67.png" xlink:type="simple"/></inline-formula>, The set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x68.png" xlink:type="simple"/></inline-formula> is the union of the geodesic influence zones of the connected components of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x69.png" xlink:type="simple"/></inline-formula> [<xref ref-type="bibr" rid="scirp.52375-ref12">12</xref>] , i.e.,</p><disp-formula id="scirp.52375-formula209"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x70.png"  xlink:type="simple"/></disp-formula><p>The definition of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x71.png" xlink:type="simple"/></inline-formula> is used in the construction of a watershed algorithm by immersion.</p><p>Definition (watershed by immersion):</p><disp-formula id="scirp.52375-formula210"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x72.png"  xlink:type="simple"/></disp-formula><p>The watershed <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x73.png" xlink:type="simple"/></inline-formula> of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x74.png" xlink:type="simple"/></inline-formula> is the complement of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x75.png" xlink:type="simple"/></inline-formula> in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x75.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x76.png" xlink:type="simple"/></inline-formula>:</p><disp-formula id="scirp.52375-formula211"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x77.png"  xlink:type="simple"/></disp-formula></sec><sec id="s4"><title>4. The Implementation Process</title><p>A pre-processing plug-in that implements this segmentation process is developed using Java PL. This plug-in would be compatible with an application called Image J [<xref ref-type="bibr" rid="scirp.52375-ref12">12</xref>] , a general purpose image-processing and image- analysis package. Image J is of choice because it has a public domain licence, it runs on several operating system platforms. This application would apply the watershed flooding algorithm which can be interrupted to a user-specified level. Each particle should have a local maximum (or local minimum when the objects are dark) to define a catchment basin.</p><p>The Watershed algorithm by immersion is presented in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The SKIZ (skeleton by influence zones) function is the complement of the set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x78.png" xlink:type="simple"/></inline-formula> (defined in Section 3) within<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x79.png" xlink:type="simple"/></inline-formula>, and is defined as:</p><disp-formula id="scirp.52375-formula212"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x80.png"  xlink:type="simple"/></disp-formula><p>So the SKIZ consists of all points which are equidistant (in the sense of the geodesic distance) to at least two nearest connected components. For a binary image <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x81.png" xlink:type="simple"/></inline-formula> with domain<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x82.png" xlink:type="simple"/></inline-formula>, the SKIZ can be defined by identifying <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x81.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x82.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x83.png" xlink:type="simple"/></inline-formula> with the set of foreground pixels [<xref ref-type="bibr" rid="scirp.52375-ref11">11</xref>] .</p><p>This approach is being implemented on different fingers, where the segmented results are very clear. Figures 2-6 presents the application of the approach on the little finger, the ring finger, the middle finger, grooming finger and thumb finger respectively. In the figures presented, (a) is the original image, (b) is the grey scale image of the original one, (c) shows the overlaid basins of the grey scale image, (d) shows the catchment basins, (e) shows the composite image and finally one gets the segmented image (f) after applying watershed algorithm.</p><p>From <xref ref-type="table" rid="table2">Table 2</xref>, the entropy for original images with their segmented results has been measured.</p><p>Entropy is defined as:</p><disp-formula id="scirp.52375-formula213"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x84.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x85.png" xlink:type="simple"/></inline-formula> is the probability that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x86.png" xlink:type="simple"/></inline-formula> is in the state <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x87.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x88.png" xlink:type="simple"/></inline-formula> is defined as 0 if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x89.png" xlink:type="simple"/></inline-formula>. The joint en-</p><table-wrap-group id="1"><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Watershed algorithm by immersion</title></caption><table-wrap id="1_1"><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Vincent and Soille watershed algorithm by immersion [<xref ref-type="bibr" rid="scirp.52375-ref2">2</xref>]</th><th align="center" valign="middle" ></th></tr></thead><tr><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >1: procedure Watershed by Immersion 2: INPUT: digital grey scale image G = (D, E, ) 3: OUTPUT: labeled watershed image lab on D. 4: #define INIT −1 (*initial value of lab image*) 5: #define MASK −2 (*initial value at each level*) 6: #define WSHED 0 (*label of the watershed pixels*) 7: #define FICTITIOUS (−1, −1) (*fictitious pixel <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x90.png" xlink:type="simple"/></inline-formula>*) 8: curlab ← 0 (*curlab is the current label*) 9: fifo_init (queue) 10: for all p ∈ D do 11: lab [p]← INIT; dist [p]← 0 (* is a work image of distances*) 12: end for 13: SORT pixels in increasing order of grey values (minimum hmin, maximum hmax) 14: (*Start the Flooding*) 15: for h = hmin to hmax do (*Geodesic SKIZ of level h −1 inside level h*) 16: for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x91.png" xlink:type="simple"/></inline-formula> with im [p] = do (*mask all pixels at level h*) 17: (*these are directly accessible because of the sorting step*) 18: lab [p] ← mask 19: if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x92.png" xlink:type="simple"/></inline-formula> has a neighbor q with (lab [q] &gt; 0 or lab [q] = WSHED) then 20: (*Initialize queue with neighbours at level h of current basins or watersheds*) 21: dist [p] ← 1; fifo_add (p, queue) 22: end if 23: end for 24: curdist ← 1; fifo_add (FICTITIOUS, queue) 25: loop (*extend basins*) 26: p ← fifo_remove (queue) 27: if p = FICTITIOUS then 28: if fifo_empty (queue) then 29: BREAK 30: else 31: fifo_add (FICTITIOUS, queue); curdist ← curdist + 1; 32: p ← fifo_remove (queue) 33: end if 34: end if 35: for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x93.png" xlink:type="simple"/></inline-formula> do (*labeling p by inspecting neighbors*) 36: if dist[q] &lt; curdist and (lab[q] &gt; 0 or lab[q] = WSHED) then 37: (*q belongs to an existing basin or to watersheds *) 38: if lab[q] &gt; 0 then 39: if = MASK or lab[p] = WSHED then 40: lab[p] ← lab[q] 41: else if lab[p] ≠ lab[q] then 42: lab[p] ← WSHED 43: end if 44: else if lab[p] = MASK then 45: lab[p] WSHED 46: end if 47: else if lab[q] = MASK and dsit[q] = 0 then (*q is plateau pixel*) 58: dsit[q] ← curdist + 1; fifo_add (p, queue) 49: end if 50: end for</td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><table-wrap id="1_2"><table><tbody><thead><tr><th align="center" valign="middle" >51: end loop 52: (*detect and process new minima at level *) 53: for all <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x94.png" xlink:type="simple"/></inline-formula> with im[p] = h do 54: dist [p] ← 0 (*reset distance to zero*) 55: if lab [p] = MASK then (*p is inside a new minimum*) 56: curlab ← curlab + 1; (*create new label*) 57: fifo_add (p, queue); lab[p] ← curlab 58: while not fifo_empty (queue) do 59: q ← fifo_remove (queue) 60: for all r ∈ N_G (q) do (*inspect neighbours of *) 61: if lab [r] = MASK then 62: fifo_add (r, queue); lab [r] ← cur lab 63: end if 64: end for 65: end while 66: end if 67: end for 68: end for 69: (*End Flooding*)</th></tr></thead></tbody></table></table-wrap></table-wrap-group><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> The entropy for original images with segmented results</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Name of Finger</th><th align="center" valign="middle"  colspan="3"  >Entropy</th></tr></thead><tr><td align="center" valign="middle" >Entropy of Original Image</td><td align="center" valign="middle" >Entropy of Segmented Image</td><td align="center" valign="middle" >Percentage of Reduction</td></tr><tr><td align="center" valign="middle" >Little Finger</td><td align="center" valign="middle" >5.491650659963482</td><td align="center" valign="middle" >0.9847813571240879</td><td align="center" valign="middle" >82.07%</td></tr><tr><td align="center" valign="middle" >Ring Finger</td><td align="center" valign="middle" >6.147308152748742</td><td align="center" valign="middle" >0.9960550245994975</td><td align="center" valign="middle" >83.79%</td></tr><tr><td align="center" valign="middle" >Middle Finger</td><td align="center" valign="middle" >5.924018496000674</td><td align="center" valign="middle" >0.987188916509631</td><td align="center" valign="middle" >83.33%</td></tr><tr><td align="center" valign="middle" >Grooming Finger</td><td align="center" valign="middle" >5.739202551639768</td><td align="center" valign="middle" >0.9866855429259958</td><td align="center" valign="middle" >82.81%</td></tr><tr><td align="center" valign="middle" >Thumb Finger</td><td align="center" valign="middle" >5.879363918691973</td><td align="center" valign="middle" >0.9948162715104257</td><td align="center" valign="middle" >83.08%</td></tr></tbody></table></table-wrap><fig-group id="fig2"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Application of this approach on the little finger.</title></caption><fig id ="fig2_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x95.png"/></fig></fig-group><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Application of this approach on the ring finger.</title></caption><fig id ="fig3_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x96.png"/></fig></fig-group><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Application of this approach on the middle finger.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x97.png"/></fig></fig-group><fig-group id="fig5"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Application of this approach on the grooming finger.</title></caption><fig id ="fig5_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x98.png"/></fig></fig-group><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Application of the approach on the thumb finger.</title></caption><fig id ="fig6_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-2730061x99.png"/></fig></fig-group><p>tropy of variable <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-2730061x100.png" xlink:type="simple"/></inline-formula> is defined by:</p><disp-formula id="scirp.52375-formula214"><graphic  xlink:href="http://html.scirp.org/file/2-2730061x101.png"  xlink:type="simple"/></disp-formula><p>The performance of segmentation algorithm can be measured with the help of entropy and as in term of visual quality of the original image and the resulted image. The image entropy can provide a good level of information to describe a given image.</p><p>Low entropy images have very little contrast and large runs of pixels with the same values. An image that is perfectly flat will have entropy of zero. Consequently, they can be compressed to a relatively small size. On the other hand, high entropy images such as an image of heavily cratered areas on the moon have a great deal of contrast from one pixel to the next and consequently cannot be compressed as much as low entropy images.</p>Comparison with Related Works<p>As depicted earlier, the research by [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] is a good threshold to adjudge the efficiency of our algorithm. In the end, the case study images selected is random and entropies also become random. However, the images selected by [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] have almost similar entropies to our images and so the percentage of reduction of their original images to segmented images is presented in <xref ref-type="table" rid="table3">Table 3</xref>.</p><p>The difference comparison is shown in <xref ref-type="table" rid="table4">Table 4</xref>.</p><p>As shown, we can see that the implementation of watershed algorithm in our scheme offers better computation (and hence, better storage reduction) capacity.</p></sec><sec id="s5"><title>5. Summary and Conclusions</title><p>This approach has provided an easy method of the segmentation of the human fingerprints based on watershed</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> The entropy for original images with segmented results [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] </title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Name of Finger</th><th align="center" valign="middle"  colspan="3"  >Entropy</th></tr></thead><tr><td align="center" valign="middle" >Entropy of Original Image</td><td align="center" valign="middle" >Entropy of Segmented Image</td><td align="center" valign="middle" >Percentage of Reduction</td></tr><tr><td align="center" valign="middle" >Little Finger</td><td align="center" valign="middle" >5.4766</td><td align="center" valign="middle" >1.0281</td><td align="center" valign="middle" >[(5.4766 ? 1.0281)/5.4766 *100] = 81.23%</td></tr><tr><td align="center" valign="middle" >Ring Finger</td><td align="center" valign="middle" >5.5974</td><td align="center" valign="middle" >0.9537</td><td align="center" valign="middle" >[(5.5974 ? 0.9537)/5.5974 *100] = 82.96%</td></tr><tr><td align="center" valign="middle" >Middle Finger</td><td align="center" valign="middle" >5.6865</td><td align="center" valign="middle" >0.9820</td><td align="center" valign="middle" >[(5.6865 ? 0.9820)/5.6865 *100] = 82.73%</td></tr><tr><td align="center" valign="middle" >Grooming Finger</td><td align="center" valign="middle" >5.2182</td><td align="center" valign="middle" >0.9620</td><td align="center" valign="middle" >[(5.2182 ? 0.9620)/5.2182 *100] = 81.56%</td></tr><tr><td align="center" valign="middle" >Thumb Finger</td><td align="center" valign="middle" >5.4733</td><td align="center" valign="middle" >0.9969</td><td align="center" valign="middle" >[(5.4733 ? 0.9969)/5.4733 *100] = 81.78%</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Comparing our scheme and [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>] </title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="3"  >Entropy</th></tr></thead><tr><td align="center" valign="middle" >Percentage of Reduction, [<xref ref-type="bibr" rid="scirp.52375-ref5">5</xref>]</td><td align="center" valign="middle" >Percentage of Reduction, Our Scheme</td><td align="center" valign="middle" >Difference in Percentages</td></tr><tr><td align="center" valign="middle" >81.23%</td><td align="center" valign="middle" >82.07%</td><td align="center" valign="middle" >0.84</td></tr><tr><td align="center" valign="middle" >82.96%</td><td align="center" valign="middle" >83.79%</td><td align="center" valign="middle" >0.83</td></tr><tr><td align="center" valign="middle" >82.73%</td><td align="center" valign="middle" >83.33%</td><td align="center" valign="middle" >0.60</td></tr><tr><td align="center" valign="middle" >81.56%</td><td align="center" valign="middle" >82.81%</td><td align="center" valign="middle" >1.25</td></tr><tr><td align="center" valign="middle" >81.78%</td><td align="center" valign="middle" >83.08%</td><td align="center" valign="middle" >1.30</td></tr></tbody></table></table-wrap><p>transformation. The concept of watershed algorithm has been used for segmentation purpose. In practical applications, fingerprints are unique feature for identification and verification of humans, and as well as we need to maintain several databases for storing the images of fingerprints and the sizes of the databases are a major concerned issue. We can store the segmented images of fingerprints instead of the original images to reduce the size of the databases. The final result of segmentation depends upon the quality of scanner and the inkpad which we use.</p><p>Thus method is therefore recommended in achieving the aim of optimizing the size of image database.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.52375-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Das, S. Lecture Notes. IIT Madras, India. http://vplab.iitm.ac.in/courses/CV_DIP/PDF/lect-Segmen.pdf</mixed-citation></ref><ref id="scirp.52375-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Vincent, L. and Soille, P. (1991) Watersheds in Digital Spaces: An Efficient Algorithm Based on Immersion Simulations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 13, 583-598. http://dx.doi.org/10.1109/34.87344</mixed-citation></ref><ref id="scirp.52375-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Digabel, H. and Lantuejoul, C. (1978) Iterative Algorithms. Proceedings of the 2nd European Symposium Quantitative Analysis of Microstructures in Material Science, Biology and Medicine, 85-89.</mixed-citation></ref><ref id="scirp.52375-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Beucher, S. and Meyer, F. (1993) The Morphological Approach to Segmentation: The Watershed Transformation, Mathematical Morphology in Image Processing. Marcel Dekker Inc., New York, 433-481.</mixed-citation></ref><ref id="scirp.52375-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Acharjya, P.P. and Ghoshal, D. (2012) An Effective Human Fingerprint Segmentation Method Using Watershed Algorithm. International Journal of Computer Applications, 53. http://dx.doi.org/10.5120/8482-2422</mixed-citation></ref><ref id="scirp.52375-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ulbsibiu, R. (2014) Watershed Segmentation. http://remus.ulbsibiu.ro/teaching/courses/docs/acs/Watershed%20Segmentation.doc</mixed-citation></ref><ref id="scirp.52375-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Haralick, R.M. and Shapiro, L.G. (1985) Image Segmentation Techniques. Computer Vision, Graphics and Image Processing, 29, 100-132. http://dx.doi.org/10.1016/s0734-189x(85)90153-7</mixed-citation></ref><ref id="scirp.52375-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Pal, N.R. and Pal, S.K. (1993) A Review on Image Segmentation Techniques. Pattern Recognition, 26, 1277-1294. http://dx.doi.org/10.1007/978-3-662-21817-4_10</mixed-citation></ref><ref id="scirp.52375-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Berthold, K. and Horn, P. (1986) Robot Vision. MIT Press, Cambridge.</mixed-citation></ref><ref id="scirp.52375-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Ross Beveridge, J., Griffith, J., Kohler, R.R., Hanson, A.R. and Rise-Man, E.M. (1989) Segmenting Images Using Localized Histograms and Region Merging. International Journal of Computer Vision, 2, 311-347. http://dx.doi.org/10.1007/bf00158168</mixed-citation></ref><ref id="scirp.52375-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Roerdink, J.B.T.M. and Meijster, A. (2001) The Watershed Transform: Definitions, Algorithms and Parallelization Strategies. Fundamenta Informaticae, 41, 187-228.</mixed-citation></ref><ref id="scirp.52375-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">http://imagej.nih.gov/ij/</mixed-citation></ref></ref-list></back></article>