The Study on the Image Thresholding Segmentation Algorithm. Yue Liu, Jia-mei Xue *, Hua Li

Similar documents
Method to acquire regions of fruit, branch and leaf from image of red apple in orchard

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

International Journal of Advanced Research in Computer Science and Software Engineering

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Binarization of Color Document Images via Luminance and Saturation Color Features

The Research of the Lane Detection Algorithm Base on Vision Sensor

An Algorithm and Implementation for Image Segmentation

An Improved Binarization Method for Degraded Document Seema Pardhi 1, Dr. G. U. Kharat 2

Comparison of Two Pixel based Segmentation Algorithms of Color Images by Histogram

Automatic Licenses Plate Recognition System

Computing for Engineers in Python

Keyword: Morphological operation, template matching, license plate localization, character recognition.

A Simple Skew Correction Method of Sudanese License Plate

ECC419 IMAGE PROCESSING

Chapter 17. Shape-Based Operations

International Conference on Computer, Communication, Control and Information Technology (C 3 IT 2009) Paper Code: DSIP-024

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

Computer Vision. Intensity transformations

An Improved Bernsen Algorithm Approaches For License Plate Recognition

A Method of Using Digital Image Processing for Edge Detection of Red Blood Cells

An Image Processing Method to Convert RGB Image into Binary

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

Automatic Morphological Segmentation and Region Growing Method of Diagnosing Medical Images

Color Image Segmentation Using K-Means Clustering and Otsu s Adaptive Thresholding

CHAPTER 4 LOCATING THE CENTER OF THE OPTIC DISC AND MACULA

Lecture 17.5: More image processing: Segmentation

Integrated Digital System for Yarn Surface Quality Evaluation using Computer Vision and Artificial Intelligence

Color Image Segmentation in RGB Color Space Based on Color Saliency

An Efficient Method for Vehicle License Plate Detection in Complex Scenes

Automatic Segmentation of Fiber Cross Sections by Dual Thresholding

An Online Image Segmentation Method for Foreign Fiber Detection in Lint


A comparative study on probability of detection analysis of manual and automated evaluation of thermography images

A Novel Algorithm for Hand Vein Recognition Based on Wavelet Decomposition and Mean Absolute Deviation

Review of Image Segmentation Techniques based on Region Merging Approach

Region Based Satellite Image Segmentation Using JSEG Algorithm

A New Connected-Component Labeling Algorithm

Keywords: Image segmentation, pixels, threshold, histograms, MATLAB

An Approach for Reconstructed Color Image Segmentation using Edge Detection and Threshold Methods

Institute of Technology, Carlow CW228. Project Report. Project Title: Number Plate f Recognition. Name: Dongfan Kuang f. Login ID: C f

A SURVEY ON COLOR IMAGE SEGMENTATION BY AUTOMATIC SEEDED REGION GROWING

Island instantaneous coastline extraction based on the characteristics of regional statistics of ultispectral remote sensing image

Road marking abrasion defects detection based on video image processing

ROBOT VISION. Dr.M.Madhavi, MED, MVSREC

Chapter 6. [6]Preprocessing

A Review of Optical Character Recognition System for Recognition of Printed Text

Driver Fatigue Detection System Based on DM3730

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

Libyan Licenses Plate Recognition Using Template Matching Method

Segmentation of Liver CT Images

Parallel Genetic Algorithm Based Thresholding for Image Segmentation

A New Framework for Color Image Segmentation Using Watershed Algorithm

On Fusion Algorithm of Infrared and Radar Target Detection and Recognition of Unmanned Surface Vehicle

A New Algorithm of Eyed Typhoon Automatic Positioning Based on Single Infrared Satellite Cloud Image

MAV-ID card processing using camera images

Abstract Terminologies. Ridges: Ridges are the lines that show a pattern on a fingerprint image.

Solution for Image & Video Processing

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 05, 2016 ISSN (online):

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Reversible data hiding based on histogram modification using S-type and Hilbert curve scanning

The Key Information Technology of Soybean Disease Diagnosis

Quantitative Analysis of Local Adaptive Thresholding Techniques

A new seal verification for Chinese color seal

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Automatic License Plate Recognition System using Histogram Graph Algorithm

