 Open Access
 Total Downloads : 520
 Authors : Jadhav Swapnil N, Prof. Sarita V. Verma
 Paper ID : IJERTV3IS080802
 Volume & Issue : Volume 03, Issue 08 (August 2014)
 Published (First Online): 26082014
 ISSN (Online) : 22780181
 Publisher Name : IJERT
 License: This work is licensed under a Creative Commons Attribution 4.0 International License
Revived Fuzzy KMeans Clustering Technique for Image Segmentation
Jadhav Swapnil N.
Embedded Systems. BAMU University, MIT College of Engineering,
Beed Bypass road, Aurangabad, India
Prof. Sarita V. Verma
Dept. of Electronics & Communication, BAMU University, MIT College of Engineering,
Beed Bypass road, Aurangabad, India
Abstract In this paper we have presented an approach in regards with image segmentation by applying Kmeans clustering algorithm. Kmeans algorithm is most widely used algorithm in the many fields. The paper proposes some examples of simple images taken by normal mobile phone and then that image segmentation is done using Kmeans clustering algorithm. Kmeans algorithm brings forward exact segmentation results as compared to other clustering techniques. Initially, the pixels are grouped in a particular cluster based on its colour and distance between other pixels, where the clustering process is achieved. Afterwards the clusters are blended to specific regions. Therefore this algorithm is providing new aspect of image segmentation which will be widely used for image retrieval. The algorithm shows intended results of our tentativeness for improving clustering with respect to computational time.
Keywords Clustering, Kmeans Algorithm, Segmentation, Fuzzy clustering.

INTRODUCTION
Normally images are way of conveying emotions, feelings or certain information in a easier way. We can easily get the information from the image by just looking at it, but the same information should be extracted by processing unit for performing certain task related to it. So the image is segmented into different clusters for getting related information from the image. Thus due to image clustering it becomes easy for passing certain information as well as it also helps in understanding in a proper way.
Clustering is a technique in which the image is divided into number of parts depending upon the number of clusters or in other words the value of K specified earlier. The clusters or parts of image are formed taking into consideration certain parameters. In a cluster the number of pixels present has a particular similarity depending upon the constraint applied. But if we use fuzzy clustering technique, then a particular pixel might be present in more one cluster. As stated earlier the clustering process can be used to retrieve information to create clusters by assigning certain pixels to a specific cluster having similar parameters. The cluster formed by the collection of certain number of pixels having similar parameters such as for example brightness, colour, phosphorescent etc. By creating clusters of image using any of the segmentation technique, image analysis and processing becomes easier, simple and faster. Because of more efficiency
and simplicity, revived Kmeans clustering technique used for segmentation of mobile images [1]. In a cluster all the pixels are interlinked with each other. For creating such clusters the process used is called as Fuzzy Kmeans [2] (Lloyds algorithm). Image segmentation is used in many areas such as compression, retrieval, detection and enhancement of image.

LITERATURE SURVEY
There are different techniques of segmentation, as in segmentation means in simple words its grouping of similar parameter pixels grouped together for forming a segment. Different user may think of different parameter for forming cluster, depending upon the requirement or area of interest. But in fuzzy cluster formation a particular pixel may be present in more than one cluster. The parameters which are normally taken into consideration for forming cluster or segments of a particular image can be colour, gray level (if the image is black and white), texture, brightness etc [3][4]. After the segmentation process all the clusters collectively completes the complete image. A effective K means algorithm performs good clustering with exact number of segments by reducing suggested cost function [5]. The algorithm is based on influenced that automatically get the value of K and selecting the good initial points [6]. Kmeans algorithm is reported to be implemented in spatial clustering [7], in Support Vector Machines [8], using simple partitioning [9] and for clustering categorical data [10] etc. K means algorithm is taken as an account which shows that modified K means algorithm can give better results [10].
In earlier days K means clustering algorithm was only used in number of applications related to the genetical studies. The changes in K means clustering algorithm for genetical studies, genetic Kmeans clustering algorithm called GKMCA is a combination of a genetic algorithm (GA) and the iterative optimal Kmeans algorithm (IOKMA) for clustering in genetical datasets. The GKMCA is better as compared to IOKMA [11]. Fast Genetic Kmeans Algorithm (FGKA) inspired by the Genetic Kmeans Algorithm (GKA) is considered to execute much faster than GKA [12].
As there are number of different clustering algorithms, for example, hierarchical clustering, selforganizing maps (SOM), modified kmeans clustering etc is effective tool of analysis for data and images. Hierarchical clustering
algorithm is used for gene expression patterns. This algorithm creates hierarchy from top to bottom principle for self organizing tree. As compared to traditional hierarchical agglomerative clustering (HAC) algorithm it was considered more effective [13]. Fuzzy adaptive resonance theory (Fuzzy ART) or Fuzzy K means is used to gene clustering of DNA microarray data and the clustering result was better than other methods of clustering including hierarchical clustering, SOM, and kmeans clustering [13]. Lloyd's Kmeans Clustering and the Progressive Greedy Kmeans are used for recognizing pixels with same parameters, such as genes with similar expression patterns. The analysis was performed using both a gene expression level sample and on randomlygenerated datasets in threedimensional space. Of the two types, Lloyd's Kmeans Clustering algorithm was observed to be more efficient and gives better results, so we have implemented K means clustering algorithm.

