1,549
Views
0
CrossRef citations to date
0
Altmetric
Innovation in Biomedical Science and Engineering

Brain MR image segmentation using NAMS in pseudo-color

, , &

Abstract

Image segmentation plays a crucial role in various biomedical applications. In general, the segmentation of brain Magnetic Resonance (MR) images is mainly used to represent the image with several homogeneous regions instead of pixels for surgical analyzing and planning. This paper proposes a new approach for segmenting MR brain images by using pseudo-color based segmentation with Non-symmetry and Anti-packing Model with Squares (NAMS). First of all, the NAMS model is presented. The model can represent the image with sub-patterns to keep the image content and largely reduce the data redundancy. Second, the key idea is proposed that convert the original gray-scale brain MR image into a pseudo-colored image and then segment the pseudo-colored image with NAMS model. The pseudo-colored image can enhance the color contrast in different tissues in brain MR images, which can improve the precision of segmentation as well as directly visual perceptional distinction. Experimental results indicate that compared with other brain MR image segmentation methods, the proposed NAMS based pseudo-color segmentation method performs more excellent in not only segmenting precisely but also saving storage.

1. Introduction

Medical image segmentation is an important fundamental field in medical image processing. Brain Magnetic Resonance (MR) image segmentation is one of the most significant research and diagnosis. Automated segmentation of brain MR images can largely reduce the time consuming rather than manual image segmentation [Citation1]. The research can be applied in many areas of clinical tasks such as surgical planning, computer integrated surgery, and so on [Citation2,Citation3]. Generally, the aim of brain MR image segmentation is to sort different major consisted tissue type like White Matter (WM), Grey Matter (GM), Cerebrospinal Fluid (CSF) and other pathological tissues like tumor [Citation4]. So a Brain MR image is usually divided into several homogeneous regions according to certain criteria, like the similarity and the connectivity between pixels [Citation5,Citation6].

In recent years, there are many segmentation algorithms for human brain MR images [Citation7–9]. One of the most widely used methods is the Fuzzy C means (FCM) clustering segmentation which is applied for brain tissue segmentation [Citation10]. The segmentation process of the method may be complex because of its iteration [Citation11]. Used a semi-supervised classification method to segment brain tissue. Experts labeled some slices to classes such as GM, WM, and CSF. Then other slices can be segmented by Gaussian Mixture Model (GMM) with the labeled data and statistic information [Citation12]. Proposed an unsupervised method to segment tissue in brain MR images, in which Bayesian-based adaptive mean shift, Fuzzy C means clustering and a priori spatial tissue probability maps are combined to segment the image. However, the computational cost was relatively high [Citation13]. Proposed a method that combines semi-supervised and unsupervised classification techniques for segmenting brain MR images. This method can segment brain MR images fully automatically and achieve high efficiency. However, these segmentation methods for human brain MR images usually divide pixels by the degree of similarity of gray value in image, but the effect is not ideal for the low brightness or the edge blur brain MR images.

In this paper, a new brain MR image segmentation method using Non-symmetry and Anti-packing Model with Squares (NAMS) based on pseudo-color is proposed. The gray brain MR image is converted into a pseudo-color image in the method to enhance the color contrast. Then the pseudo-color brain MR image is segmented by NAMS algorithm, which can largely reduce the data redundancy and adhere to the edge of tissue precisely in the meantime.

The main contributions of this paper are as follows:

Firstly, a pseudo-color brain image is generated from the input brain MR image before segmentation. Different from the traditional MR image segmentation methods that segment the input gray image, the pseudo-color images can enhance color contrast and segmenting performance particularly in precise segmentation of brain tissues.

Secondly, NAMS algorithm is presented to segment the image. Since the segmenting strategy of the anti-packing method is asymmetrical and greedy principle is used, the NAMS algorithm can preserve the characteristics and adhere to the edge of brain tissues. Besides, it is convenient to record the homogeneous block and improve the computing efficiency since the divided blocks are squares or isolate pixels in the algorithm.

