Next Article in Journal
A Vector Data Model for Efficiently Rendering Large Vector Maps on Global 3D Terrain Surfaces
Previous Article in Journal
EU Net-Zero Policy Achievement Assessment in Selected Members through Automated Forecasting Algorithms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Method to Determine the Centroid of Non-Homogeneous Polygons Based on Suspension Theory

1
School of Resources and Environmental Engineering, Anhui University, Hefei 230601, China
2
Anhui Province Key Laboratory of Wetland Ecosystem Protection and Restoration, Anhui University, Hefei 230601, China
3
School of Architecture and Surveying Engineering, Datong University, Datong 037009, China
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2022, 11(4), 233; https://doi.org/10.3390/ijgi11040233
Submission received: 21 January 2022 / Revised: 29 March 2022 / Accepted: 30 March 2022 / Published: 2 April 2022

Abstract

:
The centroid is most often used to describe the average position of an object’s mass and has very important applications in computational geometry, applied physics, and spatial information fields, amongst others. Based on the suspension theory of physics, this paper proposes a new method to determine the centroid of a non-homogeneous polygon by the intersection of the two balance lines. By considering the inside point value and distance to the balance line, the proposed method overcomes the traditional method’s limitation of only considering the geometric coordinates of the boundary points of the polygon. The results show that the consideration of grid distance and grid value is logical and consistent with the calculation of the centroid of a non-homogeneous polygon. While using this method, a suitable value for relative parameters needs to be established according to specific application instances. The proposed method can be applied to aid in solving specific problems such as location assessment, allocation of resources, spatial optimization, and other relative uses.

1. Introduction

The centroid is often assumed to be the concentrated point of the mass of a body and is also called the center of mass or the center of gravity. For a body of homogeneous mass, the location of its centroid is equivalent to its geometric center location; therefore, it is commonly accepted that the centroid coincides with the center of mass [1,2]. For example, the center of mass of a homogeneous sphere (a geometric solid) coincides with its exact geometric center.
The classic centroid which relates to the concept of central tendency mainly includes the following three types of averages [1,3]: (1) The mean centroid. This type of centroid can be subdivided into arithmetic mean, root mean square mean, harmonic mean, geometric mean, and minimum bounding rectangle. (2) The median centroid. The median centroid is the arithmetic mean of the middle pair of values ordered from smallest to largest. The mean and median centroid can be easy to calculate but are not sensitive to the order of the vertices. (3) The mode centroid. This type of centroid is the value that occurs most frequently in a set of numbers. It is used in statistics to indicate the value of a substantial part of a dataset. As a measure of a central point of a geometric figure, the mode has little or no practical use.
In addition, there are other forms of centroids, for example, minimum distance, negative buffer, and weighted form of the above methods. The minimum distance centroid has a connection with spatial analysis, where a gravity function may be used to model relationships between points or regions. The negative buffer centroid is not sensitive to large poorly conditioned portions of a polygon. The computation of the centroid is difficult to automate, particularly with highly irregular polygons. In some cases, the weighted centroid considers the average distribution center of the region more, and the other centroid describes only the absolute geometric center. The weighted centroid mainly includes weighted mean centroid, weighted median centroid, and so on [4,5,6,7].
Since the concept of a centroid was proposed, it has been extensively used to determine the average location of a body or some objects in many fields, especially in computational geometry, applied physics, and spatial information fields, amongst others [8,9,10,11,12,13,14]. City planners are continually striving to use centroids to discover fundamental relationships to help explain the structure of urban and metropolitan areas [15]. K-mean clustering is a partitioning clustering technique for data mining, which is formed with the help of centroids [16]. Some scholars in the communication field have modified the traditional centroid method for WLAN indoor positioning systems [17] and to evaluate the stability of objects, such as the center of mass of vehicles [18,19]. In astronomy, it is used to calculate the spatial position of celestial bodies, their state of motion, and their relationships with other bodies [20,21]. Eteje and Oluyori [13] presented the impact of different methods of centroid mean computation on the accuracy of orthometric height modeling using the geometric geoid method. Farmer et al. [22] proposed an alternative resilient centroid for natural resource management applications.
Some means are simple coordinate averages whilst others are more advanced. Different calculation methods have different application values. Moment centroids are considered as the best measure of the centroid of a complex polygon. The coordinates of the weighted centroid can be calculated using the weighted arithmetical mean of the coordinates of the points. In recent years, owing to the rapid development of Geographic Information Systems (GIS) tools, there several techniques have become available for rapid calculations, even for large spatial databases.
However, in nature, geographical spaces are heterogeneous and complex. The polygon boundary around such a heterogenous space is called a non-homogeneous polygon. If a boundary is set for such a space, the polygon defined is called a non-homogeneous polygon. Centroids calculated by GIS tools implicitly assume that the mass density of objects are homogenous and hence cannot calculate accurate centroids for non-homogeneous objects. Here, we propose a new method for centroids of non-homogenous polygons by combining the suspension method in physics with the method of distance transformation in map algebra. The proposed method was applied to estimate the population gravity of Beijing. The center results are then compared with those of the original administrative district centers.

