Next Article in Journal
Development of Highly Sensitive Temperature Microsensors for Localized Measurements
Previous Article in Journal
OLGAVis: On-Line Graph Analysis and Visualization for Bibliographic Information Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Global Continuous Multi-Scale Terrain Contour Simplification Method Based on the Level Set

1
Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Land and Resources, 8007 Hongli West Road, Shenzhen 518034, China
2
School of Geography and Information Engineering, China University of Geosciences, 388 Lumo Road, Wuhan 430074, China
3
National Engineering Research Center of Geographic Information System, China University of Geosciences, 388 Lumo Road, Wuhan 430074, China
*
Author to whom correspondence should be addressed.
Submission received: 20 March 2021 / Revised: 21 April 2021 / Accepted: 21 April 2021 / Published: 24 April 2021
(This article belongs to the Section Earth Sciences)

Abstract

:
Multi-scale spatial representation has been widely used in geographic information and online mapping systems. Terrain contour, which provides a reference for understanding and monitoring the Earth’s surface, is an important data category. For the multi-scale representation of contour lines, simplification is a fundamental step in providing different levels of detail for linear features. However, achieving a global continuous multi-scale simplification of contours remains a challenge. Therefore, based on the concept of level set, a novel contour simplification method labeled the continuous changing surface model (CCSM) was proposed in this paper. The CCSM was built by using a non-uniform rational B-spline constrained with characteristics and was then intersected with a set of horizontal planes with progressive height values. The generated intersection lines are considered continuous multi-scale simplified contours. Experiments were conducted on a 1:50,000 real contour dataset to verify the effectiveness of CCSM. Results showed that the changes in the shape of the simplified contours generated by CCSM are more natural and progressive than those generated by two other significant simplification methods. CCSM can also effectively balance local and global structures and has potential applications in obtaining a continuous multi-scale representation of terrain contours.

1. Introduction

Multi-scale spatial representation has a wide range of applications, such as zooming in/out, and is among the most common operators in geographic information and online mapping systems [1,2,3,4]. Rendering spatial data at different scales also improves our understanding and analysis of spatial data, thereby meeting the continuous visual needs of modern map users. As essential geomorphic elements, contour lines are among the most often used data for describing the geographic information of the Earth’s surface [5,6,7]. A simplification of these contour lines provides different levels of detail for linear features, which is an effective operator for maintaining essential shapes in multi-scale terrain maps [1,8,9]. Although contour simplification methods have been investigated for a long time, studies on the continuous multi-scale representation of contour lines still face considerable limitations.
Various contour simplification methods have been proposed over the past few decades. These methods can mainly be divided into (1) reduction in point set [10,11,12,13,14,15], (2) bending simplification [8,16,17,18,19,20], and (3) scale-driven simplification [9,21,22,23,24].
The first strategy, point set reduction, is a straightforward approach for achieving simplified polylines. The classical Douglas–Peucker (DP) algorithm [10] introduced a pre-defined threshold for selecting a set of significant vertices recursively for simplification. However, the simplified contours seem stiff and may contain self-intersection and topological conflicts when dealing with dense contours for multi-scale simplification. To improve the DP algorithm, Saalfeld et al. [12] utilized dynamic convex hull algorithms, neighborhood screening, and efficient measures of topological consistency between features to avoid potential topological conflicts. Wu et al. [14] employed convex hull computations by partitioning a polyline into a set of separable star-shaped sub-polylines and applying the DP algorithm for each sub-polyline to avoid self-intersection along the recursive refinements. Pallero et al. [15] proposed an enhanced simplification algorithm based on the DP algorithm to obtain robust results regardless of the morphology of the initial line. However, when simplifying dense contours, the above methods generate results with discontinuous deformation. Meanwhile, the essential shape features of simplified contours may shift or contain topological errors.
For the second strategy, bending simplification, Wang and Muller [18] proposed the Wang–Muller (WM) simplification algorithm to maintain the structure of simplified bends based on size, shape, and context. Zhu et al. [20] leveraged the furthest visibility principle to divide the bend area of the contour line and to maintain the main characteristics of simplified contours at the target scale without self-intersection. Ai et al. [8] presented a simplified algorithm based on Delaunay triangulation and Perkal’s ε-circle rolling algorithm to preserve the essential bend of a polyline and maintain the area amid large-scale changes during the simplification process. However, these bend reduction methods for simplifying polylines focus on simplifying the local bend than the global structure continuity.
The third strategy, scale-driven simplification, has become popular in recent years. Li and Openshaw [21] proposed a “natural principle” that can be employed to the overall shape simplification of linear features to address the stiff simplified results of the DP algorithm. Bertolotto and Egenhofer [22] proposed a model that can be used to represent multi-scale maps and guarantee the consistency of generalized data in the simplification process. Nöllenburg et al. [25] focused on polyline morphing at different scales and presented a dynamic programming algorithm with the corresponding linear features. Deng et al. [23] proposed an improved morphing method for two linear features at different scales based on their entire structural information. Li et al. [9] used simulated-annealing-based morphing (SABM) to implement continuous linear features generalization. Du et al. [24] proposed a progressive simplification method based on multi-bend groups that can delete bend units as little as possible. This method has advantages in area preservation during the multi-scale representation. Liu et al. [1] proposed a Fourier-based method using head/tail breaks that simplifies polylines via a Fourier approximation according to the global shape. These scale-driven simplification methods have advantages over the two aforementioned strategies (i.e., point set reduction and bending simplification). However, they lack domain-specific constraints in the scale-driven simplification process, thereby producing simplified results that do not completely follow the essential global structure of the initial line at continuous scales.
In sum, the three aforementioned simplification strategies still show limitations in continuous multi-scale representation. On the one hand, simplifications occur only through a few fixed scales. This problem makes it impossible to show data from one scale to another smoothly and ignores the actual morphological transformations of the contour line of desired scales between fixed scales. On the other hand, the local structures are overemphasized, and the global structures of linear characteristics are ignored during the simplification of continuous multiple scales, which may lead to a sudden change in the shape of the contour line (‘jumps’) during transformation. Given these limitations, this study proposes a novel contour simplification method to retain the global structure of linear characteristics and to implement a multi-scale deformation of contours continuously. This method is labeled the continuous changing surface model (CCSM) based on the notion of the level set method.
The core idea of the level set method [26,27] is that the motion of lower-dimensional (e.g., 2D) curves can be derived from a higher dimensional (e.g., 3D) surface. Accordingly, our simplification model derives 2D simplified contours from a meticulously constructed 3D surface labeled the continuous changing surface (CCS). According to the contour features, a CCS is established between two contours and is then intersected with a set of horizontal planes with continuous height values. The generated intersection lines are considered simplified contours with continuous scales. We also compare our proposed method with two traditional significant polyline simplification methods on a real contour dataset in China to validate the effectiveness of CCSM. Results show that the shape changes of contours simplified by CCSM are natural and continuous between scales and that the CCSM maintains the global shape features much better than the other two classical significant simplification algorithms.
The major original contributions of this study are twofold. First, we propose the CCSM simplification method guided by the level set framework to derive simplified contours with continuous multi-scale transformation, thereby reducing the loss of deformed details during the continuous multi-scale simplification process. Second, we propose a new contour deformation analysis method, namely, a shape similarity-scale trend line based on the improved Fréchet distance, which provides a tool for evaluating the performance of multi-scale polyline simplification methods.
The rest of this paper is organized as follows. Section 2 elaborates on the proposed method. Section 3 describes the experiment using the contour dataset and reports the results. Section 4 discusses two key factors affecting the quality of CCSM, the arbitrary scale simplification, and the retention of topographical features. Section 5 concludes the paper.

2. Methodology

