Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Abstract
A thinning scheme could be used as a useful method of performing a local transaction are introduced. Then, we
pre-processing in image processing. Various algorithms evaluate the performance of our scheme by investigating
have been proposed to produce the skeleton of a digital the thinning for 432 kinds of commonly used character
binary pattern. However, they have undesirable properties fonts. We find that the skeletons obtained from our
that tend to cause shrinking or vanishing of segments, the method give better results than those of any other major
appearance of a beard, and warping where segments thinning algorithms.
intersect. In this paper, we propose a parallel Hilditch
algorithm to acquire a more stable output. In particular, 2. Definition
we introduce two kinds of masks that are effective in the
thinning of digital figures of characters. Then, we First, the terms which are necessary to describe the
evaluate the performance of our scheme by investigating algorithms are defined. A processing object is an binary
thinning for 432 kinds of commonly used character fonts. graphic which takes 0 or 1 on a plane tetragonal lattice. A
We conclude that the skeletons obtained from our method thinning is setting the width of the line of this binary
give better results than those of any other major thinning graphic to 1, and the graphic of the width 1 generated by
algorithms. the thinning is called a core line or skeleton. Figure 1
shows the 8 neighbors of the objective point (pixel 0) on
the pattern of 3 x 3. Among these, especially the pixels
1. Introduction 1,3,5, and 7 are called the 4 neighbors. The 8 neighbors
take the value of 0 or 1, and they are represented by xk (k =
The graphic data taken from an image scanner etc. and 1,2,..,8).
processed by the computer are mainly letters, map
information and design drawing, etc.. In order to process
these graphics, thinning often becomes important. For 4 3 2
example, although a letter is inputted as a picture image 5 0 1
having a certain width, in order to simplify the task of the
computer in character recognition, it is desirable to carry 6 7 8
out a pre-processing to produce a line drawing which is as
thin as possible. Thus the technique of making a line thin Figure 1. 8 neighbors
without spoiling the information in the original is called
thinning. Various algorithms have been proposed to Now, the value of the objective point is set to 1, and 1
produce the skeleton of digital binary pattern[2]-[5]. is expressed by gray and 0 by white. If two pixels adjoin
However, they have undesirable properties that tend to each other in vertical, horizontal or diagonal direction,
cause shrinking or vanishing of segments, the appearance they are said to be connected. Figure 2 shows an example
of a beard, and warping where segments intersect, and the of connection of pixels.
benefits may depend on the processed objects. There is no
clear definition of a thinning, then the quality criterion
would likely become subjective. It could not be said that
the experiment has been fully validated based on concrete
processing objects.
In this paper, a new thinning algorithm for digital
figures of character is proposed. The classic Hilditch
algorithm [2] is parallelized and two kinds of masks for Figure 2. Connection of pixels
The connectivity number Nc is defined by the equation: The classical Hilditch algorithm is a fundamental
sequential algorithm using the connectivity number[2]. In
Nc ¦x
k 1, 3 , 5 , 7
k (1 x k 1 x k 2 ) this paper, in order to introduce the masks described later,
the Hilditch algorithm is transposed to a parallel type, and
this is the kernel of our algorithm. The operation consists
where x k 1 x k , and k + 2 = 1 for k = 7[6]. The
of a pre-processing stage and a scan stage. In the pre-
connectivity number takes the value of 0, 1, 2, 3, and 4. processing stage, boundary points with connectivity
The point of Nc =1 is called the boundary point, and number Nc = 1 are searched. During the scan stage, the
generally it becomes the candidate point for deletion. operation is divided into 4 cycles as illustrated by Figure 3.
However, among the boundary points, if the total value of In each cycle only those pixels whose neighbor can be
8 neighbors is one or less, the point is called endpoint and identified as xc = 0 are checked, and if two conditions are
it can not be deleted. If the graphic does not contain any satisfied:
boundary points except an endpoint, it is called a complete 8
8 connection or complete 8 connected core line.
The complete 8 connected core line is generated by the
(1) ¦x
k 1
k ! 1 : Not end point,
Hilditch algorithm or parallel Hilditch algorithm as stated (2) Nc 1 : Boundary point,
in the following paragraph. But ultimately the core line
generated by our algorithm is called incomplete 8 the pixel is removed. The algorithm is stopped when there
connection. This is defined by the intersection number: are no more point to delete. The flow of a parallel Hilditch
8
algorithm is shown in Figure 4, where point 2 denotes a
d ¦k 1
x k x k 1 candidate point to delete and point 3 a point to delete.