Keywords

1 Introduction

The process of Image Segmentation is defined as partitioning or dividing the image into multiple parts (also known as segments) in such a way that pixels in one segment are similar to each other with respect to some characteristic and dissimilar from the ones in other segments. Image segmentation has several applications like Machine vision, Medical imaging, Object detection and many more.

There are several algorithms and techniques available for image segmentation [1, 2]. The simplest and oldest method of image segmentation is Thresholding method. Other famous approaches are based on Detection of Edges, Histogram-based methods, Compression-based methods, Clustering methods and Region-growing methods.

Clustering is a widely used technique for segmentation of images [3]. Clustering further is classified into different categories. An algorithm named Fuzzy c-means (FCM) is used for data clustering in which an element can belong to multiple clusters [4]. Every element in the population has a set of membership values. These membership values determine the intensity of association among the element and the depicted cluster. These membership values are stored in a partition matrix.

For data refinement, a technique named Scale Space Filter is used in which the data elements are transformed to higher dimensions [5]. The objective of using this techniques is to separate the data elements on the basis of proximity and other separability measures. The technique results in the transformation of data elements in such a way that closer elements will come more closer and remaining elements will scatter farther.

In the following approach, a method is designed for image segmentation in which Optimized Selective Scale Based Fuzzy c-Means approach is used. This approach is design to improve the quality of segmentation of images.

2 Methodology

2.1 Selective Scale Spaced FCM Method Based on Standard Deviation

Roy [6], given an algorithm in which they proved that for scale space transformation all parameters are not suitable. So in that algorithm, firstly the standard deviation of each parameter is computed and the value is compared with a threshold value. Only for lower standard deviation value scale space transformation is applied but for the standard deviation value greater than the threshold value scale space filter technique will not be applied on those parameters [23].

Multiple functions are present which can be used for scale space filters. Among them, Polynomial and Gaussian functions are most popular ones. In this methodology, Gaussian transformation function is applied. This function is defined as follows:

$$ f\left( {x,\sigma } \right) = \frac{1}{{\left( {\sigma \sqrt {2\pi } } \right)^{2} }}e^{{ - \frac{{E^{2} \left( {x - x_{i} } \right)}}{{2\sigma^{2} }}}} $$
(1)

Suppose n are the number of objects which are needed to be clustered and the feature vector is represented as S = {p1, p2,….., pn}. Let m are the number of attributes that each point has and C are the number of cluster, C = {k1, k2,…., kc}. Cluster Validity is measured by using Xie-Beni index [7]. We can define this index by using Eq. 2.

$$ XB\left( {P,C} \right) = \frac{{v_{x} (P,C)}}{n \,d(C)} = \frac{{\mathop \sum \nolimits_{i = 1}^{C} \mathop \sum \nolimits_{j = 1}^{n} \mu_{ij}^{2} E^{2} (c_{i} ,x_{j} )}}{{n\,min_{i \ne j} E^{2} (c_{i} ,c_{j} )}} $$
(2)

The value of member function is given by Eq. 3.

$$ \mu_{i,k} = \frac{1}{{\mathop \sum \nolimits_{j = 1}^{C} \left( {\frac{{E\left( {c_{i} - x_{k} } \right)}}{{E\left( {c_{j} - x_{k} } \right)}}} \right)^{{\frac{2}{m - 1}}} }}, 1\, \le \,i\, \le \,C, \,1\, \le \,n $$
(3)

The Center is updated using Eq. 4.

$$ c_{i} = \frac{{\mathop \sum \nolimits_{k = 1}^{n} \left( {\mu_{ik} } \right)^{m} x_{k} }}{{\mathop \sum \nolimits_{k = 1}^{n} \left( {u_{ik} } \right)^{m} }} $$
(4)

The generic fuzzy c-means algorithm can be described as follows:

  1. 1:

    Declare the Matrix as Fn×CS.

  2. 2:

    Declare ObjValue as Real

  3. 3:

    Initialize the Cluster Center, C

  4. 4:

    while ObjValue \( \le \) Benchmark do

  5. 5:

    Populate Fuzzy Partition Matrix using (3)

  6. 6:

    Update Cluster Center using (4)

  7. 7:

    Update the ObjValue using ObjectiveFunction(C, Fn×C)

  8. 8:

    end while

The fuzzy membership has to be:

$$ \mathop \sum \limits_{k = 1}^{n} \mathop \sum \limits_{i = 1}^{C} \mu_{ik} = n $$

where \( 0 \le \mu_{ik} \le 1, i = 1,2, \ldots \ldots , C\, and\,j = 1,2, \ldots \ldots ,n. \)

The Selective Scale Spaced FCM algorithm based on Standard deviation can be described as follows:

figure a

2.2 Proposed Method

In proposed method, an optimized approach of selective scale based fuzzy c-means algorithm is presented. There are several optimization techniques. In this model, Genetic Algorithm is applied.

Genetic Algorithm is one of the commonly method used to decide the optimal value of a criterion [8]. The optimal value is determined by simulating the evolution of population until we will not encounter the best fitted individuals among the population. It is obtained by mutation selection and crossover of individuals from the existing population.

Genetic Algorithm consists of following essential data:

  1. (a)

    Genotype: It is resulted segmented image which is considered as an individual.

  2. (b)

    Initial Population: It is a set of individuals characterized on the basis of genotype.

  3. (c)

    Fitness Function: A function which is used to quantify the fitness of individual.

  4. (d)

    Operators on genotype: There are three different operators. These are mutation, selection and cross-over.

  5. (e)

    Stopping Criterion: It allows to stop this evolution process.

The proposed algorithm is given as follows:

figure b

3 Results

The designed algorithm is applied on the MRI brain images. The results of designed algorithm are compared with existing approach using AE (Average Error), NED (Normalized Euclidean Distance) and SNR (Signal to Noise Ratio) [9]. I(i, j) is considered here as input image where i = 1, 2, 3, 4 …, M and j = 1, 2, 3, 4 …, N and O(i, j) is considered as output image, then the criterion is calculated as follows:

  1. (i)

    Average Error (AE):

    $$ AE = \frac{1}{M \cdot N} \mathop \sum \limits_{i = 1}^{M} \mathop \sum \limits_{j = 1}^{N} \sqrt {(I\left( {i,j} \right) - O\left( {i,j} \right))^{2} } $$
    (5)
  2. (ii)

    Normalized Euclidean Distance (NED):

    $$ NED = \frac{1}{M \cdot N} \sqrt {\mathop \sum \limits_{i = 1}^{M} \mathop \sum \limits_{j = 1}^{N} (I\left( {i,j} \right) - O\left( {i,j} \right))^{2} } $$
    (6)
  3. (iii)

    Signal to Noise Ratio (SNR):

    $$ SNR = 10\log_{10} \left[ {\frac{{\sum\nolimits_{i = 1}^{M} {\sum\nolimits_{j = 1}^{N} {I^{2} (i,j)} } }}{{\sum\nolimits_{i = 1}^{M} {\sum\nolimits_{j = 1}^{N} {(I\left( {i \cdot j} \right) - O\left( {i,j} \right))^{2} } } }}} \right] $$
    (7)

The comparison between proposed and existing algorithm is shown in Table 1.

Table 1. Results of proposed method in comparison to Selective Scale Spaced FCM.

The values shown in Table 1 are also plotted in graphs to compare the values of AE, NED and SNR for both the techniques. In graph, the Optimized Scale Spaced FCM is represented with black line and the Selective Scale Spaced FCM is represented with blue line. The graph for comparison according to AE, NED and SNR values are shown in Figs. 1, 2 and 3 respectively.

Fig. 1.
figure 1

Comparison based on AE values (Color figure online)

Fig. 2.
figure 2

Comparison based on NED values (Color figure online)

Fig. 3.
figure 3

Comparison based on SNR values (Color figure online)

The MR images after segmentation using proposed method are shown in Fig. 4.

Fig. 4.
figure 4

Results of segmentation with optimized scale space FCM method.

4 Conclusion

In this paper, an algorithm named Fuzzy c-Means is surveyed along with its variation i.e. selective scale space FCM based on standard deviation. An Optimized scale spaced FCM method is proposed in this paper. This proposed algorithm achieves better segmentation results as compared to the existing method.

There is scope of betterment of this algorithm. Firstly, the computational time of this method is higher than the original Fuzzy C-Means algorithm. So, one can try to reduce this computational time in future work. Secondly, in this method Genetic Algorithm is used for optimization purpose. Other optimization techniques can also be used and the results can be compared.