Thirdly, through several measure metrics and multiple sets of experiments using the Internet Brain Segmentation Repository (IBSR), which is made by the Center for Morphometric Analysis, Massachusetts General Hospital (http://www.cma.mgh.harvard.edu/ibsr). The advantages of the proposed method are presented clearly by statistics as well as visual perception.

The rest of the paper is organized as follows: In section 2, the pseudo-color convention is introduced. Then, the details of the NAMS algorithm to segment brain MR images are presented in section 3. The experimental results of the proposed method and other comparison methods are showed in section 4. Finally, section 5 is the conclusion.

2. Pseudo-color convention

Pseudo-color convention is a method of image processing, namely, changing gray images into color images. Generally, human’s color sensitive cells can only recognize dozens of gray scales. Compared to low sensitivity to gray scale, human’s vision can distinguish thousands of color brightness and hues [Citation14]. Since human eyes to color image is far more sensitive than that to gray image, converting gray image into color image can improve the human visual perception to the image details and achieve the goal of image enhancement.

The process of pseudo-color technology is to map a gray image into a color image with corresponding colors according to certain relationship. The mapping method is only to change the gray value to a color value by one to one correspondence between input and output pixels, and not change the pixels’ spatial position.

Given a gray image I, the three components of generated pseudo-color image are Cr, Cg, Cb respectively. The three transform functions of the pseudo-color convention are fr, fg, fb. The mapping relationship is as follows: (1)

Then, superimposing three color components Cr, Cg, Cb can ultimately display and form pseudo-color image.

The key point in the process of converting gray image to pseudo-color image is how to decide the transform functions fr, fg, fb. The most frequently-used method currently is linear conversion method or typical pseudo-color coding method. The relevantly mature typical pseudo-color coding method in [Citation15] is used in the proposed paper to decide the transform functions.

Suppose I(x, y) is one of the pixels in the gray image I, and the value of I(x, y) is v. The mathematical expression forms of transform functions fr, fg, fb are as follows: (2) (3) (4)

shows the results of the generated pseudo-color images for the brain MR images. The brain MR images are from IBSR dataset, which includes a three dimensional T1-weighted MRI brain data set for 20 normal subjects and expert manual segmentation [Citation16]. In pseudo-color images, the color contrasts among different brain tissues are enhanced and this can improve the efficiency of segmentation.

Figure 1. Brain MR images and their corresponding pseudo-color images.

Figure 1. Brain MR images and their corresponding pseudo-color images.

3. NAMS based segmentation

3.1. Idea of NAMS

NAMS algorithm is s an anti-packing problem based on the Non-symmetry and Anti-packing Model (NAM) [Citation17–19]. In image pattern, the idea of the NAMS can be described as follows: give an image (packed pattern) and some squares (predefined sub-patterns) of different sizes, and then represent the image (packed pattern) using the combination of the squares (sub-patterns) [Citation20,Citation21].

Given an image I, the representation image is I'. Then, I' can be obtained by NAMS. The transforming procedure is as follows: (5) where S={s1,s2,⋯,sn} is a set of packed squares; n is the number of the squares; sj(1≤j≤n) is one of the squares; arv is the average value of all the pixels of the square, and l is the length of the square. Specially, there will be some isolate pixels not belonged to any squares. The length of the isolate pixels is record as zero. The data structure of NAMS algorithm is showed in , in which sp(xn,yn) is the axis of the start point of the square Sn.

Table 1. Data structure of NAMS.

In NAMS algorithm, to record a homogeneous region, that is the square in the proposed algorithm, only need to store the start point, length and average value of the square. This can largely reduce the data amount since in most other method every pixel is necessary to store.

illustrates the square generated rule of the NAMS by taking a binary image (in ) for example. Search each pixel to form squares by raster scanning order, mark out a square with a length of 1 (in ).Then the square grows at length of 2 (in ). If the larger square is successful to grow up, it will be marked, and the smaller one is changed to be unmarked, as it is illustrated in . The greed principle is adopted in the process of square growing. The square will keep enlarging until it cannot grow into a larger one. There will be some isolated points left, since not every pixel in the image can be used to construct squares.

Figure 2. An illustration for the idea of NAMS.

Figure 2. An illustration for the idea of NAMS.

The NAMS algorithm can merge the homogeneous pixels into one region, and at the same time preserve the characteristics of image context and adhere to the edge, since anti-packing method is asymmetrically splitting and greed principle is adopted in the splitting process. On the other hand, it can also reduce the data amount of the homogeneous regions to be recorded.

3.2. Algorithm of NAMS based segmentation

For a given brain MR image I, an encoding queue set S={s1,s2,…,sn}, where s1,s2,…,sn denote the sub-patterns of the square and n is the total numbers of the squares. The following steps present the procedure of the proposed NAMS based segmentation algorithm:

  • Step 1. Convert the input brain MR image I to a pseudo-color image Ip using the transforming method in chapter 2.

  • Step 2. Set all the pixels in image Ip unmarked.

  • Step 3. Set a threshold K to decide whether the visited pixels belong one square or not.

  • Step 4. Search the first unmarked pixel of the image I in the order of raster scanning, and set the pixel to be the start point (top and left corner in the experiment) of a new square sub-pattern s.

  • Step 5. Find the biggest square s to make sure that the spatial weighting of every two pixels in the area of the sub-pattern is less than K and mark all the pixels in this sub-pattern belonged to the square.

  • Step 6. Record the parameters of the marked square, i.e., s {No, sp, l, value}, where No is the serial number of the sub-pattern, s is the coordinate of the start point of the sub-pattern, l is the length of the square sub-pattern, and value is the average value of all the pixel in the square.

  • Step 7. Repeat Step 5 and Step 6 until all the pixels are marked in the image I. If some isolated pixels do not belong to any squares, set l = 0, and the start point sp is the pixel itself.

  • Step 8. Out put the encoding queue S.

4. Experiments

In this section, all images used in the experiments are from IBSR dataset which includes a three dimensional T1-weighted MRI brain data set for 20 normal subjects and the corresponding expert manual segmentation. The expert manual segmentation is used as the ground truth to evaluate the proposed algorithm.

shows the procedure of one of the brain images segmented. is the input image, is the generated pseudo image and is the NAMS segmentation result. Compared to the gray MR images, the pseudo image has enhanced the color contrast and is better for human visual discrimination. This can reduce the visual fatigue of doctors’ diagnosis.

Figure 3. NAMS segmentation of brain MR image.

Figure 3. NAMS segmentation of brain MR image.

shows the comparison of the proposed NAMS segmentation algorithm, the classical FCM [Citation10], eSFCM [Citation22], USSFC [Citation13] and the ground truth. ) show the original MR image and its ground truth. In ), the FCM and eSFCM segmented results have some noises and the edges of different tissues are relatively rough compared to the USSFC (in ) and NAMS (in ) segmented result. The proposed algorithm result in is closer to the ground truth and it is more convenient to discriminate different tissues for human visual perception. The proposed method segments the brain MR image more efficiently than other methods.

