edge detection of medical images using markov basisedge detection of medical images 1827 based edge...

9
Applied Mathematical Sciences, Vol. 11, 2017, no. 37, 1825 - 1833 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ams.2017.75160 Edge Detection of Medical Images Using Markov Basis Husein Hadi Abbass Department of Mathematics Faculty of Education for Girls, University of Kufa Najaf, Iraq Zainab Radhi Mousa Department of Mathematics Faculty of Education for Girls, University of Kufa Najaf, Iraq Copyright c 2017 Husein Hadi Abbass and Zainab Radhi Mousa. This article is dis- tributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract Edge detection is an important task in any image processing applica- tion. An edge is a boundary between two disjoint regions. To recognize any unusual objects or growths automatically in medical images, proper edge detection is a crucial step for efficient medical image . Medical im- ages edge detection is an important work for object recognition of the human organs . Edge is detected according to trad methods, but they are not so good for noise medical image edge detection. In this paper, a proposed filter is used to detect the edge of the medical image has been the application of the proposed filter on the actual pictures or fact to find the edge of a high-resolution and this filter has been created by Markov Basis and Laplace filter. It has been observed that the proposed edge detection method performs better than Sobel, Prewitt, Rroberts and Cannys edge detection algorithms. Mathematics Subject Classification: 68U10, 65Y04

Upload: others

Post on 18-Mar-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

Applied Mathematical Sciences, Vol. 11, 2017, no. 37, 1825 - 1833HIKARI Ltd, www.m-hikari.com

https://doi.org/10.12988/ams.2017.75160

Edge Detection of Medical Images

Using Markov Basis

Husein Hadi Abbass

Department of MathematicsFaculty of Education for Girls, University of Kufa

Najaf, Iraq

Zainab Radhi Mousa

Department of MathematicsFaculty of Education for Girls, University of Kufa

Najaf, Iraq

Copyright c© 2017 Husein Hadi Abbass and Zainab Radhi Mousa. This article is dis-

tributed under the Creative Commons Attribution License, which permits unrestricted use,

distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract

Edge detection is an important task in any image processing applica-tion. An edge is a boundary between two disjoint regions. To recognizeany unusual objects or growths automatically in medical images, properedge detection is a crucial step for efficient medical image . Medical im-ages edge detection is an important work for object recognition of thehuman organs . Edge is detected according to trad methods, but theyare not so good for noise medical image edge detection. In this paper,a proposed filter is used to detect the edge of the medical image hasbeen the application of the proposed filter on the actual pictures or factto find the edge of a high-resolution and this filter has been created byMarkov Basis and Laplace filter. It has been observed that the proposededge detection method performs better than Sobel, Prewitt, Rrobertsand Cannys edge detection algorithms.

Mathematics Subject Classification: 68U10, 65Y04

Page 2: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

1826 Husein Hadi Abbass and Zainab Radhi Mousa

Keywords: image processing, edge detection, Gaussian, Laplace filter ,Markov basis.

1 Introduction

Medical images edge detection is an important work for object recognition ofthe human organs such as lungs and ribs, and it is an essential pre-processingstep in medical image segmentation .There are many methods for edge detec-tion; they can be divided into two categories: spatial domain detection andtransformational domain detection. Classical edge detection algorithms aremostly based on spatial domain detection, such as Sobel operator, Laplaceoperator, Canny operator and so on . The main functions of these operatorsare high-pass filters. Despite having respective pertinence and characteris-tics, they are generally sensitive to noise because of involving the direction.So it is difficult to detect complex edge. Edge detection methods based ontransformational domain can suppress noise effectively, but such methods in-volve a large amount of calculation, they cant meet real-time requirement inmany places[1]. The work of the edge detection decides the result of the finalprocessed image. Conventionally,edge is detected according to algorithms likeSobel algorithm, Prewitt algorithm and Laplacian of Gaussian operator , butin theory they belong to the high pass filtering, which are not fit for noisemedical image edge detection because noise and edge belong to the scope ofhigh frequency . [2] In this paper a proposed method is used to detect theedges of the medical images and compared with traditional methods .The ap-plication of the proposed methods on the actual pictures or fact to find theedge of a high-resolution .The proposed method based on proposed filter hasbeen created by the Markov basis and Laplace filter.

2 Related Works

• Mahesh Kumar and Sukhwinder Singh , morphological edge de-tectors also have been proposed but they are based on fixed structureelements. Basic mathematical morphological theory and operations areintroduced at first, and then a novel mathematical morphological edgedetection algorithm based on multi shape structure, is proposed to detectthe edge of lungs CT image with salt-and-pepper noise. The experimen-tal results show that the proposed algorithm is more efficient for medicalimage de-noising and edge detection than the usually used template-

Page 3: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

Edge detection of medical images 1827

