UNIVERSITI PUTRA MALAYSIA COLOR IMAGE SEGMENTATION BASED ON BAYESIAN THEOREM FOR MOBILE ROBOT NAVIGATION

Similar documents
IMPLEMENTATION OF UNMANNED AERIAL VEHICLE MOVING OBJECT DETECTION ALGORITHM ON INTEL ATOM EMBEDDED SYSTEM

SUPERVISED MACHINE LEARNING APPROACH FOR DETECTION OF MALICIOUS EXECUTABLES YAHYE ABUKAR AHMED

SEMANTICS ORIENTED APPROACH FOR IMAGE RETRIEVAL IN LOW COMPLEX SCENES WANG HUI HUI

RECOGNITION OF PARTIALLY OCCLUDED OBJECTS IN 2D IMAGES ALMUASHI MOHAMMED ALI UNIVERSITI TEKNOLOGI MALAYSIA

IMPROVED IMAGE COMPRESSION SCHEME USING HYBRID OF DISCRETE FOURIER, WAVELETS AND COSINE TRANSFORMATION MOH DALI MOUSTAFA ALSAYYH

INTEGRATION OF CUBIC MOTION AND VEHICLE DYNAMIC FOR YAW TRAJECTORY MOHD FIRDAUS BIN MAT GHANI

ISOGEOMETRIC ANALYSIS OF PLANE STRESS STRUCTURE CHUM ZHI XIAN

SECURE-SPIN WITH HASHING TO SUPPORT MOBILITY AND SECURITY IN WIRELESS SENSOR NETWORK MOHAMMAD HOSSEIN AMRI UNIVERSITI TEKNOLOGI MALAYSIA

LOCALIZING NON-IDEAL IRISES VIA CHAN-VESE MODEL AND VARIATIONAL LEVEL SET OF ACTIVE CONTOURS WITHTOUT RE- INITIALIZATION QADIR KAMAL MOHAMMED ALI

COLOUR IMAGE WATERMARKING USING DISCRETE COSINE TRANSFORM AND TWO-LEVEL SINGULAR VALUE DECOMPOSITION BOKAN OMAR ALI

HARDWARE/SOFTWARE SYSTEM-ON-CHIP CO-VERIFICATION PLATFORM BASED ON LOGIC-BASED ENVIRONMENT FOR APPLICATION PROGRAMMING INTERFACING TEO HONG YAP

THE COMPARISON OF IMAGE MANIFOLD METHOD AND VOLUME ESTIMATION METHOD IN CONSTRUCTING 3D BRAIN TUMOR IMAGE

HARDWARE-ACCELERATED LOCALIZATION FOR AUTOMATED LICENSE PLATE RECOGNITION SYSTEM CHIN TECK LOONG UNIVERSITI TEKNOLOGI MALAYSIA

ADAPTIVE ONLINE FAULT DETECTION ON NETWORK-ON-CHIP BASED ON PACKET LOGGING MECHANISM LOO LING KIM UNIVERSITI TEKNOLOGI MALAYSIA

OPTIMIZE PERCEPTUALITY OF DIGITAL IMAGE FROM ENCRYPTION BASED ON QUADTREE HUSSEIN A. HUSSEIN

RGB COLOR IMAGE WATERMARKING USING DISCRETE WAVELET TRANSFORM DWT TECHNIQUE AND 4-BITS PLAN BY HISTOGRAM STRETCHING KARRAR ABDUL AMEER KADHIM

HARDWARE AND SOFTWARE CO-SIMULATION PLATFORM FOR CONVOLUTION OR CORRELATION BASED IMAGE PROCESSING ALGORITHMS SAYED OMID AYAT

STUDY OF FLOATING BODIES IN WAVE BY USING SMOOTHED PARTICLE HYDRODYNAMICS (SPH) HA CHEUN YUEN UNIVERSITI TEKNOLOGI MALAYSIA

SLANTING EDGE METHOD FOR MODULATION TRANSFER FUNCTION COMPUTATION OF X-RAY SYSTEM FARHANK SABER BRAIM UNIVERSITI TEKNOLOGI MALAYSIA

Signature :.~... Name of supervisor :.. ~NA.lf... l.?.~mk.. :... 4./qD F. Universiti Teknikal Malaysia Melaka

A SEED GENERATION TECHNIQUE BASED ON ELLIPTIC CURVE FOR PROVIDING SYNCHRONIZATION IN SECUERED IMMERSIVE TELECONFERENCING VAHIDREZA KHOUBIARI

ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI

UNIVERSITI PUTRA MALAYSIA METHODOLOGY OF FUZZY-BASED TUNING FOR SLIDING MODE CONTROLLER

LINK QUALITY AWARE ROUTING ALGORITHM IN MOBILE WIRELESS SENSOR NETWORKS RIBWAR BAKHTYAR IBRAHIM UNIVERSITI TEKNOLOGI MALAYSIA

DYNAMIC TIMESLOT ALLOCATION TECHNIQUE FOR WIRELESS SENSOR NETWORK OON ERIXNO

AUTOMATIC APPLICATION PROGRAMMING INTERFACE FOR MULTI HOP WIRELESS FIDELITY WIRELESS SENSOR NETWORK