Figure 4. Comparison of segmented results.

Figure 4. Comparison of segmented results.

Some evaluation measurements are adopted to assess the results of the classical FCM and our proposed method. Peak Signal to Noise Ratio (PSNR) and Mean Square Error (MSE) are widely used evaluation metrics which can estimate the quality of a segmented image [Citation23]. Besides, Dice coefficient [Citation24] and Hausdorff [Citation25] distance are normally used metrics in segmentation. According to the mentioned metrics, an original brain MR image is referred as a ground truth.

Given the ground truth image G and compared image X, both images are M×N matrixs, MSE between G and X can be defined as: (6)

PSNR between G and T can be defined as: (7)

Dice coefficient D is as follows: (8)

Hausdorff distance dH is as follows: (9) where d(x,y) is the Euclidean distance between x and y.

has figured out the segment quality of proposed method and other compared methods. It is shown that the proposed NAMS method has higher PSNR value than other methods and at the same the MSE value is the lowest. It indicates that the proposed method can segment the image at higher quality with fewer errors than other methods. Besides, the data measurement unit in NAMS algorithm is square while in other method is pixel. It means that in the image in with size 240 * 245 for example, it can segmented with 8041 squares by NAMS method and we only need to record these squares using the structure in . On the contrary, in other methods, all the pixels are necessary to be recorded. So the proposed method can get better performance on segmenting brain MR images and reduce the data redundancy.

Table 2. Data comparison of NAMS and other methods.

5. Conclusion

