<?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">ICA</journal-id><journal-title-group><journal-title>Intelligent Control and Automation</journal-title></journal-title-group><issn pub-type="epub">2153-0653</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ica.2020.111003</article-id><article-id pub-id-type="publisher-id">ICA-98603</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></subj-group></article-categories><title-group><article-title>
 
 
  An Intelligent Algorithm for Skin Cancer Detection
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Amin</surname><given-names>Nazerzadeh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Afsaneh</surname><given-names>Nouri Houshyar</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Alireza</surname><given-names>Jahed</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>UCI Division of Continuing Education, University of California Irvine, Irvine, CA, USA</addr-line></aff><aff id="aff3"><addr-line>School of Business, Khatam University, Tehran, Iran</addr-line></aff><aff id="aff2"><addr-line>School of Engineering, California State Polytechnic University, Panoma, CA, USA</addr-line></aff><pub-date pub-type="epub"><day>20</day><month>12</month><year>2019</year></pub-date><volume>11</volume><issue>01</issue><fpage>25</fpage><lpage>31</lpage><history><date date-type="received"><day>20,</day>	<month>November</month>	<year>2019</year></date><date date-type="rev-recd"><day>25,</day>	<month>February</month>	<year>2020</year>	</date><date date-type="accepted"><day>28,</day>	<month>February</month>	<year>2020</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>
 
 
  Nowadays, computer vision as an interdisciplinary field is growing in different areas such as medical, electronics, etc. In the field, detection and particularly image segmentation is an essential task in which is difficult to find the appropriate one based on the application. In this paper, a new algorithm is proposed to segment the lesion from background. The algorithm is based on log edge detector with iterative median filtering. We have tested our algorithm on 20 dermoscopic images and compare the lesion detection results with those manually segmented by dermatologists. The experiments represent the effectiveness of proposed algorithm.
 