ANOMALY DETECTION IN WIRELESS SENSOR NETWORK (WSN) LAU WAI FAN

AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI

DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI

STATISTICAL APPROACH FOR IMAGE RETRIEVAL KHOR SIAK WANG DOCTOR OF PHILOSOPHY UNIVERSITI PUTRA MALAYSIA

SOLUTION AND INTERPOLATION OF ONE-DIMENSIONAL HEAT EQUATION BY USING CRANK-NICOLSON, CUBIC SPLINE AND CUBIC B-SPLINE WAN KHADIJAH BINTI WAN SULAIMAN

FUZZY NEURAL NETWORKS WITH GENETIC ALGORITHM-BASED LEARNING METHOD M. REZA MASHINCHI UNIVERSITI TEKNOLOGI MALAYSIA

ENHANCEMENT OF UML-BASED WEB ENGINEERING FOR METAMODELS: HOMEPAGE DEVELOPMENT CASESTUDY KARZAN WAKIL SAID

PERFOMANCE ANALYSIS OF SEAMLESS VERTICAL HANDOVER IN 4G NETWOKS MOHAMED ABDINUR SAHAL

MODELLING AND REASONING OF LARGE SCALE FUZZY PETRI NET USING INFERENCE PATH AND BIDIRECTIONAL METHODS ZHOU KAIQING

A LEVY FLIGHT PARTICLE SWARM OPTIMIZER FOR MACHINING PERFORMANCES OPTIMIZATION ANIS FARHAN BINTI KAMARUZAMAN UNIVERSITI TEKNOLOGI MALAYSIA

BLOCK-BASED NEURAL NETWORK MAPPING ON GRAPHICS PROCESSOR UNIT ONG CHIN TONG UNIVERSITI TEKNOLOGI MALAYSIA

ONTOLOGY-BASED SEMANTIC HETEROGENEOUS DATA INTEGRATION FRAMEWORK FOR LEARNING ENVIRONMENT

UNIVERSITI PUTRA MALAYSIA

UNIVERSITI PUTRA MALAYSIA EFFECTS OF DATA TRANSFORMATION AND CLASSIFIER SELECTIONS ON URBAN FEATURE DISCRIMINATION USING HYPERSPECTRAL IMAGERY

A NEW STEGANOGRAPHY TECHNIQUE USING MAGIC SQUARE MATRIX AND AFFINE CIPHER WALEED S. HASAN AL-HASAN UNIVERSITI TEKNOLOGI MALAYSIA

DYNAMIC MOBILE SERVER FOR LIVE CASTING APPLICATIONS MUHAMMAD SAZALI BIN HISHAM UNIVERSITI TEKNOLOGI MALAYSIA

SYSTEMATIC SECURE DESIGN GUIDELINE TO IMPROVE INTEGRITY AND AVAILABILITY OF SYSTEM SECURITY ASHVINI DEVI A/P KRISHNAN

OPTIMIZED BURST ASSEMBLY ALGORITHM FOR MULTI-RANKED TRAFFIC OVER OPTICAL BURST SWITCHING NETWORK OLA MAALI MOUSTAFA AHMED SAIFELDEEN

INTELLIGENT NON-DESTRUCTIVE CLASSIFICATION OF JOSAPINE PINEAPPLE MATURITY USING ARTIFICIAL NEURAL NETWORK

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11

ENHANCING WEB SERVICE SELECTION USING ENHANCED FILTERING MODEL AJAO, TAJUDEEN ADEYEMI

AMBA AXI BUS TO NETWORK-ON-CHIP BRIDGE NG KENG YOKE UNIVERSITI TEKNOLOGI MALAYSIA

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE


This item is protected by original copyright

A TRUST MODEL FOR BUSINESS TO CUSTOMER CLOUD E-COMMERCE HOSSEIN POURTAHERI

DEVELOPMENT OF COMMERCIAL VEHICLE SPEED WARNING SYSTEM NGO CHON CHET

DEVELOPMENT OF A MOBILE ROBOT SPATIAL DATA ACQUISITION SYSTEM OOI WEI HAN MASTER OF SCIENCE UNIVERSITI PUTRA MALAYSIA

CAMERA CALIBRATION FOR UNMANNED AERIAL VEHICLE MAPPING AHMAD RAZALI BIN YUSOFF

UNIVERSITI PUTRA MALAYSIA IMPROVED WAVELET DENOISING OF HYPERSPECTRAL REFLECTANCE USING LEVEL-INDEPENDENT WAVELET THRESHOLDING

CLOUD COMPUTING ADOPTION IN BANKING SYSTEM (UTM) IN TERMS OF CUSTOMERS PERSPECTIVES SHAHLA ASADI


MICRO-SEQUENCER BASED CONTROL UNIT DESIGN FOR A CENTRAL PROCESSING UNIT TAN CHANG HAI

LOGICAL OPERATORS AND ITS APPLICATION IN DETERMINING VULNERABLE WEBSITES CAUSED BY SQL INJECTION AMONG UTM FACULTY WEBSITES NURUL FARIHA BINTI MOKHTER

FINITE ELEMENT INVESTIGATION ON THE STRENGTH OF SEMI-RIGID EXTENDED END PLATE STEEL CONNECTION USING LUSAS SOFTWARE MOHD MAIZIZ BIN FISHOL HAMDI

