{"id":1315,"date":"2015-06-18T06:26:56","date_gmt":"2015-06-18T06:26:56","guid":{"rendered":"http:\/\/biomedpharmajournal.org\/?p=1315"},"modified":"2020-04-25T02:54:45","modified_gmt":"2020-04-25T02:54:45","slug":"euclidean-distance-transform-edt-algorithm-applied-to-binary-image-for-finding-breast-cancer","status":"publish","type":"post","link":"https:\/\/biomedpharmajournal.org\/staging\/vol8no1\/euclidean-distance-transform-edt-algorithm-applied-to-binary-image-for-finding-breast-cancer\/","title":{"rendered":"Euclidean Distance Transform (EDT) Algorithm Applied to Binary Image for Finding Breast Cancer"},"content":{"rendered":"<p><strong>Introduction<\/strong><\/p>\n<p>Breast cancer continues to be a signi\ufb01cant public health problem in the world and it is common cancer in women [1]. Early detection of breast cancer is the key for improving breast cancer prognosis. Currently the most effective method employed for Early Detection and Screening of Breast Cancers is Mammography [2]. However, it is difficult for radiologists to provide both accurate and uniform evaluation for the enormous Mammograms generated in widespread screening. The estimated sensitivity of radiologists in Breast Cancer screening is only about 75%, but the performance would be improved if they were prompted with the possible locations of abnormalities.<\/p>\n<p>A Mammogram is basically distinct with four levels of the intensities: background, fat tissue, breast parenchyma and calci\ufb01cations with increasing intensity. Masses develop from the epithelial and connective tissues of breasts and their densities on Mammograms blend with parenchyma patterns. Several studies have revealed a positive association of tissue type with Breast Cancer risks [3, 4 and 5]. Women who have breast cancers can easily get contra lateral cancers in the other side breast [6 and 7]. The traditional method for histological confirmation involves open surgery biopsy in which the breast is open and the tumor lump is fully taken out. Some women with Breast Cancer are treated with modified radical mastectomy which consist of surgical removal of a Breast Module [8]. In Both cases the surgeon does not have a real time indication or delineating the cancer cells.<\/p>\n<p>There are many different proposed systems for finding of cancer cells area in Mammogram Image. The Majority of proposed cancer detection techniques in literature share the common steps to image enhancement, segmentation and quantification [9]. These techniques lie in the difficulty of analyzing the breast region, which appears different intensity level in the Mammogram Image. In the Methodology we describe about the Triangulation of making the image highly visible from the invisible background pixel and also we describe the distance calculation through Euclidean Distance transformation Algorithm.<\/p>\n<p><strong>Triangulation (Image Acquision)<\/strong><\/p>\n<p>In the preprocessing steps X ray film Mammogram (Gray scale) is converted in to Digital Mammogram Image .The exact pixel value depends on the range of optical densities that the scanner is capable of finding the density difference of a pixel. Delaunay triangulation is rotation and translation invariant because it consists of the direction and location only relative to its some neighboring pixel [10].Delaunay triangulation has important characteristics<\/p>\n<ol>\n<li>The Delaunay Triangulation of a non degenerate set of points is unique.<\/li>\n<li>A circle through the three points of a Delaunay triangle contains no other points.<\/li>\n<li>If the circle is unique it is called circum circle of pixel.<\/li>\n<\/ol>\n<p><strong>Algorithm Steps<\/strong><\/p>\n<ol>\n<li>Take the input image as Thinned Binary image.<\/li>\n<li>Given a set S of pixels p<sub>1<\/sub>,p<sub>2<\/sub>\u2026.p<sub>N<\/sub>.We can compute the Delaunay Triangulation by Voronoi diagram.<\/li>\n<li>The voronoi diagram decomposes the image in to number or regions around each pixel .Such that the entire pixel in the region around p<sub>i <\/sub>closes to p<sub>j<\/sub> than they are to any points in S.<\/li>\n<li>Let P be a circle free set .three points p, q and r of P define a Delaunay triangle if there is no further point of P in the interior of the circle which is circumscribed to the triangle p, q, r and its centre lies on a voronoi vertex.<\/li>\n<li>If any triangle has interior point the triangle replaced by new triangle.<\/li>\n<li>Every time ensure that Triangulation is unique. This algorithm works by growing a current triangulation triangle by triangle.<\/li>\n<\/ol>\n<p>In each iteration, the algorithm seeks a new triangle which attaches to the boundary of current triangulation.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1316\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig1-150x150.jpg\" alt=\"Figure1.Input Thinned Binarized Image\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig1-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig1-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig1.jpg 280w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 1: Input Thinned Binarized Image<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig1.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1317\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig2-150x150.jpg\" alt=\"Figure 2.Output Image after Triangulation\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig2-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig2-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig2.jpg 287w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 2: Output Image after Triangulation<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig2.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>The contrast Improvement by triangulation based on local information .So that weak regions of the image are enhanced more than strong regions. This method is beneficial to experts when manually defining the edges for diagnosing purposes. Next section we are going to discuss about the Euclidean Distance calculation between foreground and background of an image.<\/p>\n<p><strong>Euclidean Distance Transform<\/strong><\/p>\n<p>The Method to convert a digital binary image that consist of object (foreground ) and non object (background) pixel in to another image in which each object pixel has a value corresponding to the minimum distance from the background by a distance function is Distance Transformation. By simply exchanging the roles of Object and Background.<\/p>\n<p>Distance transformation can be applied on the outside pixels of a closed boundary. Among different kinds of distance transformation the Euclidean Distance Transform [EDT] is often used because of its rotation invariance property [11]. But it involves the time consuming calculation such as square, square root and the minimum over a set of floating point numbers. To overcome these difficulties in finding of distance through Distance transformation between pixels we are going to use two scan recursive algorithms by using 3*3 neighborhoods and has analyzed. This algorithm only requires two image scans that are forward and backward rater scans in a Binary image.<\/p>\n<p><strong>Characteristic<\/strong><\/p>\n<p>The 8 neighbors of pixel p be denoted by\u00a0 q1,q2\u2026\u2026q8.thus N<sub>1<\/sub>(p) ={q<sub>1<\/sub>,q<sub>2<\/sub>,q<sub>3<\/sub>,q<sub>5<\/sub>} and N<sub>2<\/sub>(p)={q<sub>5<\/sub>,q<sub>6<\/sub>,q<sub>7<\/sub>,q<sub>8<\/sub>}.<\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"114\">q<sub>2<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"114\">q<sub>3<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"114\">q<sub>4<\/sub><\/td>\n<\/tr>\n<tr>\n<td width=\"114\">q<sub>1<\/sub><\/td>\n<td width=\"114\">p<\/td>\n<td width=\"114\">q<sub>5<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"114\">q<sub>8<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"114\">q<sub>7<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"114\">q<sub>6<\/sub><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>f: A Thinned Binarized Image.<\/p>\n<p>F: The set of Object pixels.<\/p>\n<p>F<sub>o <\/sub>: The set of Background boundary pixels.<\/p>\n<p>o: The set of background boundary pixels<\/p>\n<p>Q: The set of Foreground pixels which already have minimum squared Euclidean Distance through a Triangulation algorithm.<\/p>\n<p>H (p, q): The Difference of the Squared Euclidean Distance of p and q (op<sup>2<\/sup>-oq<sup>2<\/sup>). q\u0404N<sub>1<\/sub>UN<sub>2 .<\/sub><\/p>\n<p>G (p, q): The difference of the relative coordinates of p and q.<\/p>\n<p>R (p) the relative coordinate. R<sub>x<\/sub>, R<sub>y<\/sub> of pixel p, which records the horizontal and vertical background pixel distance between p and closet background pixel. It is initialized as all (0, 0).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1318\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_F1.jpg\" alt=\"formula1\" width=\"728\" height=\"222\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_F1-300x91.jpg 300w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_F1.jpg 728w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Algorithm<\/p>\n<p>Forward<\/p>\n<ol>\n<li>Pixel belongs to the Binary image p\u0404F<\/li>\n<li>Pixel value of Binary image may be infinite. f(p)=\u221e<\/li>\n<li>Select 3*3 neighboring pixel<\/li>\n<li>If q\u0404N<sub>1 , <\/sub>q ={q<sub>1<\/sub>,q<sub>2<\/sub>,q<sub>3<\/sub>,q<sub>4<\/sub>}<\/li>\n<\/ol>\n<p>4.a. f(p)=min(f(p),f(q)+H(p,q))<\/p>\n<p>b. R (p) =R (q) +G (p, q)<\/p>\n<p>If q\u0404N<sub>2<\/sub>, q= {q<sub>5<\/sub>, q<sub>6<\/sub>, q<sub>7<\/sub>, q<sub>8<\/sub>}<\/p>\n<p>a. f(p)=min(f(p),f(q)+H(p,q))<\/p>\n<p>b. R<sub>&#8211;<\/sub> (p) =R (q) +G (p, q).<\/p>\n<p>E (p) = \u221af (p).<\/p>\n<p>Case 1: The smallest squared Euclidean distance obtained from q<sub>1.<\/sub><\/p>\n<p>When q<sub>1<\/sub>\u0404Q and o \u0404 O<\/p>\n<p>o (0,0)<\/p>\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td width=\"124\"><\/td>\n<td width=\"102\"><\/td>\n<td width=\"117\"><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"124\">q<sub>1<\/sub>(R<sub>x-<\/sub>1<sub>,<\/sub>R<sub>y<\/sub>)<\/td>\n<td style=\"text-align: center;\" width=\"102\">P(R<sub>x<\/sub>,R<sub>y<\/sub>)<\/td>\n<td style=\"text-align: center;\" width=\"117\">q<sub>5<\/sub><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"124\">q<sub>8<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"102\">q<sub>7<\/sub><\/td>\n<td style=\"text-align: center;\" width=\"117\">q<sub>6<\/sub><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Using above conditions R (q<sub>1<\/sub>) = ((R<sub>x<\/sub>-1), R<sub>y<\/sub>).Squared Euclidean Distance at q1 is oq<sup>2<\/sup>= (R<sub>x<\/sub>-1)<sup>2<\/sup>+ R<sub>y<\/sub><sup>2 .<\/sup>Squared Euclidean Distance at p will be op2= R<sub>x<\/sub><sup>2<\/sup><sub>+<\/sub>R<sub>y<\/sub><sup>2<\/sup> .Since p is located on the one pixel away from q<sub>1<\/sub>.<\/p>\n<p>The difference of the SED of p and q<sub>1<\/sub> according to equation (1) is<\/p>\n<p>H (p, q1) = (op<sup>2<\/sup>-oq<sup>2<\/sup>)<\/p>\n<p>= 2(R<sub>x<\/sub>-1) + 1<\/p>\n<p>This satisfies the first condition of H (p, q<sub>1<\/sub>).<\/p>\n<p>So R<sub>x <\/sub>(q<sub>1<\/sub>) = R<sub>x<\/sub>-1 and G (p, q<sub>1<\/sub>) = (1, 0)<\/p>\n<p>R (p) = R (q<sub>1<\/sub>) + G (p, q<sub>1<\/sub>)<\/p>\n<p>R (p) = (R (q<sub>1<\/sub>) +1, R<sub>y<\/sub> (q<sub>1<\/sub>))<\/p>\n<p>Above producer can be repeated for finding the Smallest Euclidean Distance is obtained from q<sub>2<\/sub>, q<sub>3<\/sub>, q<sub>4.<\/sub><\/p>\n<p>Same way nearest background pixel located on the right top side also taken care for forward scan and relative coordinate R (p) was calculated.<\/p>\n<p>The Smallest Euclidean Distance of p can also be obtained by another four neighborhoods q<sub>5<\/sub>, q<sub>6<\/sub>, q<sub>7<\/sub> and q<sub>8<\/sub> by reverse scan and R (p) was calculated.<\/p>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-1319\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig3-150x150.jpg\" alt=\"Figure 3. Final Output Image with Cancer\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig3-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig3-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig3.jpg 296w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 3: Final Output Image with Cancer<\/strong><\/p>\n<p><a href=\"http:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2015\/11\/Vol8_No1_Eucl_Anga_fig3.jpg\" target=\"_blank\">Click here to View figure<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Conclusions<\/strong><\/p>\n<p>A distance transformation converts the Binary image in to Distance image. Euclidean Distance is consequently a candidate because representing images as points in a high dimensional Euclidean space, so called image space, and is a common point of most recognition algorithms. Although there is infinitely much Euclidean distance for images, they often provide counter intuitive results. Thus two scan algorithm using neighborhood Euclidean Distance Transformation algorithm use only a small image neighborhood and work with in the image itself do not need any memory. In our work we have used 3*3 neighborhoods Euclidean Distance Transformation. It is optimized and analyzed. We have implemented a set of reliable technique for Mammogram image extraction. Each pixel value is changed as a distance value shows the Mammogram Image with high level features to find the cancer cell area. Our system has potential of improving doctor\u2019s diagnostic performance.<\/p>\n<p><strong>References<\/strong><\/p>\n<ol>\n<li>M. Kaczmar, N.K.P. Orzechowski, P. Iwaszko, M. Baranczyk and K.Orzechowski. Localization of Cancerous changes in Images Breast Tissue. <em>Proceedings of the International multiconference on Computer Science and Information Technology<\/em>. Vol 4, pp. 413-419, 2009.<\/li>\n<li>H.D.Cheng, X.P. Cai, X.W. Chen, L.M. Hu and X. Lou. Computer-aided detection and classification of microcalcifications in mammograms: a survey. <em>Pattern Recognition<\/em>. Vol 36, pp.2967-2991, 2003.<\/li>\n<li>K. Bovis, S. Singh, J. Fieldsend, C. Pinder, Identi\ufb01cation of masses in digital mammograms with MLP and RBF nets. In:<em> Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks Comunications.<\/em> 342\u2013347, 2000.<\/li>\n<li>R.L. Egan and R.C. Mosteller. Breast Cancer Mammography Patterns. <em>Cancer<\/em> 40. pp. 2087-2090, 1977<\/li>\n<li>J.N. Wolfe. Breast patterns as an index of risk for developing Breast Cancer. <em>American Journal of Roentgenology<\/em>. Vol 126, pp.1130-1139, 1976.<\/li>\n<li>H.H. Storm and O.M. Jensen. Risk of contra lateral breast cancer in Denmark 1943-80. <em>British Journal of Cance<\/em>r. Vol.54, pp.483-492, 1986.<\/li>\n<li>G.F. Robbins and J.W. Berg. Bilateral primary breast cancers, A Prospective Clinico Pathology. <em>Study Cancer<\/em>. Vol 17, pp 1501\u20131527, 1964.<\/li>\n<li>P. Lecoq and J. Varela. Clear-PEM, A dedicated PET camera for Mammography. <em>Journal of Nuclear Instruments and Methods in Physics Research Section A. <\/em>Vol.486, pp.1\u20136, 2002.<\/li>\n<li>Gonzalez, R. C. and Woods, R. E. <em>Digital Image Processing<\/em>, <em>3rd ed<\/em>., Prentice Hall, Upper Saddle River, NJ, 2008.<\/li>\n<li>G. Bebis, T. Deaconu and M. Georgiopoulos. Fingerprint identification using Delaunay triangulation. <em>IEEE International Conference on Information Intelligence and Systems Proceedings<\/em>. pp.452-459, 1999.<\/li>\n<li>H.D.Cheng, X.J.Shi, R.Min, L.M.Hu, X.P.Cai and H.N.Du. Approaches for automated detection and classification of massas in mammograms.<em> Pattern Recognition<\/em>. Vol 39, pp.646-668, 2006.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Breast cancer continues to be a signi\ufb01cant public health  [&#8230;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1315","post","type-post","status-publish","format-standard","hentry","category-vol8no1"],"_links":{"self":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/comments?post=1315"}],"version-history":[{"count":4,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1315\/revisions"}],"predecessor-version":[{"id":32830,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/1315\/revisions\/32830"}],"wp:attachment":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/media?parent=1315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/categories?post=1315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/tags?post=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}