Pattern Recognition and Segmentation of Administrative Boundaries Using a One-Dimensional Convolutional Neural Network and Grid Shape Context Descriptor
Abstract
:1. Introduction
2. Experimental Datasets and Shape Patterns
2.1. Experimental Datasets
2.2. Administrative Boundary Shape Pattern Types
3. Methodology
- Lixel generation and labeling: Each administrative boundary was converted into a series of lixels via equidistant subdivision; the pattern type of each lixel was labeled;
- Feature extraction for lixels: Automatic extraction of the contextual features for each lixel, using GSCD;
- Lixel classification using 1D-U-Net: Construction of a 1D-U-Net to classify the pattern type of each lixel based on the extracted features;
- Segmentation: Obtaining the segmentation results by fusing adjacent lixels with the same pattern type.
3.1. Lixel Generation and Labeling
3.2. Extracting Lixel Features Using GSCD
- A regular grid centered on the midpoint of the lixel was created. The grid contained p × p cells and the cell edges were always horizontal and vertical. The length of the cell edges was set to the fixed length of the lixels.
- The length of the boundary located in each cell was counted and normalized by dividing the total length of the boundary within all cells.
- The normalized values of all cells were arranged from left to right and from bottom to top into a feature vector that was used to describe the contextual features of the lixel.
3.3. Classifying Lixels Using a 1D-U-Net
3.3.1. One-Dimensional Convolution and Pooling Operations
3.3.2. One-Dimensional Upsampling Operation and Skip Connection
3.3.3. Definition of Loss Function
3.4. Obtaining Segmentation Results
- The segmentation results of the administrative boundary were traversed and the segment with the smallest length was identified;
- If the length of was smaller than the predefined threshold , was merged with its neighbor with a longer length;
- Steps (1) and (2) were repeated until there were no segments smaller than .
4. Experiments
4.1. Experimental Design
4.1.1. Sample Dataset Generation
4.1.2. Parameter Settings
4.2. Lixel Classification Performance Using 1D-U-Net
4.3. Segmentation Result Evaluation
4.3.1. Qualitative Evaluation
4.3.2. Quantitative Evaluation
4.4. Discussion
5. Conclusions and Outlook
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Buttenfield, B.P. A Rule for Describing Line Feature Geometry; Longman: London, UK; Wiley: New York, NY, USA, 1991; pp. 150–171. [Google Scholar]
- Dutton, G. Scale, sinuosity, and point selection in digital line generalization. Cartogr. Geogr. Inf. Sci. 1999, 26, 33–54. [Google Scholar] [CrossRef]
- Visvalingam, M.; Williamson, P.J. Simplification and generalization of large scale data for roads: A comparison of two filtering algorithms. Cartogr. Geogr. Inf. Syst. 1995, 22, 264–275. [Google Scholar] [CrossRef]
- Plazanet, C. Modelling geometry for linear feature generalization. In Geographic Information Research: Bridging the Atlantic; Craglia, M., Coucleis, H., Eds.; Taylor & Francis: London, UK, 1997; pp. 264–279. [Google Scholar]
- Ai, T.; Ke, S.; Yang, M.; Li, J. Envelope generation and simplification of polylines using Delaunay triangulation. Int. J. Geogr. Inf. Sci. 2017, 31, 297–319. [Google Scholar] [CrossRef]
- Samsonov, T.; Yakimova, O. Regression modeling of reduction in spatial accuracy and detail for multiple geometric line simplification procedures. Int. J. Cartogr. 2020, 6, 47–70. [Google Scholar] [CrossRef]
- Du, J.; Wu, F.; Xing, R.; Gong, X.; Yu, L. Segmentation and sampling method for complex polyline generalization based on a generative adversarial network. Geocarto Int. 2021, 37, 4158–4180. [Google Scholar] [CrossRef]
- Wang, Z.; Müller, J.C. Line generalization based on analysis of shape characteristics. Cartogr. Geogr. Inf. Sci. 1998, 25, 3–15. [Google Scholar] [CrossRef]
- Wang, Z.; Lee, D. Building simplification based on pattern recognition and shape analysis. In Proceedings of the 9th International Symposium on Spatial Data Handling, Beijing, China, 10–12 August 2000; pp. 58–72. [Google Scholar]
- García Balboa, J.L.; Ariza López, F.J. Sinuosity pattern recognition of road features for segmentation purposes in cartographic generalization. Pattern Recognit. 2009, 42, 2150–2159. [Google Scholar] [CrossRef]
- Park, W.; Yu, K. Hybrid line simplification for cartographic generalization. Pattern Recognit. Lett. 2011, 32, 1267–1273. [Google Scholar] [CrossRef]
- Samsonov, T.E.; Yakimova, O.P. Shape-adaptive geometric simplification of heterogeneous line datasets. Int. J. Geogr. Inf. Sci. 2017, 31, 1485–1520. [Google Scholar] [CrossRef]
- Wei, Z.; Liu, Y.; Cheng, L.; Ding, S. A progressive and combined building simplification approach with local structure classification and backtracking strategy. ISPRS Int. J. Geo-Inf. 2021, 10, 302. [Google Scholar] [CrossRef]
- Yang, M.; Yuan, T.; Yan, X.; Ai, T.; Jiang, C. A hybrid approach to building simplification with an evaluator from a backpropagation neural network. Int. J. Geogr. Inf. Sci. 2022, 36, 280–309. [Google Scholar] [CrossRef]
- Mustiere, S. Cartographic generalization of roads in a local and adaptive approach: A knowledge acquistion problem. Int. J. Geogr. Inf. Sci. 2005, 19, 937–955. [Google Scholar] [CrossRef]
- García Balboa, J.L.; Ariza López, F.J. Generalization-oriented road line classification by means of an artificial neural network. GeoInformatica 2008, 12, 289–312. [Google Scholar] [CrossRef]
- Ariza López, F.J.; García Balboa, J.L. Generalization-oriented road line segmentation by means of an artificial neural network applied over a moving window. Pattern Recognit. 2008, 41, 1593–1609. [Google Scholar] [CrossRef]
- Liu, P.; Yang, Q. Coastline segment model research for map generalization based on Bayesian method. Comput. Eng. Appl. 2016, 52, 174–179. [Google Scholar] [CrossRef]
- Plazanet, C.; Affholder, J.G.; Fritsch, E. The importance of geometric modeling in linear feature generalization. Cartogr. Geogr. Inf. Syst. 1995, 22, 291–305. [Google Scholar] [CrossRef]
- Douglas, D.H.; Peucker, T.K. Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Cartogr. Int. J. Geogr. Inf. Geovis. 1973, 10, 112–122. [Google Scholar] [CrossRef]
- Minaee, S.; Boykov, Y.Y.; Porikli, F.; Plaza, A.J.; Kehtarnavaz, N.; Terzopoulos, D. Image segmentation using deep learning: A survey. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 3523–3542. [Google Scholar] [CrossRef] [PubMed]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention (MICCAI), Cham, Germany, 5–9 October 2015; pp. 234–241. [Google Scholar]
- Yan, X.; Ai, T.; Yang, M.; Yin, H. A graph convolutional neural network for classification of building patterns using spatial vector data. ISPRS J. Photogramm. Remote Sens. 2019, 150, 259–273. [Google Scholar] [CrossRef]
- Yang, M.; Jiang, C.; Yan, X.; Ai, T.; Cao, M.; Chen, W. Detecting interchanges in road networks using a graph convolutional network approach. Int. J. Geogr. Inf. Sci. 2022, 36, 1119–1139. [Google Scholar] [CrossRef]
- Yu, H.; Ai, T.; Yang, M.; Huang, L.; Yuan, J. A recognition method for drainage patterns using a graph convolutional network. Int. J. Appl. Earth Obs. Geoinf. 2022, 107, 102696. [Google Scholar] [CrossRef]
- Yan, X.; Ai, T.; Yang, M.; Tong, X. Graph convolutional autoencoder model for the shape coding and cognition of buildings in maps. Int. J. Geogr. Inf. Sci. 2021, 35, 490–512. [Google Scholar] [CrossRef]
- Liu, C.; Hu, Y.; Li, Z.; Xu, J.; Han, Z.; Guo, J. TriangleConv: A deep point convolutional network for recognizing building shapes in map space. ISPRS Int. J. Geo-Inf. 2021, 10, 687. [Google Scholar] [CrossRef]
- Feng, Y.; Thiemann, F.; Sester, M. Learning cartographic building generalization with deep convolutional neural networks. ISPRS Int. J. Geo-Inf. 2019, 8, 258. [Google Scholar] [CrossRef]
- Courtial, A.; El Ayedi, A.; Touya, G.; Zhang, X. Exploring the potential of deep learning segmentation for mountain roads generalisation. ISPRS Int. J. Geo-Inf. 2020, 9, 338. [Google Scholar] [CrossRef]
- He, Y.; Ai, T.; Yu, W.; Zhang, X. A linear tessellation model to identify spatial pattern in urban street networks. Int. J. Geogr. Inf. Sci. 2017, 31, 1541–1561. [Google Scholar] [CrossRef]
- Kim, Y. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, 25–29 October 2014; pp. 1746–1751. [Google Scholar] [CrossRef]
- Fan, H.; Zhao, Z.; Li, W. Towards measuring shape similarity of polygons based on multiscale features and grid context descriptors. ISPRS Int. J. Geo-Inf. 2021, 10, 279. [Google Scholar] [CrossRef]
- Li, Z.; Openshaw, S. Algorithms for automated line generalization based on a natural principle of objective generalization. Int. J. Geogr. Inf. Sci. 1992, 6, 373–389. [Google Scholar] [CrossRef]
- Karsznia, I.; Gołębiowska, I.M.; Korycka-Skorupa, J.; Nowacki, T. Searching for an optimal hexagonal shaped enumeration unit size for effective spatial pattern recognition in choropleth maps. ISPRS Int. J. Geo-Inf. 2021, 10, 576. [Google Scholar] [CrossRef]
Pattern Type | Example | Smoothness | Regularity | Schematism |
---|---|---|---|---|
Smooth irregular schematic (SIS) | Smooth (gradually changing tangent directions) | Irregular (no repetitive characteristics) | Schematic (simple shape) | |
Sharp regular schematic (SRS) | Sharp (angles with large deviations) | Regular (repetitive right angles) | Schematic (simple shape) | |
Sharp irregular non-schematic (SIN) | Sharp (angles with large deviations) | Irregular (no repetitive characteristics) | Non-schematic (complex hierarchical bends with various sizes) |
Automatically Predicted | SIS Pattern | SRS Pattern | SIN Pattern | Precision (%) | Recall (%) | ||
---|---|---|---|---|---|---|---|
Manually Labeled | |||||||
SIS pattern | 11,642 | 1277 | 184 | 90.76 | 88.85 | 0.90 | |
SRS pattern | 1083 | 9851 | 157 | 86.92 | 88.82 | 0.88 | |
SIN pattern | 102 | 206 | 6923 | 95.31 | 95.74 | 0.96 |
Method | CR (%) | OCR (%) | ||
---|---|---|---|---|
SIS Pattern | SRS Pattern | SIN Pattern | ||
BANN | 91.59 | 50.28 | 98.51 | 78.61 |
NB | 83.51 | 54.26 | 97.87 | 76.50 |
1D-U-Net | 91.23 | 90.54 | 97.40 | 92.41 |
Length of Cell Edge (m) | Grid Size (Lixel × Lixel) | Classification Accuracy (%) |
---|---|---|
25 | 3 × 3 | 89.17 |
4 × 4 | 89.58 | |
5 × 5 | 90.42 | |
6 × 6 | 89.68 | |
7 × 7 | 88.53 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, M.; Huang, H.; Zhang, Y.; Yan, X. Pattern Recognition and Segmentation of Administrative Boundaries Using a One-Dimensional Convolutional Neural Network and Grid Shape Context Descriptor. ISPRS Int. J. Geo-Inf. 2022, 11, 461. https://doi.org/10.3390/ijgi11090461
Yang M, Huang H, Zhang Y, Yan X. Pattern Recognition and Segmentation of Administrative Boundaries Using a One-Dimensional Convolutional Neural Network and Grid Shape Context Descriptor. ISPRS International Journal of Geo-Information. 2022; 11(9):461. https://doi.org/10.3390/ijgi11090461
Chicago/Turabian StyleYang, Min, Haoran Huang, Yiqi Zhang, and Xiongfeng Yan. 2022. "Pattern Recognition and Segmentation of Administrative Boundaries Using a One-Dimensional Convolutional Neural Network and Grid Shape Context Descriptor" ISPRS International Journal of Geo-Information 11, no. 9: 461. https://doi.org/10.3390/ijgi11090461