PROBLEMS ASSOCIATED WITH EVALUATION OF EXTENSION OF TIME (EOT) CLAIM IN GOVERNMENT PROJECTS

Faculty of Computer Science and Information Technology

UNIVERSITI PUTRA MALAYSIA MULTI-LEVEL MOBILE CACHE CONSISTENCY SCHEMES BASED ON APPLICATION REQUIREMENTS DOHA ELSHARIEF MAHMOUD YAGOUB

UNIVERSITI PUTRA MALAYSIA FACE DETECTION TECHNIQUE BASED ON SKIN COLOR AND FACIAL FEATURES

ENERGY-EFFICIENT DUAL-SINK ALGORITHMS FOR SINK MOBILITY IN EVENT-DRIVEN WIRELESS SENSOR NETWORKS

MULTICHANNEL ORTHOGONAL FREQUENCY DIVISION MULTIPLEXING -ROF FOR WIRELESS ACCESS NETWORK MOHD JIMMY BIN ISMAIL

BORANG PENGESAHAN STATUS TESIS

UNSTEADY AERODYNAMIC WAKE OF HELICOPTER MAIN-ROTOR-HUB ASSEMBLY ISKANDAR SHAH BIN ISHAK UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI SAINS MALAYSIA. CPT344 Computer Vision & Image Processing [Penglihatan Komputer & Pemprosesan Imej]

ARM PROCESSOR EMULATOR MOHAMAD HASRUZAIRIN B MOHD HASHIM

HERMAN. A thesis submitted in fulfilment of the requirements for the award of the degree of Doctor of Philosophy (Computer Science)

VIRTUAL PRIVATE NETWORK: ARCHITECTURE AND IMPLEMENTATIONS

PRIVACY FRIENDLY DETECTION TECHNIQUE OF SYBIL ATTACK IN VEHICULAR AD HOC NETWORK (VANET) SEYED MOHAMMAD CHERAGHI

ENHANCING SRAM PERFORMANCE OF COMMON GATE FINFET BY USING CONTROLLABLE INDEPENDENT DOUBLE GATES CHONG CHUNG KEONG UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI PUTRA MALAYSIA ENHANCED MOBILITY SOLUTION IN MOBILE IPV6 NETWORK

FINGERPRINT DATABASE NUR AMIRA BINTI ARIFFIN THESIS SUBMITTED IN FULFILMENT OF THE DEGREE OF COMPUTER SCIENCE (COMPUTER SYSTEM AND NETWORKING)

IMAGE SLICING AND STATISTICAL LAYER APPROACHES FOR CONTENT-BASED IMAGE RETRIEVAL JEHAD QUBIEL ODEH AL-NIHOUD

QOS-AWARE HANDOVER SCHEME FOR HIERARCHICAL MOBILE IPv6 USING CONTEXT TRANSFER WITH LINK LAYER TRIGGER

UNIVERSITI PUTRA MALAYSIA DEVELOPMENT OF CLASS 2 AND CLASS 3 SURGE PROTECTION DEVICES FOR LOW VOLTAGE PROTECTION SYSTEMS

UNIVERSITI PUTRA MALAYSIA RANK-ORDER WEIGHTING OF WEB ATTRIBUTES FOR WEBSITE EVALUATION MEHRI SAEID

DEVELOPMENT OF OBJECT TRACKING ARCHITECTURE BASED ON COLOUR RECOGNITION METHOD FOR AUTONOMOUS MOTION DETECTION SYSTEM SYUHADA BINTI AWANG

UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web]

UNIVERSITI PUTRA MALAYSIA RELIABILITY PERFORMANCE EVALUATION AND INTEGRATION OF ROUTING ALGORITHM IN SHUFFLE EXCHANGE WITH MINUS ONE STAGE

DATASET GENERATION AND NETWORK INTRUSION DETECTION BASED ON FLOW-LEVEL INFORMATION AHMED ABDALLA MOHAMEDALI ABDALLA

FAKULTI TEKNOLOGI & SAINS MAKLUMAT. PROGRAM KELAYAKAN MASUK SENARAI KURSUS Sarjana Sistem Maklumat

RESOURCE ALLOCATION SCHEME FOR FUTURE USER-CENTRIC WIRELESS NETWORK WAHEEDA JABBAR UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI SAINS MALAYSIA. CST232 Operating Systems [Sistem Pengendalian]

IMPROVED IMPLEMENTATION OF DIGITAL WATERMARKING TECHNIQUES AHMED SABEEH YOUSIF UNIVERSITI TEKNOLOGI MALAYSIA

MINIATURIZED PLANAR CAPACITANCE TOMOGRAPHY SYSTEM USING FAN BEAM PROJECTION TECHNIQUE FOR STAGNANT SAMPLES VISUALIZATION

UNIVERSITI PUTRA MALAYSIA ADAPTIVE METHOD TO IMPROVE WEB RECOMMENDATION SYSTEM FOR ANONYMOUS USERS

UNIVERSITI PUTRA MALAYSIA TERM FREQUENCY AND INVERSE DOCUMENT FREQUENCY WITH POSITION SCORE AND MEAN VALUE FOR MINING WEB CONTENT OUTLIERS

FAKULTI TEKNOLOGI & SAINS MAKLUMAT