2. Method

2.1. Suspension Line Theory

Based on suspension theory, the centroid of an object can be obtained as follows: Hang the object by a piece of string and obtain a vertical line from the point of suspension down across the object. Thereafter, remove the string, rotate the object a few degrees, hang it again, and repeat the procedure. The intersection of the dividing lines (or balance lines) defines a point called the object centroid.
For a stationary object, there are only two forces: gravity and the rope. To maintain balance, the two forces must be equal and reversed. The direction of gravity follows a straight line with the rope; in other words, the straight line of the rope passes through the center of gravity. For the two suspensions of the object, both ropes pass through the center of gravity; therefore, the intersection point must be the center of gravity. This method was first proposed to calculate the center of gravity of an object. However, when it is used to obtain the centroid of a polygon or map, it is usually assumed that the polygon or map is homogeneous and therefore does not correctly reflect the tendency for conditions to vary over space, i.e., spatial heterogeneity [23].

2.2. Method to Determine the Centroid

Here, we propose a new method to calculate the centroid for a nonhomogeneous polygon using the above suspension line theory. Assume that the calculated polygon is located in a real-number plane, P, which may be divided into two equal portions, P1 and P2, about a dividing line. If the plane were symmetrical about this line according to some objective value, it would balance if placed on a knife-edge along this line. If another line is also selected, which divides the plane equally in some value, then the intersection of the dividing lines (or balance lines) would define a point called the proposed centroid. The method is implemented in four steps:
Step 1: Select any two points on the boundary of the polygon as the source and destination points, and the two-point connecting line is considered as the candidate centroid balance line.
Step 2: The candidate centroid balance line is taken as the center line, and the real number plane is transformed to the Euclidean distance plane. Calculate the sum of gravity moments for the left and right sides of the candidate centroid balance line. The gravity moment can take the following form:
G = M g
where G is the gravity moment, M is the cell value in the Euclidean plane, and g is the Euclidean distance between the cell point and the candidate centroid balance line. If this polygon is located within a Euclidean distance plane, the plane conversion of this step above should be ignored.
Step 3: Calculate the difference in the gravity moment on both sides if the difference is smaller than the set precision value, as follows:
a b s ( G 1 G 2 ) ε
where abs is the function of the absolute function, G 1 and G 2 are the gravity moments, and ε is the value of the set precision.
If the difference is smaller than the precision value, the current candidate centroid balance line is the final centroid balance line. Conversely, if the difference is larger than the precision value, the destination point is updated to the larger moment direction boundary. The length between the new and previous destinations is set as a fixed length (called one step length). Step 3 is repeated until the difference is smaller than the precision value.
Step 4: Similarly, calculate another centroid balance line for this polygon. The intersection point of the two centroid balance lines is the final centroid of the polygon.

3. Centroid-Computing Procedures for Different Types of Polygons

