Image Segmentation and Recognition

Similar documents
Colour Image Segmentation Technique for Screen Printing

Analecta Vol. 8, No. 2 ISSN

A Method of Caption Detection in News Video

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

Assessment. Presenter: Yupu Zhang, Guoliang Jin, Tuo Wang Computer Vision 2008 Fall

A Dynamic Approach to Extract Texts and Captions from Videos

REAL TIME TRAFFIC LIGHT CONTROL USING IMAGE PROCESSING

Bisecting K-Means for Clustering Web Log data

Face Recognition in Low-resolution Images by Using Local Zernike Moments

Modelling, Extraction and Description of Intrinsic Cues of High Resolution Satellite Images: Independent Component Analysis based approaches

Visual Structure Analysis of Flow Charts in Patent Images

A ROBUST BACKGROUND REMOVAL ALGORTIHMS

QUALITY TESTING OF WATER PUMP PULLEY USING IMAGE PROCESSING

Palmprint Recognition. By Sree Rama Murthy kora Praveen Verma Yashwant Kashyap

Template-based Eye and Mouth Detection for 3D Video Conferencing

Distances, Clustering, and Classification. Heatmaps

Medical Image Segmentation of PACS System Image Post-processing *

Vision based Vehicle Tracking using a high angle camera

Canny Edge Detection

DATA MINING CLUSTER ANALYSIS: BASIC CONCEPTS

How To Fix Out Of Focus And Blur Images With A Dynamic Template Matching Algorithm

Simultaneous Gamma Correction and Registration in the Frequency Domain

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Neural Network based Vehicle Classification for Intelligent Traffic Control

A Learning Based Method for Super-Resolution of Low Resolution Images

Saving Mobile Battery Over Cloud Using Image Processing

Morphological segmentation of histology cell images

Defect detection of gold-plated surfaces on PCBs using Entropy measures

STATISTICA. Clustering Techniques. Case Study: Defining Clusters of Shopping Center Patrons. and

Tutorial for Tracker and Supporting Software By David Chandler

Multivariate data visualization using shadow

An Energy-Based Vehicle Tracking System using Principal Component Analysis and Unsupervised ART Network

CONTENT-BASED IMAGE RETRIEVAL FOR ASSET MANAGEMENT BASED ON WEIGHTED FEATURE AND K-MEANS CLUSTERING

K-means Clustering Technique on Search Engine Dataset using Data Mining Tool

ARTIFICIAL INTELLIGENCE (CSCU9YE) LECTURE 6: MACHINE LEARNING 2: UNSUPERVISED LEARNING (CLUSTERING)

Circle Object Recognition Based on Monocular Vision for Home Security Robot

Segmentation of building models from dense 3D point-clouds

Image Compression through DCT and Huffman Coding Technique

Using Data Mining for Mobile Communication Clustering and Characterization

A Study on SURF Algorithm and Real-Time Tracking Objects Using Optical Flow

Automatic Detection of PCB Defects

PERFORMANCE ANALYSIS OF CLUSTERING ALGORITHMS IN DATA MINING IN WEKA

Comparison of different image compression formats. ECE 533 Project Report Paula Aguilera

Multimodal Biometric Recognition Security System

A successful market segmentation initiative answers the following critical business questions: * How can we a. Customer Status.

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

Methodology for Emulating Self Organizing Maps for Visualization of Large Datasets

Clustering Anonymized Mobile Call Detail Records to Find Usage Groups

Blog Post Extraction Using Title Finding

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Machine Learning using MapReduce

. Learn the number of classes and the structure of each class using similarity between unlabeled training patterns

Chapter ML:XI (continued)

Image Gradients. Given a discrete image Á Òµ, consider the smoothed continuous image ܵ defined by

Clustering. Adrian Groza. Department of Computer Science Technical University of Cluj-Napoca

Topographic Change Detection Using CloudCompare Version 1.0

Multiscale Object-Based Classification of Satellite Images Merging Multispectral Information with Panchromatic Textural Features

