Open access peer-reviewed chapter

# Polygonal Approximation of Digital Planar Curve Using Novel Significant Measure

By Mangayarkarasi Ramaiah and Dilip Kumar Prasad

Submitted: November 26th 2019Reviewed: March 16th 2020Published: April 28th 2020

DOI: 10.5772/intechopen.92145

## Abstract

This chapter presents an iterative smoothing technique for polygonal approximation of digital image boundary. The technique starts with finest initial segmentation points of a curve. The contribution of initially segmented points toward preserving the original shape of the image boundary is determined by computing the significant measure of every initial segmentation point that is sensitive to sharp turns, which may be missed easily when conventional significant measures are used for detecting dominant points. The proposed method differentiates between the situations when a point on the curve between two points on a curve projects directly upon the line segment or beyond this line segment. It not only identifies these situations but also computes its significant contribution for these situations differently. This situation-specific treatment allows preservation of points with high curvature even as revised set of dominant points are derived. Moreover, the technique may find its application in parallel manipulators in detecting target boundary of an image with varying scale. The experimental results show that the proposed technique competes well with the state-of-the-art techniques.

### Keywords

• dominant point
• projection position
• iterative smoothing
• minimal number of points
• polygonal approximation

## 1. Introduction

Shape representation and shape classification are efficiently facilitated by polygonal approximation. This approach is popular due to its compact representation and insensitive to noise. These salient features are found useful in many applications [1, 2, 3, 4, 5, 6, 7, 8]. The main objective of polygonal approximation is to approximate the shape of a curve using a polygon whose vertices are specified by a subset of points on the curve. These points are referred to as dominant points and are often the points with high curvature. An example is illustrated in Figure 1. A digital curve representing the shape of snowflake is displayed in Figure 1(a), and its identified dominant points are shown in Figure 1(b). The anticipated output of polygonal approximation using dominant point can be seen in Figure 1(c). Broadly polygonal/closed curve approximation of a digital planar curve may be cast as min ε problem or min ≠ problem. In min ε problem, the techniques derive polygonal approximation with specified number of line segments or dominant points. These techniques ensure that the deviation between the curve and the approximate polygon is minimal, condition to the specified number of dominant points. Min # techniques derive polygonal approximation with a specified error. These techniques generate the approximate polygon with minimal number of dominant points while ensuring the measure of closeness is not larger than the specified error. In recent years, there are many dominant point-based polygonal approximation techniques that were presented in the literature [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19].

And few older ones can be found in [20, 21, 22]. The techniques presented in [9, 10, 12, 20, 21] use reverse polygonization, where instead of detecting the real points the techniques make a search to detect redundant points and delete points iteratively. The methods in [11, 15] use breakpoint suppression, where the techniques apply criterion measure on the finest approximated set of points to suppress the redundant points and make the approximation. The methods in [3, 13, 16, 18] present a solution using dynamic programming, where the techniques make exhaustive search to detect points on curve, thereby making final approximation. The method in [14] makes polygonal approximation by detecting ADSS (Approximate Digital Straight Segment). The method in [17] uses MIP (mixed integer programming) model. The method in [19] uses vertex relocation procedure around neighbors. In this method, while approximating the output curve by detecting the dominant point, the technique allows neighborhood points to become a dominant point provided that new dominant point facilitates in reduction of approximation error. The method in [22] uses split and merge, where the method makes a search to find the points with maximum deviation in the splitting stage using the proposed criterion function and merge all the points identified in the splitting stage using the threshold value. Most of the dominant points [9, 10, 11, 12] detecting methods use the magnitude of orthogonal projection of a point on the line segments, which connect adjacent high curvature points to influence the process of detecting dominant points. The methods in the literature [9, 10, 11, 12, 14, 15, 20, 23] do not address the issue where the projection of point lies beyond its candidate line segment, where the situation may be often anticipated during approximation. The techniques that neglect to check this criterion may miss good curvature points, which are critical for shape representation. The technique proposed in this chapter measures the positions of projections of a point on the curve, thereby invoking different metrics for computing the significant measure of the dominant points. This practice makes the proposed technique to preserve the original shape of the curve even at very minimal number of dominant points. Such characteristic is very essential for compact representation. And it is very essential for object detection and shape classification applications. Especially, the proposed technique can facilitate the parallel manipulators in cutting and milling operations by preserving the actual shape of the target boundary points. The rest of the chapter is organized is as follows: Section 2 presents a brief review of some of the state-of-the-art methods along with an insight into their demerits wherever possible. Section 3 presents the proposed work. Section 4 summarizes the experimental results. Section 5 concludes the chapter.