There are many different methods of classifying polygons, according to different criteria. In general, all polygons can be divided into convex and concave polygons [24,25]. However, there are some irregular polygons, for example, a polygon with holes and a self-intersecting polygon. A self-intersecting polygon is one type of complex polygon (not simple polygon) and is often considered a topology error in GIS. Hence, this type of polygon will not be discussed in this paper.
Thus, to demonstrate the variation between different types of polygons while using the proposed method, four types of polygons were used as examples, as shown in Figure 1: a homogeneous convex polygon P, a homogeneous concave polygon Q, a homogeneous convex polygon with a hole R, and a non-homogeneous polygon S (consisting of four small polygons A, B, C, and D). The centroids of these polygons were calculated by using the ArcPy package in ArcGIS 10.6.

3.1. Centroid of Homogeneous Convex and Concave Polygons

Taking the simple homogeneous polygon P as the first study object, the main steps of the centroid-computing process are shown in Figure 2. Figure 2a shows the original polygon and the first candidate centroid balance line, Line AB, whilst Figure 2b shows the result of the Euclidean distance transformation shown in Figure 2a. After calculating the difference in the gravity moments on both sides, it was found that it did not meet the demand of being smaller than the precision value. Thereafter, the subsequent updated lines and the corresponding results of the Euclidean distance transformation were calculated with the results shown in Figure 2c–f. After comparison, line AB4 was determined to be the first final centroid balance line. Figure 2g shows the main steps of the computing process of the second candidate centroid balance line, with Line CD4 representing the second final centroid balance line. The intersection point C of the two centroid balance lines is the final centroid of the polygon.
For the concave polygon Q, its computing procedures of the candidate centroid balance line is the same as the above convex polygon P (Figure 3), which is not discussed in detail here.

3.2. Centroid of Homogeneous Polygons with a Hole

In calculating the centroid for polygons, one type of irregular polygon is usually dealt with, that is, a polygon with a hole or more holes, when performing distance transformation, the influence of the hole(s) must be excluded from the polygon. Taking polygon R as the study object, the first and second centroid balance lines of polygon R are shown in Figure 4a,b, respectively, and the results of the centroid balance line of the polygon are shown in Figure 4c,d. For comparison, the centroid of polygon R with no such hole was also calculated. The centroid of polygon R is point p, and the centroid of the ‘with no hole polygon’ is point q, as shown in Figure 4e. It is apparent that point q tended to be located at the center of the polygon, whereas point p was shifted to the upper left. This is because the hole was in the bottom right of the polygon, which weakened the influence of this part on the entire polygon. This observation holds true and reflects reality correctly.

3.3. Centroid of Non-Homogeneous Polygons

When calculating the centroid of a non-homogeneous polygon, the proposed method not only considers the distance parameter but also the attribute value of the grid cells inside. Consider a nonhomogeneous polygon R as the study object. To obtain grid values, the non-homogeneous polygon was first converted to a raster dataset according to the field values, as shown in Figure 5a. Based on statistics, the grid numbers in the four small polygons were 1135, 32,383, 4263, and 13,515, respectively (see Figure 5b). Figure 5c,d show the computing results of the first and second final centroid balance lines, and in Figure 5e, point q is the final centroid of the entire polygon using the proposed method. Point p is the centroid of the corresponding homogeneous polygon with the same boundary as polygon S, and it is noted that point q is east of point p. This is because most of the polygon B and the largest value of polygon D are all located in the east. The result is logical and consistent with this finding.

3.4. Parameter Analysis

As mentioned above, the selection of the original points, step length, and precision value are the three most important parameters when using the proposed method and the setting of some values varies according to the specific application instance. Here, the simple homogeneous polygon P of Figure 1 was taken as an example to explain the effect of the three parameters on the calculated centroid results and suggest some tips while applying them.

3.4.1. Selection of the Original Point

For polygon P, five different centroid balance lines were selected for comparison, as shown in Figure 6a–e. Their starting points were set at five different locations, whereas the step length and precision values were set to be the same.
Figure 6f shows the overlapping results of the five centroid balance lines. It is apparent that the result did not intersect a unique point, as expected. However, it was determined that this phenomenon does not occur if the starting and ending points are all set at the vertex of the line, which is an integral multiple step length. As shown in Figure 7, starting from point O, the lengths of OA, OB, OC, and OD are integral multiples of one step length. If point O was selected as the starting point, and the ending point was set to an integer multiple step length away from the starting point while updating every time, such as points A, B, C, and D, then the intersecting points of different candidate centroid balance lines will gather at one unique point.