FLOW OF SYSTEM
Fig. 1.Flowchart of Kmeans clustering algorithm.
In Kmeans clustering algorithm that is used to segment an image into K clusters. The above flowchart works as follows:
Here we initially decide the value of K, which can give relatively better result for analysis. Then we have to calculate K cluster centers (randomly).Then we allot every pixel in the image to the cluster that will reduce the distance between the pixel and the cluster center. After this we have to again calculate the cluster centers by averaging all of the pixels in the cluster. Then we have to repeat the process again and again unless the algorithm converges (i.e. neither the pixels nor the centers changes their position).
Kmeans algorithm is guaranteed to converge, but it may not give optimal results. The quality of the output may relay on the initial set of clusters and the number of clusters.

THE FUZZY KMEANS CLUSTERING ALGORITHM This is a new type of clustering algorithm Fuzzy Kmeans
clustering algorithm is presented. For implementation of FKM, consider a image with RÃ—S pixels (i.e., R denotes columns and S denotes rows of image) to be clustered. Let p(x,y) be the considered pixel and cj as the jth centre, where x
= 1, 2, …., R, y=1, 2, …., S and j = 1, 2, ., nc. Based on the
initially mentioned consideration, for the conventional K means, all pixels will be assigned to the nearest cente based on Euclidean distance. The new position for each centre is calculated using [14]:
(1)
Just like conventional FCM, the process of assigning every pixel to more than one cluster is based on the following function [14]:
(2)
(3)
where djp(x,y) is distance from point (x,y) to the current cluster centre j, dkp(x,y) is distance from point (x,y) to other cluster centres k, nc is number of centres and m is an integer, m >1 which determine the degree of fuzziness. The normal FCM, the pixels are allocated to a particular cluster based on the distance between two points. While, in Kmeans each cluster must have meaningful number of pixels and the differences among the clusters should be minimized to ensure a good clustered output [16]. Initially centers are assigned to a certain value. Fuzzy cluster formation is applied here as it makes a particular pixel to be present in more than one cluster. The membership function M mjp(x, y), is calculated by using

and (3). In FKM, the membership function is performed within the pixels. Normally, the nearer the pixel, maximum is the effect on the clustering output. Thus, we get a very good effect on the degree of membership, which is afterwards used in finding out new location of center. In effective clustering process, changing of center position concept is put forward in the FKM algorithm which tells, that every cluster must have a certain value of belongingness which shows the bounding between the centre and its members. So, after indicating the membership for each pixel, the degree of belongingness, Bj for every cluster is determined. This relationship indicates a very good effect on the clustering output through the degree of belongingness. Maximum degree of belongingness gives a good relationship between the centre and its pixels in the same cluster, thus we get a good data clustering results. The degree of belongingness, Bj is determined by:
(4)
For improving the clustering technique, it is necessary for the degree of membership is used effectively based on amount of belongingness. While putting forward the concept of belongingness, Fuzzy K means states that each cluster should have members with a strong relationship formed between them and the difference of belongingness among the clusters
should be reduced [16]. The value of M mjp(x,y), is updated in the iteration according to:
(5)
Where M mjp(x,y) is the new membership. M mjp(x,y), is given as:
VI. STIMULATION RESULTS
(6)
where is a considered having constant value between 0 and 1 and it is generally set to 0.1. Simultaneously, calculate the value of ej considering :
(7)
where Bj is the normalized value for belongingness. At last new centre positions of the entire existing clusters are calculated based on the new membership function according to:
(8)
(Note: Amount of fuzziness, m is set to 2) All the steps are repeated until the centre position does not change.


OVERVIEW OF SYSTEM
Let X = {x1,x2,x3,..,xn} be the set of data points and V = {v1,v2,.,vc} be the set of centers.

Without a particular aim select c cluster centers.

Find the distance between each data point and cluster centers.

Assign the data point to the cluster center whose distance from the cluster center is minimum of all the cluster centers.

Again calculate the new cluster center using:
Where ci represents the number of data points in ith
cluster.

Recalculate the distance between each data point and new obtained cluster centers.

If no data point was reassigned then stop, otherwise repeat from step 3.
Fig. 2. First row shows original images (a) Mouth (b) Flowers (c) Tyre , Second, third, fourth and fifth rows contain K=1,2,3,4, Final row shows addition of all earlier rows output.
In this paper we have applied Fuzzy Kmeans clustering algorithm for certain images which are captured using normal camera for example mouth, flowers and tyre. The second row shows the results, where we have applied K=1, for third row we have applied K=2 and so on.. But the last row shows the addition of all rows i.e. from row second to fifth.

ADVANTAGES OF KMEANS CLUSTERING.

Can be easily implemented.

Will defiantly converge in few initial iteration.

It is linear complexity.


DISADVANTAGES OF KMEANS CLUSTERING.

Need to specify value of K in advance.

Sensitive to outliers.

May yield empty clusters.


APPLICATIONS OF KMEANS CLUSTERING.

Web page classification.

Classification analysis.

Artificial intelligence.

Image processing.

Machine vision.

Email filtering.

Pattern recognition.

Unsupervised learning of neural networks.


FUTURE SCOPE

This clustering process can be completely automated on data, is done in automated fashion.

The speed of making clusters of particular image can be increased by using nearest neighbor graph.

We can increase the system productivity with minimum efforts.


CONCULSION
We have implemented Kmeans clustering algorithm for smaller values of K. This algorithm gave us better results and it converged at much faster rate. If we consider larger values of k, then the results might have been very coarse and many clusters would have appeared in the images at distinct areas. This is due to as Euclidean distance is not a very good parameter for cluster formation. Different initial clustering may result in different final clusters. So it is necessary to re run the code several number of times for same and different values of K inorder to compare the quality of clusters obtained. We make clusters of image into different regions with the help of Fuzzy Kmeans algorithm and then we check the consistency of regions according to predicate.
Aim of developing an exact and more consistent image which can be used in finding cracks, face recognition, finger print recognition and in locating an object clearly from a satellite image etc [15]. It works nicely when segments are not well separated from each other. We revived an idea of clustering of images based on the different parameters of the image. It minimizes cluster to cluster variance, but it does not make sure that the final result has a global minimum of variance.
REFERENCES

S. P. Lloyd, Least squares quantization in PCM, IEEE Trans. Inf.Theory, vol. IT28, no. 2, pp. 129136, Mar.1982.

J. Shi and J. Malik, Normalized cuts and image segmentation, IEEE Trans. Pattern Anal.Mach. Intell., vol. 22, no. 8, pp. 888905, Aug.2000.

M. Mignotte, C. Collet, P. PÃ©rez, and P. Bouthemy, Sonar image segmentation using a hierarchical MRFmodel, IEEE Trans. Image Process., vol. 9, no. 7, pp.12161231, Jul. 2000.

F. Destrempes, J.F. Angers, and M. Mignotte, Fusion of hidden Markov random field models and its Bayesian estimation, IEEE Trans. Image Process., vol. 15, no. 10,pp. 29202935, Oct. 2006.

Mingwei Leng, Haitao Tang, Xiaoyun Chen, An Efficient Kmeans Clustering Algorithm Based on Influence, Proceedings of the Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD 2007) – Volume 02 815820.

Zhe Zhang Junxi Zhang Huifeng Xue, Improved KMeans Clustering Algorithm, Proceedings of the 2008 Congress on Image and Signal Processing, Vol. 5 – Volume 05 Pages 169172, 2008.

Tian, DaDong; Deng, Wei Jisuanji Gongcheng yu Yingyong, Application of the improved Kmeans clustering algorithm in support vector machine., Computer Engineering and Aplications, Vol. 42, no. 32, pp. 161163. 11 Nov. 2007.

Hung, MingChuan; Wu, Jungpin; Chang, JinHua; Yang, DonLin, An efficient kmeans clustering algorithm using simple partitioning, Journal of Information Science and Engineering. Vol. 21, no. 6, pp. 11571177. Nov. 2005.

Ming Lei, Pilian He, Zhichao Li, An Improved Kmeans Algorithm for Clustering Categorical Data, Journal of Communication and Computer, Aug. 2006, Volume 3, No.8 (Serial No.21).

FangXiang Wu, A genetic weighted kmeans algorithm for clustering gene expression data, IMSCCS 2007. Second International Multi Symposiums on Volume , Issue , 1315 Aug. 2007 Page(s):6875.

Yi Lu, Shiyong Lu, Farshad Fotouhi, Youping Deng, Susan J. Brown, FGKA: A Fast Genetic Kmeans Clustering Algorithm, Symposium on Applied Computing, Proceedings of the 2004 ACM symposium on Applied computing, Pages: 622623, 2004.

Adil M. Bagirov and Karim Mardaneh, Modified global kmeans algorithm for clustering in gene expression data sets, ACM International Conference Proceeding Series; Vol. 246 Pages: 23 28, 2006.

Pablo Tamayo, Donna Slonim, Jill Mesirov, Qing Zhu, Sutisak Kitareewan, Ethan Dmitrovsky, Eric S. Lander and Todd R. Golub, Interpreting patterns of gene expression with selforganizing maps: Methods and application to hematopoietic differentiation, PNASMarch 16, 1999 vol. 96 no. 6 29072912.

M. Y. Mashor, Hybrid Training Algorithm for RBF Network, International Journal of Computer, Internet and Management, vol. 8, no. 2, pp. 5065, 2000.

S.Mary Praveena, Dr.IlaVennila, Optimization Fusion Approach for Image Segmentation Using KMeans Algorithm, International Journal of Computer Applications (0975 8887)Volume 2 No.7, June 2010.

Siti Noraini Sulaiman and Nor Ashidi Mat Isa, Adaptive FuzzyK means Clustering Algorithm for Image Segmentation, IEEE Transactions on Consumer Electronics, Vol. 56, No. 4, November 2010.