Urban and suburban range automatic identification method based on unsupervised machine learning
Through unsupervised machine learning algorithms and Gaussian hybrid model, the urban and suburban areas are automatically identified, which solves the problems of multiple manual interventions and complex workflows in the existing technology, and achieves rapid and efficient urban and suburban identification, providing land space planning Basemap supports.
Patent Information
- Application Number
- CN202411016163.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-07-27
AI Technical Summary
The existing technology has problems such as many manual interventions and complex work processes when identifying urban and suburban areas, making it difficult to quickly and efficiently form a base map for land space planning and urban research and analysis.
Unsupervised machine learning algorithm is used to perform cluster analysis by constructing a building morphological index system and a Gaussian hybrid model, automatically identify urban and suburban areas, reduce manual intervention, and simplify work flow.
It realizes automatic identification of urban and suburban areas, and refines the spatial range of different urban gradient areas, which is highly repeatable and efficient, and quickly processes large-scale data, providing base map reference and technical support for land space planning.
Smart Images

Figure CN118968298A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an automatic identification technology of urban and suburban areas based on unsupervised machine learning. Background Art
[0002] The urbanization gradient theory holds that as the intensity of urbanization changes, the environment will show spatial differences, such as transitioning from natural landscapes to highly urbanized areas. Buildings are the most basic and sophisticated components of the basic elements of urban form. The morphological attributes of buildings, such as density, area, shape, and orientation, can better reflect the characteristics of land use and economic activities. Therefore, by identifying the changes in the morphological characteristics of building space, the intensity of urbanization can be identified, thereby obtaining the spatial scope and corresponding boundaries of areas with different degrees of urbanization.
[0003] The "Regulations for Determining Urban Areas" (TD / T1064-2021) promulgated by the Ministry of Natural Resources in 2021 stipulates the technical standards for delineating urban areas based on national land survey data and high-precision remote sensing data, taking into account the coverage of public service facilities and the administrative scope of neighborhood and village committees, laying a good methodological and technical foundation for subsequent research. On this basis, it is necessary to further explore methods that can reduce manual intervention and simplify the workflow to automatically identify the spatial scope of different urbanization gradients, especially urban and suburban areas. Summary of the invention
[0004] In view of the shortcomings of the existing technology, the present invention proposes a technical method for automatically identifying the boundary lines of urban and suburban areas using an unsupervised machine learning algorithm. This method emphasizes the construction of a framework based on the architectural form indicator system and a machine learning algorithm to automatically identify the urban and suburban areas in a large-scale spatial range, with less manual intervention, which is conducive to the rapid and efficient formation of a base map for national space planning and related urban research and analysis, and provides technical support for digital space governance.
[0005] The technical solution of the present invention is as follows:
[0006] A method for automatically identifying urban and suburban areas based on unsupervised machine learning, characterized in that it includes the following steps:
[0007] Step (1): Obtain building outline data within the study area, totaling J spatial units, and calculate the total building area intersecting within a circle with a radius of k meters and the center of each spatial unit j as the center point. Average building perimeter Building orientation angle entropy Building shape index average Average building compactness index and number of buildings Six architectural features form a multidimensional matrix x j ;
[0008] Step (2): The multidimensional matrix x of architectural form characteristics of all spatial units obtained in step (1) j Gaussian mixture model (GMM) cluster analysis was performed;
[0009] Step (3): The mixing coefficient calculated in step (2) Mean vector And the covariance matrix ∑m cluster , calculate the corresponding Bayesian Information Criterion
[0010] Step (4): The number of clusters m calculated according to step (3) cluster Corresponding The number of clusters corresponding to the minimum BIC value is obtained by comparison as the optimal number of clusters m opt ;
[0011] Step (5): The optimal number of clusters m obtained in step (4) opt , we get the probability density function p(x j );
[0012] Step (6): According to the clustering probability p(x j ), classify each spatial unit j into the type m with the highest probability opt * ;
[0013] Step (7): Clustering results of each spatial unit j obtained in step (6) Summarize and count the total building area of all space units and in the type The average Sort from large to small, get the order i, and calculate the adjacent data after sorting and The rate of change of △d i ;
[0014] Step (8): Based on the change rate △d obtained in step (7) i , for △d i Sort from small to large to get the largest two △d i The corresponding cluster types are the ranges of urban and suburban areas respectively.
[0015] A method for automatically identifying urban and suburban areas based on unsupervised machine learning, comprising the following steps:
[0016] Step (1): Obtain building outline data within the study area, totaling J spatial units, and calculate the total building area intersecting within a circle with a radius of k meters and the center of each spatial unit j as the center point. Average building perimeter Building orientation angle entropy Building shape index average Average building compactness index and number of buildings Six architectural features form a multidimensional matrix x j , the specific formula is as follows:
[0017]
[0018] In formula 1 is the total building area of space unit j, is the jth building The area of the building.
[0019]
[0020] In formula 2 is the average building perimeter of space unit j, is the jth building The perimeter of the building.
[0021]
[0022] In formula 3 is the building orientation angle entropy value of spatial unit j, p k is the probability distribution of the building orientation angle k.
[0023]
[0024] In formula 4 is the average value of the building shape index of spatial unit j, To include building j building The minimum circumscribed circle area of the outline polygon.
[0025]
[0026] In formula 5 is the average building compactness index of space unit j in the year, For building building Building j inside the minimum circumscribed circle of the outline polygon building circumference.
[0027]
[0028] In formula 6, xj A multidimensional matrix containing 6 architectural morphological characteristics for each spatial unit j.
[0029] Step (2): The multidimensional matrix x of architectural form characteristics of all spatial units obtained in step (1) j Perform Gaussian mixture model (GMM) cluster analysis, the number of clusters m cluster The value is 1, 2, ..., m, and the mixing coefficient corresponding to different clustering numbers is obtained. Mean vector And the covariance matrix ∑m cluster , the formula is as follows:
[0030]
[0031] In formula 7 For space unit j belongs to m cluster The posterior probability of the class, So is the mean, ∑m cluster is the covariance matrix of the multivariate normal distribution.
[0032]
[0033] In formula 8 It is the mth cluster The mixing coefficient of clusters satisfies and is an indicator variable. If space unit j belongs to m cluster It is 1 if the class is true, otherwise it is 0.
[0034]
[0035] In formula 9 is the mean vector.
[0036]
[0037] ∑m in Equation 10 cluster is the covariance matrix for each cluster, For vector The co-squared matrix is obtained by multiplying and its transpose.
[0038] Step (3): The mixing coefficient calculated in step (2) Mean vector And the covariance matrix ∑m cluster , calculate the corresponding Bayesian Information Criterion The formula is as follows:
[0039]
[0040] In formula 11 The number of clusters is m cluster The corresponding maximum likelihood value.
[0041]
[0042] In formula 12, The number of clusters is m cluster The corresponding Bayesian Information Criterion (BIC) is
[0043] Step (4): The number of clusters m calculated according to step (3) cluster Corresponding The number of clusters corresponding to the minimum BIC value is obtained by comparison as the optimal number of clusters m opt , the formula is as follows:
[0044]
[0045] In formula 13, m opt is the optimal number of clusters, To obtain the minimum algorithm.
[0046] Step (5): The optimal number of clusters m obtained in step (4) opt , calculate M respectively opt =1,2,3,……,m opt The corresponding clustering probability density function of the Gaussian mixture model is obtained by the probability density function p(x j ), the formula is as follows:
[0047]
[0048] In formula 14, p(x j ) is the number of clusters m opt The probability density function of the Gaussian mixture model is .
[0049] Step (6): According to the clustering probability p(x j ), classify each spatial unit j into the type m with the highest probability opt * The formula is as follows:
[0050]
[0051]
[0052] In formula 15, p(M opt |x j ) is M opt =1,2,3,……,m opt The corresponding probability density is, So is the mean, ∑M opt ,m opt is the covariance matrix of the multivariate normal distribution.
[0053] Step (7): Clustering results of each spatial unit j obtained in step (6) Summarize and count different m opt *=1,2,3,……,m opt The sum of the floor areas of all space units in the type get For 1, 2, 3, ..., m respectively opt Type The average Sort from large to small, get the order i, and calculate the adjacent data after sorting and The rate of change of △d i The formula is as follows:
[0054]
[0055] Step (8): Based on the change rate △d obtained in step (7) i , for △d i Sort from small to large to get the largest two △d i The corresponding cluster types are the ranges of urban areas and suburban areas. The formula is as follows:
[0056] i max1 =max{argmax i (△d i )}#Formula 18
[0057]
[0058] In formula 18, i max1 is △d i The i value corresponding to the maximum value is the urban area. max2 is △d i The i value corresponding to the second largest value is the suburban area.
[0059] The present invention combines high-precision remote sensing data and unsupervised machine learning technology to automatically calculate the morphological spatial characteristics of buildings and finely identify the scope of areas with different degrees of urbanization, providing a powerful tool for urban planning and management. The specific beneficial effects are:
[0060] (1) By adopting unsupervised machine learning algorithms, human intervention is reduced, the workflow is simplified, and automatic identification of urban and suburban areas is achieved;
[0061] (2) Through the cluster analysis algorithm, the spatial scope of different urbanization gradient areas can be finely identified, including but not limited to central urban areas, old urban areas, suburban areas, remote suburbs and rural areas, and the technical method is highly scalable.
[0062] (3) The method of the present invention is highly repeatable and efficient, can quickly process large-scale data, and realize efficient identification of urban and suburban areas. It provides a base map reference and technical support for the construction of a "land and space planning map" under the background of national land and space planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 : The technical roadmap of the present invention.
[0064] Figure 2 : Characteristics of six building forms in Shanghai in 2016.
[0065] Figure 3 :Seven urban form types in Shanghai in 2016.
[0066] Figure 4 :Schematic diagram of Shanghai’s urban and suburban areas in 2016. DETAILED DESCRIPTION
[0067] The technical solution provided by the present application will be further described below in conjunction with specific embodiments and accompanying drawings. The advantages and features of the present application will become more apparent with the following description.
[0068] The invention relates to an automatic identification method for urban and suburban areas based on unsupervised machine learning.
[0069] The case was selected from Shanghai.
[0070] Figure 2 : Characteristics of 6 types of buildings in Shanghai in 2016
[0071] Figure 3 : 7 types of urban forms in Shanghai in 2016
[0072] Figure 1 The steps of the embodiment method are as follows:
[0073] A method for automatically identifying urban and suburban areas based on unsupervised machine learning, comprising the following steps:
[0074] Step (1): Obtain the building outline data for the study area in 2016, totaling 3,430,994,784 (J) spatial units, and calculate the total building area that intersects within a circle with a radius of 250 meters and the center of each spatial unit j. Average building perimeter Building orientation angle entropy Building shape index average Average building compactness index and number of buildings Six architectural features form a multidimensional matrix x j , see attached Figure 2 The specific formula is as follows:
[0075]
[0076] In formula 1 is the total building area of space unit j, is the jth building The area of the building.
[0077]
[0078] In formula 2 is the average building perimeter of space unit j, is the jth building The perimeter of the building.
[0079]
[0080] In formula 3 is the building orientation angle entropy value of spatial unit j, p k is the probability distribution of the building orientation angle k.
[0081]
[0082] In formula 4 is the average value of the building shape index of spatial unit j, To include building j building The minimum circumscribed circle area of the outline polygon.
[0083]
[0084] In formula 5 is the average building compactness index of space unit j in the year, For building building Building j within the minimum circumscribed circle of the outline polygon building circumference.
[0085]
[0086] In formula 6, x j A multidimensional matrix containing 6 architectural morphological characteristics for each spatial unit j.
[0087] Step (2): The multidimensional matrix x of architectural form characteristics of all spatial units obtained in step (1)j Perform Gaussian mixture model (GMM) cluster analysis, the number of clusters m cluster The value is 1, 2, ..., 20, and the mixing coefficient corresponding to different clustering numbers is obtained. Mean vector And the covariance matrix ∑m cluster , the formula is as follows:
[0088]
[0089] In formula 7 For space unit j belongs to m cluster The posterior probability of the class, So is the mean, ∑m cluster is the covariance matrix of the multivariate normal distribution.
[0090]
[0091] In formula 8 It is the mth cluster The mixing coefficient of clusters satisfies and is an indicator variable. If space unit j belongs to m cluster It is 1 if the class is true, otherwise it is 0.
[0092]
[0093] In formula 9 is the mean vector.
[0094]
[0095] ∑m in Equation 10 cluster is the covariance matrix for each cluster, For vector The co-squared matrix is obtained by multiplying and its transpose.
[0096] Step (3): The mixing coefficient calculated in step (2) Mean vector And the covariance matrix ∑m cluster , calculate the corresponding Bayesian Information Criterion The formula is as follows:
[0097]
[0098] In formula 11 The number of clusters is m cluster The corresponding maximum likelihood value.
[0099]
[0100] In formula 12, The number of clusters is m cluster The corresponding Bayesian Information Criterion (BIC) is
[0101] Step (4): The number of clusters m calculated according to step (3) cluster Corresponding The number of clusters corresponding to the minimum BIC value is obtained by comparison as the optimal number of clusters 7 (m opt ), the formula is as follows:
[0102]
[0103] In formula 13, m opt is the optimal number of clusters, To obtain the minimum algorithm.
[0104] Step (5): According to the optimal number of clusters 7 obtained in step (4), calculate M opt =1,2,3,……,7(m opt )The clustering probability density function of the Gaussian mixture model corresponding to the clustering probability density function of the Gaussian mixture model is obtained, and the probability density function p(x j ), the formula is as follows:
[0105]
[0106] In formula 14, p(x j ) is the number of clusters m opt The probability density function of the Gaussian mixture model is .
[0107] Step (6): According to the clustering probability p(x j ), classify each spatial unit j into the type m with the highest probability opt *, see attached Figure 3 The formula is as follows:
[0108]
[0109]
[0110] In formula 15, p(M opt |x j ) is M opt =1,2,3,……,7(m opt ) corresponding to the probability density, So is the mean, ∑M opt ,m opt is the covariance matrix of the multivariate normal distribution.
[0111] Step (7): Clustering results of each spatial unit j obtained in step (6) Summarize and count different m opt *=1,2,3,……,7(m opt ) type of total floor area of all space units get For 1, 2, 3, ..., m respectively opt Type The average Sort from large to small, get the order i, and calculate the adjacent data after sorting and The rate of change of △d i The formula is as follows:
[0112]
[0113] Step (8): Based on the change rate △d obtained in step (7) i , for △d i Sort from small to large to get the largest two △d i The corresponding cluster types are as follows: urban area and suburban area, respectively. Figure 4 The formula is as follows:
[0114] i max1 =max{argmax i (△d i )}#Formula 18
[0115]
[0116] In formula 18, i max1 is △d i The i value corresponding to the maximum value is the urban area. max2 is △d i The i value corresponding to the second largest value is the suburban area.
[0117] The above technical solution uses building outline data to automatically calculate building morphological features, obtains key indicators that can reflect the degree of urbanization through feature extraction, and automatically identifies the spatial scope of urban and suburban areas using unsupervised machine learning algorithms. This method can reduce manual intervention, simplify the workflow of urban and suburban boundary demarcation, and can finely identify the spatial scope of areas with different degrees of urbanization. The method is highly repeatable and efficient, can quickly process large-scale data, and achieve efficient identification of urban and suburban areas. It provides base map reference and technical support for the construction of "one map of national land space planning" under the background of national land space planning.
Claims
1. A method for automatically identifying urban and suburban areas based on unsupervised machine learning, characterized in that: The following steps are involved: Step (1): Obtain building outline data within the study area, totaling J spatial units, and calculate the total building area intersecting within a circle with a radius of k meters and the center of each spatial unit j as the center point. Average building perimeter Building orientation angle entropy Building shape index average Average building compactness index and number of buildings Six architectural features form a multidimensional matrix x j ; Step (2): The multidimensional matrix x of architectural form characteristics of all spatial units obtained in step (1) j Gaussian mixture model (GMM) cluster analysis was performed; Step (3): The mixing coefficient calculated in step (2) Mean vector And the covariance matrix ∑m cluster , calculate the corresponding Bayesian Information Criterion Step (4): The number of clusters m calculated according to step (3) cluster Corresponding The number of clusters corresponding to the minimum BIC value is obtained by comparison as the optimal number of clusters m opt ; Step (5): The optimal number of clusters m obtained in step (4) opt , we get the probability density function p(x j ); Step (6): According to the clustering probability p(x j ), classify each spatial unit j into the type m with the highest probability opt * ; Step (7): Clustering results of each spatial unit j obtained in step (6) Summarize and count the total building area of all space units and in the type The average Sort from large to small, get the order i, and calculate the adjacent data after sorting and The rate of change of △d i ; Step (8): Based on the change rate △d obtained in step (7) i , for △d i Sort from small to large to get the largest two △d i The corresponding cluster types are the ranges of urban and suburban areas respectively.
2. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 1, characterized in that: In step (1), the six architectural features form a multidimensional matrix x j , specifically: The individual formulas are as follows: In formula 1 is the total building area of space unit j, is the jth building The area of the building; In formula 2 is the average building perimeter of space unit j, is the jth building The perimeter of the building; In formula 3 is the building orientation angle entropy value of spatial unit j, p k is the probability distribution of the building orientation angle k; In formula 4 is the average value of the building shape index of spatial unit j, To include building j building The minimum circumscribed circle area of the contour polygon; In formula 5 is the average building compactness index of space unit j in the year, For building building Building j inside the minimum circumscribed circle of the outline polygon building circumference; In formula 6, x j A multidimensional matrix containing 6 architectural morphological characteristics for each spatial unit j.
3. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 1, characterized in that: Step (2): The multidimensional matrix x of architectural form characteristics of all spatial units obtained in step (1) j Perform Gaussian mixture model (GMM) cluster analysis, the number of clusters m cluster The value is 1, 2, ..., m, and the mixing coefficient corresponding to different clustering numbers is obtained. Mean vector And the covariance matrix ∑m cluster , the formula is as follows: In formula 7 For space unit j belongs to m cluster The posterior probability of the class, So is the mean, ∑m cluster is the covariance matrix of the multivariate normal distribution; In formula 8 It is the mth cluster The mixing coefficient of clusters satisfies and is an indicator variable. If space unit j belongs to m cluster If the class is true, it is 1, otherwise it is 0; In formula 9 is the mean vector; ∑m in Equation 10 cluster is the covariance matrix for each cluster, For vector The cosquare matrix is obtained by multiplying and its transpose.
4. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (3): The mixing coefficient calculated in step (2) Mean vector And the covariance matrix ∑m cluster , calculate the corresponding Bayesian Information Criterion The formula is as follows: In formula 11 The number of clusters is m cluster The maximum likelihood value corresponding to ; In formula 12, The number of clusters is m cluster The corresponding Bayesian Information Criterion (BIC) is 5. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (4): The number of clusters m calculated according to step (3) cluster Corresponding The number of clusters corresponding to the minimum BIC value is obtained by comparison as the optimal number of clusters m opt , the formula is as follows: In formula 13, m opt is the optimal number of clusters, To obtain the minimum algorithm.
6. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (5): The optimal number of clusters m obtained in step (4) opt , calculate M respectively opt =1,2,3,……,m opt The corresponding clustering probability density function of the Gaussian mixture model is obtained by the probability density function p(x j ), the formula is as follows: In formula 14, p(x j ) is the number of clusters m opt The probability density function of the Gaussian mixture model is .
7. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (6): According to the clustering probability p(x j ), classify each spatial unit j into the type m with the highest probability opt * ; The formula is as follows: In formula 15, p(M opt |x j ) is M opt =1,2,3,……,m opt The corresponding probability density is, So is the mean, ∑M opt ,m opt is the covariance matrix of the multivariate normal distribution.
8. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (7): Clustering results of each spatial unit j obtained in step (6) Summarize and count different m opt * =1,2,3,……,m opt The sum of the floor areas of all space units in the type get For 1, 2, 3, ..., m respectively opt Type The average Sort from large to small, get the order i, and calculate the adjacent data after sorting and The rate of change of △d i ; The formula is as follows:
9. The method for automatically identifying urban and suburban areas based on unsupervised machine learning as claimed in claim 2, characterized in that: Step (8): Based on the change rate △d obtained in step (7) i , for △d i Sort from small to large to get the largest two △d i The corresponding cluster types are the ranges of urban areas and suburban areas respectively; the formula is as follows: i max1 =max{arg max i (△d i )}#Official18 In formula 18, i max1 is △d i The i value corresponding to the maximum value is the urban area. The i in formula 19 is max2 is △d i The i value corresponding to the second largest value is the suburban area.
Citation Information
Patent Citations
Method and system for automatically partitioning urban spatial form
CN109492796A
Urban landscape quantitative analysis method
CN111291954A
High-precision dynamic identification method for urban marginal area spatial range
CN116645012A
Remote sensing image recognition method based on large-scale pre-training neural network
CN117671517A
Automatic urban land identification system integrating business big data with building form
US20210217117A1
Cited By
Measurement method for high-density three-dimensional composite urban form characteristics, and computing apparatus and storage medium
WO2026113071A1