</p></abstract><kwd-group><kwd>Skin Cancer</kwd><kwd> Malignant</kwd><kwd> Benign</kwd><kwd> Image Processing</kwd><kwd> Log Edge Detector</kwd><kwd> Segmentation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Skin cancer is determined by the abnormal and uncontrolled spread of cells which make up the skin. It is classified as benign or malignant. Malignant melanoma as a deadliest skin cancer tumor has a probability of metastasis and grows rapidly to other organs. Thus, the quick detection of melanoma is of extreme importance [<xref ref-type="bibr" rid="scirp.98603-ref1">1</xref>]. Investigations have demonstrated that the cure rate is approximately 100% if it is recognized and treated early [<xref ref-type="bibr" rid="scirp.98603-ref2">2</xref>]. For this reason, the automatic or semi-automatic interpretation of results became unavoidable [<xref ref-type="bibr" rid="scirp.98603-ref1">1</xref>].</p><p>Advances in clinical dermoscopy have considerably contributed to improve diagnosis and reduce risks. It entrusts 10% - 27% higher sensitivity to diagnosing melanoma by dermatologists [<xref ref-type="bibr" rid="scirp.98603-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.98603-ref4">4</xref>]. Hence, development of dermoscopic diagnosis still increasing in subject over the last years. Different methods have been developed and tested on a wide range of tasks to assist the system designer to choose the most appropriate approach. Clinical outcome of melanoma can potentially be ameliorated by increasing the accuracy of tumors localization during the treatment. Hence, the risk of mortality caused by late diagnosis can be reduced if the set-up uncertainties are minimized. One of the particular uncertainties in the system is determining the borders between tissues to find the features for accurate detection. The border detection is an important task because it provides the basis of extracting the features of lesion such as size and symmetry axes, and most conversant dermoscopic features, such as radial streaming and pseudopods. Since the transition between skin and lesion is almost of low contrast, and memberships sin lesion boundary are intrinsically fuzzy, the exact determination of borders is a difficult task [<xref ref-type="bibr" rid="scirp.98603-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.98603-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.98603-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.98603-ref7">7</xref>].</p><p>In this study, we place the concentrate on determining the lesion borders. Our approach is particularly appealing and differs from others as it is robust in presence of hair and noise. Our motivation to perform segmentation of skin cancer images has been to facilitate the robust algorithm for automatic tracking of melanoma in detection systems which can delineate the lesions at risk.</p><p>Experiments and comparison results of more than 30 skin lesion images illustrate that the proposed algorithm results are very close to borders traced manually by a dermatologist, even for the images with high asymmetric lesions, weak edges and artifacts.</p><p>The remainder of the article is organized as follows: a short review on previous studies of skin cancer segmentation is presented. Then, the proposed algorithm for segmenting the melanoma from the images is explained in detail. Third, the experimental results are carried out on RGB images to evaluate the validity of our algorithm. The results are compared with the traditional algorithm to demonstrate the superiority of proposed algorithm. Finally, the article is concluded with discussion.</p></sec><sec id="s2"><title>2. Previous Studies</title><p>In the past, several approaches have been proposed for segmentation of skin lesions in automatic diagnosis of malignant and benign. F. Xie, A. Bovik, 2013, proposed an algorithm to combine genetic algorithm (GA) and a self-generating neural network (SGNN). They feed SGNN using optimal samples selected by GA algorithm which optimized and stabilized the clustering outcome. The overall model leads to automatic segmentation without any manual interaction. They compared the model with other segmentation methods and got more accurate results [<xref ref-type="bibr" rid="scirp.98603-ref5">5</xref>]. A.T. Beuren et al., 2012, presented a new approach for extraction of lesions region based on morphological operators and binarization technique. They concluded that their proposed algorithms can effectively detect the lesions [<xref ref-type="bibr" rid="scirp.98603-ref8">8</xref>]. H. Wang, 2011, developed a watershed segmentation algorithm by utilizing the neural network classifier to reduce to error rates. They could achieve the error rate of 11.09% in compare to their previous work [<xref ref-type="bibr" rid="scirp.98603-ref9">9</xref>]. H. Zhou et al., 2011, introduced a new segmentation method based on standard GVF algorithm. They applied mean shift operation within the standard GVF cost function and presented accurate results [<xref ref-type="bibr" rid="scirp.98603-ref10">10</xref>]. In another study [<xref ref-type="bibr" rid="scirp.98603-ref11">11</xref>], the improved fuzzy clustering algorithms and its application in brain image segmentation was investigated and they concluded that their algorithm could accurately segment brain tissue.</p><p>M. Silveira et al. reviewed different methods of skin lesion segmentation and compared the different methods in three type of thresholding, edge-based, and region-based [<xref ref-type="bibr" rid="scirp.98603-ref12">12</xref>]. X. Yuan, 2008, presented a segmentation algorithm based on evolution strategy. In this paper, they considered the segmentation problem as numerical optimization problem and applied ES as a search algorithm and designed an objective function for its application. The histogram-based consistency verification rule was used for automatic refinement of results. Experiments showed the robust application of algorithm which its efficiency doesn’t depend the initial values [<xref ref-type="bibr" rid="scirp.98603-ref13">13</xref>]. L. Xiao et al., 2019, proposed a method to improve the performance of traditional Otsu method. They utilized 2D histogram projection analysis for threshold segmentation based on set mapping and trapezoid region intercept histogram. The results demonstrate the better performance and could achieve a balance between the noise elimination and the detail retention in image segmentation [<xref ref-type="bibr" rid="scirp.98603-ref14">14</xref>]. Ganster et al, 2001, proposed a system for melanoma detection. One of purposes was to develop the segmentation of lesion in skin cancer images. They performed fusion of thresholding and color clustering algorithms and could achieve impressive results [<xref ref-type="bibr" rid="scirp.98603-ref15">15</xref>].</p></sec><sec id="s3"><title>3. Proposed Methodology</title><p>As mentioned before, lots of skin cancer segmentation algorithms have been presented in the literature to help dermatologists in accurate detection of melanoma. However, the noise and hairs affect significantly on segmentation precision and also the main purpose is to achieve the algorithm which segments the lesions in either malignant or benign lesion images.</p><p>Motivated by these issues, in this paper we propose an algorithm for skin lesion segmentation which has the good performance even in presence of hair and noise. First of all, since in this process, the high-level variations between intensities of the image are important, it is beneficial to convert the image into greyscale, in which the minimum intensity value was equal to 0, and the maximum intensity value was equal to 255. Secondly, the image is filtered through computing the first order derivative of Gaussian and computing the magnitude and orientation of gradient vector. Based on the experiment, the threshold value is determined through considering the top 40% highest gradient pixels and the binary image is obtained. Lastly, The XOR of each pixel with the next pixel is performed to determine the boundaries of the image. The proposed algorithm of skin lesions segmentation is shows in Algorithm 1.</p></sec><sec id="s4"><title>4. Results and Discussion</title><p>In this section, the results are discussed, and the validity of the proposed algorithm is investigated. To quantitatively evaluate the performance of the algorithm, experiments are carried out on thirty RGB images which have been segmented manually by a dermatologist. These manual segmentations are treated as ground truth. These images have been collected from the Cancer Council NSW and other referenced papers. The obtained images will then be compared with the ones from Log edge detector algorithm to demonstrate its superiority. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows a sample of a ground truth image.</p><p>We validate our algorithm by comparing its statistical results with the ground truth as well as the results from the Log edge detector. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows the sample border detection results. The proposed algorithm demonstrates effective border lines.</p><p>Algorithm 1. The proposed algorithm of skin lesions segmentation.</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the segmented results using our proposed algorithm on three more images including benign and malignant lesions.</p><p>The images are polluted with the additive noise of level 5% (SNR = 26 dB) to make higher noisy image and to evaluate the performance of the proposed algorithm. <xref ref-type="fig" rid="fig4">Figure 4</xref> shows the results of segmented image showed earlier in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Additionally, to validate the algorithm, the Border Error (BE) and SNR between the proposed algorithm and Log edge detector algorithm are computed. The percentage border error is computed as,</p><disp-formula id="scirp.98603-formula333"><label>(1)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/3-7900584x4.png"  xlink:type="simple"/></disp-formula><p>and the SNR is computed as,</p><disp-formula id="scirp.98603-formula334"><label>(2)</label><graphic position="anchor" xlink:href="//html.scirp.org/file/3-7900584x5.png"  xlink:type="simple"/></disp-formula><p><xref ref-type="table" rid="table1">Table 1</xref> shows the computed results for our proposed algorithm and Log edge detector algorithm in simple and noisy conditions.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Comparison of BE and SNR between our proposed algorithm and Log edge detector algorithm in Normal noise level, additive noise of 2% and 5%</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Proposed algorithm</th><th align="center" valign="middle" >Log edge detector algorithm</th></tr></thead><tr><td align="center" valign="middle" >BE–Normal noise level</td><td align="center" valign="middle" >0.22</td><td align="center" valign="middle" >0.25</td></tr><tr><td align="center" valign="middle" >BE-additive noise of level 2%</td><td align="center" valign="middle" >0.32</td><td align="center" valign="middle" >0.32</td></tr><tr><td align="center" valign="middle" >BE-additive noise of level 5%</td><td align="center" valign="middle" >0.39</td><td align="center" valign="middle" >0.42</td></tr><tr><td align="center" valign="middle" >SNR–Normal noise level</td><td align="center" valign="middle" >−16.07 </td><td align="center" valign="middle" >−17.01</td></tr><tr><td align="center" valign="middle" >SNR-additive noise of level 2%</td><td align="center" valign="middle" >−18.23</td><td align="center" valign="middle" >−18.95</td></tr><tr><td align="center" valign="middle" >SNR-additive noise of level 5%</td><td align="center" valign="middle" >−20.11</td><td align="center" valign="middle" >−22.03</td></tr></tbody></table></table-wrap><p>The experimental results demonstrate that proposed algorithm performs better than Log edge detector.</p></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, we presented a generic framework for automatic skin lesion segmentation based on Log edge detection algorithm. Experiments were performed on 30 images with known ground truth obtained by manual detection of borders by a dermatologist. Our results show that the proposed algorithm is more efficient in detecting the edges than Log edge detection algorithm. The experiments indicate that the obtained results from our proposed algorithm are very close to that obtained by human.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Nazerzadeh, A., Houshyar, A.N. and Jahed, A. (2020) An Intelligent Algorithm for Skin Cancer Detection. Intelligent Control and Automation, 11, 25-31. https://doi.org/10.4236/ica.2020.111003</p></sec></body><back><ref-list><title>References</title><ref id="scirp.98603-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dorrell, D.N. and Strowd, L.C. (2019) Skin Cancer Detection Technology. Dermatologic Clinics, 37, 527-536. https://doi.org/10.1016/j.det.2019.05.010</mixed-citation></ref><ref id="scirp.98603-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Di Leo, G., Liguori, C., Paolillo, A. and Sommella, P. (2008) An Improved Procedure for the Automatic Detection of Dermoscopy Structures in Digital ELM Images of Skin Lesions. In: Proceedings of the IEEE International Conference on Virtual Environment, Human-Computer Interfaces, and Measurement Systems, Istanbul, Turkey. https://doi.org/10.1109/VECIMS.2008.4592778</mixed-citation></ref><ref id="scirp.98603-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Shakourian Ghalejoogh, G., Montazery Kordy, H. and Ebrahimi, F. (2020) A Hierarchical Structure Based on Stacking Approach for Skin Lesion Classification. Expert Systems with Applications, 1451, Article No. 113127. 
https://doi.org/10.1016/j.eswa.2019.113127</mixed-citation></ref><ref id="scirp.98603-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Garbe, C., Peris, K., Hauschild, A., Saiag, P., Middleton, M., Spatz, A., Grob, J.J., Malvehy, J., Bishop, J.N., Stratigos, A., Pehamberger, H. and Eggermont, A.M. (2012) Diagnosis and Treatment of Melanoma. European Consensus-Based Interdisciplinary Guideline. European Journal of Cancer, 48, 2375-2390.  
https://doi.org/10.1016/j.ejca.2012.06.013</mixed-citation></ref><ref id="scirp.98603-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Xie, F. and Bovik, A. (2013) Automatic Segmentation of Dermoscopy Images Using Self-Generating Neural Networks Seeded by Genetic Algorithm. Pattern Recognition, 46, 1012-1019. https://doi.org/10.1016/j.patcog.2012.08.012</mixed-citation></ref><ref id="scirp.98603-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Pereira, P.M.M., Fonseca-Pinto, R., Pedro Paiv, R., Assuncao, P.A.A., Tavor, L.M.N., Thomaz, L.A. and Faria, S.M.M. (2020) Skin Lesion Classification Enhancement Using Border-Line Features-The Melanoma vs Nevus Problem. Biomedical Signal Processing and Control, 57, Article No. 101765. 
https://doi.org/10.1016/j.bspc.2019.101765</mixed-citation></ref><ref id="scirp.98603-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Celebi, M.E., Iyatomi, H., Schaefer, G. and Stoecker, W.V. (2009) Lesion Border Detection in Dermoscopy Images. Computerized Medical Imaging and Graphics, 33, 148-153. https://doi.org/10.1016/j.compmedimag.2008.11.002</mixed-citation></ref><ref id="scirp.98603-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Beuren, A.T., Janasieivicz, R., Grando, N. and Facon, J. (2012) Skin Melanoma Segmentation by Morphological Approach. In: Proceedings of the International Conference on Advances in Computing, Communications and Informatics, ACM, New York. https://doi.org/10.1145/2345396.2345553</mixed-citation></ref><ref id="scirp.98603-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H., Moss, R.H., Chen, X., Stanley, R.J., Stoecker, W.V., Celebi, M.E., Malters, J.M., Grichnik, J.M., Marghoob, A.A., Rabinovitz, H.S., Menzies, S. and Szalapski, T.M. (2011) Modified Watershed Technique and Post-Processing for Segmentation of Skin Lesions in Dermoscopy Images. Computerized Medical Imaging and Graphics, 35, 116-120. https://doi.org/10.1016/j.compmedimag.2010.09.006</mixed-citation></ref><ref id="scirp.98603-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Zhou, H., Schaefer, G., Emre Celebi, M., Lin, F. and Liu, T. (2011) Gradient Vector Flow with Mean Shift for Skin Lesion Segmentation. Computerized Medical Imaging and Graphics, 35, 121-127. https://doi.org/10.1016/j.compmedimag.2010.08.002</mixed-citation></ref><ref id="scirp.98603-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Ren, T.B., Wang, H.H., Feng, H.L., Xu, C.S., Liu, G.S. and Ding, P. (2019) Study on the Improved Fuzzy Clustering Algorithm and Its Application in Brain Image Segmentation. Applied Soft Computing, 81, Article No. 105503. 
https://doi.org/10.1016/j.asoc.2019.105503</mixed-citation></ref><ref id="scirp.98603-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Silveira, M., Nascimento, J.C., Marques, J.S., Maral, A.R.S., Mendona, T., Yamauchi, S., Maeda, J. and Rozeira, J. (2009) Comparison of Segmentation Methods for Melanoma Diagnosis in Dermoscopy Images. IEEE Journal of Selected Topics in Signal Processing, 3, 35-45. https://doi.org/10.1109/JSTSP.2008.2011119</mixed-citation></ref><ref id="scirp.98603-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Yuan, X., Situ, N. and Zouridakis, G. (2008) Automatic Segmentation of Skin Lesion Images Using Evolution Strategies. Biomedical Signal Processing and Control, 3, 220-228. https://doi.org/10.1016/j.bspc.2008.02.003</mixed-citation></ref><ref id="scirp.98603-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, L., Ouyang, H.L. and Fan, C.D. (2019) An Improved Otsu Method for Threshold Segmentation Based on Set Mapping and Trapezoid Region Intercept Histogram. Optik, 196, Article No. 163106.  
https://doi.org/10.1016/j.ijleo.2019.163106</mixed-citation></ref><ref id="scirp.98603-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Ganster, H., Pinz, P., Rohrer, R., Wildling, E., Binder, M. and Kittler, H. (2001) Automated Melanoma Recognition. IEEE Transactions on Medical Imaging, 20, 233-239. https://doi.org/10.1109/42.918473</mixed-citation></ref></ref-list></back></article>