A QR Code Image Recognition Method for an Embedded Access Control System Zhe DONG 1, Feng PAN 1,*, Chao PAN 2, and Bo-yang XING 1

A NOVEL APPROACH FOR CHARACTER RECOGNITION OF VEHICLE NUMBER PLATES USING CLASSIFICATION

A Method of Multi-License Plate Location in Road Bayonet Image

International Conference on Advances in Engineering & Technology 2014 (ICAET-2014) 48 Page

Implementation of global and local thresholding algorithms in image segmentation of coloured prints

A Chinese License Plate Recognition System

Linear Regression Based Global Thresholding

[Mohindra, 2(7): July, 2013] ISSN: Impact Factor: 1.852

Carmen Alonso Montes 23rd-27th November 2015

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Intelligent Identification System Research

Contrast Enhancement Using Bi-Histogram Equalization With Brightness Preservation

Lane Detection in Automotive

Application of Machine Vision Technology in the Diagnosis of Maize Disease

RESEARCH PAPER FOR ARBITRARY ORIENTED TEAM TEXT DETECTION IN VIDEO IMAGES USING CONNECTED COMPONENT ANALYSIS

Automated License Plate Recognition for Toll Booth Application

COLOR IMAGE SEGMENTATION USING K-MEANS CLASSIFICATION ON RGB HISTOGRAM SADIA BASAR, AWAIS ADNAN, NAILA HABIB KHAN, SHAHAB HAIDER

What is image enhancement? Point operation

Malaysian Car Number Plate Detection System Based on Template Matching and Colour Information

PHASE PRESERVING DENOISING AND BINARIZATION OF ANCIENT DOCUMENT IMAGE

Follower Robot Using Android Programming

Counting Sugar Crystals using Image Processing Techniques

Iraqi Car License Plate Recognition Using OCR

Image Measurement of Roller Chain Board Based on CCD Qingmin Liu 1,a, Zhikui Liu 1,b, Qionghong Lei 2,c and Kui Zhang 1,d

Recognition Of Vehicle Number Plate Using MATLAB

Robust Document Image Binarization Techniques

A Fast Algorithm of Extracting Rail Profile Base on the Structured Light

Automated Driving Car Using Image Processing

The Research of the Strawberry Disease Identification Based on Image Processing and Pattern Recognition

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

IMAGE SEGMENTATION ALGORITHM BASED ON COLOR FEATURES: CASE STUDY WITH GIANT PANDA

Research of improving the accuracy oflicense plate character segmentation

Image Matting Based On Weighted Color and Texture Sample Selection

Number Plate Recognition System using OCR for Automatic Toll Collection

Review and Analysis of Image Enhancement Techniques

Transcription:

International Conference on Intelligent Systems Research and Mechatronics Engineering (ISRME 2015) The Study on the Image Thresholding Segmentation Algorithm Yue Liu, Jia-mei Xue *, Hua Li College of Information Science & Electronic Technology, Jiamusi University, Jiamusi, 154007, China e-mail:liuyue197612@126.com, xuejiameixzy@163.com, jdlh65@163.com *Corresponding author Keywords: image segmentation, threshold, Two peak algorithm, Iteration algorithm, Otsu algorithm Abstract. Image segmentation is an important branch of image processing. Among numerous segmentation techniques, thresholding is a very important and effective one which segments different objects using a threshold. This paper discusses workings of several common thresholding segmentation methods and summarizes their respective strength and weakness from the perspective of experiments. Introduction Image segmentation is an essential procedure of image analysis and provides a basis for further understanding of an image. Image segmentation can be defined as a process of segmenting digital image into similar and non-overlapping divisions. The divisions can be considered as a connected set of pixels, which means a pixel set where all the pixels are adjacent or connected [1]. Image segmentation has been widely used in many fields. Figure 1 has shown some of the specific fields. Remote Sensing Meteorological Services Traffic Image Analysis Computer Vision Image segmentation Medical Image Analysis Video Coding Military Research Field Fig.1 Application of image segmentation As a widely used segmentation technique, thresholding makes use of the grayscale difference between the target area to be extracted and its background and finds a reasonable threshold from the two areas with different grayscale levels (target area and background area). This threshold can be used to determine whether a pixel belongs to the target area or the background area. Thus a corresponding binary image can be produced [2]. Thresholding segmentation There is gray scale discontinuity in boundaries between different areas in an image. In other words, the gray step change results in these boundaries. So, image segmentation can be achieved according to the gray discontinuity among pixels through algorithms finding the color or gray mutation between neighboring pixels [3]. Threshold segmentation is a method that segments an image into the background and objects according to the difference in gray value. Threshold approach is an 2015. The authors - Published by Atlantis Press 2306