Panduan Menggunakan Autoresponder FreeAutobot.com

UNIVERSITI PUTRA MALAYSIA WEIGHTED WINDOW FOR TCP FAIR BANDWIDTH ALLOCATION IN WIRELESS LANS

A RULE MODELING ENGINE FOR COMPLEX EVENT PROCESSING (A CASE STUDY ON PASSIVE RFID READERS FOR A VIRTUAL SHOPPING MALL)

UNIVERSITI PUTRA MALAYSIA LAYER OVER MULTI-HOP AD-HOC NETWORKS FK

BORANG PENGESAHAN STATUS TESIS

MICRO-MOBILITY ENHANCEMENT IN MULTICAST MOBILE IPv6 WIRELESS NETWORKS. By YONG CHU EU

PORTABLE ELECTRONICS QUEUE CONTROL SYSTEM WONG CHUN YUAN UNIVERSITY MALAYSIA PAHANG

Transcription:

UNIVERSITI PUTRA MALAYSIA COLOR IMAGE SEGMENTATION BASED ON BAYESIAN THEOREM FOR MOBILE ROBOT NAVIGATION HAMID RAHIMIZADEH FK 2009 22

COLOR IMAGE SEGMENTATION BASED ON BAYESIAN THEOREM FOR MOBILE ROBOT NAVIGATION BY HAMID RAHIMIZADEH Thesis submitted o the school of Graduate Studies, Universiti Putra Malaysia, in Fulfilment of Requirement for the Degree of Master of Science July 2009

Abstract of thesis presented to the Senate of University Putra Malaysia in fulfilment of the requirement for the degree of Master of Science COLOR IMAGE SEGMENTATION BASED ON BAYESIAN THEOREM FOR MOBILE ROBOT NAVIGATION By HAMID RAHIMIZADEH July 2009 Chairman: Mohammad Hamiruce Marhaban, PhD Faculty: Engineering Image segmentation is a fundamental process in many image, video, and computer vision applications. Object extraction and object recognition are typical applications that use segmentation as a low level image processing. Most of the existing color image segmentation approaches, define a region based on color similarity. This assumption often makes it difficult for many algorithms to separate the objects of interest which consist of highlights, shadows and shading which causes inhomogeneous colors of the objects surface. Bayesian classification and decision making are based on probability theory and choosing the most probable or the lowest risk. A useful property of the statistical classifier like Bayesian is that, it is optimal in the sense that it minimizes the expected misclassification rate. However when the number of features increased, Bayesian classifier is quite expensive both in terms of computational time and memory. This thesis proposes a Bayesian color segmentation method which is robust and simple for real time color segmentation even in presence of environmental light effect. In this study a decision boundary equation, which is acquired from class conditional ii

probability density function (PDF) of colors, based on Bayes decision theory has been used for desired color segmentation. The estimation of unknown PDF is a common problem and in this study Gaussian kernel function which is most widely used nonparametric density estimation method has been used for PDF calculation. Comparisons were made between the proposed method to the k-nearest neighbor (KNN) and support vector machine (SVM), methods for image segmentation. Experimental results show that the proposed algorithm works better than other two methods in terms of classifier accuracy with result of more than 99 percent successful segmentation of desired color in varying illumination. In order to show the real time ability and robustness of proposed method for color segmentation, experimental results conducted on vision based mobile robot for navigation. First the robot was trained by some training sample of desired target color in environment. The decision boundary which acquired in the teaching phase has been used for real time color segmentation as the robot move in the environment. Spatial information of desired color in segmented image has been used for calculating the robot heading angle which is used by mobile robot controller for navigation. However, all of the existing color image segmentation approaches are strongly application dependent. This study shows that proposed algorithm successfully cope with the varying illumination which causes uneven colors of the objects surface. The experimental results show the proposed algorithm is simple and robust, for real time application on vision based mobile robot for navigation, in spite of presence of other shapes and colors in the environment. iii

Abstrak tesis yang dipersembahkan kepada Senat Universiti Putra Malaysia bagi memenuhi syarat untuk kelayakan menerima Sarjana Sains SEGMENTASI IMEJ BERWARNA BERDASARKAN TEOREM BAYES DAN JANGKAAN KETUMPATAN KERNEL UNTUK APLIKASI NAVIGASI ROBOT Oleh HAMID RAHIMIZADEH Jul 2009 Pengerusi: Mohammad Hamiruce Marhaban, PhD Fakulti: Kejuruteraan Segmentasi imej merupakan suatu proses asas dalam pelbagai aplikasi imej, video dan penglihatan komputer. Pengekstrakan dan pengecaman objek adalah contoh aplikasi yang lazimnya menggunakan segmentasi sebagai langkah pemprosesan tahap rendah. Kebanyakan sistem segmentasi imej yang sedia ada mendefinisikan suatu kawasan itu berdasarkan kepada keserupaan warnanya. Ini menimbulkan kesukaran bagi kebanyakan algoritma untuk membezakan objek yang dicari yang biasanya terdedah kepada keterangan, bayangan dan penggelapan yang boleh menyebabkan ketidaksamaan warna kelihatan pada permukaan objek tersebut. Pengelasan dan pembuat keputusan Bayesian adalah berdasarkan kepada teori kebarangkalian dan keputusan yang diambil adalah yang paling tinggi kebarangkaliannya atau yang paling kecil risikonya. Satu ciri penting pengelas statistik seperti Bayes ialah sifat optimalnya dalam cara ia meminimakan kadar jangkaan pengelasan yang salah. Namun demikian, apabila bilangan ciri ditambah, pengelas Bayes menjadi agak berat dari segi keperluan pengkomputeran masa dan memori. Tesis iv

