Segmentation of Brain Tumor in MRI using Multi-structural Element Morphological Edge Detection

DOI : 10.17577/IJERTV3IS030464

Download Full-Text PDF Cite this Publication

Text Only Version

Segmentation of Brain Tumor in MRI using Multi-structural Element Morphological Edge Detection

Aysha Bava M. Sifna N. Shajahan

M.Tech Student Assistant Professor(Guide)

Dept. of Electronics& Communication Engineering Dept. of Electronics& Communication Engineering MES College Of Engineering MES College Of Engineering

Kuttipuram, Kerala, India Kuttipuram, Kerala, India

Abstract – MRI brain images are widely used in medical applications for research, diagnosis,treatment, surgical planning and image guided surgeries. MRI-based medical image analyses for brain tumor studies areessential for efficient and objective evaluation of large amounts of data. MR brain images corrupted with Intensity Inhomogeneity artifact causes unwanted intensity variations due to non- uniformity in RF coils and noises.Due to this type of artifact and noises, certain type of abnormal tissue in MRI may be misclassified as other type of normal tissue which leads to error in analysis. Using the segmentationmethods and morphological algorithm,this problem can be solved.

In this paper, a new method is proposed which segments the brain tumortissues from MR images with noise and Intensity Inhomogeneity artifact.Here, preprocessing, enhancing, filtering and skull stripping done to remove noise and the skull region.Then themulti-structural element morphological algorithm is used to segment the tumor tissues.