based edge detection algorithms and general morphological edge detec-tion algorithms [1].

• K. Somasundaram and K. Ezhilarasan , MRI head scans are usedto visualize the internal structure of human head in 3-Dimension. Thebrain segmentation from MRI head scan is a major work in head scananalysis. In the proposed method we make use of 32 fuzzy logic for edgedetection. It is less in computational complexity in searching for edgeswhen compared to Sobel and Canny edge detectors. Application of theproposed method on several MRI scans show that it produces sharp andclear edges that can be used for segmenting brain portions in MRI ofhuman head scans [3].

• Mr. Shital S. Agrawal and Prof. Dr. S. R. Gupta, althoughedge information is the main clue in image segmentation, it cant get abetter result in analysis the content of images without combining otherinformation. The segmentation of brain tissue in the magnetic reso-nance imaging (MRI) is very important for detecting the existence andoutlines of tumors. An algorithm about segmentation based on the sym-metry character of brain MRI image is presented. Our goal is to detectthe position and boundary of tumors automatically. Experiments wereconducted on real pictures, and the results show that the algorithm isflexible and convenient [4].

3 The Markov Basis

In this section, we describle the markov basis as in A. Takemura and S. Aoki(2004).Let n be the number of elements in a finite set I . An element i ∈ I is called acell . It is often multi-index i1...im , A non- negative integer xi ∈ N denotes thefrequency of a cell i , N = {0, 1, 2, 3, ...}.The set of frequencies x = {xi}i ∈ I iscalled acontingency table. A contingency table x = {xi}i ∈ I can be written asn-dimensional column vector of non-negative integers in Nn . Let Z be the setof integers and let aj ∈ Zv, j = 1, ..., v, denote fixed column vectors consistingof integers .The v-dimensional column vector t = (t1, t2, ..., tv)

′ is defined as tj = a′jx ,where ′ denotes the transpose of a vector or a matrix . If A = [a1...av]

′ is v×nmatrix with jth row a′j then t = Ax . The set A−1(t) = {x ∈ Nn : Ax = t}

Page 4: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

1828 Husein Hadi Abbass and Zainab Radhi Mousa

(t-fibers) is the set of contingency tables x is for agivent . is considered forperforming similartests. If ∼ is the relation x1 ∼ x2 if and only if x1 x2 belongsto the kernel of A , ker(A) , this relation is an equivalence relation on Nn andthe set of t-fibers is the set of its equivalence classes .An n-dimensional column vector Z = {zi} ∈ zn is called amove if z ∈ ker(A) ,i.e , AZ = o . A set of finite moves M is called Markov basis if for all t , A−1[t]constitutes one B equivalence class. [6]

In[5] the authors found a Markov basis B for n2−3n3× 3× n

3contingency table

,n is a multiple of 3 .They proved the number of elements in B equals to n2−3n

3. If n = 9 then the

number of elements in B isn2−3n

3= 92−3×9

3= 18 these elements are

Z1 =

1 −1 0−1 1 00 0 0

, Z2 =

0 0 01 −1 0−1 1 0

, Z3 =

1 0 −1−1 0 10 0 0

Z4 =

0 0 01 0 −1−1 0 1

, Z5 =

0 1 −10 −1 10 0 0

, Z6 =

0 1 −10 0 00 −1 1

Z7 =

0 0 00 1 −10 −1 1

, Z8 =

1 −1 00 0 0−1 1 0

, Z9 =

1 0 −10 0 0−1 0 1

Z10 =

−1 1 01 −1 00 0 0

, Z11 =

0 0 0−1 1 01 −1 0

, Z12 =

−1 0 11 0 −10 0 0

Z13 =

0 0 0−1 0 11 0 −1

, Z14 =

0 −1 10 1 −10 0 0

, Z15 =

0 −1 10 0 00 1 −1

Z16 =

0 0 00 −1 10 1 −1

, Z17 =

−1 1 00 0 01 −1 0

, Z18 =

−1 0 10 0 01 0 −1

4 Proposed Method for Edge Detection

For n = 3 we will use some elements of a Markov basis B and Laplace filtersto generate new filter . The following steps illustrate this

Page 5: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

Edge detection of medical images 1829

A. Filter Generation

Step1We use the Markov basis elements Z1, Z4, Z7 , findZ ′1 = Z1 + Z4 + Z7

we obtain the following filter :

Z ′1(x, y) =

1 −1 00 2 −2−1 −1 2

Step2Filters collect Markov included in the step (1) with laplace filters To obtainthe following filter :

Z ′′1 (x, y) = L(x, y) + Z ′1(x, y), Z ′ ∈M

where

L(x, y) =

−2 −3 −2−3 20 −3−2 −3 −2

we get on the filter following :

Z ′′1 (x, y) =

−1 −4 −2−3 22 −5−2 −4 0