3.4.2. Precision Value

The smaller the precision value, the less the gravity moment difference between the two sides, and the more accurate the calculation result. In contrast, a higher precision value will result in a worse result. However, in terms of computational efficiency, a smaller precision value will inevitably require a longer running time of the program, making it difficult to determine the optimal precision value. Therefore, for specific issues, a suitable precision value was set according to the specific application instances to weigh the relationship between the accuracy requirement and time consumption.

3.4.3. Step Length

In the process of calculating the centroid balance line, the location of the ending point was continually updated according to the step length, thus determining the appropriate step length so that the accuracy and computational efficiency were kept optimal, which is also a key step in calculating the centroid. In Figure 6, if the ending point is selected between AC or CB, there must be other ending points that meet the conditions. However, it is difficult to identify such a point.
Similar to the step length, the smaller the precision value, the more accurate the calculation result. Taking into account the accuracy and efficiency simultaneously, the step length setting can be a dynamic process. A larger size can first be set allowing for a rough accurate centroid balance line to be obtained. Thereafter, based on this line, update the step size to a smaller one, calculate the balance line again, obtain a more accurate balance line, and repeat the procedure again until the minimum acceptable conditions are met.

4. Gravity of Population

To further explain how the proposed method can be applied in practice, the proposed method was used to calculate the population gravity of Beijing by calculating the centroid of the population. In the field of geography, population gravity is often closely related to the spatial distribution of populations. Generally, the population density of a city is directly proportional to its distance from the city center. To illustrate the proposed method, the results of centroids were compared using the proposed method with the administrative centers (called Administrative Center), weighted median centroids (called Weighted Centroid), and mean centroids (homogeneous, called Mean Centroid).
Beijing is the capital of China, which is a municipality located in North China at the northern tip of the North China Plain, and it consists of six city districts (Dongcheng, Xicheng, Chaoyang, Haidian, Fengtai, and Shijingshan) and 10 suburban districts (Shunyi, Tongzhou, Daxing, Fangshan, Mentougou, Changping, Pinggu, Miyyun, Huairou, and Yanqing). It covers a total area of 16,807.8 km2, with a population of 21.14 million measured in 2015. In this study, the population dataset was provided by the Data Center for Resources and Environmental Sciences, Chinese Academy of Sciences (RESDC), aggregated in 1000 m × 1000 m cells regarding the terrain and population density, as shown in Figure 8. There are 9838 population grid points, according to recent statistics.
Using the proposed method, the centroids of the 16 administrative districts were calculated, and the parameters were set according to Section 3.3. We set the precision value as 0, and if the difference was greater than 0, we had to adjust the end point coordinate to find the true balance line; otherwise, the current line was thought of as the balance line. For comparison, the location of the Mean Centroid, Weighted Centroid, and Administrative Center were also calculated in each region. A spatial distribution diagram is shown in Figure 8, where the green triangle represents the Mean Centroid. The symbol of the yellow circle-shaped point represents the Administrative Center of the district. The symbol of the black circle-shaped point represents the Weighted Centroid of the district. The blue circle-shaped point represents the centroid of the districts using the proposed method (called the New Centroid).
It should be noted that most of these centroids calculated by the proposed method tended to be located near their own administrative centers, which are generally located in a densely populated area to serve as many people as possible. Current administrative centers are mostly located on population density centers from many years ago. However, their locations, which rarely change over many years for various reasons, are quite different from the real current population center. As shown in Figure 9, the Weighted Centroids are closer to the centroid results of the new method compared with Mean Centroids and Administrative Centers. This may be because they all take into account point coordinates and point values. The centroid location of the new method tends to be near the Weighted Centroid compared with the other two methods.
Table 1 shows a comparison of the statistics of the distance to the New Centroid, Administrative Center, and Weighted Centroid from each grid. As shown in Table 1, the average distance from the new centroid to each grid point is larger than that from the Administrative Center, up to 100 m and approximately 3 km. For the distance to new centroid, the sum value ranges from 13.61 to 31,619.4 km with a mean of 10,664.14 km, the maximum value ranges from 6.04 to 76.46 km with a mean of 33.21 km, and the STD.E ranges from 1.34 to 22.15 with a mean of 7.88. Compared with the results of the distance to NC, the mean sum, mean maximum, and mean STD.E of the distance to WC are generally larger, and the mean sum, mean maximum, and mean STD.E of the distance to AC are generally larger than that to WC. The experimental results are as expected. Compared with the other two methods, the overall results of the new method are closer to the true center of all points because the boundary vertices and inside point value are not considered. Compared with the early administrative centers, the spatial distribution of the existing population tends to shift significantly. Similarly, these indicators of Weighted Centroids are also smaller than those of the New Centroids. In the suburbs, especially Huairou, Fangshan, Shunyi, and Changping, the difference in the average distance tended to be greater than that in urban areas. This may be because suburban areas tend to be relatively large, and the population distribution is relatively scattered.
While having the benefit of being easily calculated, Mean Centroids tended to be far away from Administrative Centroids, Weighted Centroids, and New Centroids (see Figure 9) because the calculation of Mean Centroids only requires the vertex coordinates of the boundary, not the information of the areas of polygons. They are usually considered to be useful descriptors of point datasets but not of the entire polygons. However, the proposed method is not only sensitive to the boundary of the polygon, but it is also sensitive to the coordinates of the point and point values. Therefore, Mean Centroids should only be viewed as geometric centers, and not suitable for the calculation of urban centers. The proposed method can be applied to aid in solving specific problems such as location analysis of shopping, allocation of resources, spatial optimization of service facilities, and other uses.