Index Terms Brain Tumor, Filtering, MRI, Multi- structuralelementMorphological Edge Detection,Segmentation.

  1. INTRODUCTION

    1. Segmentation

      Segmentation is a process in which image is partitioned into its constituentsalient image regions to acquire the regions of interest(ROIs). Being an importanttechnique of image processing, it has a lot of applications in many fields of whichmedical imaging is the one. Medical image segmentation is an important techniquein areas like, help in diagnosis,detection of lesions, tumors, cysts or otherabnormalities,surgical assessment and post-surgical assessment. It has long been used fortumor recognition as well as for determining tumor boundaries. These techniques are mostly used in medical field for detecting diseases in human bodystructures such as nerves damage, blood vessels extraction and tumor detection.[1].

      If domain of the image = ,segmentation problem is to determine the sets ,whose union is the entire image .

      Segmentation methods vary depending on the application,imaging modality, noise, partial volumeeffects, and the motion. Better performance can be achieved by considering the priorknowledge. Selection of an appropriate approach to a segmentation problem is thedifficult dilemma in segmenting an object. The main applications of segmentationsare:

      • To detect the tumor region by segmenting abnormal MRI image.

      • Used in computer algorithms for delineation of anatomical structures and other regions of interest.

      • Image segmentation algorithms are used in biomedical imaging applicationssuch as localization of pathology,study of anatomical structure,treatment planning,partial volume correction of functional imaging and computer integrated surgery.

    2. Brain tumors

      Brain tumor is defined as an abnormal growth of cells within the brain orthe central spinal canal. Some tumors are brain cancers. The word tumor is ofLatin origin and means swelling. It causes inflammation, brain swelling and pressurewithin the skull.[2]

      Brain tumors include all tumors inside the human skull (cranium) or in thecentral spinal canal created by an abnormal and uncontrolled cell division, in the brain itself. Some growtharises from other tissues inside the skull, such as pituitary tumors which iscommonly known as Primary brain tumors,which arise within the skull. Anothergroup consists of tumors that spread to the head from another source, such as lung orbreast cancer known as Secondary brain tumors (or metastatic tumors).[3]

      Brain tumors can be classified according to their origin or degree of aggressiveness.Different types of tumors are shown in Figure 1.1 and their appearances in brain areshown in Figure 1.2. [5]

      =

      =1

      (1.1)

      Figure1.1: Different types of tumors in brain

      Figure 1.2: Appearance of brain tumors

    3. Magnetic Resonance Imaging

      Magnetic Resonance Imaging (MRI),or nuclear magnetic resonance imaging (NMRI),or magnetic resonance tomography (MRT) are medical imaging techniques used inradiology which uses the magnetic field and pulses of radio waves to visualize internalstructures of the body in detail. MRI makes use of the property of nuclearmagnetic resonance (NMR) to image nuclei of atoms inside the body which gives bettervisualization of soft tissues of human body thereby helps in easy diagnosis anddoes not affect human body as no radiation is used. It aids segmentation becauseof high contrast between different tissues. Different components in object are highlightedby carefully choosing relaxation timings and RF pulses[4]. MRI scanner is a device used to scan the brain images, in which the patient lies within a large, powerfulmagnet where the magnetic field is used to align the magnetization of some atomicnuclei in the body, and radio frequency fields to systematically alter the alignmentof this magnetization. [1]

      Different image views and types of MRI are shown in Figure 1.3 and Figure 1.4.[6]

      Figure 1.3: Different image views of MRI

      Figure 1.4: Different image types of MRI

      MRI is of mainly 2 types:

      • T1-weighted MRI Spin-lattice relaxation time

      • T2-weighted MRI Spin-spin relaxation time orT*2- weighted MRI (ContrastEnhance)

        One advantage of an MRI scan is that it is harmless to the patient. It uses strongmagnetic fields and nonionizing electromagnetic fields in the radio frequency range,unlike CT scans and traditional X-rays, which both use ionizing radiation. While CTprovides good spatial resolution (the ability to distinguish two separate structures anarbitrarily small distance from each other), MRI provides comparable resolution withfar better contrast resolution (the ability to distinguish the differences between twoarbitrarily similar but not identical tissues).[5]

        In this paper, the segmentation of brain tumor in MRI images is discussed. First the pre-processing, enhancing, filtering and skull stripping is done for removal of noise, image enhancement and removal of skull regions. Then the morphological algorithm is used to segment tumor tissues. Rest of the paper is organized as follows. Relatedworks and the problems existing in previous methodswere given in Section 2. Multi structural element morphological edge algorithm is been explained in Section 3. The implementation of the method is discussed in Section 4. Section 5, demonstrates the results whenapplied to a suitable example. The conclusion is given in Section 6.

  2. RELATED WORKS

    Several approaches have been used for MRimages in order to segment tissues in human brain.M. Masroor Ahmed & et.al (2008) [7] explained about the automatic brain tumorsegmentation for the extraction of tumor tissues from MR images. This method explained about the process of removal of the skull region known as skull stripping in order to avoid the chances of misclassification. Skull tissueswere removed in the preprocessing step by morphological functions such as erosionand dilation. Partial Differential Equation was used for image denoising and enhancement.K means algorithm was used for solving clustering problem which ims at minimizing an objective function (a squared error function). Finally, by applying certain postprocessing operations, the tumorous region can be extracted.Even though this model provided reliable results with less error sensitive andsimple output, tumor extracted from noisy image marked portions of normal tissues,results obtained from enhanced image and the clean image were similar.

    Prof. J. Mehena (2011) [8] proposed a novel mathematical morphologicalalgorithm to detect medical MRI image edge. The morphological edge detectionalgorithm was compared with a variety of existing operators such as Sobel algorithm,Prewitt algorithm, etc. for edge detection. Edge detection, is an essential preprocessingstep in medical image segmentation which is not fit for noise medicalimage edge detection, since noise and edge belongs to high frequency. Prewitt operatoris the oldest and best understood method of edge detection which consistsof two masks, one for detecting image derivatives in X and the other for detectingimage derivative in Y in which convolves an image with both masks, producingtwo derivative images( & ). Sobel operator is based on convolving the imagewith a small, separable, and integer valued filter in horizontal and vertical directions.Roberts method is also the oldest method, which is used frequently in hardware implementations(simplicity and speed -dominant factors).

    The basic mathematical morphological operators are erosion, dilation, openand close. Edge of an image is calculated in two ways. One is the difference set ofthe dilation domain of the image and the domain of image itself and the other wayof calculation is the difference set domain of the image and erosion domain of image.Morphological gradient is then computed by finding the difference between theedges thus calculated. Using the opening and closing operation, the morphologicaledge is been found out. The results showed that the algorithm is more efficient formedical image denoising and edge detection than the usually used edge detectionalgorithms such as Sobel, Prewitt, Robert and canny edge detector, and general morphologicaledge detection algorithm such as morphological gradient operation. Butthe computation is more complex compared to general morphological edge.

    The Existing methods are Partial derivatives, Wavelet based denoising, thresholdingand K means clustering methods for segmentation.The drawbacks of these methods are:

      • PDE-Loss of edge details

      • Wavelet denoising-failure to detect edge details at curved region.

      • K means – It is not suitable for all lighting condition of images.

      • Difficult to measure the cluster quality

  3. MULTI STRUCTURAL ELEMENT MORPHOLOGICAL EDGEALGORITHM

    Mathematical morphology is a new mathematical theory and a powerful toolfor dealing with various problems in image processing and computer vision to processand analyze the images. It is been composed by a series of basic morphologicalalgebraic arithmetic operators, namely erosion, dilation, opening, closing etc. and areused for detecting, modifying, manipulating the features present in the image basedon their shapes.

    Morphological techniques probe an image with a small shape or template calleda Structuring Element (SE). The SE is

    positioned at all possible locationsin the image and it is compared with the corresponding neighborhood of pixels.Some operations test whether the element fits within the neighborhood, while otherstest whether it hits or intersects the neighborhood. A morphological operationon a binary image creates a new binary image in which the pixel has a non-zero valueonly if the test is successful at that location in the input image.

    The shape and the size of SE play crucial roles in such type of processing .Thusthe choosing of structure element (SE) decides the performance of morphologicaloperation. Generally, simple and symmetrical shape structure elements such as crisscross,diamond and disk are adopted but they are sensitive to image edge which hasthe same direction of structure elements, and are not so effective to the edge whichhas the direction other than the structure elements. Therefore, they are difficult todetect complex edge feature. Here, multi-structure elements morphology of eightdifferent directions is proposed which comprises almost all the directions of linesextendin the image. By using multi- structural element morphological gradient edge detector respectively, 8different edge detection results areformed and the final edge result is produced byusing synthetic weighted method.

    In the two-dimensional Euclidean space,2 , Let (, ) denote a gray-scale2 image, denote SE. Dilation of a gray- scale image (, ) by a gray-scale SE(, ) is denoted by

    , = { , + , (3.1) Erosion of a gray-scale image (, ) by a gray-scale SE

    (, ) is denoted by

    , = { + , + , } (3.2) Opening and closing of gray-scale image (, ) by gray-

    scale SE (, ) are denotedrespectively by

    = , (3.3)

    = (3.4)

    Erosion is a transformation of shrinking, which decreases the gray-scale value ofthe image, while dilation is a transformation of expanding, which increases the grayscalevalue of the image. Erosion filters the inner image while dilation filters the outerimage. Opening is erosion followed by dilation and closing is dilation followed byerosion. Opening generally smoothens the contour of an image, breaks narrow gaps.As opposed to opening, closing tends to fuse narrow breaks, eliminates small holes,and fills gaps in the contours. Therefore, morphological operation is used to detectimage edge, and at the same time, denoise the image.

    The edge of image , which is denoted by () , is defined as the differenceset of the dilation domain of and the domain of . This is also known as dilationresidue edge detector:

    = ) (3.5)

    Accordingly, the edge of image , which is denoted by () , can also be definedas the difference set of the domain of and the erosion domain of . This is alsoknown as erosion residue edge detector:

    = (3.6)

    The dilation and erosion often are used to compute the morphological gradient ofimage , denoted by ():

    = (3.7)

    The morphological gradient highlights sharp gray-level transition in theinput image,and therefore, it is often used as edge detector. The basic theory of multi-structureelements morphology is to construct different structure elements in the same squarewindow.Let , , is a digital image, and , is its center, then structureelements in

    (2 + 1) × (2 + 1) square window can be denoted by:

    = {( + 0, + 0), = × | 0, 0 }

    (3.8)

    Where, = 0, 1,.,4N 1, = 1800 /4 and is the direction angle of SE. In thispaper, we choose N = 2, then in the 5 × 5square window, the direction angles ofall structure elements are 00 , 22.50 , 450 , 67.50 , 900 , 112.50 ,

    1350 157.50 . Thestructure elements can be got by decomposing 5 × 5square SE as shown inFigure3.1.

    Figure 3.1:5 × 5 square structure element

    Therefore, and satisfy:

    1 2 3 4 5 6 7 8 = (3.9)

  4. IMPLEMENTATION OF THE PROPOSED METHOD The Proposed method for the segmentation of tumor from

    MRI brain structures and its analysis based on multi structural

      • Multi structural element selection

      • Morphological Edge detection algorithm

      • Tumor tissue segmentation

    A. Image acquisition and preprocessing

    Image preprocessing includes the image acquisition, denoising and skull stripping.The input image is an MRI image of DICOM format. For the smoothingpurpose, the Gaussianfilter is been used to remove high-frequency components fromthe image. Skull stripping is a major phase in brain imaging applications and it refrsto the removal of skull. Normally, mathematical morphology operations (i.e. erosion and dilation) areapplied to the binary image to remove the non-cerebral tissue. The operation convolvesthe binary image with a disk shape structuring element to produce the skullstrippedimage. In most cases, because of the oval-shape of brain image ,disk-shape structuring element is used. Both erosion and dilation uses same structuring elementwith

    different size. [9]

    Another method for skull stripping is by subtracting two imagesor subtracts a constant from the input image. If X and Y are two arrays from theircorresponding elements, then there occurs the subtraction of each element in arrayY from the corresponding element in array X and returns the difference in the correspondingelement of the output array, Z. X and Y are real, non-sparse, numeric orlogical arrays of the same size and class, or Y is a double scalar. The output array, Z,has the same size and class as X unless X is logical, in which case Z is double. Thus aSkull Stripped Image is been produced. It is then further filtered to get a better result.[10]

      1. ultistructuralelement Morphological Edge Detection Algorithm

        The steps for the Multi-structure elements morphological edge detection algorithmare:

        1. Construct structure elements of different directions according to the Equation 3.9 given in section 3.

        2. Use the structure elements got in step 1 respectively to detect the edges () of original image by morphological gradient edge detector.

          =1

        3. According to every detected edge ()in step 2,use synthetic weighted methodto calculate final detected

          element morphological edge detection algorithm is beenexplained as follows.

          edge by:

          =

          (4.1)

          Figure4.1: Methodology

          The various steps involved in the implementation of this method are.

          • Image acquisition

          • Image preprocessing

          • Skull stripping

          • Morphological operations

            where () is the final detected edge of original image, is the number ofstructure elements and is the weight of different detected edge information. = where = 00 , 22.50 , 450 ,

            180

            67.50 , 900, 112.50 , 1350 , 157.50 [11].

        4. The resulted output shows the segmented image.

  5. RESULT OF MULTISTRUCTURAL ELEMENT MORPHOLOGICAL EDGE DETECTION

    The result after the segmentation of brain image using morphological edge detectionalgorithm for different brain MRI images are shown in Figure 5.1.

    Figure 5.1: Observed Results

    Advantages of this method are:

    • It is suitable for low contrast image

    • It gives better result for overlapped data

    • High performance accuracy and cluster efficiency

  6. CONCLUSION

A new method,morphological based edge detectionalgorithm using multi structural element is been implemented to segment the tumorous brain tissue. MATLAB 7.9was used for the simulation work. The input images were acquired from the dataset BRAIN WEB. Also,the skull stripping process has doneusing the subtraction of an array in the image using a constant.Better simulation results were found for this methodcompared to the other morphological operators such as Sobel, Prewitt, Robert and canny edge detector, and general morphologicaledge detection algorithm such as morphological gradient operation.

REFERENCES

  1. Neelum Noreen, Khizar Hayat and Sajjad A. Madani,MRI Segmentationthrough Wavelets and Fuzzy C-Means , World Applied Sciences Journal 13 (Special Issue of Applied Math): 34-39, 2011,ISSN 1818-4952© IDOSI Publications, 2011

  2. en.wikipedia.org/wiki/Brain tumor

  3. Stefan Bauer, Roland Wiest, Lutz-P Nolte and Mauricio Reyes, A surveyofMRI-based medical image analysis for brain tumor studies,Physics In Medicine And Biology58 (2013),IOP Publishing

  4. www.dana.org/Publications/GuideDetails.aspx?id=50003

  5. Rachana Rana, H.S. Bhadauria, Annapurna Singh, Study of Various Methodsfor Brain Tumour Segmentation from MRI Images,International Journal of Emerging Technology and Advanced Engineering (ISSN 2250-2459, Volume 3, Issue 6, June 2013)

  6. Classification-based Glioma Diffusion Modeling-Marianne Morris

  7. M. Masroor Ahmed & Dzulkifli Bin Mohammad, Segmentation of BrainMR Images for Tumor Extraction by Combining Kmeans Clustering andPerona-Malik Anisotropic Diffusion Model,International Journal of ImageProcessing, Volume (2) :

    Issue(1) 2008

  8. Prof. J.Mehena, Medical Images Edge Detection Based on MathematicalMorphology, International Journal of Computer & Communication Technology(IJCCT), Volume-2, Issue-VI, 2011

  9. en.wikipedia.org/wiki/Mathematical morphology

  10. MATLAB 2012a, Version 7.9 ,Product help imsubstract

  11. Yuqian Zhao, Weihua Gui1 and Zhencheng Chen , Edge Detection Based on Multi-Structure Elements Morphology.Proceedings of the 6th WorldCongress on Intelligent Control and Automation, June 21 – 23, 2006

Leave a Reply