Accurate segmentation of brain MR images and reducing the data amount are both crucial for brain disease diagnosis and pathological study. In this paper, NAMS based in pseudo-color segmentation algorithm has been proposed for brain MR image segmentation. The proposed method has converted the gray brain MR image into pseudo-color, which can enhance the color contrast in segmentation and improve the discrimination of human visual perception. And it also can represent homogeneous area by squares and largely reduce the data redundancy. Experimental results have indicated that the proposed NAMS method can get high segmentation quality, reduce the data amount, and improve the computing efficiency compared with other segment method. It is a highly effective algorithm for brain MR image segmentation.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

  • Erdt M, Steger S, Sakas G. Regmentation: a new view of image segmentation and registration. J Radiat Oncol Informatics. 2012;4:1–23.
  • Khoo VS, Dearnaley DP, Finnigan DJ, et al. Magnetic resonance imaging (mri): considerations and applications in radiotherapy treatment planning. Radiother Oncol. 1997;42:1–15.
  • Grimson WEL, Ettinger G, Kapur T, et al. Utilizing segmented mri data in image-guided surgery. Int J Patt Recogn Artif Intell. 1997;11:1367–1397.
  • Zhang Z, Zhu Q, Xie Y. Mri segmentation of brain tissue based on spatial prior and neighboring pixels affinities. In: Pattern Recognition (ICPR), 2012 21st International Conference. IEEE; Tsukuba, Japan; 2012: 89–92.
  • Wang YH, Guan YH. Application of medical image segmentation technology based on fuzzy set theory. Comput Technol Develop. 2008;11:223–225.
  • Sharma N, Ray AK, Shukla KK, et al. Automated medical image segmentation techniques. J Med Phys. 2010;35:3.
  • Gordillo N, Montseny E, Sobrevilla P. State of the art survey on mri brain tumor segmentation. J Magn Reson Imaging. 2013;31:1426–1438.
  • Son LH, Tuan TM. A cooperative semi-supervised fuzzy clustering framework for dental x-ray image segmentation. Expert Syst Appl. 2016;46:380–393.
  • Gilanie G, Attique M, Naweed S. Object extraction from t2 weighted brain mr image using histogram based gradient calculation. Pattern Recognit Lett. 2013;34:1356–1363.
  • Kalaiselvi T, Somasundaram K. Fuzzy c-means technique with histogram based centroid initialization for brain tissue segmentation in MRI of head scans. In: Humanities, Science & Engineering Research (SHUSER), 2011 International Symposium on. IEEE; Kuala Lumpur, Malaysia; 2011: 149–154.
  • Portela NM, Cavalcanti GD, Ren TI. Semi-supervised clustering for MR brain image segmentation. Expert Syst Appl. 2014;41:1492–1497.
  • Mahmood Q, Chodorowski A, Persson M. Automated MRI brain tissue segmentation based on mean shift and fuzzy c-means using a priori tissue probability maps. IRBM. 2015;36:185–196.
  • Hayat A, Ahmed A. MR Brain Image Segmentation Based on Unsupervised and Semi-Supervised Fuzzy Clustering Methods. In: 2016 International Conference on Digital Image Computing: Techniques and Applications, DICTA 2016. Gold Coast, QLD, Australia.
  • Luo W, Heileman GL, Pizano CE. A fast and robust watermarking method for JPEG images. Comput Model New Technol. 2004;8:39–47.
  • Yang J, Sheng HJ, Shao L, et al. Research on pseudo-color image generation technology of the distribution of gaseous pollutants. In: Proceedings of the SPIE. Shanghai, China. 2016: 10141–1014117.
  • “The internet brain segmentation repository (ibsr).” 2011. [Internet]. Available from: http://www.cma.mgh.harvard.edu/ibsr/
  • Chen CB, Wang GW, Sarem M. A new non-symmetry and anti-packing model and its application to image contrast enhancement. Comput Electr Eng. 2011;37:669–680.
  • Zheng YP, Sarem M. A fast algorithm for computing moments of gray images based on NAM and extended shading approach. Front Comput Sci China. 2011;5:57–65.
  • Liang H, Zhao SR, Chen CB, et al. The NAMlet transform: A novel image sparse representation method based on non-symmetry and anti-packing model. Signal Process. 2017;137:251–263.
  • Zheng YP, Zhou WW, Xie XM, et al. A fast algorithm for computing the lower order moments of binary images by using non-symmetry and anti-packing model. J Computat Inform Syst. 2013;9:1949–1956.
  • Zheng YP, Zhou WW, Mo X. A new NAM-based algorithm for computing Hu moments of binary images. J Inf Comput Sci. 2013;10:2481–2488.
  • Yin X, Shu T, Huang Q. Semi-supervised fuzzy clustering with metric learning and entropy regularization. Knowledge-Based Systems. 2012;35:304–311.
  • Hore A., Ziou D Image Quality metrics: PSNR vs. SSIM. In: Pattern Recognition (ICPR), 20th International Conference. IEEE; Istanbul, Turkey; 2010: 2366–2369.
  • Dice LR. Measures of the amount of ecologic association between species. Ecology. 1945;26:297–302.
  • Huttenlocher DP, Klanderman GA, Rucklidge WJ. Comparing images using the Hausdorff distance. IEEE Trans Pattern Anal Mach Intell. 1993;15:850–863.