5. Discussion and Conclusions

Building on previous suspension theory, this paper proposes a new method for calculating the centroid of non-homogeneous polygons by combining the method of distance transformation in map algebra. In addition, the computing variation of the three types of polygons while using the proposed method are also discussed. This method is applied to estimate the population gravity of Beijing, which is compared with the original administrative district centers.
The results show that the consideration of grid distance and grid value is logical and consistent with the calculation of the centroid of a non-homogeneous polygon. The proposed method is not only sensitive to the boundary of the polygon but is also sensitive to the coordinates of the point and point values inside, which can correctly reflect spatial heterogeneity in geography. Furthermore, the proposed method is easy to implement using the ArcPy package. However, while using this method, a suitable value for three key parameters (selection of starting point and ending point of candidate centroid balance line, step length, and precision value) needs to be established according to specific application instances. The starting and ending points should be set at the vertex of the line, which is an integral multiple step length, to ensure that the centroid intersects a unique point. The setting of step length and precision value can be set to a large value first and then gradually decreased to weigh the relationship between the accuracy requirement and time consumption.
The proposed method can be applied to aid in solving specific problems such as location assessment, allocation of resources, spatial optimization, and other related applications. In future work, the automated computation of the centroids for non-homogeneous polygons will be further studied. In addition, extending the proposed method to calculate the centroids of 3D objects is another important issue to be examined.

Author Contributions

Jianhua Ni proposed the idea of the new method and analyzed the experimental results. Yanlan Wu provided the original idea for this paper and wrote the original draft. Zihao Chen offered data support for this work. Jie Chen processed the experiment data. Ming Liang conducted the primary experiments and cartographic visualization. All authors have read and agreed to the published version of the manuscript.

Funding