Step3We will add one value to the filter center (Z ′′1 ) for filter (Z∗1) :

Z∗1(x, y) = Z ′′1 (x, y) +

0 0 00 1 00 0 0

Then

Z∗1(x, y) =

−1 −4 −2−3 23 −5−2 −4 0

Step4Filters collect included in the step (3) with a special filter (F) To obtain thefollowing filter (Z∗2) :

Z∗2(x, y) = Z∗1(x, y) + F (x, y)

Page 6: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

1830 Husein Hadi Abbass and Zainab Radhi Mousa

Then

Z∗2 =

−27 −5 −26−4 124 −6−27 −4 −24

B. Edge Detection

To detection the edges in an image , we use the following steps :

Step1 :Let f(x, y)be color image with dimension m× n× 3 and gray image with di-mension m× n .Step2The convolution process to new filter 3 × 3 Let an image matrix f(x, y) ofdimension m× n .Step3 :Smoothing image by using Gaussian or median filter .Step4 :We process gray image to get gray image with edge and each layer of colorimage (Red (R), Green (G) and Blue (B) ) as matrix to detect the edge, andlater we recombine them to get color image with edge .Step5 :The input filter Z∗2 which previously created , with dimension 3× 3Step 6 :Combine the three image layers (R1, G1, B1) To reshape the color image .Step 7 :The resulting image is edge detection either color image or gray image.

5 Experimental Result

Comparisons for edge detection techniques are performed to demonstrate thesuperiority of proposed method in edge detection to medical image and fromthis the techniques are Roberts, Sobel, Prewitt edge detector, Kirsch and cannyedge detector and Other from techniques the used to select edge the imagemedical.

Page 7: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

Edge detection of medical images 1831

(a) Original (b) Roberts (c) Sobel

(d) Prewitt (e) Kirsch (f) Robinson

(g) Marr-Hildreth (h) LoG (i) Canny

(j) Fuzzy (k) Laplacian(l) Suggestedmethod

Figure 1: original medical image compared with the traditionaledge detection techniques are Roberts,Sobel,Prewitt,Kirsch,Robinson,Marr-Hildreth,LoG,Canny,Fuzzy,Laplacin and also compared with Suggestedmethod that perform function edge detection for image medical .

Page 8: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

1832 Husein Hadi Abbass and Zainab Radhi Mousa

(a) Original (b) Roberts (c) Sobel

(d) Prewitt (e) Kirsch (f) Robinson

(g) Marr-Hildreth (h) LoG (i) Canny

(j) Fuzzy (k) Laplacian(l) Suggestedmethod

Figure 2: Testing the original color image with of the other edge detectiontechniques and suggsted method.

Page 9: Edge Detection of Medical Images Using Markov BasisEdge detection of medical images 1827 based edge detection algorithms and general morphological edge detec-tion algorithms [1]. K

Edge detection of medical images 1833

6 Conclusion

The proposed method is an improved version to edge detection for medicalimage. The edges generated by proposed method have less false edges. Clas-sification of regions based on local intensity characteristics leads to prominentedges that isolate different anatomical regions as separate objects for furtherconsideration. Presence of noise may hinder the process of edge determination.The most significant achievement of this proposed method is that it is appli-cable to a range of medical imaging. The edge image is devoid of any noisethat is observed in other known methods of edge detection. Experimentationresults showed accuracy high to edge detection to most image.

References

[1] M. Kumar and S . Singh, Edge detection and denoising medical im-age using morphology, International Journal of Engineering Sciences andEmerging Technologies, 2 (2012), no. 2, 66-72.

[2] J. Mehena, Medical Image edge detection based on mathematical mor-phology, International Journal of Computer and Communication Tech-nology, 2 (2011), no. 6, 45-48.

[3] K. Somasundaram and K. Ezhilarasan, Edge detection in MRI of headscans using fuzzy logic, 2012 IEEE International Conference on Ad-vanced Communication Control and Computing Technologies (ICAC-CCT), (2012), 131-135. https://doi.org/10.1109/icaccct.2012.6320756

[4] S.S. Agrawal and S.R. Gupta, Detection of brain tumor using differentedge detection algorithm, International Journal of Emerging Research inManagement and Technology, 2 (2014), no. 2, 85-89.

[5] H. H. Abbass and H. S. Mohammed Hussein, On Toric Ideals for 3(n/3)-Contingency Tables with Fixed Two Dimensional Marginals, n is a mul-tiple of 3, European Journal of Scientific Research, 123 (2014), 83-98.

[6] A. Takemura and S. Aoki, Some Characterizations of Minimal MarkovBasis for Sampling from Discrete Conditional Distributions, Annals ofthe Institute of Statistical Mathematics, 56 (2003), 1-17.https://doi.org/10.1007/bf02530522

Received: May 19, 2017; Published: July 10, 2017