Nothing Special   »   [go: up one dir, main page]

Skip to main content

Robust MRI abnormality detection using background noise removal with polyfit surface evolution

Abstract

Image segmentation plays a vital role in MRI abnormality detection. This paper presents a robust MRI segmentation method to outline potential abnormality blobs. Thresholding and boundary tracing strategies are employed to remove background noises, and hence, the ROIs in the whole process are set. Subsequently, a polyfit surface evolution is proposed to approximately estimate bias field, which makes segmentation robust to image noises. Simultaneously, customized initial level set functions are devised so as to detect subtle bright and dark blobs which are highly potential abnormality regions. The proposed method improves bias field estimation and level set method to acquire fine segmentation with low computational complexities. Analysis of experimental results and comparisons with existing algorithms demonstrates that the proposed method can segment weak-edged, low-resolution MR brain images, and its performance prevails in accuracy and effectiveness.

1 Introduction

With the exploration of magnetic resonance imaging (MRI) technology, dramatic changes have been made in visualization of anatomical structures [1, 2]. MRI is a powerful imaging modality driven by its flexibility and sensitivity to a broad range of tissue properties [3]. However, a CT scan is best suited for viewing bone injuries, diagnosing lung and chest problems, and detecting cancers [4, 5]. MRI is used to find other problems, such as tumors, bleeding, injury, blood vessel diseases, and infections. For example, researchers strive to detect brain abnormalities in MR images [6, 7]. In this paper, our goal is to segment MR brain images to assist doctors’ diagnosis.

Intensity inhomogeneity or bias field in MR image, which arises from the imperfections of the image acquisition process and manifests itself as slow intensity variation over the image domain [8]. This inherent artifact is difficult for a human to perceive. However, many segmentation methods are very sensitive to spurious intensity variations. In 1986, Haselgrove and Prammer [9] first discussed MRI intensity inhomogeneity correction. However, Haselgrove and Prammer assumed that the position and orientation of the surface coil were known, as obstructed its practical application. In the past two decades, many bias field correction algorithms have been presented. The authors in [8] noted that two main approaches, namely prospective [1014] and retrospective approaches [1521], had been applied to minimize the intensity inhomogeneity in MR images. Among these abovementioned methods, Andersen et al. [15] incorporated radio frequency inhomogeneity correction into probabilistic classification model to partition an MR image. In addition, Li et al. [22] proposed a new approach for bias field estimation and tissue segmentation in an energy minimization framework. They mathematically justified that the proposed energy is convex in each of its variables. Quantitative evaluations and comparisons verified its robustness and accuracy. The bias field estimation proposed by Li et al. needs no previous knowledge of noise distribution, which makes it more applicable. However, it is a region-based segmentation method and cannot extract small homogeneous regions as level set methods do.

Image segmentation is a fundamental process in many medical imaging applications [23]. Segmentation methods can be roughly divided into eight categories [2426]: (a) thesholding approaches, (b) region growing approaches, (c) classifiers, (d) clustering approaches, (e) Markov random field models, (f) artificial neural networks, (g) deformable models, and (h) atlas-guided approaches. The level set method, as one of the deformable models, was first introduced to delineate region boundaries by using closed parametric curves [27]. It is able to acquire closed contours of regions from an image, which helps partition of a medical image accurately. The authors in [2830] considered a two-phase level set formulation, in which only one level set function was used to construct two membership functions to segment the image domain into two disjoint regions. The two-phase level set method can only partition images into two parts, making it unsuitable for multi-class segmentation in some medical applications. Recently, researchers have developed multi-phase level set methods [31, 32], using two or more level set functions to define more than two membership functions, which makes it more practical in medical applications. Li et al. [31] have combined bias field estimation with multi-phase level set method. In this framework proposed by Li’s, the formation of initial level set functions was not mentioned yet. Experimental results show initial level set functions influence final segmentation to some extent, especially in certain small regions. At the same time, bias field estimation in [31] lacks denoising capability as well.

Focusing on noise depression and widely applicable initial level set functions, we import ROI (region of interest), bias field polyfit estimation, and customize initial level set functions to multi-phase level set methods. The main contributions in this paper include:

  1. (1)

    A coarse to fine segmentation method is proposed. Otsu’s method is employed not only to remove background noise but also to set the ROI for the level set method.

  2. (2)

    A multi-phase level set method with bias field polyfit estimation is proposed. This method can partly depress image noise latent in tissues.

  3. (3)

    Customized initial level set functions are formulated. The initial level set functions are widely applicable to detect small tissues in MR images.

This remainder of this paper is organized as follows. We first review MRI bias field estimation and multi-phase level set method in Section 2. Section 3 presents a robust MRI abnormality detection method, including background removal or ROI setting, multi-phase level set method with bias field polyfit estimation, and customized initial level set functions. Experimental results and comparison with existing methods are outlined in Section 4. Finally, concluding remarks are given in Section 5.

2 Literature review on MRI bias field estimation and multi-phase level set method

In previous works [8, 22, 31], the model of an MR image has been widely accepted as:

$$ I(\mathbf{x}) = b(\mathbf{x}) J(\mathbf{x}) + n(\mathbf{x}) $$
(1)

where b(x) is bias field that accounts for the intensity inhomogeneity in the observed image I(x), n(x) is the additive Gaussian noise with zero mean, J(x) is the true image without bias field and noise, and x is a tuple like (x,y) representing image coordinates.

An energy minimization formulation [22] in the image domain Ω for bias field estimation is defined by:

$$ \mathcal{E}(b,J) = \int | I(\mathbf{x}) - b(\mathbf{x}) J(\mathbf{x}) |^{2} d\mathbf{x} $$
(2)

In this paper, the domain of integration Ω is omitted for simplicity. Obviously, the solution for the multiplicative intrinsic components b and J is an ill-posed problem without constraints on the variables b and J. Thus, Li et al. [22] have made the two following assumptions:

  1. (1)

    Image domain Ω can be partitioned into disjoint parts as described below:

    $$\Omega = \sum \limits_{i=1}^{N} \Omega_{i},~\Omega_{i} \bigcap \Omega_{j} = \Phi~(i \neq j), $$

    in which J is approximately constant c i for the ith region Ω i . Furthermore, c i is regarded as class center of fuzzy c-means algorithm [33].

  2. (2)

    The bias field b varies slightly in a small neighborhood region of any point y on the ith region Ω i , and leads to the approximate relation in Eq. (2):

    $$b(\mathbf{x}) J(\mathbf{x}) \approx b(\mathbf{y}) c_{i},~\mathbf{x} \in \mathcal{O}_{\mathbf{y}} \bigcap \Omega_{i} $$

    where \(\mathcal {O}_{\mathbf {y}} \triangleq \{ \mathbf {x}:|\mathbf {x} - \mathbf {y}| \leq \rho \} \).

Furthermore, a non-negative window function K(yx) is introduced, being K(yx)=0 for \(\mathbf {x} \notin \mathcal {O}_{\mathbf {y}}\), to represent the energy function bounded on region Ω i as follows:

$$ \begin{array}{rl} \mathcal{E}_{\mathbf{y}} = & \sum \limits_{i=1}^{N} \int \limits_{\Omega_{i} \bigcap \mathcal{O}_{\mathbf{y}}} |I(\mathbf{x})-b(\mathbf{y})c_{i}|^{2} d\mathbf{x}\\ = & \sum \limits_{i=1}^{N} \int \limits_{\Omega_{i}} K(\mathbf{y}-\mathbf{x}) |I(\mathbf{x})-b(\mathbf{y})c_{i}|^{2} d\mathbf{x} \end{array} $$
(3)

Finally, extending the integral domain yΩ i in (3) to the entire image domain, the energy minimization in (2) is formulated as:

$$ \mathcal{E} \triangleq \int \left(\sum \limits_{i=1}^{N} \int \limits_{\Omega_{i}} K(\mathbf{y} - \mathbf{x}) |I(\mathbf{x}) - b(\mathbf{y}) c_{i}|^{2} d\mathbf{x} \right) d \mathbf{y} $$
(4)

Li et al. [31] proposed level set functions to construct membership functions, which form partitions Ω i . For the case of N ≥ 3, two or more level set functions ϕ 1,…,ϕ k are used to define membership functions M i , given by:

$$ M_{i}(\phi_{1}(\mathbf{x}),\ldots,\phi_{k}(\mathbf{x})) = \left\{ \begin{array}{rl} 1, & \mathbf{x} \in \Omega_{i}\\ 0, & \text{otherwise} \end{array} \right. $$
(5)

Putting (5) into (4), the energy functional is given by:

$$ \mathcal{E} = \int \left(\sum \limits_{i=1}^{N} \int K(\mathbf{y} - \mathbf{x}) |I(\mathbf{x}) - b(\mathbf{y}) c_{i}|^{2} M_{i}(\boldsymbol{\Phi}(\mathbf{x})) d\mathbf{x} \right) d \mathbf{y} $$
(6)

where Φ=(ϕ 1,…,ϕ k ) is a vector valued function.

Reversing the order of integration in (6), the energy functional can be rewritten as:

$$ \mathcal{E} = \int \left(\sum \limits_{i=1}^{N} \int K(\mathbf{y} - \mathbf{x}) |I(\mathbf{x}) - b(\mathbf{y}) c_{i}|^{2} d \mathbf{y} \right) M_{i}(\boldsymbol{\Phi}(\mathbf{x})) d\mathbf{x} $$
(7)

Denoting the constants c 1,…,c N by a vector c=(c 1,…,c N ), Eq. (7) is simplified as:

$$ \mathcal{E}(\boldsymbol{\Phi}, \mathbf{c}, b) = \int \sum_{i = 1}^{N} e_{i}(\mathbf{x}) M_{i}(\boldsymbol{\Phi}(\mathbf{x})) d\mathbf{x} $$
(8)

where \(e_{i}(\mathbf {x}) = \int K(\mathbf {y}-\mathbf {x}) |I(\mathbf {x}) - b(\mathbf {y}) c_{i}|^{2} d\mathbf {y}\).

The level set formulation is given as follows:

$$ \mathcal{F}(\boldsymbol{\Phi}, \mathbf{c},b) \!= \mathcal{E}(\boldsymbol{\Phi}, \mathbf{c}, b) + \nu\! \sum \limits_{j=1}^{k} {L}(\phi_{j}) + \mu \!\sum \limits_{j=1}^{k} R(\phi_{j}) (\nu,\mu \geq 0) $$
(9)

The energy term L(ϕ j ) in (9) computes the length of the zero level set of ϕ j in the conformal metric and it is defined by:

$$ \mathcal{L}(\phi_{j}(\mathbf{x})) = \int |\nabla H(\phi_{j}(\mathbf{x}))| d \mathbf{x} $$
(10)

where is the vector differential operator, namely gradient operator, H is the heaviside function.

The energy term R(ϕ j ) in (9) is introduced in [28] to formulate level set evolution without re-initializations. R(ϕ j ) is given by:

$$ R(\phi_{j}(\mathbf{x})) = \int \frac{1}{2} (|\nabla \phi_{j}(\mathbf{x})| - 1)^{2} d \mathbf{x} $$
(11)

The energy functional \(\mathcal {F}(\boldsymbol {\Phi },\mathbf {c},b)\) is minimized iteratively with respect to each of the variables Φ,c,b, given that the other two have been updated in the previous iteration.

  1. (1)

    Optimization of ϕ j :

    $$ \left\{ \begin{array}{l} \frac{\partial \phi_{j}}{\partial t} = - \sum \limits_{i = 1}^{N} \frac{\partial M_{i}(\boldsymbol{\Phi})}{\partial \phi_{j}} e_{i} + \nu \delta(\phi_{j}) \text{div} \left(\frac{\nabla \phi_{j}}{| \nabla \phi_{j} |} \right)\\ + \mu \left[ \Delta \phi_{j} - \text{div} \left(\frac{\nabla \phi_{j}}{|\nabla \phi_{j}|}\right) \right]\\ e_{i}(\mathbf{x}) = I^{2} \cdot (\mathbf{1} \ast K) - 2c_{i} I \cdot (b \ast K) + c_{i}^{2} (b^{2} \ast K) \\ (j = 1,2,\ldots,k) \end{array} \right. $$
    (12)

    where · calculates the per-element product of two matrices, is the convolution operator, 1 is a matrix of ones with the same size as I, δ(·) is the derivative of the heaviside function and div(·) is the divergence.

  2. (2)

    Optimization of c:

    $$ c_{i} = \frac{\int (b \ast K) I M_{i}(\boldsymbol{\Phi} (\mathbf{y})) d \mathbf{y}}{\int (b^{2} \ast K) M_{i}(\boldsymbol{\Phi}(\mathbf{y})) d \mathbf{y}} ~(i = 1,\ldots,N) $$
    (13)
  3. (3)

    Optimization of b:

    $$ b = \frac{IJ^{(1)} \ast K}{J^{(2)} \ast K} $$
    (14)

    where

    $$\left\{ \begin{array}{ll} J^{(1)} = \sum \limits_{i=1}^{N}c_{i} M_{i}(\boldsymbol{\Phi}(\mathbf{y}))\\ J^{(2)} = \sum \limits_{i=1}^{N}{c_{i}}^{2} M_{i}(\boldsymbol{\Phi}(\mathbf{y})) \end{array} \right.. $$

3 Methods

Repeated trials expose imperfections of Li et al.’s method [22, 31] in detecting abnormalities from MR images: (a) background noise gives rise to redundant contours, (b) unsmooth bias field estimation exists, and (c) some possible abnormalities are omitted. We propose a robust MRI abnormality detection method to fix these problems based on a multi-phase level set method in combination with bias field estimation.

3.1 Background removal (ROI setting)

As we know, MRI is vulnerable to noise contamination. The MRI signal is complex valued, with the real and imaginary components affected by independent Gaussian noises. The magnitude of the noise of this complex valued signal has a Rician distribution [34]. Assuming the signal in the image background is zero, Santiago et al. [35] estimated noise in a MRI using background pixels. If noise in background pixels is severe, it will influence final curve evolution using Li et al.’s method mentioned in Section 2, see Fig. 1 a.

Fig. 1
figure 1

Inaccurate curve evolution by Li et al.’s [31] method with background noises: a Final contours without background noise suppression. b Contours after background noise removal. c Contours by our method

Fortunately, the gray values of MRIs differ greatly in background and organs. Thus, thresholding is a simple but efficient method to remove the background from MRI. In our method, we first extract coarse regions of a target using Otsu’s method [36]. Subsequently, we retrieve connected components from the binary image and select the contour outlines in the image whose areas are greater than a predefined A value (step (iii) below). Finally, we fill the regions bounded by the preceding selected contours, which serve as the ROI in this paper. Assuming gray values of background are much lower than the foreground ones, the procedure can be outlined as follows:

  1. 1.

    Compute the optimal threshold value using Otsu’s algorithm and denote it by T.

  2. 2.

    Apply a fixed-level threshold to each array element of image f and obtain the binary image g:

    $$ g(i,j) = \left\{ \begin{array}{rl} 255, & f(i,j) \ge \eta T\\ 0, & \text{otherwise} \end{array} \right. $$
    (15)

    where constant 0<η≤1 can guarantee that the regions of foreground with lower gray values are not ignored. Based on empirical observations, this constant commonly takes values in the interval [0.7,0.9].

  3. 3.

    Trace only the outer contours of image g. For the ith contour, if the area is greater than A, fill the area bounded by the contour with the gray value 255 and denote the corresponding mask image by B i . The constant A can skip small regions incurred by noise. Actually, A can be easily defined by professionals’ prior knowledge about the area of the target region. The union set of such B i , denoted by \(B~=~\bigcup B_{i}\), is the final ROI image, with the notation R in which the value 1 represents the points to be further processed:

    $$ R(i,j) = \left\{ \begin{array}{rl} 1, & B(i,j) = 255\\ 0, & \text{otherwise} \end{array} \right. $$
    (16)

Background noise is likely to bring out spurious contours by Li et al.’s method, shown in Fig. 1 a. After the R is calculated, background noise is removed with the values of background pixels assigned to zero. However, it is apparent that there are still some faulty contours with open contours, see Fig. 1 b. For this reason, it is wise to neglect the background region which causes abnormalities. Furthermore, only the pixels in these locations whose corresponding values are 1 in the ROI R are considered in our proposed method, not only to obtain accurate final contours (see Fig. 1 c) but also to speed up calculation.

3.2 Multi-phase level set method with bias field polyfit estimation

In Section 3.1, ROI is introduced to eliminate the negative effect of background noises. Noise in the target region of a MRI does harm to the estimation of bias field. As described in (7), local neighboring pixels are contributive with the definition of the window function K. Confined to a local domain, the b can be approximately represented as a linear combination of simple functions [22]:

$$ b(\mathbf{y}) = \mathbf{w}^{\mathrm{T}} G(\mathbf{y}) $$
(17)

Naturally, we introduce bias field polyfit estimation to the multi-phase level set method. Experiments in Section 4 on detecting abnormalities from MR images demonstrate that this can significantly improve segmentation results.

In mathematics, polynomial bases have been widely used. In this paper, we employ the basis of polynomials with degree p that fits the bias field. It is presented as:

$$ G(\mathbf{y})=\left\{x^{j} y^{i-j} | 0 \le i \le p, 0 \le j \le i\right\}. $$
(18)

The relationship between the degrees p and terms L is described in Table 1.

Table 1 The relationship of the degrees and terms for basis function

Substituting (17) into (8), the energy functional \(\mathcal {E}\) is converted into:

$$ \mathcal{E}(\mathbf{W},\mathbf{c},\boldsymbol{\Phi}) = \int \mathcal{E}_{\mathbf{x}} d \mathbf{x} $$
(19)

where \(\mathcal {E}_{\mathbf {x}} = \sum \limits _{i=1}^{N} \int K(\mathbf {y} - \mathbf {x}) |I(\mathbf {x}) - \mathbf {w}^{\mathrm {T}} G(\mathbf {y}) |^{2} M_{i}(\boldsymbol {\Phi }(x)) d \mathbf {y}\).

Therefore, \(\frac {\partial \mathcal {F}}{\partial w} = - 2 \mathbf {v} + 2 \mathbf {A} \mathbf {w}\), where

$$ \begin{array}{l} \mathbf{v} = \int \int G(\mathbf{y}) I(\mathbf{x}) \left(\sum \limits_{i=1}^{N} c_{i} M_{i}(\boldsymbol{\Phi}(\mathbf{x})) K(\mathbf{y}-\mathbf{x}) \right) d\mathbf{y} d\mathbf{x}\\ \quad= \int I(\mathbf{x}) \sum \limits_{i = 1}^{N} c_{i} M_{i}(\boldsymbol{\Phi} (\mathbf{x})) \left(\int G(\mathbf{y}) K(\mathbf{y}-\mathbf{x}) d\mathbf{y} \right) d\mathbf{x}\\ \mathbf{A} = \int \int G(\mathbf{y}) G^{\mathrm{T}} (\mathbf{y}) \left(\sum \limits_{i=1}^{N} c_{i}^{2} M_{i}(\boldsymbol{\Phi} (\mathbf{x})) K(\mathbf{y}-\mathbf{x}) \right) d\mathbf{y} d\mathbf{x}\\ \quad= \int \sum \limits_{i = 1}^{N} c_{i}^{2} M_{i}(\boldsymbol{\Phi}(\mathbf{x})) \left(\int G(\mathbf{y}) G^{\mathrm{T}}(\mathbf{y}) K(\mathbf{y}-\mathbf{x}) d\mathbf{y} \right) d\mathbf{x} \end{array} $$
(20)

Applying the convolution operation, the equations above will be given by:

$$ \begin{array}{l} \mathbf{v} = \int (\mathbf{G} \ast K) I(\mathbf{x}) \sum \limits_{i=1}^{N} c_{i} M_{i} \left(\boldsymbol{\Phi}(\mathbf{x}) \right) d\mathbf{x}\\ \mathbf{A} = \int (\mathbf{G} \mathbf{G}^{\mathrm{T}} \ast K) \sum \limits_{i = 1}^{N} c_{i}^{2} M_{i}(\boldsymbol{\Phi} (\mathbf{x})) d\mathbf{x} \end{array} $$
(21)

Note that \(\mathbf {v} \in \ \mathbb {R}^{L \times 1}\), \(\mathbf {A} \in \mathbb {R}^{L \times L}\). Let \(\frac {\partial \mathcal {F}}{\partial \mathbf {w}} = \mathbf {0}\), we get:

$$ \mathbf{w} = \mathbf{A}^{-1} \mathbf{v} $$
(22)

and,

$$ b(\mathbf{y}) = \mathbf{w}^{\mathrm{T}} \mathbf{G}(\mathbf{y}) $$
(23)

Bias field polyfit estimation can retain the smoothness, as shown in Fig. 2. Compared to existing literature [22] and [31], one of the differences in our approach is the additional convolution operations in Eq. (21), which help localize and remove noise.

Fig. 2
figure 2

Bias field estimation by a Li’s method [22]; b the proposed method in this paper

3.3 Customized initial level set functions to detect abnormalities

One of the disadvantages of traditional level set methods is that it requires manual placement of a closed curve near the desired boundary. Recently, researchers have employed random initial level set functions. Normally, once level set functions are stable, the process of evolution stops. Nevertheless, it is a challenge to jump out of a local extremum in (9). Moreover, some abnormalities occur as negligible patches, therefore no suitable initial level set functions can result in such abnormalities being detected. As a result, we introduce level set functions which intersect the target region in MRIs as much as possible. When level set functions during adjacent iterations are invariant, corresponding contours are the exact boundaries of target regions including abnormalities. These initial level set functions help us find out the abnormalities automatically, especially the negligible patches.

In order to segment more regions of interest, such as bright and dark blobs, we formulate initial level set functions so as to make initial contours scatter linearly, equally spaced in image domain. Classification of anatomical structure appearances in a MRI slice of the brain [37], suggests that the ROI mentioned in this paper can be classified into light, gray, and dark parts; namely, two level set functions constructing three membership functions (k=2,N=3). The initial contours are illustrated in Fig. 3. Here, red and blue contours in Fig. 3 b are a visual presentation of the level set functions \(\phi _{1}^{0}\) and \(\phi _{2}^{0}\) respectively, which guarantees that initial contours intersect the tissues extremely, merge or split to evolve to the final desirable contour.

Fig. 3
figure 3

Initial contour: a ROI-based initial contour and b partial enlarged view

The pseudo-code for definition of \(\phi _{1}^{0}(x,y), \phi _{2}^{0}(x,y)\) is shown in Table 2, where the image dimension is W×H, ρ>0 is a constant with any value, and the ROI is bounded by a rectangle: {(x,y)|x minxx max,y minyy max}. In this case, the relationship between membership functions and level set functions is given by:

$$ \left\{ \begin{array}{l} M_{1}(\mathbf{x}) = 1 - H(\phi_{1}(\mathbf{x}))\\ M_{2}(\mathbf{x}) = H(\phi_{1}(\mathbf{x})) H(\phi_{2}(\mathbf{x}))\\ M_{3}(\mathbf{x}) = H(\phi_{1}(\mathbf{x})) (1-H(\phi_{2}(\mathbf{x}))) \end{array} \right. $$
(24)
Table 2 Definition of \(\phi _{1}^{0}(x,y), \phi _{2}^{0}(x,y)\)

It is worth pointing out that the member functions mentioned meet 0≤M i (x)≤1 and \(\sum \limits _{i = 1}^{3} M_{i}(\mathbf {x}) = 1\).

3.4 ROI-based numerical implementation

In order to remove the influence of noise in the background and reduce computational cost, we propose an ROI-based implementation for the aforementioned algorithm.

In numerical practice, the Dirac function δ(x) in (12) is smoothed as:

$$ \delta_{\epsilon}(x) = \frac{1}{\pi} \frac{\epsilon}{\epsilon^{2} + x^{2}} $$
(25)

Iteration for ϕ j is proposed by:

$$ \phi^{n+1}_{j} = \phi^{n}_{j} + \tau \frac{\partial \phi_{j}}{\partial t} $$
(26)

In this paper, the window function K is taken as a Gaussian function with a standard deviation σ, denoted by K σ . Our proposed ROI-based numerical implementation is presented as follows:

  1. 1.

    ROI mask. I=I·R.

  2. 2.

    Initialization. Set the following parameters: N, η, p, σ, ν, μ, ε and τ. Initialize b and ϕ 1,…,ϕ k . Due to their invariability during iterative procedures, we prepare G, G G T, 1K σ , (1K σ I 2, (GK σ I and G G TK σ .

  3. 3.

    Iterative procedure. For the ith iteration, first update c via (13). Second, update Φ via (25), (12), and (26). Finally, update b via (21), (22), and (23).

  4. 4.

    ROI mask. ϕ j =ϕ j ·R for next iteration.

  5. 5.

    Redo step (iii) until i exceeds the predefined maximal iteration.

4 Results and discussion

We analyzed 112 frames of MR brain images; detailed information can be seen in Table 3. The algorithm was implemented using the Microsoft Visual Studio development platform with the Open CV (Computer Vision) library, and Matlab. In this paper, we have used the same parameters listed in Table 4, except the specific statement. In the experiments, the number for the maximal iteration needed is 50. The energy objective function in (9) keeps descending, shown in Fig. 4. This shows that our proposed method has good convergence.

Fig. 4
figure 4

Energy functional values in the iterations

Table 3 Parameters for MRI in this paper
Table 4 Parameters related to experiments

4.1 Segmentation results

An overview of the proposed method for MRI segmentation is shown in Fig. 5. Here, the original image is shown in Fig. 5 a, whose coarse segmentation result, namely ROI, is shown in Fig. 5 b. After 10 iterations, the curve evolves as shown in Fig. 5 c. After 50 iterations, the final contour and segmentation results are illustrated in Fig. 5 df. Three split parts of segmentation results in Fig. 5 gi demonstrate the capability of our method to segment the bright and dark blobs (high likelihood of potential abnormality) simultaneously. Here, in order to retain the running results by our scripts, contours in red and blue imply that the boundaries are induced by different level set functions, as mentioned in Section 3.3. Without loss of generality, we henceforth adopt red contours later in this paper.

Fig. 5
figure 5

Segmentation processes for the 88th frame: a the original MR image, b ROI, c contour after 10 iterations, d final contour after 50 iterations, f segmentation results, g one part segmented, h bright blob in MR image, and i dark blob in MR image

Experimental results for the other frames are shown in Fig. 6. The relevant parameters are employed as shown in Table 4. The segmentation performance verifies that the listed parameters are image independent.

Fig. 6
figure 6

Segmentation processes for the other frames: a the 14th MR image, b–d segmented parts, e the 50th MR image, f–h segmented parts, i the 67th MR image, and j–l segmented parts

Outside the data set mentioned above, we experiment on the MR brain images [38], which includes 60 images (width 256, height 256, bit depth 16). Taking the 6th image (see Fig. 7 a) as an example, our proposed method can segment the images into parts: skull (see Fig. 7 b), white matter (see Fig. 7 c, d), and other parts.

Fig. 7
figure 7

Segmentation processes for the other frames: a the 14th MR image, b–d segmented parts, e the 50th MR image, f–h segmented parts, i the 67th MR image, and j–l segmented parts

4.2 Segmentation assessment

For objective evaluation of our method, we consider manual contours drawn by specialists as the ground truth. We introduce two metrics to segmentation assessment. One metric m 1 is defined to estimate the difference between the ground truth and the contours extracted by our method. For one specific ground truth contour, we first select its nearest contour edge in contours from our proposed method, then we calculate the distance between the contour pair. The other metric m 2 is to account for how many accurate possible abnormal blobs are detected.

Assuming ground truth contours are denoted by \(C_{g}~=~\left \{ C_{g}^{1}, C_{g}^{2}, \ldots, C_{g}^{n_{g}} \right \}\), and contours from the proposed method are denoted by \(C_{p} = \left \{ C_{p}^{1}, C_{p}^{2}, \ldots, C_{p}^{n_{p}} \right \}\).

For the ith contour, the corresponding best matching contour in the proposed method is defined by:

$$k_{i} = \underset{k}{argmin} \left\{ \sum \limits_{p_{j} \in C_{g}^{i}} d\left(p_{j}, C_{p}^{k}\right): k = 1, 2, \ldots, n_{p} \right\} $$

where \(d\left (p_{j},C_{p}^{k}\right)\) is the distance from point p j to contour edge \(C_{p}^{k}\).

Therefore, the measurement depicting the difference of the contours representing the ground truth and the proposed method is given by:

$$ m_{1} = \frac{1}{n_{g}} \sum \limits_{i = 1}^{n_{g}} \left(\sum \limits_{p_{j} \in C_{p}^{k_{i}}} d\left(p_{j}, C_{g}^{i}\right) \right) / \left|C_{p}^{k_{i}}\right| $$
(27)

where \(\left |C_{p}^{k_{i}}\right |\) is the number of elements in \(C_{p}^{k_{i}}\).

Assuming N p is the number of potential abnormality blobs detected by the proposed method and N g is the number of possible abnormality blobs provided by specialists, the metric m 2 is defined by the ratio of N p to N g :

$$ m_{2}~=~\frac{N_{p}}{N_{g}} \times 100\% $$
(28)

The smaller m 1 or the bigger m 2 is, the better the segmentation result is. Comparison results between Li’s method and our method using these metrics are shown in Table 5 and Fig. 8.

Fig. 8
figure 8

Comparison of errors in different contours

Table 5 Comparison of segmentation metrics

4.3 Comparisons with existing methods

Without less noise affected MRI [39], our and Li’s method [31] give similar contours, shown in Fig. 9, which demonstrates the validity of our method. Our method prevails in two aspects: (1) the outer contour is more smooth than Li’s method, and (2) it detects more subtle bright or dark blobs which are potential abnormalities.

Fig. 9
figure 9

Comparison with the work [31]: a original MR image, b result via [31], and c result based on our method

Compared to bias field estimation [22]-based segmentation (see Fig. 10 b), our method produces more accurate segmentation result with fine localization of regions of interest, as shown in Fig. 10 d. However, result based on [22] cannot give the contour directly and it misses the black blob. Furthermore, it cannot output accurate closed regions, such as the gray matter region (polygon bounded by a closed yellow curve in Fig. 10 d). In comparison with our method, traditional level set method [28] only extracts the outermost contours, as shown in Fig 10 c. Our method detects complete contours (see Fig. 10 d), in which the contour is highlighted in yellow, including missed detections in [28].

Fig. 10
figure 10

Comparison with the works [22, 28]: a the 87th MR image, b result via [22], c result via [28], and d result based on our method

The authors in [31] take intensity inhomogeneities and level set method into account for image segmentation. The difference between ours and the one in [31] lies in that we minimize the w, while the latter minimizes the b directly. Therefore, our method can segment more regions of interest, including bright and dark blobs simultaneously, as shown in Fig. 11, which helps to improve diagnosis in medical applications.

Fig. 11
figure 11

Comparison with [31]: a the 84th MR image, b the result via [31], and c the result based on our method

4.4 Discussion

In this paper, we introduced Otsu algorithm to remove background noise from original image. It is simple but effective in coarse segmentation. Such course segmentation helps to improve accuracy in final segmentation. Additionally, bias field polyfit estimation gives a more continuous bias field map, see Fig. 2 b. Furthermore, customized initial level set functions proposed in this paper helps to segment weak-edged, low-resolution MR brain images. In a sense, we incorporate bias field estimation into multi-phase level set method to acquire fine segmentation with low computational complexity. The proposed method can outline possible abnormalities. However, lesion recognition is to be determined in future work.

5 Conclusions

In this paper, we proposed a robust MRI abnormality detection method, which utilized background noise removal and polyfit level set method. Note that we improve the work in [22, 31], with our method being able to segment subtle bright or dark blobs automatically. Background removal helped us to exclude background noise, which also provided ROI to speed up successive processing. Polyfit level set method with customized initial level set functions in this paper does segment MRIs into individual parts, including tiny tissues. Experimental results demonstrate that our method has good performance in extracting all the blobs in MRIs, in which, there are potential lesions. But, as for each divided part, whether it is abnormal is yet to be determined. In future work, we will apply our technique on brain injury detection, such as for white matter injury detection.

References

  1. HM Duvernoy, JL Vannson, P Bourgouin, EA Cabanis, F Cattin, J Guyot, MT Iba-Zizen, P Maeder, B Parratte, L Tatu, et al, The Human Brain: Surface, Three-Dimensional Sectional Anatomy with MRI, and Blood Supply (Springer, New York, 1999).

    Book  Google Scholar 

  2. J Geng, J Xie, Review of 3-D endoscopic surface imaging techniques. IEEE Sensors J. 14(4), 945–960 (2014).

    Article  Google Scholar 

  3. RW Brown, YCN Cheng, EM Haacke, MR Thompson, R Venkatesan, Magn. Reson. Imaging Phys. Principles Sequence Design (Wiley, New York, 1999).

    Google Scholar 

  4. GT Herman, WN Brouw, Image Reconstruction from Projections—Fundamentals of Computerized Tomography (Academic, New York, 1980).

    Google Scholar 

  5. J Larrey-Ruiz, J Morales-Sánchez, MC Bastida-Jumilla, RM Menchón-Lara, R Verd-́Monedero, JL Sancho-Gómez, Automatic image-based segmentation of the heart from CT scans. Eurasip J. Image Video Process. 2014(1), 1–13 (2014).

    Article  Google Scholar 

  6. Y Ohe, T Hayashi, I Deguchi, T Fukuoka, Y Horiuchi, H Maruyama, Y Kato, H Nagoya, A Uchino, N Tanahashi, MRI abnormality of the pulvinar in patients with status epilepticus. J. Neuroradiol. 41(4), 220–226 (2014).

    Article  Google Scholar 

  7. I Cheng, SP Miller, EG Duerden, K Sun, V Chau, E Adams, KJ Poskitt, HM Branson, A Basu, Stochastic process for white matter injury detection in preterm neonates. NeuroImage Clinical. 7:, 622–630 (2015).

    Article  Google Scholar 

  8. U Vovk, F Pernuš, B Likar, A review of methods for correction of intensity inhomogeneity in MRI. IEEE Trans. Med. Imaging. 26(3), 405–421 (2007).

    Article  Google Scholar 

  9. J Haselgrove, M Prammer, An algorithm for compensation of surface-coil images for sensitivity of the surface coil. Magn. Reson. Imaging. 4(6), 469–472 (1986).

    Article  Google Scholar 

  10. DL Thomas, E De Vita, R Deichmann, R Turner, RJ Ordidge, 3D MDEFT imaging of the human brain at 4.7 T with reduced sensitivity to radiofrequency inhomogeneity. Magn. Reson. Med. 53(6), 1452–1458 (2005).

    Article  Google Scholar 

  11. T Andersson, T Romu, A Karlsson, B Norén, MF Forsgren, Ö Smedby, S Kechagias, S Almer, P Lundberg, M Borga, OD Leinhard, Consistent intensity inhomogeneity correction in water–fat MRI. J. Magn. Reson. Imaging. 42(2), 468–476 (2015).

    Article  Google Scholar 

  12. A Sharma, R Bammer, VA Stenger, WA Grissom, Low peak power multiband spokes pulses for B1+ inhomogeneity-compensated simultaneous multislice excitation in high field MRI. Magn. Reson. Med. 74(3), 747–755 (2015).

    Article  Google Scholar 

  13. W Dominguez-Viqueira, BJ Geraghty, JY Lau, FJ Robb, AP Chen, CH Cunningham, Intensity correction for multichannel hyperpolarized 13C imaging of the heart. Magn. Reson. Med. 75(2), 859–865 (2015).

    Article  Google Scholar 

  14. T Oida, M Tsuchida, H Takata, T Kobayashi, Actively shielded bias field tuning coil for optically pumped atomic magnetometer toward ultralow field MRI. IEEE Sensors J. 15(3), 1732–1737 (2015).

    Article  Google Scholar 

  15. AH Andersen, Z Zhang, MJ Avison, DM Gash, Automated segmentation of multispectral brain MR images. J. Neurosci. Methods. 122(1), 13–23 (2002).

    Article  Google Scholar 

  16. EB Lewis, NC Fox, Correction of differential intensity inhomogeneity in longitudinal MR images. Neuroimage. 23(1), 75–83 (2004).

    Article  Google Scholar 

  17. P Vemuri, EG Kholmovski, DL Parker, BE Chapman, in Information Processing in Medical Imaging. Coil sensitivity estimation for optimal SNR reconstruction and intensity inhomogeneity correction in phased array MR imaging (SpringerBerlin, 2005), pp. 603–614.

    Chapter  Google Scholar 

  18. J Ashburner, KJ Friston, Unified segmentation. Neuroimage. 26(3), 839–851 (2005).

    Article  Google Scholar 

  19. A Banerjee, P Maji, in Computer Analysis of Images and Patterns. Contraharmonic mean based bias field correction in MR images (SpringerBerlin, 2013), pp. 523–530.

    Chapter  Google Scholar 

  20. SK Adhikari, JK Sing, DK Basu, M Nasipuri, PK Saha, A nonparametric method for intensity inhomogeneity correction in MRI brain images by fusion of Gaussian surfaces. Signal Image Video Process. 9(8), 1945–1954 (2015).

    Article  Google Scholar 

  21. W-Q Deng, X-M Li, X Gao, C-M Zhang, A modified fuzzy C-means algorithm for brain MR image segmentation and bias field correction. J. Comput. Sci. Technol. 31(3), 501–511 (2016).

    Article  MathSciNet  Google Scholar 

  22. C Li, JC Gore, C Davatzikos, Multiplicative intrinsic component optimization (MICO) for MRI bias field estimation and tissue segmentation. Magn. Reson. Imaging. 32(7), 913–923 (2014).

    Article  Google Scholar 

  23. T Xu, I Cheng, R Long, A Mandal, Novel coarse-to-fine dual scale technique for tuberculosis cavity detection in chest radiographs. Eurasip J. Image Video Process.2013(1), 1–18 (2013).

    Article  Google Scholar 

  24. DL Pham, C Xu, JL Prince, Current methods in medical image segmentation. Annu. Rev. Biomed. Eng.2(1), 315–337 (2000).

    Article  Google Scholar 

  25. H Narkhede, Review of image segmentation techniques. Int. J. Sci. Modern Eng.1(8), 54–61 (2013).

    Google Scholar 

  26. J Duan, Z Pan, X Yin, W Wei, G Wang, Some fast projection methods based on Chan-Vese model for image segmentation. Eurasip J. Image Video Process.2014(1), 1–16 (2014).

    Article  Google Scholar 

  27. R Malladi, JA Sethian, BC Vemuri, Shape modeling with front propagation: a level set approach. IEEE Trans. Pattern Anal. Mach. Intell.17(2), 158–175 (1995).

    Article  Google Scholar 

  28. C Li, C Xu, C Gui, MD Fox, in IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR). Level set evolution without re-initialization: a new variational formulation (IEEECalifornia, 2005), pp. 430–436.

    Google Scholar 

  29. G Zhu, S Zhang, Q Zeng, C Wang, Boundary-based image segmentation using binary level set method. Opt. Eng.46(5), 050501–3 (2007).

    Article  Google Scholar 

  30. C Li, C Xu, C Gui, MD Fox, Distance regularized level set evolution and its application to image segmentation. IEEE Trans. Image Process.19(12), 3243–3254 (2010).

    Article  MathSciNet  Google Scholar 

  31. C Li, R Huang, Z Ding, JC Gatenby, DN Metaxas, JC Gore, A level set method for image segmentation in the presence of intensity inhomogeneities with application to MRI. IEEE Trans. Image Process.20(7), 2007–2016 (2011).

    Article  MathSciNet  Google Scholar 

  32. A Dirami, K Hammouche, M Diaf, P Siarry, Fast multilevel thresholding for image segmentation through a multiphase level set method. Signal Process.93(1), 139–153 (2013).

    Article  Google Scholar 

  33. MT El-Melegy, HM Mokhtar, Tumor segmentation in brain MRI using a fuzzy approach with class center priors. Eurasip J. Image Video Process.2014(1), 1–14 (2014).

    Article  Google Scholar 

  34. CG Koay, PJ Basser, Analytically exact correction scheme for signal extraction from noisy magnitude MR signals. J. Magn. Reson.179(2), 317–322 (2006).

    Article  Google Scholar 

  35. S Aja-Fernández, C Alberola-López, C-F Westin, Noise and signal estimation in magnitude MRI and Rician distributed images: a LMMSE approach. IEEE Trans. Image Process.17(8), 1383–1398 (2008).

    Article  MathSciNet  Google Scholar 

  36. N Otsu, A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybernet.9(1), 62–66 (1979).

    Article  Google Scholar 

  37. AA Aboaba, S Hammed, OO Khalifa, AH Abdalla, Region and active contour-based segmentation technique for medical and weak-edged images. J. Comput. Appl. Math.1(3), 72–78 (2015).

    Google Scholar 

  38. MATLAB Central (2017). https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/4879/versions/7/download/zip/MRI_Brain_Scan.zip. Accessed 01 Feb 2017.

  39. Chunming Li’s Home Page (2017). http://www.engr.uconn.edu/~cmli/. Accessed 01 Feb 2017.

Download references

Acknowledgements

The authors would like to thank NSERC, Canada, for their financial support of this research.

Funding

The work was supported in part by the Open Project of the Artificial Intelligence Key Laboratory of Sichuan Province under grant nos. 2014RZY02 and 2017RZJ03, the Open Project of Sichuan Province University Key Laboratory of Bridge Non-destruction Detecting and Engineering Computing under grant no. 2014QZY01, Natural Science Foundation of Sichuan University of Science and Engineering (SUSE) under grant nos. 2015RC08 and 2017RCL23, and Educational reform project of SUSE under grant no. JG-1707. The work was also supported in part by the Training Programs of Innovation and Entrepreneurship of Sichuan Province for Undergraduates under grant no. 201710622088. The work was also supported in part by Guangxi Key Laboratory of Cryptography and Information Security under grant no. GCIS201607.

Availability of data and materials

Not applicable.

Author information

Authors and Affiliations

Authors

Contributions

CL and AB designed the algorithm, and CL wrote the paper and also performed the experiments. IC and AB reviewed and edited the manuscript. JY gave a critical suggestion on experimental section. All authors read and approved the manuscript.

Corresponding author

Correspondence to Changjiang Liu.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, C., Cheng, I., Basu, A. et al. Robust MRI abnormality detection using background noise removal with polyfit surface evolution. J Image Video Proc. 2017, 60 (2017). https://doi.org/10.1186/s13640-017-0209-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13640-017-0209-y

Keywords