The Role of SPOT Satellite Images in Mapping Air Pollution Caused by Cement Factories

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

Movie Classification Using k-means and Hierarchical Clustering

Semi-Supervised Learning in Inferring Mobile Device Locations

Tracking and Recognition in Sports Videos

Robust and accurate global vision system for real time tracking of multiple mobile robots

JPEG compression of monochrome 2D-barcode images using DCT coefficient distributions

FPGA Implementation of Human Behavior Analysis Using Facial Image

Data Storage 3.1. Foundations of Computer Science Cengage Learning

An Automatic and Accurate Segmentation for High Resolution Satellite Image S.Saumya 1, D.V.Jiji Thanka Ligoshia 2

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

Research on Clustering Analysis of Big Data Yuan Yuanming 1, 2, a, Wu Chanle 1, 2

Use of Data Mining Techniques to Improve the Effectiveness of Sales and Marketing

Facebook Friend Suggestion Eytan Daniyalzade and Tim Lipus

Clustering. Data Mining. Abraham Otero. Data Mining. Agenda

EM Clustering Approach for Multi-Dimensional Analysis of Big Data Set

Keywords image processing, signature verification, false acceptance rate, false rejection rate, forgeries, feature vectors, support vector machines.

A Survey of Video Processing with Field Programmable Gate Arrays (FGPA)

A New Image Edge Detection Method using Quality-based Clustering. Bijay Neupane Zeyar Aung Wei Lee Woon. Technical Report DNA #

Computational Foundations of Cognitive Science

Social Media Mining. Data Mining Essentials

1. Introduction to image processing

Clustering Technique in Data Mining for Text Documents

Tracking of Small Unmanned Aerial Vehicles

Task Scheduling in Hadoop

Intelligent Diagnose System of Wheat Diseases Based on Android Phone

The Scientific Data Mining Process

Poker Vision: Playing Cards and Chips Identification based on Image Processing

Traffic Prediction in Wireless Mesh Networks Using Process Mining Algorithms

Segmentation & Clustering

CHAPTER 1. Introduction to CAD/CAM/CAE Systems

Norbert Schuff Professor of Radiology VA Medical Center and UCSF

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

Pest Control in Agricultural Plantations Using Image Processing

Sachin Patel HOD I.T Department PCST, Indore, India. Parth Bhatt I.T Department, PCST, Indore, India. Ankit Shah CSE Department, KITE, Jaipur, India

An Iterative Image Registration Technique with an Application to Stereo Vision

A Color Placement Support System for Visualization Designs Based on Subjective Color Balance

GIS Tutorial 1. Lecture 2 Map design

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

How To Cluster

Signal to Noise Instrumental Excel Assignment

AN IMPROVED DOUBLE CODING LOCAL BINARY PATTERN ALGORITHM FOR FACE RECOGNITION

Transcription:

Image Segmentation and Recognition A. Abirami Shri E. Aruna Ajanthaa Lakkshmanan ABSTRACT Image segmentation refers to segmenting or dividing an image which corresponds to objects or different parts of an object. The segmentation is carried out using K-means clustering algorithm, which is a fast and efficient way to segment an image. K-means is one of the most widely used algorithm. We have implemented a color based image segmentation using K- means clustering technique. The K-means algorithm is an iterative technique used to partition image into K clusters. It improves the process of segmentation with respect to both time and quality. After segmentation of the image, Edge Reocgnition in an image is done,which refers to the recognition of the edges separately of the image. Edge recognition is carried out using Sobel Filter, which is used to detect edges based on applying a horizontal and vertical filter in sequence. In this project, Both filters are applied to the image and summed to form the final result. Keywords Segmentation, K-means clustering, Sobel Filter 1. INTRODUCTION 1.1 Segmentation Image segmentation is the splitting up of an image into regions or classes, which direct to different entities or fractions of the entity. Every pixel in an image is allocated to one of a number of these categories. A good quality segmentation is one in which the pixels in identical class have analogous grayscale of multivariate values and form a connected region and neighboring pixels which are in different classes have disparate values. Segmentation is often the pivotal step in image analysis. It is the stage, at which we shift from considering each pixel as a unit of observation to working with objects (or) parts of objects in the image, comprising of many pixels. If segmentation is performed properly then all other stages in image analysis are made simpler. But, as we shall see, accomplishment is often only partial when automatic segmentation algorithms are used. However, manual intercession can usually trounce on these problems, and by this stage the computer should already have done most of the work. Segmentation algorithms can either be applied to the images as originally traced or after the application of transformations. There are three universal approaches to segmentation, named thresholding, edge-based methods and region-based methods. 1.2 K-means Clustering K-means clustering is a method of organizing items into k factions (where k is the number of pre-chosen factions). The categorizing is done by curtailing the sum of squared distances (Euclidean distances) between items and the corresponding centroid. A non-hierarchical technique of forming fine clusters is to stipulate a preferred number of clusters, say, k, then allocate each case (object) to one of k clusters so as to reduce the measure of dispersion within the clusters. A very familiar measure is the sum of distances or sum of squared Euclidean distances from the mean of each cluster. The problem can be identified as an integer programming problem but because solving integer programs with a huge number of variables is time taking, clusters are often worked out using a quick, heuristic scheme that normally generates good (but not necessarily most favorable) solutions. The k-means algorithm is one such technique. K-Means Training is initiated by a solitary cluster with its center as the mean of the data. This cluster is divided into two and the means of the new clusters are repeatedly trained. These two clusters are further divided and the same method continues until the particular number of clusters is achieved. If the previously mentioned number of clusters is not a power of two, then the nearest power of two greater than the number specified is taken into consideration and then the slightest significant clusters are discarded and the remaining clusters are again trained iteratively to obtain the ultimate clusters. 1.3 Sobel Filter The Sobel operator is employed in image processing, predominantly in edge detection algorithms. Precisely, it is a discrete differentiation operator, calculating an estimate of the gradient of the image intensity function. At every point in the image, the outcome of the Sobel operator is either the corresponding gradient vector or the norm of this vector. The Sobel operator is founded on convolving the image with a small, discrete, and integer valued filter in horizontal and vertical direction and is therefore comparatively inexpensive in terms of computations. On the contrary, the gradient estimation that it generates is relatively basic, in particular for high frequency disparity in the image. Since the intensity function of a digital image is only determined at distinct points, derivatives of this function cannot be defined unless we presume that there is an underlying uninterrupted intensity function which has been sampled at the image points. With some further supposition, the derivative of the intensity function can be evaluated as a function on the sampled intensity function which is the digital image. It is found that the derivatives at any exacting point are 6

functions of the intensity values at all image points. Nevertheless, estimates of these derivative functions can be evaluated at lesser or larger degrees of precision. The Sobel operator embodies a rather imprecise estimate of the image gradient, yet is of adequate quality to be of realistic use in many applications. More specifically, it employs intensity values only in a 3 3 region about each image point to estimate the analogous image gradient, and it utilizes only integer values for the coefficients which influence the image intensities to generate the gradient approximation. 2. LITERATURE SURVEY Clustering algorithms have effectively been used as a digital image segmentation practice in various arena and applications. Nonetheless, those clustering algorithms are only applicable for particular images such as medical images, microscopic images etc. In this thesis, we put-forth a novel clustering algorithm called Image segmentation using K-mean clustering for pronouncing tumor in medical application which could be applied on widespread images and/or specific images (i.e., medical and microscopic images), acquisitioned using MRI, CT scan, etc [3]. Wide-ranging color image segmentation is a challenging and chief issue in image processing associated applications. Nonetheless, few systems successfully tackle this problem within a wide range of images. As a rapid segmentation process, K means centered clustering is employed in feature space first. Then, in image plane, the spatial constrains are embraced into the hierarchical K-means clusters on every level. The two processes are carried out alternatively and repeatedly. Also, an effectual region amalgamation method is proposed to deal with the over segmentation [5]. This thesis presents a novel advance to image segmentation by applying k-means algorithm. The K-means clustering algorithm is one of the most extensively used algorithm in the literature, and several authors successfully evaluate their new proposal against the results obtained by the k-means. This paper puts forth a color-based segmentation method that uses K-means clustering technique. The k-means algorithm is an iterative method used to divide an image into k clusters. The general K-Means algorithm generates precise segmentation results only when applied to images defined by homogenous regions in terms of texture and color since no local constraints are applied to entail spatial continuity. To begin with, the pixels are grouped based on their color and spatial features, where the clustering process is achieved. Then the clustered blocks are amalgamated to a certain number of regions. This technique thus provides a feasible innovative solution for image segmentation which may aid in image retrieval [1]. This paper projects an innovative approach for image segmentation by applying Pillar-Kmeans algorithm. This segmentation procedure comprises a new mechanism for clustering the elements of high-resolution images in order to improvise exactness and decrease computation time. The scheme applies K-means clustering to the image segmentation after optimized by Pillar Algorithm. The Pillar algorithm takes into account the pillars placement which should be positioned as far as possible from one another to endure the pressure distribution of a roof, similar to the number of centroids amongst the data distribution. This algorithm is capable of optimizing the K-means clustering for image segmentation with respect to exactitude and computation time. It assigns the initial centroids positions by computing the accumulated distance metric between every data point and all previous centroids, and then picks the data points which have the maximum distance as new initial centroids [2]. This study aims to segment objects using the K-means algorithm for texture features. Firstly, the algorithm changes color images into gray images. This paper illustrates a novel method for the extraction of texture features in an image. Then, in a group of analogous features, objects and backgrounds are differentiated by using the K-means algorithm. In conclusion, this paper proposes a new object segmentation algorithm using the morphological technique. The experiments described include the segmentation of single and multiple objects featured in this paper. The region of an object can be accurately segmented out. The results can help to perform image retrieval and analyze features of an object, as are shown in this paper [3]. In this paper, two algorithms for image segmentation are analysed. K-means and an Expectation Maximization algorithm are each considered for their momentum, complexity, and efficacy. Implementation of each algorithm is then discussed. Finally, the experimental outcomes of each algorithm are presented and discussed [4]. In this paper, a method for edge recognition in image processing is introduced after K-means clustering for the segmentation of an image, which is rrelatively inexpensive in terms of computations. On the contrary, the gradient approximation that it produces is rather crude, especially for high frequency variations in the image. Implementation of this operator is done and then the final image is generated [6]. Edge Detection using sobel operator is mainly done by two different filters that is horizontal and vertical filters, which gives an image a different output depending upon the filter. Horizontal edges (or lines) are identified in output of horizontal filter and vertical lines in output of vertical filter, as specified in their names. After this, a final image is produced combining both horizontal and vertical filters [7]. 3. DESIGN The design of the project is very cost effective due to the use of segmentation methods like K-mean clustering and Sobel Filter. This method is low cost and time efficient. Instead of feature extraction of every pixel which is a cumbersome process we group them in clusters. K-means improve the segmentation process both with respect to quality and time whereas Sobel Filter is relatively inexpensive in terms of computations. 4. METHODOLOGY The basic aim is to segment colors in an automated fashion using L*a*b* color space and K-means clustering. The process can be summarised in following steps: 1. READ THE IMAGE Read the image from the source which is in JPEG format. 2. CONVERT IMAGE FROM RGB COLOR SPACE TO L*a*b* COLOR SPACE Number of colors one sees in an image ignoring the brightness. We can easily visually distinguish these colors from one another. The L*a*b* color space enables us to quantify these differences. The L*a*b* color space is derived from the CIE XYZ tristimulus values. The L*a*b* space comprises of a luminosity layer 'L*', chromaticity-layer 'a*' indicating where color falls along the red-green axis, and chromaticity-layer 'b*' indicating where the color falls along the blue-yellow axis. All of the color information is in the 'a*' 7