image segmentation technology based on division. The basic principle of threshold segmentation is to divide image pixels into different types by setting different featured thresholds [4]. The common features include grey or colored features from original image and features transformed from original grey or colored features. Assume f ( x, y ) as the original image, find the eigenvalue in f ( x, y ) based on specific principle, segment the image into two parts and we can obtain the segmented image as: 1 f(x,y) T g(x,y)= (1) 0 f(x,y)<t Which is know as the image binarization. As for a grey image, the simplest way of thresholding is manual segmentation, by which segmentation thresholds are set by hand and different thresholds will lead to different results. However, manual segmentation is boring and time-consuming, and the segmentation results are usually inaccurate and unrepeatable [5]. So, the essential part of threshold segmentation lies in the method of choosing the threshold. Therefore, according to different threshold choosing methods, image segmentation algorithms can be subdivided into double-peak method, iterative method and Otsu's method. Next we will compare the 3 common threshold approaches. Two Peak Algorithm Principles of the double-peak method hold that an image is composed of the foreground and background or of two groups of colors. In a gray scale histogram, the distribution of gray scale values forms peak-like shapes. The valley between two peaks is where the threshold reside [6]. Figure 2 shows the distribution of gray values of an image. The abscissa represents while the ordinate the frequency of appearance of gray pixels in an image. The value at the valley between two peaks is used as the threshold. Number of pixels 0 threshold Gray value 255 Fig. 2 Histogram Fig. 3 original image The workings of the two-peak method are as follows. First, input an image and gray it. Then, calculate the gray scale value of every pixel and reckon up the number of pixels at each gray scale level. Finally, calculate the values of two peaks. The minimum between the two peak values is the threshold. Figure 3 and 4 show the original image and the processed image using the double-peak method, respectively. Existence of two peaks is a prerequisite for this histogram-based method. The two-peak method is inapplicable to images which exhibit a single peak, multiple peaks or wide, flat valley between peaks in the histogram. Figure 6 shows the histogram of Figure 5. Since there are three peaks in the histogram, the proper threshold cannot be obtained using the double-peak method. The improper choice of the threshold would fail the image segmentation as shown in Figure 7. Two-peak method is simple and direct, which can be easily used in multiple threshold segmentation occasions. However, the result of the approach is lack of objective evaluation base, which means the segmentation performance may be not the best. From the perspective of segmentation effect, the 2307

effect is good when the contrast between foreground and background is strong. Otherwise, it is noneffective. Fig. 4 Split Results in Figure Fig. 5 original image Fig. 6 Histogram Fig. 7 Split Results in Figure Iteration Algorithm As for a digital image showing two peaks in its histogram, the histogram-based method can be used to find the proper threshold easily, where the valley between the two peaks is the threshold. However, it is less likely to determine the proper threshold using the double-peak method when an image has one peak, more than two peaks or no peaks at all. In this case, the iterative method is a better choice for determining the threshold. The iterative method is based the thought of approaching. Its implementation steps are as follows: 1) Find the maximum and minimum grayscale values of the image, which are denoted by ZMax and ZMin respectively. Make the initial threshold T 0 =(ZMax+ZMin)/2. 2) Segment the image into two areas according to the threshold T 0. Calculate the average grayscale values of the two areas Z1 and Z2. 3) Calculate the new threshold T=(Z1+Z2)/2. 4) Specify a minimum Ԑ. If T-T 0 <Ԑ, then the obtained value is the threshold and T is the ultimate result of the iteration. Otherwise, make T 0 = T and restart the calculation from step 2 until the error requirements are met. Although the iterative method encompasses a larger amount of computation than the histogrambased method, it can find the optimal threshold of an image [7]. The threshold obtained using the iterative method has a good performance in terms of image segmentation by distinguishing the main 2308