This project was supported by the National Natural Science Foundation of China (32171573), Natural Science Foundation of Anhui Province (2008085MD109, 1908085QD164).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank the Natural Science Foundation of Anhui Province and the National Natural Science Foundation of China.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Deakin, R.; Bird, S.; Grenfell, R.J.C. The Centroid? Where would you like it to be be? Cartography 2002, 31, 153–167. [Google Scholar] [CrossRef]
  2. Lorcé, C. The relativistic center of mass in field theory with spin. Eur. Phys. J. C 2018, 78, 785. [Google Scholar] [CrossRef]
  3. Reichmann, W.J. Use and Abuse of Statistics. In Penguin Books; Middlesex: London, UK, 1961. [Google Scholar]
  4. Piepel, G.F. Calculating centroids in constrained mixture experiments. Technometrics 1983, 25, 279–283. [Google Scholar] [CrossRef]
  5. Piepel, G.F. Programs for generating extreme vertices and centroids of linearly constrained experimental regions. J. Qual. Technol. 1988, 20, 125–139. [Google Scholar] [CrossRef]
  6. Wachowicz, M.; Liu, T. Finding spatial outliers in collective mobility patterns coupled with social ties. Int. J. Geogr. Inf. Syst. 2016, 30, 1806–1831. [Google Scholar] [CrossRef]
  7. Laura, J.; Skinner, J.A., Jr.; Hunter, M.A. Large crater clustering tool. Comput. Geosci. 2017, 105, 81–90. [Google Scholar] [CrossRef]
  8. Rocchini, D.; Cateni, C. On the Measurement of Spatial Centroid in Geography. Asian J. Inf. Technol. 2006, 5, 729–731. [Google Scholar]
  9. Berk, S.; Ferlan, M. Accurate area determination in the cadaster: Case study of Slovenia. Cartogr. Geogr. Inf. Sci. 2018, 45, 1–17. [Google Scholar] [CrossRef]
  10. Bujdoso, Z.; Penzes, J.; Madaras, S.; David, L. Analysis of the Spatial Trends of Romanian Tourism between 2000–2012. Geogr. Tech. 2015, 10, 9–19. [Google Scholar]
  11. Carvalho, L.E.; Lawrence, C.E. Centroid estimation in discrete high-dimensional spaces with applications in biology. Proc. Natl. Acad. Sci. USA 2008, 105, 3209–3214. [Google Scholar] [CrossRef] [Green Version]
  12. Di Felice, P. Assessing the impact of the geographical scale on the maximum distance error: A preliminary step for quality of life studies. Eur. J. Geogr. 2015, 6, 69–78. [Google Scholar]
  13. Eteje, S.; Oluyori, P. Impact of different centroid means on the accuracy of orthometric height modelling by geometric geoid method. Int. J. Sci. Rep. 2020, 6, 124–130. [Google Scholar]
  14. Liu, X.; He, B.; Quan, X.; Yebra, M.; Qiu, S.; Yin, C.; Liao, Z.; Zhang, H. Near Real-Time Extracting Wildfire Spread Rate from Himawari-8 Satellite Data. Remote Sens. 2018, 10, 1654. [Google Scholar] [CrossRef] [Green Version]
  15. Carrothers, G.A.P. An historical review of the gravity and potential concepts of human interaction. J. Am. Plann. Assoc. 1956, 22, 94–102. [Google Scholar] [CrossRef]
  16. Alamgir, Z.; Naveed, H. Efficient Density-Based Partitional Clustering Algorithm. Comput. Inform. 2021, 40, 1322–1344. [Google Scholar] [CrossRef]
  17. Subedi, S.; Gang, H.; Ko, N.Y.; Hwang, S.; Pyun, J. Improving Indoor Fingerprinting Positioning With Affinity Propagation Clustering and Weighted Centroid Fingerprint. IEEE Access 2019, 7, 31738–31750. [Google Scholar] [CrossRef]
  18. Guo, Y.; Song, A.; Bao, J.; Zhang, H.; Tang, H. Research on Centroid Position for Stairs Climbing Stability of Search and Rescue Robot. Int. J. Adv. Robot. Syst. 2010, 7, 24–30. [Google Scholar] [CrossRef] [Green Version]
  19. Gupta, P.; Purohit, G.; Rathore, M. Estimating speed of vehicle using centroid method in MATLAB. Int. J. Comput. Appl. 2014, 102, 1–8. [Google Scholar] [CrossRef] [Green Version]
  20. Yahil, A.; Tammann, G.; Sandage, A. The Local Group-The solar motion relative to its centroid. Astrophys. J. 1977, 217, 903–915. [Google Scholar] [CrossRef]
  21. Zhang, Y.; Jiang, J.; Zhang, G.; Lu, Y. Accurate and Robust Synchronous Extraction Algorithm for Star Centroid and Nearby Celestial Body Edge. IEEE Access 2019, 7, 126742–126752. [Google Scholar] [CrossRef]
  22. Farmer, E.; Jones, S.D.; Deakin, R.E. Derivation of a resilient polygon centroid for natural resource management applications. Int. J. Geogr. Inf. Sci. 2011, 25, 1545–1558. [Google Scholar] [CrossRef]
  23. Goodchild, M.F. The Validity and Usefulness of Laws in Geographic Information Science and Geography. Ann. Assoc. Am. Geogr. 2004, 94, 300–303. [Google Scholar] [CrossRef] [Green Version]
  24. Li, Z.; Zhang, Z.; Liu, H.; Yang, L. A new path planning method based on concave polygon convex decomposition and artificial bee colony algorithm. Int. J. Adv. Robotic Syst. 2020, 17, 1729881419894787. [Google Scholar] [CrossRef]
  25. Kaiser, M.J. The perimeter centroid of a convex polygon. Appl. Math. Lett. 1993, 6, 17–19. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Four different types of polygons.