and 'b*' layers. We can measure the difference between two colors using the Euclidean distance metric. Convert the image to L*a*b*color space. 3. CLASSIFY THE COLORS IN 'A*B*' SPACE USING K- MEANS CLUSTERING Clustering is a way to separate groups of objects. K-means clustering treats every object as having a position in space. It finds partitions in such a way that objects within each cluster are as close to each other as feasible, and as far from objects in other clusters as possible. K-means clustering demands that you detail the number of clusters to be partitioned and a distance metric to quantify how close two objects are to each other. As the color information subsists in the 'a*b*' space, your objects are pixels with 'a*' and 'b*' values. 7. CREATE THE IMAGE THAT RECOGNIZES THE REAL IMAGE BY VERTICAL FILTER. Using vertical filter the image is recognized in vertical levels. 8. CREATE THE FINAL IMAGE THAT RECOGNIZES THE REAL IMAGE BY BOTH VERTICAL AND HORIZONTAL FILTERS. Thus the final image is created by using both the filters. 5. SCREENSHOTS First 8 images represent the image segmentation by k-means clustering and last 3 images represent the edge recognization by Sober-operator 4. LABEL EVERY PIXEL IN THE IMAGE USING THE RESULTS FROM K-MEANS For every object in our input, K-means returns an index corresponding to a cluster. Address each pixel in the image with its cluster index. 5. CREATE IMAGES THAT SEGMENT THE IMAGE BY COLOR Deploying pixel labels, we have to disconnect objects in image by color. 6. CREATE THE IMAGE THAT RECOGNIZES THE REAL IMAGE BY HORIZONTAL FILTER. Using horizontal filter the image is recognized in horizontal levels. Fig 1. Original Image Fig 2. Label every pixel in image using K-means clustering Fig 3. Object in Cluster1 8

Fig 4. Object in Cluster 2 Fig 7. Object in Cluster 5 Fig 5. Object in Cluster 3 Fig 8. Object in Cluster 6 Fig 6. Object in Cluster 4 Fig 9. Horizontal edge recognition 9

Fig 10. Vertical edge recognition Fig 11. Edge recognition 6. ACKNOWLEDGMENTS The authors would like to thank the School of Computing Science and Engineering,, for giving them the opportunity to carry out this project and also for providing them with the requisite resources and infrastructure for carrying out the research. 7. REFERENCES [1] Ms.Chinki Chandhok, Mrs.Soni Chaturvedi, Dr.A.A Khurshid, An Approach to Image Segmentation using K-means Clustering Algorithm, International Journal of Information Technology (IJIT), Volume 1, Issue 1, August 2012 [2] Ali Ridho Barakbah and Yasushi Kiyoki, A New Approach for Image Segmentation using Pillar-K means Algorithm, International Journal of Information and Communication Engineering 6:2 2010 [3] Piyush M. Patel, Brijesh N Shah, Vandana Shah, Image segmentation using K-mean clustering for finding tumor in medical application, " International Journal of Computer Trends and Technology (IJCTT) - volume4 Issue5 May 2013. [4] H.D. Cheng and X.H. Jiang, Color image segmentation: advances and prospects, published in Pattern Recognition, Volume 34 issue 12 in December 2001. [5] Ming Luo, Yu-Fei Ma, Hong-Jiang Zhang A Spatial Constrained K-Means Approach to Image Segmentation, [6] Nick Kanopoulos, Nagesh Vasanthavada, Robert L. Baker, "Design of an Image Edge Detection Filter Using the Sobel Operator" pubished in IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 23, no. 2, April 1988. [7] Qu Ying-Dong, Cui Cheng-Song, Chen San-Ben, Li Jin- Quan, "A fast subpixel edge detection method using Sobel Zernike moments operator", published in image and vision computing, vol 23 issue 1,pages 11-17, January 2005. [8] Tamer Peli and David Malah,"A study of edge detection algorithms" in Computer Graphics and Image processing (Science Direct), Volume 20 issue 1, sep 1982. [9] J.Kittler, "On the accuracy of the Sobel edge detector" in image and cision computing, science direct, volume 1, issue 1, in february 1983. 10