## 2. Background

Several polygonal approximation techniques have been proposed in the recent decades. Some of them use various optimization approaches [3, 13, 16, 17, 18, 19]. On the other hand, there are other techniques that use local/global geometric features of a curve to influence the process of determining the polygon with minimal number of line segments [9, 10, 11, 12, 23, 24, 25, 26], and these techniques prove its competence against many real-time datasets. Among these, this section briefly analyzes some of the bench mark techniques.

Prasad [23] proposed a non-parametric framework to detect points of high curvature. The framework uses the maximum deviation incurred between pixels from a digitized boundary as an upper bound to make approximation. The authors proved that the analytical bound can be incorporated by dominant point detection framework to get rid of specification in terms of the tolerable error (for min # approaches) or the number of points (for min ϵ approaches). The authors established the robustness of their framework against scaling invariance as well as noise tolerance. However, there are applications in which the curve needs to be approximated using a specified number of dominant points, which is not possible through this framework. Though the approximation bounded below to digitization value, points detected on the curve seem to be redundant for human visual perception. Prasad [24] used metrics such as precision and reliability as measures to fit the polygon edges. Depending upon the threshold values for these measures, the technique produces coarser or finer approximation. Thus, this technique can flexibly control the degree of smoothness required for an application. And also the paper suggests some performance metrics to quantify the techniques. Parvez [19] obtained the digital boundary using contour extraction techniques. The objective of the method was to produce approximate polygon with minimal error possible. To attain this goal, the method relaxes the criteria that dominant points need not be on the contour. The technique computes neighborhood points for every point pion the contour Cdand introduces a new point on the contour provided its presence should reduce the approximation error. The neighborhood points are not the ones computed using 4 connected graph or 8 connected graph; instead, the technique adaptively defines the width for every point on the curve, and thereby, it obtains the neighborhood points. Fernandez [25] produced symmetric approximation for symmetric contours. The technique obtains first initial point p1as the farthest in terms of distance from the centroid of the curve. The next point p2is the farthest to p1. The method proceeds to find point p4, which is farthest from p2, and point p3, which is farthest from p1. Likewise, the technique obtains the all possible line segments such as {p1, p2}, {p3, p4}, until the maximum deviation from the curve does not exceed a threshold value that constitutes the boundary point set. The authors demonstrate that their method of choosing initial points ensures symmetricity. The technique then identifies all possible candidate points (q1, q2, ..., qm) from the boundary point set between every two initial points and computes a significant value by ensuring symmetry property. Additionally, the technique presents various thresholding methods to normalize the significant values of the boundary points. Though the technique produces symmetric approximation for symmetric curve, it did not establish geometric invariance. And in real-time data sets, in most of the cases, the points are always distributed asymmetrically on the planar curve. The main objectives of this chapter are to i) present a framework that considers the projection position of a point and thereby invokes the proper criterion measure to compute the contribution; ii) produce output polygon without missing significant points; iii) produce polygon with minimal possible number of points; and iv) present a technique that is reasonably strong enough against rotation invariance. These objectives are achieved and demonstrated through experimentations of the proposed technique using benchmarking data sets.

## 3. Proposed work

### 3.1 Problem formulation

The problem formulation is as follows: let Cd = {p1, p2, …pn} where pi = (xi,yi) is a digital curve consisting of npoints in clockwise direction in the discrete two-dimensional space. Such curves are the ones extracted from the boundaries of the digital images using contour detection or edge detection methods. The coordinates of these npoints are integers since these points are extracted from the digital boundary. The objective of polygonal approximation of Cdis to derive a subset D = {p1, p2, …, pm} from the super set of Cd, subject to the condition the polygon formed by the elements of Dshould represent the shape of the original curve. The technique starts with any three consecutive points pi, pjand pkon the curve Cd, to detect the collinearity of these points (pi, pj, pk), the distance measured from a point pjto the line segment connecting piand pk. The method shall conclude the three points are collinear, provided the measured distance is very minimal. On the other side, the method shall conclude non-collinearity, provided the measured distance is not very minimal and thus pjbecomes an element of D. Thereby, the polygonal approximation technique finds all the elements of D. With this problem formulation, our chapter focuses on the choice of the significant measure metric. Conventionally, the distance metric is the length of the line dropped from the point pjon the line segment pipk. This is being referred to as the perpendicular distance. This metric is generally good for smooth curves, but in some cases (explained later), it may miss significant points and reject sharp turn, which are essential in shape representation applications. Dunham [27] makes initial approximation using distance to a line segment. Ramaiah [28] uses distance to a line segment as a measure to make polygonal approximation, but the metric used in the technique to compute deviation is capable of preserving sharp turnings but fails to preserve the original shape of digital curve. Apart from the criterion measure proposed in any technique, the methodology is also an important factor to produce the output polygon without compromising its actual shape. This implies that the used metric in [28] is unsuitable for iterative smoothing. The framework proposed in this chapter automatically chooses the suitable significant measure metric based on the candidate point projection, as explained next.

### 3.2 Proposed technique

In this section, we present our proposed method to make polygonal approximation of Cd. The initial segmentation points are obtained using Freeman chain code [28], such as given in Algorithm 1. These initially segmented points are referred as initial set of dominant points. Example of initial segmentation for the snowflake curve is shown in Figure 1(a) and (b) where the dominant points are highlighted in bold markers and the final approximated curve is given in Figure 1(c).

To compute the significant measure of every initial dominant point sk, the proposed method uses the following steps: consider the scenario in Figure 2(a) where, namely sk-1, skand sk+1 are three dominant points on the curve with the following traversing sequence: s k-1- > sk- > s k+1. It may be interpreted as these three points are collinear by assuming the projections of a point skthat lies on the line segment, which connects (sk-1 sk+1). As a consequence, the approximation technique [9, 10, 11, 12, 14, 15, 20, 23, 29, 30] may decide to drop sk. In this scenario, the projection of a point (sk) lies between its candidate line segment (sk-1 sk+1). Figure 3 shows the various anticipated position for possible projection of a dominant point (sk) on the x-y plane. The proposed metric detects the position of projection. In order to predict the position of a projection, the proposed technique uses the following steps: translate the line segment connecting sk-1 and sk+1 so that the point Si coincides with the origin of the x-y coordinate system and measures the amount of angle produced by the translated line segment with the x axis. In order to align the translated line segment with the x axis, rotate the line segment with a computed amount angle. The actual x-y coordinate system and new transformed coordinate systems are displayed in Figure 2(a) and (b). In the next step, by checking transformed x coordinate of sk’, the method chooses metric to compute the significant measure. If the x coordinate of sk’ is less than 0, then the significant measure sig(sk) is computed using Eq. (1) (see Figure 3(a)). If xk’ of sklies between 0 and the x coordinate of si, then the significant measure is computed using Eq. (2) (see Figure 3(b). If the xk value is greater than xj of sk+1, then the significant measure of skis computed using Eq. (3) (see Figure 3(c)).

sigsk=k=sk1sk+1sxksxk12+syksyk12E1
sigsk=k=sk1sk+1SykE2
sigsk=k=sk1sk+1sxksxk+12+syksyk+12E3

In all the three equations (Eqs. (1)–(3)), krange is k-1 < =k < =k + 1. (Note: the accent sign indicates the coordinates in the transformed coordinate system). While computing the significant measure associated with a dominant point, let us say sk, the significant measure of every non-dominant point/boundary point lies between its candidate line segment and is accumulated to define the significance measure of sk. These steps are repeated for each dominant point in the initial set, before making the decision to remove redundant dominant points in the next step. After measuring the significant measure of all initial dominant points, the proposed method removes the dominant point with minimal significant measure. If more than one dominant point has the same minimal significant measure, the dominant point appearing first in the order of sequence is removed. The steps to remove the dominant point and produce the final output polygon are given in Algorithm 2.

Algorithm 1. CIDP (Compute initial set of dominant points).

Input: The inputs are the coordinates of the boundary points.

Cd= pi (xi,yi),i=1,2,3…..n; nboundary points.

Output: The outputs are the curve indices of initial dominant points.

Begin

Case 1: i=0

If (x(0)-x(n-1) != x(1)-x(0)) or ((y(1)-y(0) != y(0)-y(n-1)) then

D[0]= 0;

Case 2: i=n-1

If (x(n-1)-x(n-2) != x(0)-x(n-1)) or (y(n-1)-y(n-2) != y(0)-y(n-1))

D[j]=i;

Default:

While (i<n-1)

If (x(i)-x(i-1) != x(i+1)-x(i)) or (y(i+1)-y(i) != y(i)-y(i-1))

D[j] = i

End.

Algorithm 2. Polygonal approximation by computing the significant measure of IDP.

Input: Digital curve Cd, Number of dominant points (k) in the output polygon.

Output: Output polygon with the specified number of dominant points (k).

Begin.

Step 1: Invoke the function CIDP.

Step 2: Compute significant measure associated with all initial dominant points (sk’s).

Step 3: Repeat.

1. Identify the dominant point skwith minimal significant measure in Cd.

2. Remove the dominant point skand recalculate the significant measure of at sk-1and sk + 1.

3. Compute the performance measures with the available dominant points

Until (No. of DPs == k).

End

## 4. Experimental results

The proposed technique is tested on a variety of challenging curves to demonstrate its efficiency. The results are presented for two experiment sets. The experiment set 1 consists of synthetic curves usually used in the literature [9, 11, 16, 19, 24, 25, 31, 32, 33, 34, 35, 36, 37, 38]. In experiment 2, the proposed method is tested extensively with images in MPEG data set [39]. We first present the quality assessment metrics for polygonal approximation of digital curves. Then, we present the results on the two experimental sets. Additionally, we include one experiment to demonstrate geometric invariance of the proposed technique.

### 4.1 Quality assessment

The best method to assess output of polygonal approximation is visual perception. Thus, we include extensive qualitative results. Moreover, we include quantitative performance measures as well for comparison of the performance of the tested methods, including the proposed technique. This chapter considers the following metrics to measure the goodness of the results: (i) compression ratio (CR), (ii) integral square error (ISE), (iii) figure of merit (FOM), (iv) weighted sum of square errors (WE), (v) modified version of WE (WE2). Details of these metrics are provided in Table 1. These metrics are taken from [9, 10, 11, 15, 19, 33, 36]. The readers interested in them are encouraged to read these articles and the references therein.

MetricIndicator of goodnessMathematical representation
CRLarger is betterCR=nk, where nis the number of points in the initial segmentation, while kis the number of dominant points in the final polygonal approximation.
ISESmaller is betterISE=k=1nek, where ekis the perpendicular distance of a point pkon the original digital curve from the nearest line segment on the polygonal approximation.
FOMLarger is betterFOM=CRISE
WESmaller is betterWE=ISECR
WE2Smaller is betterWE2=ISECR2

### Table 1.

Quality assessment metrics for comparing polygonal approximation methods.

### 4.2 Experimental set 1

The quantitative performance measure for the synthetic curves chromosome, leaf, semicircle and infinity in experiment set 1 is given in Table 2. The visual shots are shown in Figures 46. The methods in [16, 17, 18, 19, 34, 36, 37] present optimal solutions for the polygonal approximation. The proposed method output is close to optimal solution for all the curves and further supports reduction of the number of dominant points while retaining the shape information of the curve. Table 2 summarizes the results from various articles [9, 11, 15, 16, 17, 18, 19, 23, 24, 26, 31, 32, 33, 34, 35, 36, 37, 38] for the given input synthetic curves. For the chromosome curve display using 15 amount of dominant points, the proposed technique produces a low value for ISE than the method in [32, 33, 34]. The snapshot of chromosome curve at 6 number of points using the proposed method as well as by the methods [9, 23, 24] snapshots can be found in Figure 4. For the leaf curve, where the output curve at 21 number of dominant points, the proposed method produces the low value for ISE than [11, 24, 34] (in turn FOM value is high, which is appreciable) and high value than [19]. The snapshot for leaf output curve produced by the proposed method along with some of the state-of-the-art methods results is displayed in Figure 5. The final synthetic curve for this experiment set is a curve that intersects itself, that is, infinity-shaped curve. In the attempt of producing the output curve using 10 number of points, the proposed produce the minimal possible error than [11, 26]. And also the summarized results reveal that the proposed method output is better than [9, 11, 19, 24, 26, 33] in terms of ISE, WE and FOM. The graphic shots for the same can be found in Figure 6. According to human visual perception, four points are sufficient enough to represent the infinity curve; please see Figure 6(g). On the outset, it is perceived that the proposed technique gives the best or second best ISE values for all the cases. This indicates competitiveness of the proposed technique.

ContourMethodskCRISEWEFOM
ChromosomeTeh and Chin [32]154.007.201.800.56
n = 60Wu [33]154.007.201.800.56
Masood [9]125.007.761.550.64
Carmona et al. [11]115.4514.492.660.38
Parvez [34]106.0014.342.390.42
Nguyen and Debled-Rennesson [35]253.334.061.220.82
Nguyen and Debled-Rennesson [35]1545.691.420.70
Parvez [19]115.457.091.300.77
Aguilera et al. [17]106.008.071.350.74
Lie et al. [18]144.297.581.770.57
Lie et al. [18]125.007.961.590.63
PRO0.6 [24]115.4511.002.020.50
RDP2 [24]87.5059.998.000.13
RDP3 [24]610.0091.189.120.11
Proposed154.004.871.220.82
Proposed610.0045.494.550.22
LeafTeh and Chin [32]294.1414.963.610.28
n = 120Wu [33]245.0015.933.190.31
Marji and Siy [15]177.0628.674.060.25
Carmona et al. [11]215.7117.973.150.32
Parvez [34]215.7113.822.420.41
Parvez [19]215.7111.982.100.48
Nguyen and Debled-Rennesson [35]333.645.561.530.65
Backes and Bruno [36]206.0014.12.350.43
Wang et al. [16]206.0013.92.320.43
PRO0.6 [24]215.7121.703.800.26
PRO1.0 [24]186.6736.705.500.18
RDP1 [24]225.4519.173.510.28
RDP2 [24]167.5065.468.730.11
Proposed215.7113.252.320.43
Proposed167.5044.525.940.17
SemicircleTeh and Chin [32]224.6420.614.440.23
n = 102Yin [37]176.0019.783.300.30
Salotti [38]147.2917.392.390.42
Wu [33]273.789.012.380.42
Marji and Siy [15]156.8022.703.340.30
Masood [9]214.869.822.020.49
Carmona et al. [11]263.924.911.250.80
Parvez [34]176.0019.023.170.32
Nguyen and Debled-Rennesson [35]254.085.421.330.75
Backes and Bruno [36]147.2919.802.720.37
Wang et al. [16]156.8014.302.100.48
Parvez [19]156.8018.222.680.37
Aguilera et al. [17]147.2917.392.390.42
Lie et al. [18]147.2929.304.020.25
PRO 0.6 [24]185.6718.123.200.31
Proposed185.6715.452.720.37
Proposed176.0016.592.760.36
Proposed147.2917.732.430.41
Proposed128.5040.624.780.21
InfinityTeh and Chin [32]133.465.931.710.58
n = 45Wu [33]133.465.781.670.60
Masood [9]114.092.900.711.41
Carmona et al. [11]104.505.291.180.85
Parvez [34]95.007.351.470.68
Parvez [19]76.437.691.200.84
PRO0.6 [24]95.006.291.260.79
PRO1.0 [24]75.6319.943.540.28
RDP1 [24]95.006.671.330.75
RDP2 [24]76.4319.943.100.32
RDP3 [24]59.0053.825.980.17
Masood [9]85.6310.241.820.55
Carmona et al. [11]67.5031.684.220.24
Proposed104.504.440.991.01
Proposed59.0035.613.960.25

### Table 2.

Comparative results of synthetic contour (chromosome, leaf, semicircle, infinity).

### 4.3 Experiment set 2

In this section, the performance of the proposed methods has been demonstrated using image in MPEG database [39]. Fernandez [25] presents a technique to produce output polygon from a given digital boundary. Authors in [25] demonstrated the efficiency of their method by comparing their results with method [23], which is capable of producing output polygon in non-parametric mode. So the better counterpart method to compare the proposed method is the one proposed in [25]. Table 3 summarizes the results of the proposed method along with the results claimed as the best in [25] for the contours in MPEG database [39]. For the bell-7 contour, the snapshot at 23, 22, 20 and 7 number of dominant points, the proposed method produces a less approximation error in terms of ISE WE WE2 than others mentioned in [9, 11, 23, 25]. Especially the output approximation at 7 DPs, the proposed method and Rosin [40] method produce the curve with the mandatory points compared to others, but the proposed method produces minimal error measure than Rosin [40], and the output can be found in Figure 7(c) and (h).

ContourMethodskCRISEWEWE2
Bell-7Fernandez [25]2317.65165.149.350.53
n = 407Fernandez [25]2218.45200.9310.890.59
Fernandez [25]2020.3255.08312.560.61
Rosin [40]7582186.637.70.65
Masood [9]2020.35408.0820.50.98
Carmona [11]2317.69332.5638.840.23
Proposed2218.5176.549.540.51
Proposed2020.35210.1610.320.50
Proposed758.14453.917.800.13
Octopus-14Fernandez [25]7915.33236.6215.441.00
n = 1211Fernandez [25]5522.021270.1757.692.62
Fernandez [25]5024.221847.8176.293.15
Rosin [40]4328.162617.3792.943.30
Masood [9]2016.029268.431538.36255.75
Proposed7915.33212.0013.830.90
Proposed4328.161927.1568.432.42
Ray-17Fernandez [25]3519.69240.2612.200.62
n = 689Fernandez [25]2824.61660.0026.821.09
Fernandez [25]2428.711152.8340.161.40
Rosin [40]1449.216999.71142.232.89
Masood [9]2428.71749.0126.090.91
Masood [9]1449.218627.89175.313.56
Proposed3519.69208.4810.590.53
Proposed1449.21455.329.250.18
Chicken-5RDP [29, 30]2555.35285.5453.389.98
n = 1364Masood [9]4013.40147.8643.4712.79
Carmona et al. [11]13410.18906.5289.068.74
Fernandez [25]5425.262424.5195.993.80
Proposed2555.35275.4251.499.61
Proposed5425.261994.1578.953.12
Device 6–9RDP [29, 30]5031.80303.379.540.30
n = 1590Masood [9]8418.93189.8910.030.53
Carmona [11]2272.273395.1746.980.65
Fernandez [25]3348.18348.227.230.15
Proposed8418.93216.2411.420.60
Proposed2272.27761.5810.540.14
Bell-10RDP [29, 30]11010.92181.2516.591.52
n = 1202Masood [9]44.95
Carmona [11]10411.78549.5246.643.96
Fernandez [25]4228.61687.5624.030.84
Proposed11010.92241.4522.062.02
Proposed4228.61615.777.980.75
Truck-07 n = 277RDP [29, 30]406.9224.453.530.50
Masood [9]406.9237.175.370.77
Masood [9]1125.181133.2945.001.78
Carmona [11]1223.081132.4549.062.11
Fernandez [25]406.9224.153.480.50
Proposed1223.08319.2413.830.59
Proposed1125.18318.3412.640.50
Butterfly-13RDP [29, 30]3445.19383.3073.8514.23
n = 1786Masood [9]5253.40199.0658.5417.22
Carmona-Poyato et al. [11]17110.441450.70138.9513.31
Fernandez [25]6527.472195.8879.932.91
Proposed5253.40197.5858.1117.09
Proposed6527.472063.9175.132.73

### Table 3.

Comparative results for the MPEG database contours.

For the octopus-14 contour, the proposed efficiently produces the output curve with minimal deviation from the original curve compared to others. By observing Figure 8(e), the proposed produces an outlying approximation that is visibly excellent than [25]. In order to support this claim, the output curve for octopus-14 can be found in Figure 8 along with results of [11, 23, 25]. When the input is the ray-17 contour, at 14 number of DPs, the new proposal produces minimal error than the results of [9, 40], and then for the same curve at 35 DPs, the results are good than [25] in terms of ISE, WE and WE2. The graphic shots of the proposed method along with [11, 23, 25, 40] can be found in Figure 9. When the input for the proposed method is chicken-5 curve, the proposed method approximation error measures are compared with results produced by the techniques in [9, 11, 23, 25, 29, 30], and by using all the quantitative performance evaluators, the proposed work produces the output curve with minimal error possible, and the visual snapshots are shown in Figure 10. For the input curve device 6-9, the proposed method results are compared with the results in [9, 11, 23, 25, 29, 30], it is been conceived that the proposed one produces the minimal error (ISE ,WE) than the error produces by the methods in [9, 11, 23, 25]. The output curve for device 6–9 can be found in Figure 11. Then finally for the truck-07 curve, the results of the proposed method at 40, 12 and 11 dominant points are compared with the results of [9, 11, 23, 25]. In all iterations against the mentioned dominant points, the proposed method outperforms well than others. Especially output curve at 11 dominant points, the proposed method efficiently chooses the good curvature points in such a way that the output curve does not deviate much than the original input curve (please see the snapshot at Figure 12(a), (b) with (g)).

### 4.4 Rotation invariance

To test the efficiency of the proposed method against rotation invariance, bell-7 contour is rotated using varying amount angle. Then, the rotated contour is given as an input to the proposed method as well as to the technique in [9]. The results are summarized for the reader’s perusal. How do researcher determine a polygonal approximation is rotation invariant or not and what extent? The answer is the metrics such as area of polygon, perimeter and compactness may be suggested to use along with results from human perception. The authors in [41] use the above-mentioned metrics to prove whether the technique is able to produce the polygon with the same positioned points before as well as after the rotation. This can be measured using compactness metric. Moreover, the authors in [41] demonstrated that the techniques proposed in [9, 11, 12] are scaling as well as translation invariant using compactness metric.

The mathematical interpretation of compactness metric (COMP) has been mentioned in Eq. (2). Table 4 summarizes the value obtained by using COMP for the bell-7 contour by the proposed method.

Contourkmax(dm)ISEAreaPerimeterCompactness
Bell-7202.03210.1649231299.130.10
Bell-7 at 20°2.60281.579.2475e+03343.810.07
Bell-7 at 30°2.70348.8689260358.080.07
Bell-7 at 70°2.91325.299.254.5e+03344.830.07
Bell-7 at 80°2.59319.509151327.100.08
Bell-7 at 180°2.03210.1649231299.130.10

### Table 4.

Robustness of the proposed method against rotation using quantitative measurement.

comp=Area/Perimeter2E4

To compare the robustness of the technique against rotation, the snapshots using bell-7 contour are displayed in Figures 13 and 14. The output polygon at 20 amounts of dominant points is used here to check if the technique is robust enough against rotation invariance. Most of the techniques considered in this chapter produce polygon in non-parametric mode. The best thing to compare the efficiency of rotation invariance is to compare the output at minimal possible amount of points since the input curve may contain more redundant points. So the result of the proposed method is compared with Masood [9]. By using [9], any researcher can produce a curve with specified number of dominant points. In Table 4, the value for geometric invariance assessment metrics (area of polygon, perimeter and compactness) reveals that the results by proposed method using rotated contours measure against compactness metric are more or less nearer to the value produced by the proposed method before rotation, and the visual snapshots in Figure 13 also support the same. The results of Masood [9] in terms of quantitative measurements can be found in Table 5. Bell-7 at 30° value for compactness metric varies high while comparing the results obtained before rotation. In the remaining angles, the rotated contours compactness metric is more or less nearer to the value obtained by the method before rotation. Masood [9] snapshots can be found in Figure 14. When the authors noticed that in the output curve produced by Masood [9], the position of the dominant point is heavily dislocated after rotation, whereas the proposed methods try to maintain the same positioned dominant points in the rotated contours too (see Figure 13).

Contourkmax(dm)ISEAreaPerimeterCompactness
Bell-7203.48315.006835321.780.06
Bell-7 at 20°2.77311.849130333.320.08
Bell-7 at 30°1.99270.519.1255e+05190.610.25
Bell-7 at 70°3.79381.359.1615e+03343.590.07
Bell-7 at 80°2266.6779.1585e+03326.900.08
Bell-7 at 180°3.487315.006835306.950.07

### Table 5.

Robustness of Masood [9] against rotation using quantitative measurement.

## 5. Conclusion

The proposed significant measure computing metric predicts the position of a projection of every boundary point between its candidate line segment, thereby invoking suitable significant measure computing metric and accumulating its significant measure to define the significant value of every candidate of dominant points. The technique is demonstrated using wide variety of data sets, where the image contours are with different level details in terms of curvature as well as size. The proposed technique suits for parallel manipulators aspiring to produce the digital boundary with minimal number points without compromising its shape according to human perception as well as using benchmarking performance measuring metrics.

## Acknowledgments

This research did not receive any specific grant from any funding agencies in the public, commercial or not-for-profit sectors. But the authors thank all anonymous reviewers for their comments on an earlier manuscript for improving the quality of the chapter.

chapter PDF
Citations in RIS format
Citations in bibtex format

## More

© 2020 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## How to cite and reference

### Cite this chapter Copy to clipboard

Mangayarkarasi Ramaiah and Dilip Kumar Prasad (April 28th 2020). Polygonal Approximation of Digital Planar Curve Using Novel Significant Measure, Automation and Control, Constantin Voloşencu, Serdar Küçük, José Guerrero and Oscar Valero, IntechOpen, DOI: 10.5772/intechopen.92145. Available from:

### Related Content

#### Automation and Control

Edited by Constantin Volosencu

Next chapter

By Jožef Ritonja

First chapter

#### Microassembly Using Water Drop

By Taksehi Mizuno

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.