Figure 1. Four different types of polygons.
Ijgi 11 00233 g001
Figure 2. Centroid computing of polygon P: (a) original polygon; (b) result of the Euclidean distance transformation of Line AB; (c) result of the Euclidean distance transformation of Line AB1; (d) result of the Euclidean distance transformation of Line AB2; (e) result of the Euclidean distance transformation of Line AB3; (f) result of the Euclidean distance transformation of Line AB4; (g) computing procedures of the second candidate centroid balance line; (h) result of the final centroid of the polygon P.
Figure 2. Centroid computing of polygon P: (a) original polygon; (b) result of the Euclidean distance transformation of Line AB; (c) result of the Euclidean distance transformation of Line AB1; (d) result of the Euclidean distance transformation of Line AB2; (e) result of the Euclidean distance transformation of Line AB3; (f) result of the Euclidean distance transformation of Line AB4; (g) computing procedures of the second candidate centroid balance line; (h) result of the final centroid of the polygon P.
Ijgi 11 00233 g002
Figure 3. Centroid computing of polygon Q: (a) result of the Euclidean distance transformation of Line AB1; (b) result of the Euclidean distance transformation of Line AB2; (c) result of the Euclidean distance transformation of Line AB3; (d) first final centroid balance line AB; (e) second final centroid balance line CD; (f) result of final centroid of the polygon Q.
Figure 3. Centroid computing of polygon Q: (a) result of the Euclidean distance transformation of Line AB1; (b) result of the Euclidean distance transformation of Line AB2; (c) result of the Euclidean distance transformation of Line AB3; (d) first final centroid balance line AB; (e) second final centroid balance line CD; (f) result of final centroid of the polygon Q.
Ijgi 11 00233 g003
Figure 4. Centroid computing of polygon R: (a) result of the Euclidean distance transformation of Line AB; (b) the result of the Euclidean distance transformation of Line CD; (c) result of the Euclidean distance transformation of Line EF; (d) result of the Euclidean distance transformation of Line GH; (e) final centroids of the polygon R and the polygon without holes but with the same boundary as polygon R.
Figure 4. Centroid computing of polygon R: (a) result of the Euclidean distance transformation of Line AB; (b) the result of the Euclidean distance transformation of Line CD; (c) result of the Euclidean distance transformation of Line EF; (d) result of the Euclidean distance transformation of Line GH; (e) final centroids of the polygon R and the polygon without holes but with the same boundary as polygon R.
Ijgi 11 00233 g004
Figure 5. Centroid computing of polygon S and the corresponding homogeneous polygon with the same boundary as polygon S: (a) raster dataset of polygon S; (b) statistics of the raster grid numbers of polygon A, B, C, D; (c) result of the Euclidean distance transformation of the first candidate centroid balance line; (d) result of the Euclidean distance transformation of the second candidate centroid balance line; (e) comparison of the final centroid of polygon S and the centroid of the corresponding homogeneous polygon.
Figure 5. Centroid computing of polygon S and the corresponding homogeneous polygon with the same boundary as polygon S: (a) raster dataset of polygon S; (b) statistics of the raster grid numbers of polygon A, B, C, D; (c) result of the Euclidean distance transformation of the first candidate centroid balance line; (d) result of the Euclidean distance transformation of the second candidate centroid balance line; (e) comparison of the final centroid of polygon S and the centroid of the corresponding homogeneous polygon.
Ijgi 11 00233 g005
Figure 6. Five different centroid balance lines for the same polygon P: (ae) result of the Euclidean distance transformation of five different centroid balance lines; (f) the overlapping results of the five centroid balance lines.
Figure 6. Five different centroid balance lines for the same polygon P: (ae) result of the Euclidean distance transformation of five different centroid balance lines; (f) the overlapping results of the five centroid balance lines.
Ijgi 11 00233 g006
Figure 7. The selection of the original points.
Figure 7. The selection of the original points.
Ijgi 11 00233 g007
Figure 8. Spatial distribution of population in Beijing.
Figure 8. Spatial distribution of population in Beijing.
Ijgi 11 00233 g008
Figure 9. Comparison of Mean Centroid, Administrative Center, Weighted Centroid, and New Centroid.
Figure 9. Comparison of Mean Centroid, Administrative Center, Weighted Centroid, and New Centroid.
Ijgi 11 00233 g009
Table 1. Comparison of statistics between the distance to NC, AC, and WC from each grid.
Table 1. Comparison of statistics between the distance to NC, AC, and WC from each grid.
NameDistance to NC (km)Distance to AC (km)Distance to WC (km)
MINMAXSUMAVGSTD.EMINMAXSUMAVGSTD.EMINMAXSUMAVGSTD.E
Changping0.2936.589998.7013.857.660.5332.5810343.6414.336.790.5138.0710499.0914.548.27
Chaoyang0.4018.823839.658.813.560.1621.914627.7610.613.980.4718.873825.798.7753.59
Daxing0.1534.3616442.8115.927.760.3734.4517032.9416.497.970.2434.9317533.9816.978.18
Dongcheng0.596.04134.613.131.520.627.42145.103.371.870.455.96134.453.131.52
Fangshan0.2755.0118390.8318.2611.650.4860.1121321.8521.1713.250.3655.5918499.0018.3711.87
Fengtai0.3919.412533.428.804.700.5318.372542.568.834.500.4719.582546.718.844.76
Haidian0.4723.483475.689.505.380.4025.433893.1410.646.250.3323.613497.129.555.44
Huairou0.2476.4631619.4033.4622.150.4280.2633573.2135.5323.760.0378.5032740.1334.6523.02
Mentougou0.2954.026001.5119.6115.050.4354.896299.4020.5815.330.6155.396413.0020.9615.45
Miyun0.2959.8627794.2623.0313.420.2462.7529812.4224.7014.580.0462.7829783.8124.6814.56
Pinggu0.1925.855120.6810.695.570.4326.385159.5510.775.600.2925.895126.3810.705.60
Shijingshan0.447.41238.123.501.590.3310.58325.704.792.640.337.56239.403.521.62
Shunyi0.5626.2412549.8413.055.530.4127.8512944.3113.466.020.3526.8312964.4713.485.89
Tongzhou0.5229.9513207.6414.616.630.3535.5215449.8617.098.240.4731.2913532.1414.976.95
Xicheng0.476.94152.943.001.340.587.34153.463.011.390.647.64154.973.041.45
Yanqing0.3950.9919126.0818.9912.580.4854.2720636.5320.4913.870.0153.2220101.1919.9613.46
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ni, J.; Chen, J.; Wu, Y.; Chen, Z.; Liang, M. Method to Determine the Centroid of Non-Homogeneous Polygons Based on Suspension Theory. ISPRS Int. J. Geo-Inf. 2022, 11, 233. https://doi.org/10.3390/ijgi11040233

AMA Style

Ni J, Chen J, Wu Y, Chen Z, Liang M. Method to Determine the Centroid of Non-Homogeneous Polygons Based on Suspension Theory. ISPRS International Journal of Geo-Information. 2022; 11(4):233. https://doi.org/10.3390/ijgi11040233

Chicago/Turabian Style

Ni, Jianhua, Jie Chen, Yanlan Wu, Zihao Chen, and Ming Liang. 2022. "Method to Determine the Centroid of Non-Homogeneous Polygons Based on Suspension Theory" ISPRS International Journal of Geo-Information 11, no. 4: 233. https://doi.org/10.3390/ijgi11040233

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