Você está na página 1de 3

SEGMENTATION OF BRAIN PORTION FROM MRI OF HEAD SCANS

USING K-MEANS CLUSTER

1
K.Somasundaram, 2 S. Vijayalakshmi and 3 T.Kalaiselvi
Department of Computer Science and Applications
Gandhigram Rural Institute, Deemed University, Gandhigram–624 302, India
E-mail: 1somasundaramk@yahoo.com; 2lakshmiviji.mca@gmail.com, 3kalaivpd@gmail.com,

Abstract clusters as possible. K-means clustering requires


Segmentation is one of the essential process in the number of clusters to be partitioned and a
image processing. The objective of this paper is distance metric to quantify how close two
to segment human brain area from other non- objects are to each other.
brain area from MRI scans. In this model, brain In image analysis, clustering can be use to find
portion is detected using cluster based technique. groups of pixels with similar gray levels or local
The proposed model has been tested on various textures in order to discover the various regions
images and achieved good segmentation. in the image. A number of clustering techniques
Keywords: Image processing, Segmentation, are available. In our model, k-means clustering
Clustering method, K-means cluster, MRI. algorithm is used to cluster the image pixels.

1. INTRODUCTION K-Means Algorithm


Segmentation of brain portion is magnetic Definition: An algorithm for partitioning (or
resonance images (MRI) of head scans is clustering) N data points into K disjoint subsets
essential for doing various other diagnostic Sj containing Nj data points so as to minimize
study, computer aided surgery etc. There are the sum-of-squares criterion [6] where is a vector
several methods to extract brain portion in MRI. representing the nth data point and is the
[1][2][3]. But all of the them have their own geometric centroid of the data points in . K-
strength and weakness. In this paper we propose means clustering can best be described as a
a simple and automatic method to extract brain partitioning method. The function k-means
portion using k-means clustering algorithm. An partitions the data into K mutually exclusive
MRI scan consists of a stack of 2-Dimensional clusters, and returns a vector of indices
called MRI volume. Each slice represents indicating to which of the k clusters it has
different tissues in the head, like scalp, skull, assigned. K-means uses an iterative algorithm
cerebrospinal fluid (CSF), brain etc. As a result that minimizes the sum of distances from each
the image contains intensities of different levels. object to its cluster centroid, over all clusters.
The pixels with similar intensities can be This algorithm composed of following
grouped. For grouping we make use of K-mean steps with a data set xi, i = 1, 2,… n
clustering algorithm. Experiment some samples Step 1. Initialize the centroids Ci = 0, i = 1,…,k
slices give satisfactory results. The remaining Step 2. Assign each data point to the group that
part of the paper is organized as follows. In has the closest centroid.
section 2, we give an outline of the basic Step 3. When all points have been assigned,
principles used in our scheme. In section 3 we calculate the positions of the k centroids
present our method. In section 4 results and Step 4. Repeat steps 2 and 3 until the centroids
discussions are given. In section 5 the conclusion no longer move. This produces a
is given. separation of the data points into groups
from which the metric to be minimized
2. BASIC PRINCIPLES USED IN THIS can be calculated.
METHOD The Objective function is given by cluster is
A. Cluster found by minimizing the objective function,
Clustering refers to the process of grouping
samples so that the samples are similar within
each group. The groups are called clusters.
Clustering is a way to separate groups of objects.
K-means clustering treats each object as having a where || P(j) – Cj ||2 is a measure if intensity
location in space. It finds partitions such that distance between a data point pi and the cluster
objects within each cluster are as close to each center cj.
other as possible, and as far from objects in other
Finding Non-Brain Region
We can use K-means to cluster pixel intensities
in an image into K clusters. This provides a
simple way to “segment” an image into K
regions similar intensities and more automated
than manual threshold of an image. Run the k-
means algorithm with input vector of intensities
and assign each pixel the “grayscale” of the
cluster it is assigned to. K-means puts pixels into
K groups based on intensity similarities. The
result is a set of regions in an image, where each
region is relatively homogeneous in terms of
pixel intensity. K-means can be used as a simple
technique for region-finding. The brain portion
of the image will set in some cluster numbers.
Those can be fit in last 3 to 5 cluster numbers.
We can merge the last few regions and eliminate
those part consist of skull and cerebrospinal
fluid.