The CCSM methodological framework was proposed for global continuous multi-scale contour simplification. The main idea of this framework is to derive 2D contours from a 3D surface by using the level set method. The 3D surface was constructed by the non-uniform rational B-spline (NURBS), a common mathematical form for representing standard analytical shapes and free-form curves/surfaces [28,29]. The built 3D surface, namely, the continuous changing surface (CCS), was used to guide the entire simplification process. The framework consists of the following main steps as shown in Figure 1:
(1) Extracting characteristics. The extraction of contour characteristics aims to preserve the global morphology features of simplified contour lines. These characteristics include characteristic points, characteristic sub-polylines, and characteristic links. To define CCSM constraints, the most significant morphology feature points in the shape were extracted from the initial contour to form a target contour by using the DP algorithm. The initial and target contours were converted into NURBS curves, and the two contour lines were assigned two height values. Accordingly, the NURBS curves were segmented into characteristic sub-polylines based on the characteristic points. Characteristic links were then constructed by linking the characteristic points of these two curves in order.
(2) Building the CCS. The extracted characteristics were used to weave a wireframe (WF) that constrains the construction of the CCS. Faced with this constraint, the CCS was built by using the NURBS function.
(3) Generating global continuous multi-scale simplified contours. First, the CCS was converted into a triangle mesh (CCS-mesh), which was then intersected with a set of horizontal planes with continuous height values. The generated intersection lines served as global continuous multi-scale simplified contours.

2.1. Extracting Characteristics