areas of foreground and background. But this method is unable to distinguish minor areas precisely in an image. Figure 8 shows the segmentation result of Figure 2 using the iterative method. Fig. 8Split Results in Figure Otsu Algorithm Otsu Algorithm proposed by the Japanese researcher Nobuyuki Otsu in 1980 is an intra-class variance method [8]. It is a simple and efficient adaptive method for computing a single threshold (for converting a grayscale image into a binary image). With Otsu Algorithm, the histogram of the grayscale image is analyzed. The histogram is segmented into two parts where the threshold is regarded as the boundary T moving from left in the histogram. Two groups of new segmentations are compared at a time. The optimal value of T is obtained from the variance of groups. When the value leads to the maximum distance of the boundary between the two parts, the demarcation point of the boundary T is the proper threshold. If t is the segmentation threshold between the foreground and background, then the ratio of foreground pixel number to total pixel number is W0, its average grayscale value is U0, the ratio of background pixel number to total pixel number is W1, its average grayscale value is U1. The grand average of the image is U=W0*U0+W1*U1. Traverse t from the minimum to the maximum grayscale value. The optimal threshold is obtained once t makes the function G=W0*(U-U0)2+W1*(U1-U)2. Figure 9 shows the segmentation results using the threshold obtained by Otsu's method. The test showed that this approach is easy, stable and effective [4]. Otsu's method would yield satisfactory results whether the histogram of an image displays obvious double peaks or not. Therefore, Otsu's method is the best choice for automatic threshold selection globally. But Otsu's method is unsuitable for handling images with a low signal-to-noise ratio. Fig. 9 Split Results in Figure 2309

Table 1 PERFORMANCE COMPARISON Threshold approaches Applicable image Effect Computation Speed Two peak algorithm Strong contrast between Preferable Small Fast the target and background Iteration algorithm All images Good Common Common Otsu algorithm interclass variance singlepeak image Preferable Small Fast Performance Comparison The performances of the three common threshold approaches are compared in Table 1. Conclusion Thresholding segmentation features the small amount of computation, which is applicable when there is a strong contrast between the target area and background. What is important is that the grayscale level of the background or objects is unitary and that closed and connected boundaries can always be obtained. This paper introduces three thresholding segmentation methods. Experiments are also conducted to show their segmentation performance. In practice, there is no method that can be universally applied to all segmentation scenarios. Sometimes the methods mentioned above need to be modified to handle some complex images. Image segmentation is a field requiring more research efforts in the days to come. Acknowledgment The work was financially supported by the surface project on science and technology research of the Education Department of Heilongjiang province(12521546) and the surface project on science and technology research of Jiamusi University (L2014-006). References [1] Rosenfield. Connectivity in Digital Pictures[J].Journal of the ACM.1970,17(1):146-160. [2] Wang Peizhen, Chen Weinan, Image Segmentation Based on Fuzzy Clustering and Two - dimensional Thresholding [J]Journal of Image and Graphics,Vo l. 3, 1998. [3] Chen Ningning, Achieve and Comparison of Image Segmentation Thresholding Method[J], Computer Knowledge and Technology,Vol.7,2011. [4] Wu Yiquan,Zhu Zhaoda. Development of threshold approach in image processing in recent 30 years. ( 1962-1992) [J]Journal of Data Acquisition & Processing, Vol.8,1993 : 193-201. [5] Tan Binbin,Research and Implementation of Image Segmentation Methods[D] NORTHEASTERN UNIVERSITY, 2006. [6] Jiang Xiangang. Engineering Software Design of Digital Image Processing Based on Delphi [M]. Beijing: China WaterPower Press, 2006. [7] Li Meihong, For the Fingerprint ImageThreshold with Iterative Method [J], Application of Electronic Technique,2004 [8] Li Liaoliao, Binarization Algorithm Based on Image Partition Derived from Otsu Algorithm[J], Microcomputer Information,Vol.21,2005. 2310