Quantitative Analysis on Clusters


K-means requires the number of cluster to
initialize. The Brain image consists of Fig 1. cluster regions 9
overlapped intensity regions. When goes for low
number of clusters the intensity at skull will not
distinguish the non brain and brain regions.
When going for more number of clusters will
clearly separates the outer layers in the final few
clusters.
Table 1. clusters and number pixels .
Number Aptful Number
of No of ofpixels
Image clusters labels at skull
T1brain 20 13,14,15,16 599
18 16,17,18 555
15 13,14,15 599
13 12 ,13 536
12 11,12 579
9 9 466

Table 1. Shows the number of clusters and the


number of pixels in each cluster that forms the
cluster. We note from table 1 that the maximum
of pixels (599) was obtained for a cluster of 15.
The Cluster number is analyzed using various
numbers of clusters. Verify all the regions with
the detection criteria. After the clustering,
according to the index there are number of
regions. Check each region. This measure
concludes the Cluster number 15 is detecting non
brain part. Fig 1, Fig 2. Resultant of cluster Fig 2 Cluster regions of 15 (a) Original,
numbers 9 and 15 have compared and cluster 15 (b)-(p) images for clusters 1 -15
has concluded.
III. PROPOSED METHOD

In the proposed scheme the images is partitioned


into 15 clusters using K-means algorithm.
Eliminate the first and last 3 clusters which
contain non brain region and background. Rest
of the clusters have been merged and then apply
the largest connected component (LCC)
techniques to extract the main part. (a) (b)

Start

Input Brain Image

(c)
K-Mean Cluster Process
Fig.3. (a) Original Image, (b) K-means
Clustered image, (c) Detected Brain

5. Conclusion
Eliminate First and final three
regions In this paper we have proposed a method to
extract brain portion from T1 weighted MRI of
head scans. We employed K-means algorithm to
cluster the pixel valued in the MRI of head scans
to segment into 15 clusters. By eliminating the
Extract the largest Connected
clusters having non-brain region, the brain
Component
portion is extracted. The brain portion is
extracted accurate. This method has been tested
only on few MRI slices. This method can be
improved to extract brain portion from all slices
End in a given MRI volume.

Fig. 3.1 Flow Chart of the Proposed Method REFERENCES


[1] Brummer, M.E., Mersereau, R.M., Eisner, R.L.
4. Results and Discussion Lewine, R.R.J.. Automatic detection of brain
This algorithm was applied on a variety of contours in MRI data sets. IEEE Trans. Med.
Imag. 12(2), 153–166, 1993.
Images and the images are tested. The MRI
[2] Hohne, K.H., W.A., Interactive 3D segmentation
slices were selected from IBSR [5]. The result of MRI and CT volumes using morphological
applying the proposed method is shown in Fig 3 . operations. J. of Comput.Assist. Tomogr. 16 (2),
We note from Fig 3(c) that the Brain Portion I 285–294, 1992.
extracted accurately. [3] John, C., Kevin, W., Emma, L., Chao, C., Barbara,
P. Declan, J. Statistical morphological skull
stripping of adult and infant MRI data. Comput.
Biol. Med. 37 (3), 342–357.
[4] Justice, R.K., Stokely, E.m., Strobel, J.S., Ideker,
R.E., Smith, W.M., Medical image segmentation
using 3D seeded region growing. Proc. SPIE Med.
Imag. 3034,900–910, 1997
[5] Lemieux, L., Hagmann, G., Krakow, K.,
Woermann, F.G.Fast, accurate, and reproducible
automatic segmentation of the brain T1-Weighted
voume MRI data. Mgn. Reson. Med 42 (1).

Você também pode gostar