Linear features are considered basic elements in maps and suitable features that need to be retained during multi-scale transformation [23]. Therefore, when constructing the CCS, the optimum extraction of morphology characteristics and the constraint of characteristics are critical to obtain the final global continuous multi-scale simplified results. The characteristics of CCS include characteristic points, characteristic sub-polylines, and characteristic links.
(1) Characteristic points. The boundary of the CCS needs to be constructed with the initial contour L 0 and the target contour L n . L 0 represents the initial contour with a large scale, whereas L n represents the target contour with a small scale. These two contours served as boundaries for building the CCS.
(2) Characteristic sub-polylines. L 0 and L n were resampled via equidistant sampling to ensure that they have the same number of points. To maintain the morphology shape of the contour line, the number of resampling points should exceed the number of characteristic points extracted from the initial contour. All resampling points were considered characteristic points. Then, two NURBS curves ( L 0 and L n ) were defined using the characteristic points from L 0 and L n , respectively. It is worth noting that L 0   and   L 0 are highly similar in shape and size, as are L n   and   L n . Meanwhile, the B-spline curve was built based on the control points P i ( i = 0 , 1 , , m ) , which are the characteristic points of L 0 or L n , where m represents the number of characteristic points of L 0 or L n . Generally, the NURBS curve ( p ( u ) ) is defined over the knot U = { u 0 , u 1 , , u m } vector as Equation (1).
p ( u ) = i = 0 m P i N i , k ( u )
where N i , k ( u ) is the B-spline base function of order k (where k is set to 3), which is represented as Equation (2).
{ N i , 0 ( u ) = { 1    i f    u i u u i + 1   0      otherwise N i , k ( u ) = ( u u i ) N i , k 1 ( u ) u i + k u i + ( u i + k + 1 u ) N i + 1 , k 1 ( u ) u i + k + 1 u i + 1 ( k > 1 )
Accordingly, the characteristic sub-polylines of L 0 and L n were obtained based on these characteristic points.
(3) Characteristic links. The direct lines in a sequence linked the characteristic points. These links represent the correspondence relationship between the characteristic points of L 0 and L n , and are thereby labeled characteristic links.
In sum, as shown in Figure 2, the characteristic points, characteristic sub-polylines, and characteristic links were used as feature constraints that are inherited from the initial and target contours to constrain the global continuous multi-scale simplification process. To build the CCS in the 3D space,   Z m i n and Z m a x were assigned the bottom and top height values of CCS. Z m i n and Z m a x correspond to the height values of L 0 and L n , respectively. Accordingly, the characteristic points, characteristic sub-polylines, and characteristic links on L 0 and L n also inherit the height values Z m i n and Z m a x .

2.2. Building The CCS

2.2.1. Level Set Method

Osher and Sethian proposed the level set method [26], whose main idea is to raise some computations in lower dimensions to a higher one and consider the N-dimensional description as a level of N+1 dimensions, which is an effective implicit representation of curves and surfaces [26,27]. In other words, the motion of lower-dimensional (e.g., 2D) curves can be derived from a higher-dimensional (e.g., 3D) surface, thereby allowing the derivation of 2D simplified contours from the 3D surface. The implicit function is essential in guiding the motion of curves on the surface. Based on the notion of the level set method, the NURBS function was selected in this study as an implicit function to generate CCS.

2.2.2. Building the CCS Based on Characteristics

To constrain the shape change of the contour during the simplification process, the CCS was built based on characteristics. The CCS building process was divided into three steps.
Step 1. Setting characteristics in the 3D space. As described in Section 2.1, all the characteristic points, characteristic sub-polylines, and characteristic links on L 0 and L n inherit the height values from Z m i n and Z m a x .
Step 2. Building a wireframe (WF) from 3D characteristics. As shown in Figure 3, four points were sampled on each characteristic link with equal intervals to construct a third-order NURBS surface uniformly. These points were merged into the constraints of characteristics, which act together during the construction of the WF.
Step 3. Constructing the CCS based on the WF. By using the NURBS function, the CCS was constructed in consideration of the WF constraints as shown in Equation (3).
C C S = N U R B S f u n c t i o n ( W F )
where N U R B S f u n c t i o n ( · ) indicates the operator of acquiring the NURBS surface by the constraints of W F , which is defined as Equation (4).
P ( u , v ) = i = 0 n   j = 0 m   ω i j P i j N i k ( u ) N j l ( v ) i = 0 n   j = 0 m   ω i j N i k ( u ) N j l ( v )
where P i j ( 0 i n , 0 j m ) represent the points on W F , n represents the number of characteristic points of L 0 , which is the same as that of L n , m represents the number of points on characteristic links and m is set to 4,   ω i j represents the corresponding weight of P i j , and N i k ( u ) and N j l ( v ) are the normalized B-spline base functions of orders k and l , respectively (both k and l are set to 3, u k 1 u u n + 1 , v l 1 v v m + 1 ) and are defined over knot vectors U = { u 0 , u 1 , , u n , , u n + k } and V = { v 0 , v 1 , , v m , , v m + k } . Based on these knot vectors, the following matrix M n × m was obtained. As shown in Equation (5).
M n × m = | u 1 v 1 u 1 v 2 u 1 v m u 2 v 1 u 2 v 2 u 2 v m u n v 1 u n v 2 u n v m | = [ u i v j ]
As shown in Figure 4, a NURBS surface is constructed, which is referred to as the CCS in this study. The CCS plays a vital role in guiding the global continuous contour simplification process.

2.3. Generating Global Continuous Multi-Scale Simplified Contours

2.3.1. Generation of Simplified Contours

Contour lines are essential parts of a terrain model. In terrain modeling, multiple levels of contours can be modeled on the 3D surface, and each contour depicts a terraced representation of the 3D surface at an elevation level. To obtain simplified contours, the CCS was intersected with a set of horizontal planes with successive height values to generate intersection lines. These intersection lines were taken as global continuous multi-scale simplified contours with varying simplification degrees of the initial contour.
To calculate the intersection lines between CCS and a set of horizontal planes, the CCS was tessellated into a polygonal mesh (e.g., triangle or quadrangle), that is, the [ u i , v j ] , values of NURBS were mapped to the corresponding grid points of the polygonal mesh. The triangle mesh was used to generate a polygonal mesh due to its advantages in the rapid generation and its intersection with planes. As shown in Figure 5, the triangle mesh comprises a set of triangular faces covering CCS and was therefore labeled CCS-mesh. This mesh may become irregular due to the uneven distribution of unconstrained sample grid points. To ensure the stability and convergence of the numerical solution, a suitable mesh generation technique should be applied to construct the appropriate surface mesh and to maintain a well-defined mesh that fits well in the CCS throughout the intersection process.
Based on the CCS-mesh, we built a set of equidistant horizontal planes to intersect the CCS-mesh and the intersection lines that are regarded as simplified intermediate results. As defined in Equation (6) below, the result of every horizontal plane intersecting the CCS-mesh is an intersection line L ( Z i ) . The height Z i corresponds to each horizontal plane and is between the elevations of Z m i n and Z m a x . An intersection contour cluster was obtained by iterating the intersection between CCS-mesh and every horizontal plane. These intersecting lines were considered simplified contour lines. The scale corresponding to these simplified contour lines continuously varied between the scales of the initial and target contours.
Contour   cluster   = { L ( Z i ) L ( Z i ) = C C S mesh       Cutting   plane   ( Z i ) Z i = Z m i n + i   interval ,   i round ( Z m a x Z m i n ) / interval }
Figure 6 presents an example of the simplified intermediate results generated by the CCS-mesh intersecting with a set of horizontal planes. Figure 6a represents a set of equidistant horizontal planes with continuous elevation; Figure 6b shows the intersection between the CCS-mesh and planes; Figure 6c illustrates the global continuous multiscale transformation of intersection lines. Each intersection line between the CCS-mesh and a horizontal plane captured the morphology characteristics of contours at a certain height level. Therefore, this cluster of simplified contours preserves the morphology characteristics corresponding to the continuously changing scales between the initial and target contours. The location or number of horizontal planes can be determined based on the desired scale simplified results or the number of simplified contours demanded by users.

2.3.2. Estimation of the Scales for the Simplified Contours

As a general rule, in cartographic generalization, the shape similarity of a contour should correspond to its scale value. The contour lines with complex shapes have a large scale, whereas those lines with simple shapes have a small scale. When the topographic map was simplified from large to small scale, the shape of contour lines on the topographic map also changed from complex to simple [30]. According to Li [31], similarity is a measure that has been widely used to analyze the shape relationship of topographical objects. In this subsection, the shape similarity between the simplified and initial contours was used as an intermediary to estimate the scale of an arbitrary simplified contour.
The shape similarity between two curves is often defined based on a specific distance measure [32]. One common metric of curve similarity is the Fréchet distance, which takes the flow of two curves into account and the pairs of points whose distance contributes to the Fréchet distance sweeping continuously along the respective curves [33]. However, the uneven distribution of the points of a polyline may affect the accuracy of the distance of this polyline [34]. To deal with such an uneven distribution, we proposed an improved Fréchet distance method based on equidistant resampling points to precisely reflect the shape similarity between two contour lines [35].
First, L ( Z i ) represents the simplified contour corresponding to the horizontal plane with a height value of Z i . The points on the simplified contour L ( Z i ) were resampled via equidistant sampling, and the number of resampling points was similar to that in L 0 . The initial contour line is L 0 : [ 0 , n ] V , where V is a metric space and n is a positive integer. The sequence ( L 0 ( 0 ) , L 0 ( 1 ) , , L 0 ( n ) ) of the characteristic points of the characteristic sub-polylines of L 0 was denoted by δ ( L 0 ) . L ( Z i ) was defined similar to L 0 . Let δ ( L 0 ) = ( u 1 , u p ) and δ ( L Z i ) = ( v 1 , v q ) be the corresponding sequences. A coupling L between L 0 and L ( Z i ) represents a sequence ( u a 1 ,   v b 1 ) , ( u a 2 ,   v b 2 ) , , ( u a m ,   v b m ) of distinct pairs from δ ( L 0 ) δ ( L ( Z i ) ) , where p and q denote the number of characteristic sub-polylines on the two contour lines. Therefore, the coupling should follow the order of points in L 0 and L ( Z i ) . The number of points here refers to the number of characteristic points. The length L of coupling L represents the length of the longest link in L as shown in Equation (7).
L = max i = 1 , , m d ( u a i , v b i )
Given two contour lines L 0 and L ( Z i ) , their improved Fréchet distance is defined as Equation (8). This distance index can provide a basis for accurately capturing the similarity of the two contour lines.
δ d F ( L 0 , L z i ) = m i n { | L | L   i s   a   c o u p l i n g   b e t w e e n   L 0   a n d   L ( Z i ) }
Then, the similarity between L ( Z i ) and L 0 is defined as Equation (9) based on the improved Fréchet distance.
S i m ( L 0 ,   L Z i ) = 1 δ d F ( L 0 ,   L Z i ) / L e n g t h ( L 0 )
where δ d F ( L 0 ,   L Z i ) represents the improved Fréchet distance between contours L 0 and L Z i , and L e n g t h ( L 0 ) represents the length of L 0 . Note that S i m ( L 0 , L 0 ) = 1 and S i m ( L ( Z i ) , L 0 ) = S i m ( L 0 ,   L ( Z i ) ) .
To reveal the correspondence between shape similarity and scale, we used an exponential regression function to fit the ideal relationship between the similarity of contours and scale [36,37]. Ideally, as the scales changed continuously from large to small, the shapes of the contour lines were transformed from complex to simple, and the similarity value gradually changed from large to small. As shown in Figure 7, the relationship between the contour scales and similarity values was fitted with an exponential regression function. The horizontal axis represents the scale, whereas the vertical axis represents the similarity value between the initial large-scale contour lines and the other small scales. As shown in Figure 7, the trend of the relationship between the similarity values and scale is continuous and monotonic in the ideal case.
The transitions of gradual simplification from L 0 to L n were emulated by the intersections of the CCS-mesh and the horizontal plane. To generate a simplified contour cluster from L 0 to L n , each horizontal plane was assigned the height value Z i in the equal interval sequence. Given that the relationship between the scale and similarity of different scale contours can be fitted with an exponential regression function and that the trend is continuously monotonic, according to Equation (9) and based on the similarities derived by Z i values, an interpolation function R s ( L 0 , L n , t ) was formulated to characterize the transition. t is a scaling parameter with values ranging from 0 to 1 that can be used to bridge the continuous scales between L 0 and L n by mapping Z i . By referring to the scales of L 0 and L n ,   t can be linearly converted into common actual scales. When t is 0 , the scale is the initial scale of L 0 , but when t is 1 , the scale is the target scale of L n . In turn, the contour cluster can be ordered by t . According to the interpolation function R s , the arbitrary scale of the simplified contours can be determined by the t value and its corresponding Z i value. In sum, each simplified contour has a determined scale and similarity with L 0 . Therefore, the proposed method can achieve arbitrary scale simplification.

3. Experiments and Results

3.1. Experimental Settings and Data

The CCSM was implemented by using the Open Cascade library given that its data structure is compatible with ISO 10303-42 guidelines. ISO 10,303 is known as the Standard for the Exchange of Product Model Data as published by the International Organization for Standardization (ISO) and the Initial Graphics Exchange Specification [38]. This standard can guarantee a certain level of generality of our proposed method. The experiment was conducted on a computer equipped with an Intel Core i5-6300U 2.40 GHz processor. As shown in Figure 8, the 1:50,000 topographic map of the northeastern part of Huimin, Chongqing, China, was downloaded from Google Earth and was used as our experimental contour dataset. Google Earth uses the Shuttle Radar Topography Mission as its digital elevation model data, which are mainly measured by NASA and the National Imagery and Mapping Agency. The digital elevation model data in China has an accuracy of 90 m [39].

3.2. Results and Analysis

To evaluate the effectiveness of our proposed method, the simplified contours generated by the Douglas–Peucker (DP) algorithm, Wang–Muller (WM) algorithm, and CCSM were compared. First, a visual analysis was performed to examine and verify the ability of these methods in showing the continuous multi-scale details of simplified contours. Second, the shape similarity change trend of multi-scale simplified contours generated by these methods was evaluated. Third, the retention degree of the global structural features of simplified contours generated by these methods was compared. Fourth, the change degree in position was assessed.

3.2.1. Results and Visual Analysis

This section compares the deformation process of the multi-scale simplified contours produced by the aforementioned three methods under the same source and target scale conditions. In this way, we guarantee that the simplified result generated by these methods is a transformation between the same two scales. The source contour scale was taken as the initial scale (i.e., 1:50,000), whereas the target contour scale was taken as the target scale (i.e., 1:200,000). The target contour of the CCSM was simplified by the DP algorithm and was the same as that of the DP algorithm. To easily detect changes in the shape of the simplified contours, the three simplification methods all produced 100 simplified contours (including the initial and target contours). Table 1 presents the parameter settings for generating these contours. For CCSM, the number of horizontal planes was set to 100. The DP algorithm was iterated 100 times, and the reduction of the reservation point decreased at a rate of 0.01. The WM algorithm was iterated 100 times, and the bend reduction rate was 0.01.
Figure 9 shows the experimental results obtained by the DP algorithm, WM algorithm, and CCSM. No. 1 denotes the initial contour and No. 100 denotes the target contour. The intermediate simplified contours between the initial and target contours are represented by serial numbers (Nos. 2 to 99). We only show here the key shape of a few intermediate simplified results obtained by the three methods during the entire simplification process. Figure 9a shows the simplified results obtained by the DP algorithm. According to Table 1, when the DP algorithm was used for simplification, the number of points gradually decreased; ideally, the shape of the contour line should be changed accordingly. However, the shapes of the contours were almost unchanged until No. 81. Afterward, as indicated by the blue dotted rectangle, the shapes of the simplified contours changed starting from No. 85. Meanwhile, the shapes of the simplified contour line behind (Nos. 86 to 100) changed in a jump way. Figure 9b shows the simplified results obtained by the WM algorithm. According to Table 1, the bend number continuously decreased when the WM algorithm was used for simplification. The shapes continuously changed from Nos. 1 to 24. However, from Nos. 24 to 44, the shapes barely changed. From Nos. 44 to 45, the shape of the contour abruptly changed, and some key features were lost. Figure 9a,b indicate that the simplified contours generated by the DP and WM algorithms are discontinuous. Meanwhile, Figure 9c shows the simplified results obtained by the CCSM method. The ordinal number in this figure corresponds to the i value of Z i , that is, the height of the intersecting horizontal planes (described in Section 2.3.1). Unlike the findings of the DP and WM algorithms, Figure 9c shows that the simplified contours generated by CCSM are progressive and include a level of detail that varies continuously. Moreover, the local characteristics were well preserved during the transformation through a few scale ranges (Nos. 1 to 70). Above all, the shapes of the simplified contours generated by CCSM continuously changed between the initial and target contours. CCSM can also yield better continuous multi-scale simplified contours compared with the DP and WM algorithms.

3.2.2. Comparison of Shape Similarity Change Trend

In this subsection, the shape similarity-scale trend lines obtained by the three methods were compared. The shape of an object is an important visual feature, and the difference in shape similarity can be used to describe shape change [40,41]. To avoid contingency, all initial contours in the study area were simplified by using the above three methods. All these methods generated 100 simplified results for each initial contour. The intermediate simplified contours between the initial and target contours were also represented by a serial number. The initial contour scale was taken as the source scale (i.e., 1:50,000), and the target contour scale was taken as the target scale. To further analyze the deformation of the simplified results, the target contour was the most simplified contour line containing two points (i.e., the starting and ending points of the initial contour), whereas the target contour scale was designated as a smaller scale (e.g., 1:20,000,000) or even approaching the infinitesimal scale (1:∞). Equation (10) was used to calculate the similarity between the simplified contour and the corresponding initial contour.
S i m ( L i n i t i a l ,   L i ) = 1 δ d F ( L i n i t i a l ,   L i ) / L e n g t h ( L i n i t i a l )   ( i = 1 , 2 , , 100 )
where L i n i t i a l represents the initial contour, L i represents the simplified contour, and i represents the corresponding sequence number of the simplified contour.
Figure 10 shows the shape similarity-scale trend line corresponding to the three simplification methods. The horizontal axis represents the sequence number ( i = 1 , 2 , , 100 ) . The horizontal axis can also represent the scale because our setting parameters are continuously changing, and so should be the scale. The vertical axis represents the average shape similarity value of all initial contours at the corresponding sequence number i . When i = 1 , the scale of the contour line is: 1:50,000; When i = 100 , the scale of the contour line is: 1:20,000,000) or even approaching the infinitesimal scale (1:∞).
Overall, the average shape similarity value decreased along with the scale for all three simplification methods. As shown in Figure 10, both the blue and green curves jumped (denoted by red rectangles), which means that the shapes of the simplified contour lines generated by the DP and WM algorithms were not continuously changing. In other words, as the scale gradually changed, the changes in the shape of the simplified contours generated by the DP and WM algorithms were not continuous but abrupt, thereby leading to the loss of some intermediate scale details. In this case, the user demand for visual continuity is left unsatisfied. By contrast, the yellow curve in Figure 10 representing CCSM shows a monotonic and continuous trend that closely reflects the ideal relationship between similarity and scale at a continuous multi-scale (Figure 7). The average shape similarity gradually decreased along with the scale. Therefore, CCSM can obtain smooth and continuous multi-scale simplified contours.

3.2.3. Comparison of Global Structural Feature Retention

We then compared the ability of retaining the global structural features of the simplified contours generated by the DP algorithm, WM algorithm, and CCSM. To ensure a fair comparison, the retention degree of the global structural features on the generated simplified contours was examined at the same scale level. When simplifying line elements in electronic maps, the product of the minimum visual discriminant distance (usually set to 0.1 mm) and the reciprocal of the scale were utilized as simplification parameters. If the distance between two linear elements is less than this parameter, then their scale is the same [42]. In this study, the improved Fréchet distance between the simplified and initial contours was used as a proxy for the scale parameter. For example, when the initial contour scale was 1:50,000, the scale parameter was set to 5 m (0.1 mm × 50,000 = 5 m). When the improved Fréchet distance between two contour lines was less than 5 m, the two scales can be considered the same. According to Equation (10), when calculating the similarity between an initial contour and an intermediate simplified result whose Fréchet distance was within 5 m, the minimum similarity value was approximately equal to 0.998, that is, the difference ∆s ≈ 0.002·(1 − 0.998). Therefore, 0.002 was considered the maximum similarity value for identifying whether two simplified contours are at the same scale.
Three simplification methods were used to simplify 20 contour lines that were randomly selected from the dataset (as shown in the first column of Table 2). For each initial contour line, 100 simplified contours were obtained by each method. The scale of the initial contour scale was 1:50,000. The target contour was the most simplified contour line containing two points, namely, the starting and ending points of the initial contour. The similarities between all simplified contours and their initial contours were calculated by using Equation (10). To avoid contingency in the experimental process, for each initial contour line, multiple groups of simplified contours were selected within the maximum similarity value (as shown in the second column of Table 2), and each group had three simplified contours generated by the three simplification methods. Therefore, each group had three similar values corresponding to the three methods. To ensure that the simplified results are compared at the same scale, a verification was performed as follows. First, in every group, each two of three similarity values should be subtracted from each other, and the absolute value should be obtained. Second, for each initial contour line, the absolute values of all groups were averaged (as shown in columns 3 to 5 of Table 2). Third, the maximum value of the three averages was selected and verified to check whether this value is less than 0.002. The max average absolute value (MAAV) of different initial contours was calculated as Equation (11).
M A A V = M A X ( S d I D ( i , D P , C C S M ) , S d I D ( i , D P ,   W M ) , S d I D ( i , W M , C C S M ) ) S d I D   ( i , A , B ) = m e a n I D | S i m ( L i A , L i n i t i a l I D ) S i m ( L i B , L i n i t i a l I D ) |   ( I D = 1 , 2 , , 20 ;   i = 1 , 2 , , m )
where L i A represents the simplified contour generated by the A algorithm, L i B represents the simplified contour generated by the B algorithm, L i n i t i a l I D represents the initial contour, and i represents the number of groups. By using the above calculation method, the MAAV of the 20 contours was calculated and listed in Table 2. As shown in Table 2, the MAAV was within 0.002 (as shown in the last column of Table 2), thereby guaranteeing that the simplified results produced by the three methods were compared on the same scale.
Linear density was used as an indicator for evaluating the ability of each method to retain global structural features [43]. This indicator was defined as Equation (12).
L i n e a r   D e n s i t y   ( L i ) = L e n g t h ( L i ) A r e a ( B u f f e r ( L i ) )
where L e n g t h ( L i ) represents the length of the simplified contour, and A r e a ( B u f f e r ( L i ) ) represents the value of the buffer area of the simplified contour. According to Wu [44], the standard position deviation reflects the global deviation of a simplified line from the initial line. Therefore, the standard deviation of the position was designated as the width parameter in the buffer operation.
The linear densities were calculated separately for the simplified contours at the same scale in each group of the 20 initial contours. The average values of each initial contour linear density corresponding to the three methods are shown in Figure 11. According to Deng [43], a higher linear density indicates a better overall trend retention rate. As shown in Figure 11, the DP algorithm, WM algorithm, and CCSM show differences for each contour group. The linear density value obtained by CCSM was higher than that obtained by the DP algorithm, indicating that the former has a better global structure retention ability than the latter. Several contour groups of the linear densities of CCSM were significantly better than those of the WM algorithm (such as groups 6#, 8#, 13#, and 15#, etc.). Overall, CCSM is superior to the other two methods in terms of global structural feature retention.

3.2.4. Comparison of Position Change

Generally, simplifying contour lines can trigger changes in shape, and a higher degree of simplification corresponds to a higher amount of distortion. One way of measuring the error induced by simplification is by calculating the location difference between the original and simplified lines. The position change of a curve mainly represents the geometric accuracy of the linear features. The simplified contours generated by the three simplification methods were compared based on the mean, standard, and max differences of position. The change in the position of the simplified contours was calculated by using the computational positional error method proposed by Elmar [45]. For each original point of the initial contour, the positional error was calculated as the perpendicular difference between that point and the corresponding line segment of the simplified contour. The distance d from the point P 0 ( x 0 , y 0 ) to the corresponding line segment l : A x + B y + C = 0 was defined as Equation (13). Applying these simplification algorithms consistently produced low positional errors.
d = | A x 0 + B y 0 + C | A 2 + B 2
For the validation, we used 20 randomly generated contour lines (described in Section 3.2.3) as experimental data. We compared three position differences, namely, the standard, average, and max position differences, among the simplified results generated by the three simplification methods and the initial contours at the same scale. As shown in Table 3, CCSM obtained the smallest standard positional error (208.199 m) and maximum positional error (778.478 m) among the three simplification methods, thereby suggesting that CCSM can effectively maintain the global shape characteristics of the contours better. Given that the real value of the mean positional error is susceptible to the local extremum, the mean positional error values may not stably reflect the overall displacement [44].

4. Discussion

4.1. Effect of CCS’s Mesh Parameters on Similarity

To examine the effect of CCS’s mesh parameters on the similarities among simplified contour lines, we used different mesh parameters for CCS’s tessellation. First, as shown in Figure 12, the contour with 86 points was taken as the initial contour and was labeled C1. By using the DP algorithm, C1 was simplified into a target contour labeled C2 with only the starting and ending points of C1 (representing the situation of extreme simplification), whereas C1 was simplified into a target contour labeled C35 with 35 points of C1 (representing the situation of middle simplification).
We then built CCS-2 by using C1 (initial contour) and C2 (target contour) and built CCS-35 by using C1 (initial contour) and C35 (target contour). Both CCS-35 and CCS-2 were established under different mesh parameters (i.e., 0.01, 0.008, 0.006, 0.004, 0.002, and 0.001). Figure 13 shows CCS-35 and CCS-2 under different mesh parameters.
We obtained 100 simplified contours by intersecting 100 horizontal planes with CCS-35 and CCS-2 and then calculated the similarities between the simplified contours and C1. Figure 14a shows that when the target contour has 35 points, the trend of the similarity curve corresponding to each mesh parameter is roughly the same. Furthermore, when the mesh parameters were set to 0.001, 0.004, 0.006, and 0.008, these curves were almost similar and overlapping. When the mesh parameters were set to 0.002 and 0.01, some small local differences were observed among the curves, thereby suggesting that despite slight local differences, the curve trends of all mesh parameters were globally consistent. Figure 14b shows that when the target contour contains only the starting and ending points, the mesh parameters show similar and almost overlapping curve trends, which suggests that the similarity between the simplified and initial contours is insensitive to the mesh parameter, that is, mesh parameter does not affect the trend of similarity.
Therefore, the similarity trend is generally consistent under different mesh parameters. The mesh parameters for CCSM have a relatively stable influence on the similarity assessment, especially for a wider scale range of multi-scale line simplifications. Moreover, the CCSM constructed by using a specific target contour has a certain influence on the similarity, but such influence can be alleviated by selecting appropriate mesh parameters. Given that a smaller mesh parameter corresponds to a higher computation cost, selecting a neutral value can balance the mesh size and quality of the solution.

4.2. Effect of Point Number of Target Scale Contour

In CCSM, the shape change of the intermediate simplified contours is related to the initial and target contours. To verify whether the point number of the target scale contour affects the simplified results, two contours with different shapes were randomly selected from the initial contour set. Each target contour had 100, 50, 40, 30, 20, 10, and 2 points as shown in Figure 15a,b. The target contour with only two points was selected given its representativeness of extreme simplification.
Figure 16a,b show the relationship between the similarity and scale of these two contours. The similarity here represents the similarity between the simplified and initial contours, whereas scale represents the estimated map scale of the simplified contour. Figure 16 shows that the similarity gradually decreases when the number of points is relatively large and significantly decreases when the number of points reduces to 2. However, regardless of the number of points in the target contour, the trends between scale and similarity were generally very consistent and orderly and demonstrated continuous and monotonous characteristics. Moreover, the simplified contour lines generated by the CCSM were continuous and multi-scale. In other words, our proposed method can be applied to different points of target contours.

4.3. Ability of Arbitrary Scale Simplification

We aim to generate a set of global continuous multi-scale simplified contours based on the initial contour. The advantage of CCSM lies in the fact that the contour lines of the desired scale can be obtained between fixed scales. Therefore, obtaining a simplified contour with the specified scale from the initial contour is critical. Given that CCSM shows a monotonous and continuous trend between scale and similarity as discussed in Section 3.2.2, the similarity between the simplified and initial contours is considered a proxy indicator for obtaining a simplified contour with a specified scale. In other words, similarity can serve as an intermediary to obtain the simplified contour corresponding to an arbitrary desired scale.
According to Shen [35], an exponential regression function can be used to establish an empirical relationship between the similarities and scales of contours. However, such a relationship may be unfit for other types of polylines. The exponential regression function is defined in Equation (14).
f ( x ) = a exp ( b x ) + c exp ( d x )
where x represents the scale, f ( x ) represents the similarity value between two contour lines, and a , b , c , d represent coefficient values in exponential regression functions.
The detailed process is described as follows. First, all contours in the study area were divided into five groups (as shown in Figure 17), and the shape and size of the contour line were used as criteria [16]. Second, one contour in each group was selected as reference data (boldface in Figure 17). Third, for the reference data in each group, the similarity values (Equation (9)) between the initial contour (1:50,000) and the contours of the three other scales (1:100,000, 1:250,000, and 1:500,000 downloaded from Google Earth) were then calculated. Table 4 shows the computation results of reference data in every group.
Table 4 shows that the exponential regression function coefficients for each group can be fitted by using the values of the known scales and the similarities of the reference contours in each group. Table 5 shows the coefficient values for each equation in these five groups.
As for CCSM, the shape similarity–scale trend is continuous and monotonous as shown in Figure 10. Therefore, the scale and similarity value of each simplified result have a one-to-one correspondence. In this case, we can generate simplified contours at any arbitrary scale by using CCSM. A simplified contour of an arbitrary scale can be obtained as follows. First, by using the exponential regression function in every group, the similarity value corresponding to the desired scale can be obtained. Second, by referring to Equation (9), the corresponding Z i can be deduced from the similarity value. Third, the desired scale simplified contour can be selected based on the value of i . This method provides a potential mechanism for achieving arbitrary scale simplification.
Figure 18 shows the simplified contours with four specified scales (1:100,000, 1:200,000, 1:250,000, and 1:500,000) obtained by CCSM. For most of the simplified contours, the essential shape was unchanged during the progressive change process, thereby suggesting that the overall curved shape was well maintained. Individual contours with a small size disappeared as the scale decreased because their similarity values were filtered out according to the similarity threshold based on the small scale and exponential regression function. This finding is consistent with the rule of discarding small elements in cartographic generalization [21]. Meanwhile, the images in these scales seemed similar because all bends on a single contour line were transformed together (as shown in Figure 9c). This finding also indicates that CCSM performs well in continuous and global deformation in the simplification of contours.

4.4. Topographical Feature Retention

In general, feature retention should match the degree of simplification. From a geographical perspective, the maintenance of terrain features plays an essential role in the simplification process. To verify the capability of CCSM for topographic feature retention, in this subsection, the retention of typical topographic features (e.g., valley lines and ridgelines) in continuous multi-scale simplified contours is evaluated by visual analysis methods. Figure 19 shows the valley lines and ridge lines were extracted from a contour map at a scale of 1:50,000.
As shown in Figure 20, with the progressive simplification of the contour line, some details of the contour lines were continuously reduced, and some ridge and valley lines gradually disappeared. The simplified terrain map only retained some key ridge and valley lines. However, the topological relationship of all simplified contours was also consistent, thereby suggesting that the key corresponding geographical features were maintained. Therefore, CCSM also performs well in maintaining the terrain features of geographical contours with complex linear features. Figure 20 also shows that even though CCSM is used for single line simplification, this method can also well maintain the group multi-scale continuous rendering of simplified contour lines.
In practice, the target contour L n is not always easy to obtain or even inexistent at the targeted scale [21]. For the former situation, a general simplification method (i.e., DP algorithm) could be employed to obtain the target contour line L n [46]. That is, by using the DP algorithm, the significant morphology characteristic points of L 0 could be extracted and linked together to form L n in an orderly manner. The main topographical feature is retained in L n . For the later, it is an extreme case due to the principles of cartographic generalization. The starting and ending points of L 0 could be directly linked to form L n . The main topographical feature is disappeared in L n . This is consistent with the inexistent status of L n in the targeted map.

5. Conclusions

This study proposed the CCSM method for contour simplification based on the NURBS surface between the initial and target contours with a feature constraint. A set of horizontal planes with equidistant height values was intersected with CCSM to obtain global continuous multi-scale simplified contours.
The CCSM method proposed in this paper can support continuous multi-scale contour simplification while maintaining the essential global structure. Compared with the classical DP and WM algorithms, CCSM can provide simplified contours with better continuity and consistency. This study also proposed a shape similarity–scale trend line based on the contour deformation analysis method that can be used to evaluate the performance of multi-scale polyline simplification methods.
Two problems still need to be studied in depth in future work. First, CCSM consumes much time in surface construction, thereby suggesting that this method needs to be optimized further. Second, a more general form of the relationship between the contour scale and the height value of the horizontal plane for an arbitrary type contour should be explored.

Author Contributions

Conceptualization, Z.Z., L.Y., R.W., and H.Q.; methodology, Z.Z. and H.Q.; software, H.Q.; validation, H.Q. and Z.Z.; formal analysis, Z.Z., L.Y., and H.Q.; investigation, H.Q.; resources, Z.Z.; data curation, H.Q. and W.Z.; writing—original draft preparation, H.Q.; writing—review and editing, Z.Z., L.Y., R.W., and H.Q.; visualization, H.Q. and Z.Z.; supervision, S.Z.; project administration, S.Z.; funding acquisition, S.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Open Fund of Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Land and Resources (KF-2018-03-038).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data and code that support the findings of this study are available in “figshare.com” with the private link https://figshare.com/s/c54a8fd8c787ef3f913a (accessed on 22 July 2019). We provided the method of the CCSM and the contour dataset. The method can be run using the software “Visual Studio 2017”.

Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liu, P.; Xiao, T.; Xiao, J. A multi-scale representation model of polyline based on head/tail breaks. Int. J. Geogr. Inf. Sci. 2020, 34, 2275–2295. [Google Scholar] [CrossRef]
  2. Van Oosterom, P. Variable-scale Topological Data Structures Suitable for Progressive Data Transfer: The GAP-face Tree and GAP-edge Forest. Cartogr. Geogr. Inf. Sci. 2005, 32, 331–346. [Google Scholar] [CrossRef] [Green Version]
  3. Wu, F.; Zhang, Q.; Gong, X. Matching and Classification Model for Multi-Scale Transformation and Representation of Spatial Data. J. Geomat. Sci. Techol. 2014, 4, 331–335. [Google Scholar]
  4. Li, Z.; Zhou, Q. Integration of linear and areal hierarchies for continuous multi-scale representation of road networks. Int. J. Geogr. Inf. Sci. 2012, 26, 855–880. [Google Scholar] [CrossRef]
  5. Weibel, R. Models and Experiments for Adaptive ComputerAssisted Terrain Generalization. Cartogr. Geogr. Inf. Sci. 1992, 19, 133–153. [Google Scholar]
  6. Hao, Z.; Li, C.; Yin, Y.; Wu, P.; Wu, W. A contour interpolation algorithm based on Fréchet distance. Bull. Surv. Mapp. 2019, 1, 65–68. [Google Scholar]
  7. Itzhak, E.; Yoeli, P.; Doysther, Y. Analytic Generalization of Topographic Data and Terrain Models. In Proceedings of the 22nd ICA International Cartographic Conference, Coronary, Spain, 11–16 July 2005. [Google Scholar]
  8. Ai, T.; Ke, S.; Yang, M. Envelope generation and simplification of polylines using Delaunay triangulation. Int. J. Geogr. Inf. Sci. 2017, 31, 297–319. [Google Scholar] [CrossRef]
  9. Li, J.; Ai, T.; Liu, P. Continuous Scale Transformations of Linear Features Using Simulated Annealing-Based Morphing. Isprs. Int. J. Geo-Inf. 2017, 6, 242. [Google Scholar] [CrossRef] [Green Version]
  10. Douglas, D.H.; Peucker, T.K. Algorithms for the Reduction of the Number of Points Required to Represent a Digitized Line or Its Caricature. Can. Cartogr. 1973, 10, 112–122. [Google Scholar] [CrossRef] [Green Version]
  11. Visvalingam, M.; Whyatt, J. Line generalisation by repeated elimination of points. Cartogr. J. 1993, 30, 46–51. [Google Scholar] [CrossRef]
  12. Saalfeld, A. Topologically Consistent Line Simplification with the Douglas-Peucker Algorithm. Cartogr. Geogr. Inf. Sci. 1999, 26, 7–18. [Google Scholar] [CrossRef]
  13. Wu, S.; Marquez, M.R. A non-self-intersection Douglas-Peucker algorithm. In Proceedings of the 16th Brazilian symposium on computer graphics and image processing, Sao Carlos, Brazil, 12–15 October 2003. [Google Scholar]
  14. Wu, S.; Silva, A.C.; Marquez, M.R. The Douglas-peucker algorithm: Sufficiency conditions for non-self-intersections. J. Braz. Comput. Soc. 2004, 9, 67–84. [Google Scholar] [CrossRef] [Green Version]
  15. Pallero, J.L.G. Robust line simplification on the plane. Comput. Geosci. 2013, 61, 152–159. [Google Scholar] [CrossRef]
  16. Qian, H.; Zhang, M.; Wu, F. A New Simplification Approach Based on the Oblique-Dividing-Curve Method for Contour Lines. ISPRS Int. J. Geo. Inf. 2016, 5, 153. [Google Scholar] [CrossRef] [Green Version]
  17. Jones, C.B. Map generalization with a triangulated data structure. Cartogr. Geogr. Inf. Sci. 1995, 22, 317–331. [Google Scholar]
  18. Wang, Z.; Muller, J. Line Generalization Based on Analysis of Shape Characteristics. Cartogr. Geogr. Inf. Sci. 1998, 25, 3–15. [Google Scholar] [CrossRef]
  19. Mustafa, N.; Krishnan, S.; Varadhan, G. Dynamic simplification and visualization of large maps. Int. J. Geogr. Inf. Sci. 2006, 20, 273–302. [Google Scholar] [CrossRef]
  20. Zhu, Q.; Wu, F. A Novel of Contour Line Simplification Algorithm Base on Visibility. J. Imag. Graph. 2009, 14, 359–364. [Google Scholar]
  21. Li, Z.; Openshaw, S. A Natural Principle for the Objective Generalization of Digital Maps. Cartogr. Geogr. Inf. Sci. 1993, 20, 19–29. [Google Scholar] [CrossRef]
  22. Bertolotto, M.; Egenhofer, M. Progressive Transmission of Vector Map Data over the World Wide Web. Geoinformatica 2001, 5, 345–373. [Google Scholar] [CrossRef]
  23. Deng, M.; Peng, D. Morphing Linear Features Based on Their Entire Structures. Trans. GIS 2015, 19, 653–677. [Google Scholar] [CrossRef]
  24. Du, J. A Progressive Method of Simplifying Polylines with Multi-bends Simplification Templates. In Proceedings of the CCF Chinese Conference on Computer Vision, Tianjin, China, 11–14 October 2017; pp. 515–528. [Google Scholar]
  25. Nöllenburg, M.; Merrick, D.; Wolff, A. Morphing polylines: A step towards continuous generalization. Comput. Environ. Urban Syst. 2008, 32, 248–260. [Google Scholar] [CrossRef] [Green Version]
  26. Osher, S.; Sethian, J. Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton-Jacobi formulations. J. Comput. Phys. 1988, 79, 12–49. [Google Scholar] [CrossRef] [Green Version]
  27. Timp, S.; Karssemeijer, N. A new 2D segmentation method based on dynamic programming applied to computer aided detection in mammography. Med. Phys. 2004, 31, 958–971. [Google Scholar] [CrossRef] [PubMed]
  28. Piegl, L. On NURBS: A survey. IEEE Comput. Graph. Appl. 1991, 11, 55–71. [Google Scholar] [CrossRef]
  29. Hu, S.M. Modifying the shape of NURBS surfaces with geometric constraints. Comput. Aided. Des. 2001, 33, 903–912. [Google Scholar] [CrossRef] [Green Version]
  30. Li, Z.; Wang, J.; Tan, S.; Xu, Z. Scale in Geo-information Science: An Overview of Thirty-year Development. Geomat. Inf. Sci. Wuhan. Univ. 2018, 43, 480–489. [Google Scholar]
  31. Li, W.; Hsu, C.Y. Automated terrain feature identification from remote sensing imagery: A deep learning approach. Int. J. Geogr. Inf. Sci. 2018, 34, 637–669. [Google Scholar] [CrossRef]
  32. Ahn, H.K.; Knauer, C.; Scherfenberg, M. Computing the Discrete Fréchet Distance with Imprecise Input. Int. J. Comput. Geom. Appl. 2012, 22, 422–433. [Google Scholar] [CrossRef]
  33. Eiter, T.; Mannila, H. Computing Discrete Fréchet Distance; Technical Report CD-TR 94/64; Christian Doppler Laboratory for Expert Systems: Vienna, Austria, 1994; Volume 64, pp. 636–637. [Google Scholar]
  34. Aronov, B.; Har-Peled, S.; Knauer, C. Fréchet Distance for Curves, Revisited. In Proceedings of the European Symposium on Algorithms, Zurich, Switzerland, 11–13 September 2006. [Google Scholar]
  35. Wolin, A.; Eoff, B.; Hammond, T. ShortStraw: A simple and effective corner finder for polylines. In Proceedings of the Fifth Eurographics Conference on Sketch-Based Interfaces and Modeling 2008, Annecy, France, 11–13 June 2008; p. 3340. [Google Scholar]
  36. Shen, L.; Ai, T.; Li, J.; Huang, L.; Li, W. A progressive method for the collapse of river representation considering geographical characteristics. Int. J. Digit. Earth 2020, 13, 1366–1390. [Google Scholar] [CrossRef]
  37. Kriegeskorte, N. Representational similarity analysis-connecting the branches of systems neuroscience. Front. Syst. Neurosci. 2008, 2, 4. [Google Scholar] [CrossRef] [Green Version]
  38. Owen, J. STEP: An Introduction, 2nd ed.; Information Geometers: Winchester, UK, 1997; pp. 210–215. [Google Scholar]
  39. Shi, L.; Zhao, B.; Li, J.; Zhang, L. An analysis of Google Earth elevation data accuracy and its application to seismic exploration. Geophys. Geochem. Explor. 2016, 40, 578–586. [Google Scholar]
  40. Loncaric, S. A survey of shape analysis techniques. Pattern Recogn. 1998, 31, 983–1001. [Google Scholar] [CrossRef]
  41. Zhang, P. A shape similarity based change detection approach of multi-resolution remote sensing images. ISPRS J. Photogramm. Remote Sens. 2012, 1, 263–266. [Google Scholar] [CrossRef] [Green Version]
  42. Liu, Z.; Ai, T. Responsively Simplifing Line by Adapting to Display Environment. J. Geomat. 2017, 42, 78–82. [Google Scholar]
  43. Deng, M.; Fan, Z.; Liu, H. Performance Evaluation of Line Simplification Algorithms Based on Hierarchical Information Content. Acta. Geod. Geophys. 2013, 42, 767–773. [Google Scholar]
  44. Wu, F.; Zhu, K. Geometric accuracy assessment of linear feature’s simplification algorithms. Geo Spat. Inf. Sci. 2008, 06, 600–603. [Google Scholar]
  45. Polyline Simplification. Available online: https://www.codeproject.com/Articles/114797/PolylineSimplification#headingNP (accessed on 4 June 2020).
  46. Xie, Z.; Wang, H.; Wu, L. The Improved Douglas-Peucker Algorithm Based on the Contour Character. In Proceedings of the 19th International Conference on Geoinformatics, Shanghai, China, 24–26 June 2011. [Google Scholar]
Figure 1. CCSM methodological framework.
Figure 1. CCSM methodological framework.
Applsci 11 03855 g001
Figure 2. Characteristics between the initial contour L 0 ( L 0 ) and target contour L n ( L n ) . (a) Initial contour L 0 and target contour L n . (b) Characteristics between the initial contour L 0 and target contour L n .
Figure 2. Characteristics between the initial contour L 0 ( L 0 ) and target contour L n ( L n ) . (a) Initial contour L 0 and target contour L n . (b) Characteristics between the initial contour L 0 and target contour L n .
Applsci 11 03855 g002
Figure 3. WF comprising the characteristic points, characteristic sub-polylines, and characteristic links.
Figure 3. WF comprising the characteristic points, characteristic sub-polylines, and characteristic links.
Applsci 11 03855 g003
Figure 4. Established CCS.
Figure 4. Established CCS.
Applsci 11 03855 g004
Figure 5. CCS-mesh covered by triangular faces.
Figure 5. CCS-mesh covered by triangular faces.
Applsci 11 03855 g005
Figure 6. Intersection between the CCS-mesh and horizontal planes. (a) A set of horizontal planes. (b) The intersection between CCS-mesh and horizontal planes. (c) The simplified contours on horizontal planes.
Figure 6. Intersection between the CCS-mesh and horizontal planes. (a) A set of horizontal planes. (b) The intersection between CCS-mesh and horizontal planes. (c) The simplified contours on horizontal planes.
Applsci 11 03855 g006
Figure 7. Ideal relationship between scale and similarity for continuous multi-scale simplification.
Figure 7. Ideal relationship between scale and similarity for continuous multi-scale simplification.
Applsci 11 03855 g007
Figure 8. Contour line dataset with a scale of 1:50,000 in the northeastern part of Huimin, Chongqing, China.
Figure 8. Contour line dataset with a scale of 1:50,000 in the northeastern part of Huimin, Chongqing, China.
Applsci 11 03855 g008
Figure 9. Simplified contours generated by the DP algorithm, the WM algorithm, and the CCSM method. (a) The simplified contours generated by DP algorithm. (b) The simplified contours generated by WM algorithm. (c) The simplified contours generated by CCSM method.
Figure 9. Simplified contours generated by the DP algorithm, the WM algorithm, and the CCSM method. (a) The simplified contours generated by DP algorithm. (b) The simplified contours generated by WM algorithm. (c) The simplified contours generated by CCSM method.
Applsci 11 03855 g009
Figure 10. Average shape similarity trend of three simplification methods.
Figure 10. Average shape similarity trend of three simplification methods.
Applsci 11 03855 g010
Figure 11. Average linear densities of the 20 selected contours generated by the three methods.
Figure 11. Average linear densities of the 20 selected contours generated by the three methods.
Applsci 11 03855 g011
Figure 12. Different contours with different points. (a) The initial contour (C1) with 86 points. (b) The simplified contour (C35) with 35 points. (c) The simplified contour (C2) with 2 points.
Figure 12. Different contours with different points. (a) The initial contour (C1) with 86 points. (b) The simplified contour (C35) with 35 points. (c) The simplified contour (C2) with 2 points.
Applsci 11 03855 g012
Figure 13. CCS-35 and CCS-2 under different mesh parameters. (a) CCS-35. (b) CCS-2.
Figure 13. CCS-35 and CCS-2 under different mesh parameters. (a) CCS-35. (b) CCS-2.
Applsci 11 03855 g013
Figure 14. Similarity between the simplified and initial contours with different mesh parameters. (a) CCS-35. (b) CCS-2.
Figure 14. Similarity between the simplified and initial contours with different mesh parameters. (a) CCS-35. (b) CCS-2.
Applsci 11 03855 g014
Figure 15. Two selected contours and the corresponding target contours with different point numbers. (i) Initial contour. (iiviii) Target contours with 100, 50, 40, 30, 20, 10, and 2 points, respectively. (a,b) represent two contours with different shapes randomly selected from the initial contour set.
Figure 15. Two selected contours and the corresponding target contours with different point numbers. (i) Initial contour. (iiviii) Target contours with 100, 50, 40, 30, 20, 10, and 2 points, respectively. (a,b) represent two contours with different shapes randomly selected from the initial contour set.
Applsci 11 03855 g015
Figure 16. Relationship between the scale and similarity of the target contours at different points. (a) Relationship between the scale and similarity of contours in Figure 15a. (b) Relationship between the scale and similarity of contours in Figure 15b.
Figure 16. Relationship between the scale and similarity of the target contours at different points. (a) Relationship between the scale and similarity of contours in Figure 15a. (b) Relationship between the scale and similarity of contours in Figure 15b.
Applsci 11 03855 g016
Figure 17. The contour dataset is divided into five groups, with each group assigned a different color. The contours shown in boldface are the reference contours selected from each group.
Figure 17. The contour dataset is divided into five groups, with each group assigned a different color. The contours shown in boldface are the reference contours selected from each group.
Applsci 11 03855 g017
Figure 18. Simplified contours generated by CCSM at the 1:100,000 (a), 1:200,000 (b), 1:250,000 (c), and 1:500,000 (d) scales.
Figure 18. Simplified contours generated by CCSM at the 1:100,000 (a), 1:200,000 (b), 1:250,000 (c), and 1:500,000 (d) scales.
Applsci 11 03855 g018
Figure 19. Terrain features in the terrain map of 1:50,000.
Figure 19. Terrain features in the terrain map of 1:50,000.
Applsci 11 03855 g019
Figure 20. (ad) Topographical feature retention of the terrain map at the 1:100,000, 1:200,000, 1:250,000, and 1:500,000 scales.
Figure 20. (ad) Topographical feature retention of the terrain map at the 1:100,000, 1:200,000, 1:250,000, and 1:500,000 scales.
Applsci 11 03855 g020
Table 1. Experimental parameter settings of three simplification methods for generating 100 simplified contours.
Table 1. Experimental parameter settings of three simplification methods for generating 100 simplified contours.
ParameterValue
Number of horizontal planes (CCSM method)100
Reduction rate of points (DP algorithm)1%
Reduction rate of bends (WM algorithm)1%
Table 2. Max average absolute value (MAAV).
Table 2. Max average absolute value (MAAV).
Initial Contour IDNumber of Groups S d I D ( i , D P , C C S M ) S d I D ( i , D P , W M ) S d I D ( i , W M , C C S M ) MAAV
140.00040.00200.00200.0020
220.00100.00060.00050.0010
320.00070.00060.00130.0013
430.00030.00100.00130.0013
540.00040.00140.00120.0014
640.00030.00080.00110.0011
720.00150.00180.00130.0018
820.00040.00020.00050.0005
920.00080.00100.00180.0018
1040.00060.00060.00090.0009
1140.00070.00130.00240.0024
1230.00030.00130.00150.0015
1320.00090.00130.00200.0020
1420.000010.00020.00020.0002
1540.00010.00090.00100.0010
1640.00030.00110.00090.0011
1720.00070.00020.00070.0007
1840.00030.00160.00190.0019
1920.00190.00010.00200.0020
2020.00070.00110.00070.0011
Table 3. Numerical evaluation of the positional errors between the initial and simplified contours obtained by the DP algorithm, WM algorithm, and CCSM at the same scale.
Table 3. Numerical evaluation of the positional errors between the initial and simplified contours obtained by the DP algorithm, WM algorithm, and CCSM at the same scale.
MethodStd (m a)Mean (m)Max (m)
The DP algorithm208.297451.011778.567
The WM algorithm208.246451.158778.640
CCSM208.199451.053778.478
(a.m = meter).
Table 4. Similarity values between the initial contours and the other scales of contours for reference data in different groups.
Table 4. Similarity values between the initial contours and the other scales of contours for reference data in different groups.
ScaleThe Similarity of Different Groups
Group1Group2Group3Group4Group5
1:50,00011111
1:100,0000.9980.9880.9950.9890.997
1:250,0000.9920.9510.9860.9780.993
1:500,0000.9780.9290.9690.9470.985
Table 5. Coefficient values of the exponential regression functions in different groups.
Table 5. Coefficient values of the exponential regression functions in different groups.
Coefficient NameCoefficient Values of Different Groups
Group1Group2Group3Group4Group5
a0.9981.0320.9940.9880.997
b0.002−0.014380.0040.0090.002
c−9.37 × 10−5−0.04805−0.0002−2.02 × 10−5−3.75 × 10−5
d−6.075−1.02−5.542−8.531−6.361
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Qian, H.; Yang, L.; Zuo, Z.; Wang, R.; Zhen, W.; Zhou, S. A Global Continuous Multi-Scale Terrain Contour Simplification Method Based on the Level Set. Appl. Sci. 2021, 11, 3855. https://0-doi-org.brum.beds.ac.uk/10.3390/app11093855

AMA Style

Qian H, Yang L, Zuo Z, Wang R, Zhen W, Zhou S. A Global Continuous Multi-Scale Terrain Contour Simplification Method Based on the Level Set. Applied Sciences. 2021; 11(9):3855. https://0-doi-org.brum.beds.ac.uk/10.3390/app11093855

Chicago/Turabian Style

Qian, Haoyue, Lin Yang, Zejun Zuo, Run Wang, Wenjie Zhen, and Shunping Zhou. 2021. "A Global Continuous Multi-Scale Terrain Contour Simplification Method Based on the Level Set" Applied Sciences 11, no. 9: 3855. https://0-doi-org.brum.beds.ac.uk/10.3390/app11093855

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop