1. Introduction
The purpose of thinning is to remove a large number of unwanted points for extracting the isotropic thinned skeleton, which shall retain the pattern’s geometrical shape features for computers to efficiently perform image-related tasks, such as character recognition [
1,
2], fingerprint identification [
3], posture recognition [
4], retinal image analysis [
5], and so on. Over the past half-century, many thinning algorithms have been proposed and can be roughly divided into two main categories: rule-based thinnings (iterative schemes) [
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26] and distance-based skeletonizations (non-iterative schemes) [
27,
28,
29,
30,
31,
32,
33,
34,
35,
36].
Rule-based thinning applies the thinning templates iteratively to remove the contour points until the unit-width skeleton is obtained. In accordance with the operating manner, rule-based thinning algorithms can be further divided into sequential [
6] and parallel [
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26] thinning. For the sequential thinning, the thinning operation of a contour point depends on its neighboring points’ thinning results. The contour points can be removed as long as they are not interior, end and isolated points, in which the removal shall maintain pattern connectivity (for example, eight-connectivity for pattern pixels should be maintained if a (8, 4) binary picture is considered.). On the other hand, parallel thinning can operate the points simultaneously, and one thinning iteration may contain more than one sub-cycle (may also be named as a sub-iteration [
7] or pass [
12]) or subfield [
13,
26]. Sub-cycles used in an iteration are often adopted for developing a sub-cycle-based parallel thinning, where the operator/reduction may be changed with a period of 2, 4 or 8. For example, two-sub-cycle thinning removes symmetrically and iteratively the contour points from two opposite erosive directions until the thinned result converges to be of unit-width. If a thinning algorithm uses one sub-cycle, it is a fully-parallel algorithm. For a one-sub-cycle thinning as defined by Chen and Hsu [
9], a contour point whose erosive direction is the same as its neighboring points can always be removed regardless whether the current iteration count is even or odd. Otherwise, if its erosive direction differs from one of its neighboring points, its removal is dependent on whether the current iteration count is odd or even like the checking in the two-sub-cycle scheme for the preservation of line connectivity. For a subfield-based (or subfield-sequential) algorithm, the binary picture is partitioned into more than two (say
k) subfields, which are alternatively activated. During a given iteration step,
k successive parallel reductions associated with these subfields are performed, and some pattern pixels in the active subfield can be designated for removal [
13,
26]. In order to generate the suitable deletion rules for parallel topological algorithms, some sufficient conditions for topology-preserving parallel reductions were proposed by Németh et al. [
22]. Based on the sufficient conditions, fifty-four 2D parallel thinning and shrinking algorithms were constructed; and a four-sub-iteration scheme with intermediate deletion directions and the iteration-level endpoint checking in subfield-based algorithms were also introduced [
22].
A comprehensive survey on thinning methodologies has been reported by Lam and Suen [
11]. From the viewpoint of order dependence, the resultant thin line depends on the order of pixels examined in sequential thinning algorithms, whereas that depends on the order of the sub-iterations in parallel thinning algorithms. In order to avoid any kind of order dependence, Ranwez and Soille introduced the concept of order independent homotopic thinning and thus presented an order independent homotopic marking algorithm for thinning [
17]. Palágyi further presented a class of equivalent deletion rules and related methods to bridge the order-independent sequential, fully-parallel and subfield-based algorithms [
26]. Based on the framework of critical kernels [
37], Bertrand and Couprie introduced the notion of crucial pixel to study the framework of digital topology, in which the link between critical kernels, minimal non-simple sets and P-simple points is clarified for thinning algorithm design [
21].
For distance-based skeletonization [
27,
29], the local point with the maximum distance is defined as the skeletal point where distance transformation is performed by finding the shortest distance from the point to its nearest background point. It is the well-known medial axis transformation (MAT) thereafter. A good survey on skeletonization theories, methodologies and their applications can be found in the articles of Saha et al. [
35,
36]. In accordance with the original MAT definition [
27], three important properties in skeletonization are addressed as follows after the investigation of the theory of skeleton and its representation for continuous objects [
28,
29].
The connectivity of the derived skeleton is preserved as long as the original object is connected.
The original object can be exactly reconstructed from its skeleton.
The geometry of the skeleton is invariant under picture rotation.
However, while considering the digitized plane, the distance-based skeletons are usually discrete, disconnected, as well as not of unit-width. This means that the three properties mentioned above are not easily maintained due to the effect of discrete metrics as investigated by the literature [
31,
38,
39]. In order to render the advantage of the low boundary noise effect from the MAT and overcome the disconnected issue, a MAT-based thinning has been proposed by Chen and Chao [
40]; who also argue a new challenge of “is it possible that the original line pattern can be completely restored with the thinned result?” Up to now, this issue is not easy for a conventional rule-based thinning algorithm since no reconstructable information is preserved, but the line connectivity during the thinning process. Therefore, the goal of this paper is to propose a pattern-reconstructable strategy embedded in a rule-based thinning so that a good thinning result can be maintained, as well as the original pattern can be reconstructed from the built thin line information (in MAT-based skeletonization, the pattern can be reconstructed from its MAT by a re-expansion process as mentioned by Peleg and Rosenfeld [
30], whereas the pattern reconstruction from the built thin line containing the iterative and reconstructable information is considered in this article).
Since Jang and Chin proposed a reconstructable parallel thinning [
12] in 1993, there have been very few reconstructable methods regarding rule-based parallel thinning presented and discussed. Jang and Chin’s method is based on a hybrid approach of a fully-parallel thinning algorithm and morphological skeleton transformation (MST). It first identifies a set of disjoint feature pixels containing the required information of reconstruction by means of morphological operations. Then, based on fully-parallel thinning, an iterative boundary removal procedure is adopted for producing a unit-width skeleton. Finally a labeling process is used to encode the resultant skeleton with three information (namely reduced feature pixel, feature pixel and the unit-width pixel obtained by thinning) for pattern reconstruction. Even though the resultant skeleton is connected, unit-width and reconstructable, this method is somewhat complicated for application. The reason is that “skeletons generated by the algorithm vary with different MST structuring templates chosen by the user for the extraction of feature pixels” as discussed by Jang and Chin [
12]. Due to the extra feature pixels involved in the traditional skeletal pixels, noisy branches are very easily yielded. Such a phenomenon may easily be observed in a high-resolution pattern. For example, given a binary pattern shown in
Figure 1a and performed by the MST-based algorithm,
Figure 1c shows the completely reconstructed pattern from the thinned result shown in
Figure 1b, where a number of noisy branches are yielded apparently.
In order to avoid the unwanted branches as suffered by Jang and Chin’s method [
12], in this study, we present a pattern-reconstructable strategy and hidden-deletable-point removal method embedded in a fully-parallel thinning, where the former can extract the reconstructable information during the fully-parallel thinning process, and the latter can help with reducing the effect of the bias skeleton, thus further improving the reconstruction. Note here that a deletable point, but not be removed in a thinning iteration, is defined as hidden deletable point (HDP), which is usually accumulated in the portion of the L-corner and T-junction, thus yielding the phenomenon of the bias skeleton in a fully-parallel thinning [
10,
14]. The fundamental principles of designing the presented method are briefly introduced as follows. Basically, in the thinning process, for every iteration, it is of great importance for checking the line connectivity. Let 1-pixel and 0-pixel denote the pattern and background pixel, respectively, in this paper. In order to examine that a 1-pixel
P is a deletable point (
) or has been a skeletal point (
) in the thinning iteration, a checking function
based on the local connecting function defined by Chen and Hsu [
9] is reformulated in
Section 2 and used in our approach. To make the pattern reconstruction possible, the trajectory of thinning should be recorded. For a 1-pixel
P first becoming a unit-width skeletal point, e.g., at the
-th iteration, it is regarded as a landmark on the thinning trajectory, and its eight neighbors at the
-th iteration will be recorded as the reconstructable information. A
RSP (reconstructable skeletal pixel) matrix will be built for storing the thinning flag (The thinning flag
F is a trigger-once flag. Initially, it is set to zero. Once a 1-pixel
P becomes a skeletal pixel,
is set to one eventually during the thinning process.) (
F), iteration count (
I) and reconstructable information (
R). The
RSP matrix will be updated after a thinning iteration until the thinning result is not changed, as the flowchart depicted in
Figure 2a, where the resultant thin line information is further reduced in a so-called skeleton table, which contains all of the skeletal point’s coordinates, iteration count
I and reconstructable
R information. In order to overcome the effect of bias skeleton, an HDP removal process can also be involved in the presented flowchart. In this way, both the effect of the bias skeleton and the number of thinning iterations can be further reduced. In accordance with the produced skeleton table, its original pattern can be reconstructed by means of uniting all dilation results for all skeletal pixels with their
I and
R information, as the flowchart given in
Figure 2b.
The rest of this paper is organized as follows. In
Section 2, followed by the fundamental definitions, the checking function is formulated, and the RSP information is defined. The RSP updating in a fully-parallel thinning, pattern reconstruction based on skeleton table, as well as HDP removal in thinning iteration are also detailed in
Section 2.
Section 3 shows experimental results and comparisons. The measurement of reconstructability (MR) [
12], the number of iterations (NI) and the measurement of skeleton deviation (MSD) [
40] are used for analyses and discussions. The conclusions and future works are finally drawn in
Section 4.
2. Proposed Method
In order to facilitate a clear presentation for our method, some definitions shown in [
9] are adopted here and given first. Let
binary images be composed of two-level pixels; one is the background pixel (or 0-pixel), and the other is pattern pixel (or 1-pixel). For a pixel
, let
be its eight neighbors as depicted in
Figure 3. In this
designation, let
and
denote the sets of integers {0, 2, 4, 6} and {1, 3, 5, 7}, respectively; and
be the union set
. Moreover, let
be the sum of the eight neighbors, which is equal to the total number of 1-pixel neighbors. We can re-index from 0 to
for these 1-pixel neighbors in clockwise order and derive a set of integers
. Thus, a mapping function
is defined to be
. Based on these definitions, according to the systematic design of thinning algorithms [
9], for the
n-th 1-pixel neighbor, its connecting set
is defined by:
Based on the
, for any two consecutive elements in
, take the connecting set
of the former element and the location
of the latter; the connecting operator ⊗ is expressed by:
Thus, a local connecting (
) for pixel
P is defined by:
In the thinning iteration, the most important thing is that the removal of a 1-pixel
P cannot destroy the line connectivity, which can be examined by a checking function
. In this study, based on the original definition [
9], our checking function is reformulated as below:
where
tells that the 1-pixel
P is possibly removed (or removable) at the (
j)-th iteration. Otherwise, it cannot be removed and has become a skeletal point at this iteration. In the following, the result of the checking function is also named the
C-value for convenient presentation.
In order to let the digital pattern be reconstructable from the thinning result, the trajectory of thinning is recorded in our approach. For a 1-pixel first becoming a skeletal point at the
-th iteration, for example, it is considered as a landmark on the thinning trajectory as mentioned in
Section 1. The reconstructable information at the
-th iteration for this landmark should be included, that is for a landmark, its eight neighbors at the
-th iteration will be recorded as the reconstructable information. Therefore, in this study, a 16-bit data format shown in
Figure 4 is newly defined to represent an RSP-pixel, which consists of the thinning flag (
F, bit
f), iteration count (
I, bits
-
) and reconstructable information (
R, bits
-
). Each bit indicates the binary value, 0 or 1. The RSP-pixel will be updated in each thinning iteration until the final unit-width thin line is obtained. Here,
represents that the 1-pixel has become a skeletal point.
I and
R can be expressed respectively as follows for converting the value from binary into decimal.
For convenience of presenting our approach, the RSP matrix can also be represented by three matrices (F, I and R).
2.1. RSP Updating in a Rule-Based Thinning
In general, a rule-based thinning applies the thinning templates iteratively to remove the contour points until the unit-width thin line is obtained. For illustrating how to update the
RSP matrix in a fully-parallel thinning, a series of iteratively thinning results is given in
Figure 5, which are yielded by Chen and Hsu’s method [
9] combining with the process of removing HDPs (which will be presented in
Section 2.3). Note here that the pixels removed in a thinning iteration are numbered in
Figure 5e, which will be helpful for the later presentation.
The mechanism of updating the RSP information for 1-pixel
P is presented as follows. Let the
RSP matrix be initially set to be null. Let
and
be the intermediate thinning results at the (
)-th and (
j)-th iteration, respectively. For a 1-pixel
, with the same order as given in
Figure 3, let
be the
P’s eight neighbors
and
be the reconstructable information
for updating. Note here that the pixel
could have been a final skeletal point if
according to the definition of Equation (
4). For a neighbor
, the corresponding
if it is of 1-pixel and
(this means that the 1-pixel neighbor
could be possibly removed at the next iteration). Otherwise,
means that the neighbor
is 0-pixel or has already been a skeletal point satisfying
. This can thus be expressed by:
For 1-pixel P, if and , its reconstructable information () is updated as , the iteration information () updated as , as well as is set to 1 (this means that the 1-pixel P has become a skeletal point). Otherwise, remains 0.
Consider the intermediate thinning results
and
as illustrated in
Figure 5c,d, for a 1-pixel
denoted in
Figure 6b; its eight neighbors
are shown in
Figure 6a confined by a dotted square. The current iteration count for thinning is
. By means of the checking function in Equation (
4), we have
,
,
and
as the numeric presentation in
Figure 6c. Because the thinning flag
and
, in this case, the reconstructable information is updated as
by Equation (
7) or further represented as
according to Equation (
6). The iteration information (
) is
or
according to Equation (
5). Moreover, since
and
, the 1-pixel
P becomes a skeletal point, and
is set to 1. Note here that for a 1-pixel
P, once
becomes 1, its RSP-pixel updating will not be performed at the following iterations since the necessary reconstructable information of the skeletal pixel,
, should be kept at this landmark. Based on the RSP-pixel data format given in
Figure 4, in this illustration,
is finally updated as (1 000010 00110000), which can also be represented in decimal as (1 2 48) according to Equations (
5) and (
6).
Based on the operational mechanism presented above, the procedure of updating the RSP matrix in a fully-parallel thinning is summarized as follows.
RSP Updating: Procedure of Updating the RSP Matrix in a Rule-Based Thinning
Null a RSP matrix.
Consider the (j)-th iteration in a fully-parallel thinning process. Do Steps 3–5 for each 1-pixel P satisfying and .
Update
according to Equation (
7).
Update .
Set . This is a landmark that the 1-pixel P first becomes a skeletal pixel.
Perform Steps 2–5 until the thinning result is not changed. The binary F matrix also represents the final thinning result indeed.
Following the current example, a series of thinning details for each pixel change is given in
Figure 7 to illustrate the behavior of RSP updating. Consider a
digital pattern as given in
Figure 5a; let
be the original pattern, and the
RSP matrix is set to be null initially, as shown in
Figure 7a. After the first thinning iteration, we have the thinning result
as shown in
Figure 7b, where
is confined by a dotted line, and thus, the removed pixel can be easily inspected for reference. There is not any RSP-pixel to be updated in this iteration since the corresponding
C-value for every 1-pixel is 1, i.e., all of them are possibly further removed at the next thinning iteration.
Figure 7c–h shows the updated RSP information for each 1-pixel
P satisfying to
in the thinning result
(that is, they become skeletal pixels at this thinning iteration), where the reconstructable information
is numbered for reference, and the current iteration count is
. Note here that for the 1-pixel at (3, 2), (2, 3) and (3, 3), their RSP information is not updated here since their
C values are 1.
Figure 7i shows the update RSP pixels with gray squares at this thinning iteration. After updating the
RSP matrix in
, we have just obtained the six skeletal pixels (4, 2), (5, 2), (6, 2), (2, 4), (2, 5), (2, 6), whose
C values are 0, and thus, their updates of RSP information stop here.
Consider the next thinning iteration (
) for the current illustration; let the updated
RSP matrix and the thinning result
be redisplayed in
Figure 8a,b, respectively.
Figure 8c,d shows respectively the updated RSP information for the 1-pixel (2, 3) and (3, 2) having zero
C value in
. Note here that the 1-pixel (3, 3) in the
has been removed in
. The RSP matrix is finally updated as shown in
Figure 8e. The thinning and its RSP updating process stop here for the current illustration. The
RSP matrix can be decomposed into
F,
I and
R matrices as shown in
Figure 8f,g,h, respectively. This information will be useful for pattern reconstruction as presented in the next subsection.
2.2. Pattern Reconstruction Based on the Skeleton Table
By observing the obtained RSP information, the thinning result can be further represented by a skeleton table, which records only the final skeletal pixels with their coordinates,
I and
R information as listed in
Table 1. The thin line is easily redrawn based on the coordinates in the skeleton table. More importantly, the digital pattern can be further reconstructed based on their
I and
R information.
According to the RSP-pixel updating as presented in
Section 2.1, for each skeletal pixel
P, its non-zero neighbors labeled in
and iteration count
for obtaining its reconstructable structure have been recorded. Therefore, the area of the reconstructed partial pattern for
P, denoted as
, can be easily performed by just dilating
times the non-zero neighbors
with a
structure element (
) and expressed by:
where
represents that morphological dilations are performed
times for each 1-neighbor
with the
as given below. Then, the union of all dilation results yields the partial reconstructed pattern
.
Based on such a pattern reconstruction mechanism, the original pattern can be approximately reconstructed by the following union operation and denoted as
, whereas the original pattern is denoted as
for the calculation of pattern reconstructability presented in
Section 3.
Figure 9 illustrates how to obtain the
for all pixels in the skeleton table listed in
Table 1. Note here that the reconstructable information 1-neighbor
is displayed by a gray square. Except that morphological dilations are performed twice for the cases of
Figure 9a,e, it is performed only once for others. The final reconstructed pattern
shown in
Figure 9i is obtained by the union of all partial patterns (
)s and is the same as the original digital pattern given in
Figure 5a. The whole procedure of our pattern reconstruction from the skeleton table can be simply summarized as follows.
Pattern Reconstruction: Procedure of Pattern Reconstruction from the Skeleton Table
2.3. Removal of Hidden-Deletable Points in the Thinning Iteration
So far, we have presented how to yield the RSP information during a fully-parallel thinning process and to reconstruct the pattern based on the RSP information. In these illustrations, the used thinning result in each iteration is indeed obtained by means of two processes: the original fully-parallel thinning [
9] and the process of removing hidden deletable points (RHDP) newly presented in this section. In the following, we will first examine the effect of our approach without the assistance of the RHDP process, then introduce the so-called hidden deletable point (HDP) and, finally, present our RHDP process.
Reconsider the digital pattern in
Figure 5a and perform the fully-parallel thinning [
9] on it without the assistance of the RHDP process; the original thinning results in each iteration, denoted by
, are shown in
Figure 10. Compare them to
Figure 5; the results are rather different, and the final thin line is biased obviously. In addition, it takes more thinning iterations (4 versus 3).
Figure 10e shows the reconstructed pattern (gray squares) with the presented pattern reconstruction approach, where the result is over-reconstructed. In Chen’s early study [
14], this phenomenon results from the so-called HDP effect. Contrary to the complicated vector analysis presented in [
14] for detecting the HDPs, in this paper, a simple and feasible way for the removal of HDPs is newly presented as follows.
Recall that
denotes the intermediate thinning result at the
j-th iteration in
Section 2.1. Let
be the intermediate thinning result obtained from
with only the original algorithm performed. Let
be the set of deleted points obtained by performing the set difference between
and
. Let
be the boundary of
obtained by first eroding
with
in Equation (
9) and then performing the set difference between
and its erosion (
). Therefore, we have:
Note here that
. Let
be the set of points
, but
; thus, we have:
It also implies that
. Now, consider
as an image array with the same size of original image. If the 1-pixel
in the
-image satisfies
, then it is regarded as an HDP, and the corresponding pixel
will be removed further. After performing such an HDP removal process as summarized below, the new thinning result
can be obtained as used in
Section 2.1.
RHDP: Process of Removing HDPs
Given the intermediate thinning result .
Find
,
and
according to Equations (
11)–(
13), respectively.
For each pixel , do Step 4.
If the pixel P in the -image satisfies , then the corresponding pixel is an HDP and removed from .
Update for the next thinning iteration.
Figure 11 illustrates how to transform
into
via the RHDP process. Given
as shown in
Figure 5a, the next thinning result
purely obtained by Chen and Hsu’s method [
9] is given in
Figure 11a. Thus, we have
as shown in
Figure 11b according to Equation (
11). Based on Equation (
12), the boundary of
is shown in
Figure 11c and denoted by
, which can be further displayed as in
Figure 11d by labeling the
-point and
-point. Since the
points, (1, 1), (5, 4) and (4, 5), belong to HDPs by means of performing the checking function in Step 4 of RHDP, they can be further removed from
, and the new thinning result
is thus obtained as shown in
Figure 11e, which is the same as in
Figure 5b.
3. Results and Discussion
The proposed algorithm is implemented by Microsoft Visual Studio 6.0 C++ and run on a laptop computer with Intel
® Core
i5 2.6 GHz CPU (Intel, Santa Clara, CA, USA) and 4 GB RAM. Let
be the original pattern and
be the reconstructed pattern obtained by Equation (
10). In order to evaluate the reconstruction ability of the proposed approach, a measurement of reconstructability (MR) [
12] is used and expressed as below.
Here,
represents the set of pixels
, but
, and vice versa. The range of MR is between zero and one. The MR increases with the accuracy of reconstructability, where MR = 1 represents that the pattern is reconstructed completely. Since the HDPs removed or not in a thinning iteration will significantly affect the thinning result and number of iterations (NI), the measurement of skeleton deviation (MSD) [
40] and NI are also adopted for our performance evaluations. To evaluate the MSD, we can give an original thin line pattern
, generate its thick-line pattern
by a thickening procedure [
14] and perform the
by a thinning algorithm to obtain the skeleton result
. Then, the MSD can be computed as follows.
where
represents the minimum Euclidean distance between
q and
. In this evaluation, the lower MSD means that the adopted thinning algorithm has a better performance to reduce the bias skeleton.
Reconsider the original digital pattern as given in
Figure 1a; by performing the proposed approach on it, the resultant skeletons are shown respectively in
Figure 12a without and
Figure 12b with the assistance of the RHDP process. The former shows a biased skeleton taking 20 thinning iterations, whereas the latter shows a bias-reduced skeleton taking 14 thinning iterations. In the phase of pattern reconstruction, the reconstructed results are shown in
Figure 12c (MR = 0.817) and
Figure 12d (MR = 0.994), respectively. Here, we can find that the biased skeleton may result in the over-reconstructed pattern, as shown in
Figure 12c. Accordingly, based on these results, not only the feasibility of our pattern reconstruction mechanism is confirmed, but also the developed RHDP process can effectively help to obtain the bias-reduced skeleton and reconstruct the pattern more closely.
3.1. Experiments with a Set of Unit-Width Letters
For investigating additionally the skeleton deviation with MSD, original thin lines should be given initially as ground truths. In this study, we built seven unit-width letters, “A”, “E”, “H”, “L”, “M”, “R” and “T” as shown in
Figure 13a. By means of the thickening procedures [
14], the thickened results shown respectively in
Figure 13b are obtained and will be used for the following investigations of MR, NI, as well as MSD. Since the proposed approach is designed for the fully-parallel thinning algorithms as depicted in the flowcharts of
Figure 2, three fully-parallel thinning algorithms, namely CH [
9], AW [
16] and Rockett [
20], are used for comparisons and discussions.
Figure 14a,b shows their thinning results without and with the RHDP process, respectively. It is obvious that the biased skeletons of
Figure 14b are much less than those of
Figure 14a. Note here that in the same test situation, the three algorithms have a similar performance due to such a thinning algorithm based on the similar design rules. This phenomenon can also be reported in the measurements of NI and MSD as listed in
Table 2 and
Table 3, respectively.
Table 2 shows that the average NI with the RHDP process is approximately 27% less than that without the RHDP process.
Table 3 shows that the average MSD with the RHDP process is approximately 42% less than that without the RHDP process. Note here that since the Rockett algorithm [
20] is the improved version of AW [
16], the Rockett algorithm (MSD = 190.7) is a little bit better than AW’s algorithm (MSD = 206.9) by the presented method without using the RHDP process. As a result, this experiment confirms that our RHDP process embedded in a thinning iteration can effectively reduce not only the bias skeleton effect, but also the number of iterations.
By means of performing the proposed pattern reconstruction approach depicted in
Figure 2b on the skeleton tables of the thinning results shown in
Figure 14, the corresponding reconstruction results are displayed in
Figure 15. It can be seen that the reconstruction results of
Figure 15a are over-reconstructed, whereas those of
Figure 15b are closer to the originals.
Table 4 reports that the average MR with the RHDP process is increased 12.5% compared to that without the RHDP process. This evaluation further confirms that the proposed approach with the assistance of the RHDP process (MR = 0.981) is very feasible for realizing the pattern reconstruction in a fully-parallel thinning.
3.2. Experiments with Some Patterns in the MPEG7 CE-Shape-1 Dataset
Some patterns (“Deer”, “Fly”, “Bird”, “Chicken”, “Device” and “glass’) from the MPEG7 CE-Shape-1 dataset [
41] are used for further experiments and comparisons of the NI and MR measurements.
Figure 16a shows the thinning results obtained by applying Jang and Chin’s MST-based reconstructable parallel thinning algorithm [
12]. It can be observed that many unwanted branches are yielded in the final skeletons resulting from the fact that the feature points should be retained in the thinning process in order to completely reconstruct the whole pattern as shown in
Figure 16b.
Again, the three fully-parallel thinning algorithms, CH [
9], AW [
16] and Rockett [
20], involved in the proposed approach are used for comparisons and discussions.
Figure 17 shows the obtained thinning and reconstruction results by the proposed approach without using the RHDP process. The phenomenon of over-reconstruction is very obvious. By means of the assistance of the RHDP process in the presented approach,
Figure 18 demonstrates that the reconstruction results are near the original ones. In the NI and MR measurements,
Table 5 reports that the average NI with the RHDP process is 28% less than that without the RHDP process, whereas
Table 6 reports that the average MR with RHDP process is increased 28.4% compared to that without the RHDP process. The performances of these experiments are similar to those presented in
Section 3.1. It is accordingly concluded that the feasibility of the pattern reconstruction mechanism developed for a fully-parallel thinning algorithms has been confirmed, and the bias skeleton phenomenon usually appearing in a fully-parallel thinning algorithm can be effectively reduced by involving the proposed RHDP process.
As a discussion, even the reconstruction result obtained by the proposed approach with the RHDP process is very close to the original pattern; the over-reconstructed situation is avoided; however the complete reconstruction is not easily achieved. For example, referring to
Figure 15b and
Figure 18, the unreconstructed portions usually appear in the convex boundaries. This phenomenon results apparently from the thinning templates and morphological structure elements adopted being of a square form, and the reconstruction result depends strongly on the thinning result. Therefore, it can be regarded as a new research direction in the near future by applying the hexagonal structure [
42] to the proposed algorithms for overcoming such a phenomenon.