ini mencadangkan suatu cara segmentasi warna yang kental tapi mudah untuk aplikasi segmentasi masa sebenar walaupun dalam kehadiran kesan pencahayaan sekitar. Dalam kajian ini, suatu persamaan keputusan sempadan yang diperoleh dari fungsi ketumpatan kebarangkalian (PDF) warna kelas bersyarat, yang berdasarkan kepada teori keputusan Bayes, telah digunakan untuk segmentasi warna yang dikehendaki. Jangkaan bagi PDF yang tidak diketahui merupakan suatu masalah yang biasa dan dalam kajian ini, jangkaan ketumpatan tidak parametrik telah digunakan untuk menjangka PDF. Perbandingan telah dibuat antara teknik yang dicadangkan dengan teknik-teknik k-jirun terhumpir KNN dan hantun vektor mesin SVM dalam tujuan segmentasi imej. Keputusan eksperimen menunjukkan bahawa teknik yang dicadangkan berfungsi lebih baik daripada dua kaeduh di atas dari segi ketepatan pengelasun dengan memperoleh keputusan sebunyak 99 peratus kejayaan dalam mengsegmentasikan cahaya dikenenduki dulum ketiduksamaan pencahayaan. Bagi mempamerkan kebolehan masa sebenar dan kekentalan teknik ini bagi segmentasi imej, eksperimen dilakukan bagi tujuan navigasi robot berdasarkan penglihatan mesin. Mulanya, robot itu dilatih menggunakan sampel latihan yang terdiri daripada warna yang hendak disegmentasi dalam persekitarannya. Sempadan keputusan yang dibentuk daripada fasa pengajaran telah digunakan untuk segmentasi warna masa sebenar semasa robot bergerak dalam persekitarannya. Maklumat ruang warna yang dikehendaki telah digunakan untuk mengira sudut tuju robot yang digunakan oleh pengawal robot untuk navigasi. Bagaimanapun, semua kaedah segmentasi imej yang sedia ada sangat bergantung kepada aplikasi di mana ia digunakan. Kajian ini menunjukkan bahawa teknik yang v

dicadangkan berjaya menghasilkan keputusan yang baik walaupun dalam keadaan pencahayaan yang berubah lalu menyebabkan ketidaksamaan warna pada permukaan objek. Keputusan eksperimen membuktikan bahawa algorithma yang dicadangkan adalah mudah dan kental, sesuai untuk aplikasi masa sebenar navigasi robot, walaupun bentuk dan warna lain hadir dalam persekitaran. vi

ACKNOWLEDGMENTS First I would like to thank my supervisor, Associate Prof. Dr. Mohammad Hamiruce Marhaban for his unwavering support, non-stop encouragement and unfailing patience throughout this research. I would also like to thank other member of my committee, Dr.Raja Mohd Kamil and Associate Prof. Dr Napsiah bt. Ismail, for their insightful suggestion, I sincerely appreciate your suggestions and support in the preparation of the dissertation. My thanks to fellow student and colleagues in the control group laboratory. I am especially grateful to my colleague Dr. Hamid Mahmoodian, his inspiring guidance and abundant knowledge leads me to the completion of this research. I would like to express my deep gratitude to my parents and my brothers for their love and trust, and for encouraging me to peruse my interest. My sincerest thanks go to my good friends, Ashkan and Mahzad during the best and the worst periods of my graduate studies. vii

I certify that an Examination Committee has met on Second of July 2009 to conduct the final examination of Hamid Rahimizadeh on his Master of Science thesis entitled Color Segmentation Based on Bayesian Theorem with Application to Mobile Robot Navigation in accordance with Universiti Pertanian Malaysia (Higher Degree) Act 1980 and Universiti Pertanian Malaysia (Higher Degree) Regulations 1981. The Committee recommends that the student be awarded the relevant degree. Members of the Examination Committee were as follows: Eng Norhisam Misron, PhD Faculty of Engineering Universiti Putra Malaysia (Chairman) Samsul Bahari Mohd Noor, PhD Faculty of Engineering Universiti Putra Malaysia (Internal Examiner) Iqbal Bin Saripan, PhD Faculty of Engineering Universiti Putra Malaysia (Internal Examiner) Syed Abd. Rahman Al-Attas, PhD Associate Professor Faculty of Engineering Universiti Teknologi Malaysia Malaysia (External Examiner) BUJANG KIM HUAT, PhD Professor and Deputy Dean School of Graduate Studies University Putra Malaysia Date: viii

This thesis was submitted to the senate of Universiti Putra Malaysia and has been accepted as fulfillment of the requirement for the degree of Master of Science. The members of the Supervisory Committee were as follows: Mohammad Hamiruce Marhaban, PhD Associate Professor Department of Electrical and Electronic Engineering Universiti Putra Malaysia (Chairman) Raja Mohd Kamil, PhD Department of Electrical and Electronic Engineering Universiti Putra Malaysia (Member) Napsiah Bt. Ismail, PhD Associate Professor Department of Mechanical and Manufacturing Engineering Faculty of Engineering Universiti Putra Malaysia (Member) HASANAH MOHD GHAZALI, PhD Professor and Dean School of Graduate Studies University Putra Malaysia Date: 11 September 2009 ix

DECLARATION I declare that the thesis is my original work except for quotations and citations which have been duly acknowledged. I also declare that it has not been previously, and is not concurrently, submitted for any other degree at Universiti Putra Malaysia or at any other institution. HAMID RAHIMIZADEH Date: 10 August 2009 x

TABLE OF CONTENTS ABSTRACT ABSTRAK ACKNOWLEDGMENTS APPROVAL DECLARATION LIST OF TABLES LIST OF FIGURES LIST OF ABBREVIATIONS Page ii iv vii viii x xiii xiv xvii CHAPTER 1 INTRODUCTION 1 1.1 Introduction 1 1.2 Problem Statement 3 1.3 Aim and Objectives 3 1.4 The Scope of the Work 5 1.5 Outline of the Thesis and Contributions 5 2 LITERATURE REVIEW 7 2.1 Introduction 7 2.1.1 Monochrome Image 8 2.1.2 Color Image and Color Spaces 8 2.2 Histogram Thresholding 12 2.3 Region Based Approaches 15 2.3.1 Region Growing 15 2.3.2 Region Splitting and Merging 16 2.4 Edge Detection Approaches 19 2.5 Fuzzy Techniques 22 2.6 Neural Network Approaches 25 2.7 Instance-Based Classification Methods 27 2.7.1 Nearest Neighbor Classifier 28 2.7.2 K-Nearest Neighbor Classifier 28 2.7.3 Minimum Mean Distance Classifier 29 2.8 SVM Classifier 30 2.9 Statistical Based Classification Method for Image 31 Segmentation 2.9.1 Bayesian Theorem for Image Segmentation 32 2.10 Probability Density Function Estimation Methods 37 2.10.1Parametric PDF Estimation Method 38 2.10.2 Nonparametric PDF Estimation Methods 43 2.11 Vision Based Navigation for Autonomous Mobile Robot 47 3. METHODOLOGY 51 3.1 Color Image Segmentation Using Bayes Theory 51 xi

Page 3.1.1 Introduction 51 3.1.2 Bayesian Theorem Method for Image 52 Segmentation 3.1.3 Nonparametric Probability density Function 55 Estimation 3.1.4 Acquiring Color Decision Boundary Equation from 61 PDF Based on Bayes Decision Theory 3.1.5 Image Segmentation when Target Compose of Two 65 Colors 4. RESULT AND DISCUSSION 70 4.1 Color Segmentation with Bayesian Decision Boundary 70 4.2 Desire Color Segmentation in Different Illumination 73 Geometry 4.3. Target Color Segmentation in Presence of Environmental 76 Light Effect 4.4. Comparison of The Proposed Method with Other Methods 80 4.4.1 Introduction 80 4.4.2 Nearest Neighbor Classifier 80 4.4.3 K-Nearest Neighbor Classifier (KNN) 82 4.4.4 SVM Classifier 83 4.5 Image Segmentation in Presence of Sun Light Effect 85 4.5.1 Image Segmentation in Different Image in Various 89 Lighting Condition 4.6 Heading Angle Calculation from Image Centroid for Robot 93 Navigation 4.7 Experimental Result on Vision Based Mobile Robot for 95 Navigation 5 CONCLUSION AND SUGGESTION FOR FUTURE WORK 103 5.1 Future Work 105 REFERENCES 106 BIODATA OF STUDENT 111 LIST OF PUBLICATION 112 xii

LIST OF TABLES Tables page 2.1 The Different Types of Spatial Filters 20 2.2 Three Important Distances 27 4.1 Comparison of The Proposed Method With Other Methods 85 4.2 Image Segmentation in Different Lighting Condition 89 4.3 Segmentation Result with Different Numbers of Training Sample 92 4.4 Image Centroid for Heading Angle Calculation 94 xiii

LIST OF FIGURES Figures page 2.1 RGB Color Space Represented in 3-Dimensional Cube 9 2.2 HSL color space 11 2.3 (a)source Image in Grayscale Mode, (b)final Segmentation Result 13 2.4 Image Histogram and Threshold Interval 13 2.5 Region Growing Results for the Image Segmentation 16 2.6 (a) Original Image, (b) Segmented Result with Splitting Technique 17 2.7 (a)original Image,(b) Resulted Image with Splitting and Merging 18 2.8 (a) Source Image, (b) Filtered Image 21 2.9 (a) Source Image, (b) Nonlinear Prewitt Filter Result 21 2.10 Example of KNN Classifier 29 2.11 Linear SVM Classifier 31 2.12 Conditional Probabilities for Several Colors 35 2.13 Jonagold apple defect segmentation with Bayesian classification method 2.14 Bayesian Classifier Result Where Grey is Plant, White is Weed, and Black is Soil 36 37 2.15 Maximum Likelihood Estimation for 1D Data 40 2.16 Distribution Approximated Using Gaussian Mixture Model and EM Parameter Estimation 2.17 Probability Density Function Approximation by the Histogram Method 2.18 (a) Parzen Estimation of the PDF, (b) Nearest Neighbor Estimation of the PDF 43 44 47 3.1 Sample Image 53 3.2 Probability Density Estimation 56 xiv

LIST OF FIGURES Figures page 3.3 The Region R and Relative Probability 56 3.4 Sample Image 59 3.5 Two Dimensional PDF with Windows Function 59 3.6 Two dimensional PDF with Gaussian Function 60 3.7 Original Image for PDF Estimation 61 3.8 The PDF for Foreground Color 62 3.9 The PDF for Background Color 62 3.10 Decision Boundaries for Foreground and Background 63 3.11 The Fitted Curve 64 3.12 Target Which Compose of Two Colors 65 3.13 (a) PDF for Blue Color, (b) PDF for Green Color 66 3.14 (a)the High Probable Regions for Blue and Green Colors,(b) Related Decision Boundary 67 3.15 High Probable Region Decision Boundary 67 3.16 Decision Boundary for Blue and Green Colors With 68 4.1 Image Segmentation by Bayesian Decision Theory 71 4.2 Blue Color Segmentation Result 72 4.3 Green Color Segmentation Result 72 4.4 Final Segmentation Result 73 4.5 Different Illumination Geometry 74 4.6 (a) Green and Blue Candy PDFs, (b) High Probable Area 74 4.7 Result of Green Candy Segmentation 75 4.8 Green Candy Segmentation by Thresholding Method 75 xv

LIST OF FIGURES Figures 4.9 (a) Image Expose to the Environment Light Effect, (b) Hue Color Plane 4.10 PDF for Blue Color page 76 77 4.11 High Probable Area with (a) 0, (b) 1, 78 (c) 1, (d) 1 4.12 Result of Image Segmentation by Different Decision Boundaries 79 4.13 (a) Training Sample in Hue and Saturation Coordinate, (b) The Result of Nearest Neighbor Segmentation Method 81 4.14 Resulted Segmented Image by KNN Method 82 4.15 The Illustration of Linear SVM Classifier 83 4.16 SVM Classifier Resulted Image 84 4.17 SVM classifier with RBF kernel Function 86 4.18 The Linear SVM Classifier 87 4.19 SVM Result with Linear Kernel Function 88 4.20 (a)the Mobile Robot Picture, (b) Robot Schematic Diagram 95 4.21 The Mobile Robot Scheme 96 4.22 Indoor Environment for Robot Navigation, (b) Result of Segmentation 4.23 (a) PDF of Blue Color, (b) High Probable Area From Bayesian Decision Theory 4.24 Navigation Environment, (b) Bayesian Color Segmentation Result, (c) The Path of Robot Navigation 4.25 (a) The Robot Environment for Navigation, (b) Bayesian Color Segmentation result, (c) The Path of Robot Navigation 97 97 99 100 4.26 Robot Navigation Environment 101 4.27 Trajectory Path of Mobile Robot Recorded by Encoder 101 xvi

LIST OF ABBREVIATIONS PDF SVM LMA KNN ANN PROBABILITY DENSITY FUNCTION SUPPORT VECTOR MACHINES LEVENBERG-MARQUART ALGORITHM K NEAREST NEIGHBOR ARTIFICIAL NEURAL NETWORK xvii

CHAPTER 1 INTRODUCTION 1.1 Introduction Image segmentation is the initial step in the most image analysis and pattern recognition application. Image segmentation partitions an image into non overlapping regions which ideally correspond to different real-world objects with respect to a chosen property. A region is defined as a homogeneous group of connected pixels. There are different ways to describe homogeneity of a region for example color, gray levels, motion and texture. However overlapping among regions are not permitted and each pixel belongs only to a single region. Image segmentation is a fundamental process in many image, video, and computer vision applications. In mobile robot navigation or particle classification for example, segmentation is a critical step towards content analysis and image understanding. Object extraction, object recognition and object-based compression are typical application that uses segmentation as a low level image processing. Haralick et.al [5] proposed four criteria that describe good segmentation. First regions should be uniform and homogeneous with respect to some characteristic(s), secondly adjacent regions should have significant differences with respect to the characteristic on which they are uniform. Third region interiors should be simple and without holes, and finally boundaries should be simple, not ragged, and be spatially accurate. Based on criteria mentioned above, it is possible to divide segmentation into two categories. The first two criteria examine characteristics of objects in the image, which

can be named as characteristic criteria. The last two criteria are based on how likely each region is regarded as a single object by people, which can be classified as semantic criteria. Segmentation result from either characteristic criteria or semantic criteria can be done in different color space or with different methods. They are key base for many higher level image processing activities. In general, image segmentation methods can be divided into three categories: pixelbased methods, region-based methods, and boundary-based methods. Pixel-based methods group the pixels with similar features, such as color or texture, without considering the spatial relationship among pixel groups, consequently regions formed with these segmentation methods can be non-contiguous. Our proposed Bayesian classification method can be categorized into pixel based methods. In region-based methods, objects are defined as regions of pixels which have homogeneous characteristics. Region based methods group the pixels according to their similarities and spatial connectedness. The third category of segmentation methods, boundary based methods, are quite distinct from pixel and region based methods. In boundary-based methods, objects are defined as pixels surrounded by closed boundaries. In contrast with pixel-based and regionbased methods, boundary- based segmentation methods offer the potential advantage that pixels within a closed boundary can have significant variations in their characteristics. 2

1.2 Problem Statement Image segmentation problem is basically one of psychophysical perception, and therefore not susceptible to a purely analytical solution [2]. Segmentation may also be viewed as image classification problem based on color and spatial features [37]. Statistically based classification methods have been in existence for a long time. These are based on probabilities that a given set of measurements come from objects belonging to a certain class. A useful property of the statistical classifier like Bayes is, that it is optimal in the sense that it minimizes the expected misclassification rate [58], however when the number of features increased, that makes the Bayesian classifier is quite expensive both in computational time and memory [9]. Color can be useful feature in machine vision, for task like target color segmentation in an autonomous system. One of the main problems with target color segmentation is that, the color or specifically the apparent color of an object depends on illumination; the reflectance of the object, illumination geometry, viewing geometry and sensor parameters, all them make the color shift and has the influence on the result of target color segmentation algorithm [52]. Color segmentation methods proposed recently do address these issues, however with expense of computational complexity. Therefore finding the real time algorithm with low misclassification rate that addressed the above mentioned issue is desired. 1.3 Aim and Objectives In this thesis the main aim is designing a real-time color segmentation method based on Bayesian theorem, the main goals are as follows 3

To estimate the two dimensional probability density functions based on color feature vectors by non parametric method in feature space. To find the decision boundary for color segmentation by identifying the most probable area in two dimensional probability density function of feature vectors. To evaluate the result of the proposed Bayesian color segmentation in different illumination condition. To apply the proposed Bayesian color segmentation on vision based mobile robot for navigation. The idea is by finding decision boundary of most probable area; desired color segmentation can be done by applying resulted equation on image. For probability density function estimation since there is no prior information for color features distribution, nonparametric density estimation method will be used. In order to evaluate the result of proposed method, comparison will be done between proposed method, SVM and KNN methods which both are supervised classification methods. One of the main drawbacks with the statistical based and supervised image segmentation method is, these methods are computationally expensive. In order to examine the real time ability and robustness of the proposed method for the desire color segmentation, the proposed algorithm has been applied on vision based mobile robot for navigation. 4

1.4 The Scope of the Work The proposed method is applicable for desire color segmentation in the image based on Bayesian theorem and nonparametric PDF estimation from training sample which acquired from the color feature vectors in HSL color space. This method is sample based classification so variation in the training sample may affect the result of segmentation. First the classifier should train with samples of each class. If the lighting condition changes dramatically after classifier training, the classifier needs to be retrained for new lighting conditions. This algorithm has been applied on vision based mobile robot for navigation. The LabView has been used as software platform and 6229 USB data acquisition has been used as hardware platform. The navigation environment could be indoor or outdoor. Because of presence of same color, like target color in the environment, sometimes other image processing function has been used for removing the noise 1.5 Outline of the Thesis and Contributions This thesis is made up of five chapters. The first chapter is the introduction that includes background overview, problem statement, outline and scope of works. Chapter 2 starts with reviewing of the monochrome image segmentation, and color image segmentation methods. Advantages and disadvantages of region based approach discussed in this chapter. In addition, fuzzy based image segmentation approach and neural networks approach are reviewed and the advantages and drawbacks of these methods are discussed. Finally, the statistical based segmentation algorithm based on Bayesian 5

theory is discussed, the different approach for probability density function estimation described. In chapter 3 the principle of Bayesian theory is introduced. The method for estimating the probability density function based on nonparametric method from color value feature vectors is presented. From the probability density function based on the Bayes decision theory, most probable area has been plotted on HSL color space and then mathematical equation of this area is used for the desire color segmentation. In chapter 4 experimental results of the proposed method on different color images in different lighting conditions are prescribed. In order to evaluate the result of the proposed method, comparison with the SVM and KNN classification methods in terms of classifier accuracy are carried out. In the last part of chapter 4 the proposed algorithm is applied onto vision based mobile robot for navigation. Finally the conclusion is given in chapter 5 and some perspectives for future work are suggested. 6

CHAPTER 2 LITERATURE REVIEW 2.1 Introduction In computer vision, segmentation refers to the process of partitioning a digital image into multiple regions (sets of pixels). The goal of segmentation is to simplify and/or change the representation of an image into something that is more meaningful and easier to analyze [22]. Image segmentation is typically used to locate objects and boundaries (lines, curves, etc.) in images. The result of image segmentation is a set of regions that collectively cover the entire image, or a set of contours extracted from the image. Each pixel in a region is similar with respect to some characteristic or computed property, such as color, intensity, or texture. Adjacent regions are significantly different with respect to the same characteristic(s) [22]. A formal definition of image segmentation is as follows [1]: If we have a digital image, then segmentation is a partitioning the image into connected subsets or regions (,,, ) such that,,with (. (2.1) Image segmentation is the first step in image analysis and pattern recognition, it is a key basis of many higher level image processing activities. In this chapter the different approaches for image segmentation are reviewed and advantages and the disadvantages of each image segmentation technique are discussed.