Renyan Ge and David A. Clausi

Similar documents
CHAPTER 1 INTRODUCTION

Simulation of Zhang Suen Algorithm using Feed- Forward Neural Networks

4. RESULTS AND COMPARASIONS

Skeletonization Algorithm for Numeral Patterns

International Journal of Signal Processing, Image Processing and Pattern Recognition Vol.9, No.2 (2016) Figure 1. General Concept of Skeletonization

Digital Image Processing Fundamentals

RESEARCH ON OPTIMIZATION OF IMAGE USING SKELETONIZATION TECHNIQUE WITH ADVANCED ALGORITHM

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II

Two Image-Template Operations for Binary Image Processing. Hongchi Shi. Department of Computer Engineering and Computer Science

Image representation. 1. Introduction

A490 Machine Vision and Computer Graphics

Binary Shape Characterization using Morphological Boundary Class Distribution Functions

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

Morphological Image Processing

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary)

Computer and Machine Vision

Segmentation and Modeling of the Spinal Cord for Reality-based Surgical Simulator

Hand-written Signatures by Conic s Representation

Single Pass Connected Components Analysis

COMPUTER AND ROBOT VISION

Keywords: Thresholding, Morphological operations, Image filtering, Adaptive histogram equalization, Ceramic tile.

Mathematical Morphology and Distance Transforms. Robin Strand

MORPHOLOGICAL BOUNDARY BASED SHAPE REPRESENTATION SCHEMES ON MOMENT INVARIANTS FOR CLASSIFICATION OF TEXTURES

MORPHOLOGICAL EDGE DETECTION AND CORNER DETECTION ALGORITHM USING CHAIN-ENCODING

Lesson Polygons

Identifying Layout Classes for Mathematical Symbols Using Layout Context

Robust Object Segmentation Using Genetic Optimization of Morphological Processing Chains

1 Background and Introduction 2. 2 Assessment 2

Staff Line Detection by Skewed Projection

EECS490: Digital Image Processing. Lecture #17

EE795: Computer Vision and Intelligent Systems

transformation must be reversed if vector is the final data type required. Unfortunately, precision and information are lost during the two transforma

morphology on binary images

Topic 6 Representation and Description

Character Recognition

Edge and local feature detection - 2. Importance of edge detection in computer vision

Albert M. Vossepoel. Center for Image Processing

Separating Touching Objects in Remote Sensing Imagery: The Restricted Growing Concept and Implementations 1

Invariant Recognition of Hand-Drawn Pictograms Using HMMs with a Rotating Feature Extraction

IRIS SEGMENTATION OF NON-IDEAL IMAGES

Digital Image Processing Chapter 11: Image Description and Representation

Chapter 3. Sukhwinder Singh

Development of system and algorithm for evaluating defect level in architectural work

EDGE BASED REGION GROWING

One type of these solutions is automatic license plate character recognition (ALPR).

1. INTRODUCTION. AMS Subject Classification. 68U10 Image Processing

Edge Detection Using Morphological Method and Corner Detection Using Chain Code Algorithm

Figure 1: An Area Voronoi Diagram of a typical GIS Scene generated from the ISPRS Working group III/3 Avenches data set. 2 ARRANGEMENTS 2.1 Voronoi Di

Alignment invariant image comparison implemented on the GPU

Digital Image Correlation of Stereoscopic Images for Radial Metrology

Object Segmentation. Jacob D. Furst DePaul CTI

A Simple Placement and Routing Algorithm for a Two-Dimensional Computational Origami Architecture

Morphological Image Processing

Iterative Estimation of 3D Transformations for Object Alignment

Interactive Math Glossary Terms and Definitions

2 ATTILA FAZEKAS The tracking model of the robot car The schematic picture of the robot car can be seen on Fig.1. Figure 1. The main controlling task

Conic Sections and Locii

Mathematical morphology... M.1 Introduction... M.1 Dilation... M.3 Erosion... M.3 Closing... M.4 Opening... M.5 Summary... M.6

Module 7 VIDEO CODING AND MOTION ESTIMATION

Defect Inspection of Liquid-Crystal-Display (LCD) Panels in Repetitive Pattern Images Using 2D Fourier Image Reconstruction

Assignment 3: Edge Detection

Machine vision. Summary # 5: Morphological operations

This blog addresses the question: how do we determine the intersection of two circles in the Cartesian plane?

CoE4TN4 Image Processing

Biomedical Image Analysis. Mathematical Morphology

Chapter 11 Representation & Description

Lecture 18 Representation and description I. 2. Boundary descriptors

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University

EDGE DETECTION-APPLICATION OF (FIRST AND SECOND) ORDER DERIVATIVE IN IMAGE PROCESSING

Digital Image Processing

COMPARATIVE STUDY OF IMAGE EDGE DETECTION ALGORITHMS

Picture Maze Generation by Repeated Contour Connection and Graph Structure of Maze

Morphological Image Processing

A New Method for Skeleton Pruning

Image Segmentation Techniques for Object-Based Coding

SECTION 5 IMAGE PROCESSING 2

Morphological Image Processing GUI using MATLAB

Digital Image Processing. Lecture # 3 Image Enhancement

User s Manual ❹ Tools

On-Line Computer Graphics Notes CLIPPING

Edge and corner detection

An Automated Image-based Method for Multi-Leaf Collimator Positioning Verification in Intensity Modulated Radiation Therapy

Infinite Geometry supports the teaching of the Common Core State Standards listed below.

Digital image processing

Blood vessel tracking in retinal images

Lecture 7: Morphological Image Processing

An explicit feature control approach in structural topology optimization

Moore Catholic High School Math Department

Discrete 3D Tools Applied to 2D Grey-Level Images

Adaptive Normal Map Compression for 3D Video Games

G15 Developing Conic Sections with GSP

Edge Detection Using Circular Sliding Window

Automatically Extracting Manmade Objects from Pan-Sharpened High-Resolution Satellite Imagery Using a Fuzzy Segmentation Method

Image Segmentation Via Iterative Geodesic Averaging

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

Image Compression for Mobile Devices using Prediction and Direct Coding Approach

Fast Distance Transform Computation using Dual Scan Line Propagation

Symbol Detection Using Region Adjacency Graphs and Integer Linear Programming

VC 10/11 T9 Region-Based Segmentation

DEVELOPMENT OF GEOMETRICAL MODELS OF HARD-ALPHA INCLUSIONS

Transcription:

MORPHOLOGICAL SKELETON ALGORITHM FOR PDP PRODUCTION LINE INSPECTION Renyan Ge and David A. Clausi Systems Design Engineering University of Waterloo, 200 University Avenue West Waterloo, Ontario, Canada N2L 3G1 Phone: (519) 888-4567, ext.2604 Fax: (519) 746-4791 Email: { r2ge, dclausi} @engmail.uwaterloo.ca ABSTRACT Morphological skeletonization is an image processing technique that reduces complex, thick-lined images to a series of single pixel lines that accurately represent the original shapes. This procedure is especially useful to simplify automated applications requiring simple shape analysis and continuity checking by reducing the amount of redundant image data. In the semiconductor inspection field, skeletonization is a process that can be used to detect defects during plasma display panel (PDP) inspection. This paper will introduce a novel morphological skeletonization algorithm developed for electrode pattern inspection of PDPs. This algorithm has been successfully integrated within a commercial machine vision system. 1. INTRODUCTION Skeletonization is a process designed to reduce objects in any binary image to a set of single pixel lines that are an accurate representation of the overall original shape. Research has been conducted in the field of image processing to determine various methods to efficiently perform skeletonization. Various optical inspection systems developed at V Technology (a Japanese-based high technology company) utilize skeletonization as a key process in the computerized detection of manufacturing defects. By reducing complex images to a simple set of basic features, including intersections and endpoints, defect analysis can be performed more easily. The purpose of this investigation is to research the development of a new skeletonization algorithm. It was prompted by the shortcomings of the existing skeletonization procedure which prevented it from correctly skeletonizing circles. The goal of this research is to provide a new technique that properly reduces circles to dots and more accurately maintains the shapes of objects during the skeletonization process. The new algorithm is designed to overcome the problems with the traditional method. This paper first explains the concept of skeletonization. It describes the design criteria for a new skeletonization algorithm, its development, and the outline of some application-specific modifications which can be made to deal with various input and output requirements. Also, the feature point classification and its direction code based matching method for defect inspection are introduced and demonstrated with PDP images. 2. BACKGROUND 2.1. Skeletonization Overview A skeleton can be defined as a connected set of medial lines along the limbs of a figure [l]. Skeletonization describes a thinning process designed to operate on binary images and reduce them to this set of single pixel lines. To obtain a skeleton of the original image, successive passes of a skeletonization algorithm are applied until the output from this operation does not change from the input. The ideal skeleton is intuitively pleasing, but a direct implementation is very difficult and computationally intensive [2]. Instead, an iterative or recursive technique is often implemented which simplifies the process but only approximates the skeleton. Many such implementations are possible, but typically they work by repeatedly stripping layers off the outside of shapes in a binary image until a skeleton is obtained. Though most iterative or recursive methods do not yield ideal skeletons, for most purposes, the results are still useful and describe the original images quite well. - 1117 -

Skeletonization eliminates redundant information while retaining only the topological information about the shape ofthe form [I]. This is ideal when a machine must process the image. The information that is removed is often not necessary to the analysis and eliminates confusion and complexities in the original image. In a large number of applications, such as PDP inspections, analysis of every pixel of the skeleton is not necessary. As a result, the skeletonization engine actually eliminates the majority of the data and returns only those "features" of the skeleton which are needed for processing. 2.2 Traditional Method There are two algorithms which have been implemented and tested for comparing with our new method. The first is the Zhang and Suen Two Step Approach [4] and the second is the Davies' Four Step Approach [l]. Both of these are commonly used skeletonization algorithms that have been implemented directly from their textbook descriptions. Each works by examining the image, one 3x3 region at a time, and mathematically determining whether to keep or remove the centre pixel. The Zhang and Suen Approach strips pixels from the outside of a binary object - first from the northwest and then from the southeast. Gonzalez and Wintz give a full development of this approach [2]. The advantages of this approach is that since this algorithm requires only two cycles to strip an entire set of pixels from the outside of an object, it is considered quite fast. The problem with this approach is that it works well only with nonrotated rectangular based shapes which are approximately aligned with the pixel axes. This is sufficient for maintaining the shape of square lines, but other shapes are not preserved nearly as well through this skeletonization process. Another problem found, experimentally, with this algorithm is the complete erosion of 2x2 squares. This means that any object which starts as a 2x2 square or becomes a 2x2 square during the skeletonization process will disappear completely from the image. This presents a significant problem for the final PDP defect image analysis stages. The four step approach, which Davies describes in [l], is the algorithm usually used for skeletonization. This algorithm has fewer problems than the Zhang and Suen approach. Some of the details of this process must be described because they are the basis for the new approach. The crossing number x (chi) is a quantity used by the thinning algorithm when determining pixel deletion. The crossing number of any particular 3x3 neighbourhood is defined as the total number of 0-to-I and I-to-0 transitions encountered while travelling once around the 8 bits bordering the neighbourhood. In essence, it is a measurement of twice the number of possible connections joining this 3x3 region to the surrounding ones. Davies presents a discussion of various methods for determining x. The neighbourhoodsum o (sigma) is another quantity used in the thinning algorithm to determine if a given pixel should be removed. o is the sum of the eight pixels around the outside of the current 3x3 neighbourhood. If this value is equal to 1, the current pixel is the endpoint of a line. If endpoints are to be preserved, a pixel cannot be deleted if 0=1. Davies' approach is based on the two quantities defined above. A pixel will be removed only if O# 1 and x = 2. These criteria ensure that endpoints of lines are preserved and that the pixel being examined is not a vital connecting point between two parts of the object. The dvantages of this approach is that t works relatively well with all kinds of shapes, although not perfectly. It does not consume 2x2 objects like the Zhang and Suen algorithm does. It can be configured to absorb or leave endpoints depending upon the requirements of the application. The problems with this approach is that circles do not skeletonize to dots. They do not remain circular during the skeletonization process. Instead, they become diamond shaped. These diamonds then skeletonize to crosses. Figure 1 depicts the results of skeletonizing a circle with Davies' algorithm. The Zhang and Suen approach can completely skeletonize circuit traces of widthn+l pixels or less in n passes. This process has half that efficiency and requires 2n to accomplish the same amount of skeletonization. 3. NEW MORPHOLOGICAL SKELETON ALGORITHM 3.1 Design Criteria There are three main criteria that the new algorithm must meet. This algorithm must (1) be at least as fast as the traditional algorithm (2) skeletonize circles to dots, and (3) not have the - 1118 -

Figure 1 : Skeletonization Problem with Davies Algorithm Figure 2: Skeletonization with Strict Directional Points Stage 2 Figure 3: The Three Stage Approach disadvantages of either the Zhang and Suen approach in [4] or Davies approach in [I]. 3.2. The Modified Four Step Algorithm To produce an unbiased skeleton and obtain a set of truly medial lines, it is critical that pixels be removed as evenly as is possible from the outside of objects [I]. Research was conducted using Davies approach in [I]. An attempt was made to improve upon the existing algorithm rather than developing an entirely new procedure. A modification was made to the definition of a directional point. Instead of defining the directional points to include the diagonals, as Davies did, only the horizontal and vertical points were included. Tests were done using these newly defined strict direction points. Now, instead of consuming diagonals in two of the four cycles, they were not consumed at all. This yielded an output as depicted in Figure 2 This output was then compared to that of the original algorithm as seen in Figure 1. These outputs appear to be geometric opposites of one another. One consumes diagonals quickly while the other consumes horizontal and vertical directions quickly. This was the motivation behind the development of the final algorithm. If these algorithms are combined, each can cancel out the negative effect ofthe other - in essence, preserving the overall shape of the image. Experimentally, it was determined that the best results were obtained if these two techniques were combined in a 2: 1 ratio. This yielded a three stage approach which is shown in Figure 3. Stages 1 and 2 are both Davies existing algorithm, and stage 3 is the modified approach. This leads to a twelve step procedure. Figures 5 and 6 (placed on the last two pages of the paper) illustrates a series of real-world test images as well as their skeletonized results. It contains both the outputs obtained using the original skeletonization from Davies approach [I] and the modified algorithm. 4. FEATURE POINT CLASSIFICATION The final skeletonized image is often processed in order to perform some form of analysis. For PDP inspection systems, the skeletonization itself is performed on hardware module. The final stage of the inspection is an analysis of this skeletonized image. Since this step is computationally difficult it is performed on a host computer, so the skeletonization output must be transferred to the host for analysis. - 1119 -

Instead of transferring the entire skeletonized image, which would be time consuming due to the size of image and the bandwidth available, the final stage of the skeletonization process performs feature classification. Since the analysis of these features only requires the knowledge of a given 3x3 neighbourhood, this can be performed in the existing skeletonization architecture. This stage reduces the image to a set of feature codes. For example, in the analysis of circuits, the only points of interest are the endpoints or intersections of traces. These main defect categories permit the detection of circuit breaks or shorts and solder splashes. All other skeleton pixels can be eliminated, reducing the image to feature codes consisting of endpoints, T-junctions and cross or X-like intersections. Examples of these are shown in Figure 4. 6. SUMMARY The new skeletonization algorithm has been demonstrated to be an improvement over existing techniques. The algorithm has been successfully implemented within a PDP inspection machine in use by popular PDP manufacturers eg. Panasonic, NEC, Pioneer, etc. References Davies, E. R. Machine Vision: Theory, Algorithms, Practicalities, (Second Edition) San Diego: Academic Press, 1997. pp. 151-163. Gonzalez, Rafael C. and Wintz, Paul. Digital image Processing, (Second Edition) Massachusetts: Addison-Wesley Publishing, 1987. pp. 398-403. Belanger, Richard P. Morphological Processing System, United States Patent. Massachusetts, 15 September 1992. Sections 1-10. Zhang, T.Y. and Suen, C.Y. A Fast Parallel Algorithm for Thinning Digital Patterns. Communication of the ACM, vol. 27, no. 3. 1984. pp. 236-239. Figure 4. Examples of feature codes used for classification of PDP defects. 5. DIRECTJON CODE BASED FEATURE POINT MATCHING Defect inspection is performed in a simple manner. For every feature point, with the help of their feature type and feature directions, the surround feature points are searched. If targets are found, the direction code may or may not be matched by one of the codes in Figure 4. In this manner, several types of defects can be identified eg. OPEN, SHORT. This methodology is designed especially to detect electrode defects in PDPs. - 1120 -

%t E Set 2! - j F-7I I." _."^.."_: I...,... i Figure 5: Comparing results - 1121 -

Figure 6: Example of Direction code based feature point matching for defect inspection of PDP. (Note that red indicated defects.) - 1122 -