Urban functional area identification method based on remote sensing-crowd-source semantic deep clustering
Through the remote sensing-crowd source semantic deep clustering method, combined with the deep embedding network and Word2Vec model, the urban functional area map is generated, which solves the problem of insufficient accuracy and granularity of urban functional area identification in traditional methods, and achieves high-precision urban functional area identification. .
Patent Information
- Application Number
- CN202311409376.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-10-27
AI Technical Summary
Existing urban functional area identification methods are difficult to accurately characterize the spatial pattern of urban functions, especially in the distinction of mixed commercial, industrial and residential functional areas, and traditional methods rely on a single data source or physical characteristics, resulting in uncertainty and information in the results. redundancy.
A method based on remote sensing and crowd-source semantic deep clustering is used, combined with high-resolution remote sensing images and crowd-source geographical information, to construct a building functional semantic feature system, using deep embedding networks to perform spatial clustering of buildings, and through Word2Vec and random forests. The model generates urban functional area maps, breaking through the scale limitations of traditional identification units.
It significantly improves the classification accuracy and granularity of urban functional areas, achieves flexible and accurate identification of urban functional areas, overcomes the shortcomings of spatial aggregation features and semantic feature mining in traditional methods, and improves the recognition accuracy by 5%.
Smart Images

Figure CN117274650B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of geographic information spatiotemporal big data, and in particular to an urban functional area identification method based on remote sensing-crowd source semantic deep clustering. Background Art
[0002] How to build a sustainable urban development model has become a global focus. Accurately understanding urban functional zoning provides an important basis for research in areas such as resource optimization, ecological environmental protection, and public facilities services. However, as the urban development model gradually shifts from rough external expansion to internal land renewal, urban functions continue to iterate, and the spatial pattern becomes more fragmented and complex. Therefore, intelligent identification of urban functional areas is crucial to promoting sustainable urban development.
[0003] The concept of urban functional areas can be traced back to the 1930s. The Athens Charter defined various functional areas such as residence, work and entertainment established to meet the needs of urban residents. Remote sensing earth observation technology is widely used to capture urban landscapes. The spectrum, texture and other physical characteristics of remote sensing images can be used to distinguish urban construction areas to a large extent. In particular, with the emergence of high-resolution remote sensing images, researchers began to classify urban areas based on objects, which greatly enriched urban land use information. However, remote sensing images can only obtain the physical characteristics of objects and are difficult to reflect their socio-economic attributes, which is greatly limited in the identification of urban functional areas. To this end, research began to use multi-source geographic information, which contains a large amount of socio-economic semantic information, to identify urban functions. Related studies usually use multi-source geographic information that can reflect land use attributes, and use blocks, regular grids and single buildings as basic units to identify and divide urban functions. Blocks divide cities into irregular geometric shapes based on road networks, but it is difficult to further distinguish between different functions such as commercial, industrial and residential areas; regular grids can match remote sensing image features well, but it is difficult to match the irregularity of most urban construction; urban function identification based on single buildings is more refined, but since contiguous buildings usually have similar functions, such as residential areas and industrial parks, using single buildings as identification units will not only lead to excessive computational costs, but also cause unnecessary information redundancy. It can be seen that the current mainstream urban function area division unit method cannot accurately depict the spatial pattern of urban functions. It is urgent to deeply combine remote sensing physical characteristics with multi-source semantic characteristics to explore more flexible and optimized urban function area identification units.
[0004] Identification methods also play an important role in the identification of urban functional areas. Common identification methods for urban functional areas mainly include statistical methods, unsupervised classification, and supervised classification. The statistical method is the most direct. It spatially associates multi-source geographic information (such as points of interest) with identification units by calculating data density to determine the functional type. However, when a single data source is used, the spatial imbalance of the quantity distribution will increase the uncertainty of the results. For unsupervised classification, it mainly extracts spatiotemporal features related to urban functions from remote sensing images and geospatial data, and then spatially clusters functional area units using methods such as K-means and latent Dirichlet allocation. For supervised classification, it is usually assisted by machine learning, such as random forests, support vector machines, neural networks, and ensemble learning methods, to establish the relationship between a series of features and predefined functional categories. Although supervised classification can predefine functional categories, the spatial aggregation characteristics of urban functional areas are not considered when training the model. To this end, it is necessary to combine the spatial clustering advantages of unsupervised methods and the semantic feature mining advantages of supervised methods to improve the intelligence level of urban functional area identification. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method for identifying urban functional areas based on remote sensing-multi-source semantic deep clustering to meet the demand for high-precision classification of urban functional areas.
[0006] The present invention solves the technical problem by adopting the following technical solutions:
[0007] The method of the present invention combines high-resolution remote sensing images and multi-source geographic information, constructs a functional semantic feature system of buildings from six dimensions of geometry, compactness, position, spectrum, texture and brightness, introduces a deep embedding network clustering method to perform spatial clustering of buildings, and uses fine-grained regular grids to convert discrete building clusters into continuous surface elements, divides the identification units of urban functional areas, and uses Word2Vec and random forest models to generate an urban functional area map.
[0008] The method for identifying urban functional areas based on remote sensing-multi-source semantic deep clustering provided by the present invention is specifically as follows: first, a functional semantic feature system of buildings is established, that is, a feature system of six dimensions of geometry, compactness, position, spectrum, texture and brightness is extracted by using remote sensing images and multi-source geographic information data such as high-resolution remote sensing images, night light data, building footprints and road networks. Then, a building clustering method based on a deep embedding network is constructed, and a low-dimensional feature expression of the functional semantics of buildings is generated by an autoencoder module, and the clustering clusters of buildings are optimized by a deep neural network DNN module; then, through four steps consisting of generating grids, class association, grid fusion and post-processing, the building clusters are converted into irregular surface elements, and the identification units of urban functional areas are divided; finally, the points of interest and the Word2Vec model are used to perform functional identification on the divided units to generate an urban functional area map.
[0009] In the above method, the following method can be used to extract the functional semantic features of buildings from six dimensions: geometry, compactness, location, spectrum, texture and brightness: 7 geometric features are calculated from different angles such as the area and shape of the building; 4 compactness features are extracted by quantifying the spatial distribution structure of the building; the road network is analyzed by neighbors, the distance between each building and the nearest road is calculated, and 1 location feature is obtained; the high-resolution remote sensing image is used to calculate the 6 spectral features of the building based on the grayscale values of the red, green and blue bands; the grayscale co-occurrence matrix of the first principal component band of the remote sensing image is further constructed to extract the mean and standard deviation of the texture information in each building to obtain 16 texture features; the night light data is subjected to radiation correction processing, the mean and sum of the night light brightness of each building is calculated, and 2 brightness features are obtained. Finally, a 36-dimensional building semantic feature system is formed.
[0010] In the above method, the minimum spanning tree algorithm can be used to extract the compactness characteristics of each building unit. The process mainly includes:
[0011] (1) Use the nearest neighbor analysis method to extract each building and its 18-20 nearest buildings.
[0012] (2) The building outline is interpolated and encrypted at intervals of 5-15 meters, and the encrypted building nodes are extracted to construct an irregular triangulated network.
[0013] (3) Determine the adjacency relationship of buildings based on the irregular triangulated network. If two buildings are connected by the edge of the irregular triangulated network, it means that the two buildings have an adjacency relationship. Otherwise, it means that there is no adjacency relationship. Simplify the buildings into centroids, connect the buildings with adjacency relationships, and construct an adjacency graph.
[0014] (4) The building adjacency graph is used as input, the Euclidean distance of the connecting edges of the adjacency graph is defined as the weight, and the Kruskal algorithm is used to construct a minimum spanning tree.
[0015] (5) The mean, sum and standard deviation of the edge weights of each minimum spanning tree are counted as the compactness characteristics of each building.
[0016] In the above method, the following steps can be used to deeply cluster buildings: using the extracted 36-dimensional building features as the original input, constructing a building clustering method based on a deep embedding network, using the autoencoder module to generate a low-dimensional feature expression of the functional semantics of the building, further introducing a deep neural network DNN module for clustering, and optimizing the clustering clusters through the KL divergence objective function.
[0017] In the above method, the autoencoder and deep neural network DNN modules can be combined to build a deep embedding network to cluster buildings. The process mainly includes:
[0018] (1) Parameter initialization for deep building clustering. The extracted 36-dimensional building features are used as input, and the parameters of the deep embedding network are initialized by training the autoencoder. The nonlinear mapping f θ : X→Z, transform the original building feature space into a low-dimensional feature space and obtain the embedded point z i , where θ is the parameter, X is the original feature, and Z is the latent feature space.
[0019] (2) Form the initial cluster center of the building cluster. The embedding point z output by the autoencoder i As input, the K-means clustering method is used to form the initial clustering of buildings. The center point of each cluster is the initial cluster center. where u j is the cluster center of building cluster j, and k represents the number of building clusters.
[0020] (3) Calculate the soft distribution degree. Based on the t-SNE algorithm, the t distribution is used to evaluate the embedding point z i The similarity between the initial cluster center uj and the building is the soft assignment degree q ij , the specific calculation is as follows:
[0021]
[0022] Among them, z i =f θ (x i )∈Z, is x i ∈X is embedded into the feature space Z to obtain the point, u jis the cluster center of building cluster j, and α is the degree of freedom of the t distribution, which is set to 1 in the deep embedding network. ij is the probability of assigning sample i to building cluster j, and its value is between 0 and 1.
[0023] (4) KL divergence is minimized. The soft assignment degree q ij Raised to the second power, the high-confidence building samples receive more attention, and the auxiliary target distribution function p is introduced. ij , which is used to measure the distribution of building samples belonging to a certain cluster.
[0024]
[0025] in, and is the soft allocation degree q ij and q ij′ The second power, f j =∑iq ij and f j′ =∑iq ij′ is the frequency of the soft clusters.
[0026] Define the KL divergence loss function by minimizing the soft assignment degree q ij and the target distribution p ij The KL divergence between them is used to optimize the building cluster centers.
[0027]
[0028] Among them, L is the loss function between the auxiliary target distribution and the soft label distribution, KL() is the KL divergence function of measuring the loss value, and p ij is the auxiliary target distribution, q ij is the soft label distribution.
[0029] (5) Optimize the model. During the learning iteration process, the stochastic gradient descent method is used to optimize the DNN parameters and the building cluster center μ j , the gradient of the loss function L for the embedding points and building cluster centers is calculated as follows:
[0030]
[0031]
[0032] Where: z i is the embedding point, μ j is the building cluster center, and is the loss function L for the embedded point z i and building cluster centers μ jThe gradient of , α is the degrees of freedom of the t distribution, p ij is the auxiliary target distribution, q ij is the soft label distribution.
[0033] gradient is passed to the DNN and used to calculate When the difference between the two distributions is less than 0.01%, the iteration is stopped, the optimal clustering center is determined, and the final urban building clustering result is formed.
[0034] In the above method, the following method can be used to divide the urban functional area identification units: based on the deeply embedded clustered buildings, a standardized process consisting of four steps: grid generation, category association, grid fusion and post-processing is established to transform discrete building clusters into continuous surface elements to form identification units of urban functional areas.
[0035] In the above method, a standardized process step is constructed to transform discrete building clusters into continuous surface elements. The process mainly includes:
[0036] (1) Based on the distribution range of buildings, a regular grid covering the entire area is generated with a grid size of 30 m*30 m.
[0037] (2) The deeply clustered buildings are overlaid on the grids and the spatial connection method is used to associate the clustering category of the nearest building in each grid with the clustering attribute of the grid.
[0038] (3) Within the block unit, grids with the same clustering attributes are fused to transform the spatially discrete building clusters into continuous surface elements.
[0039] (4) Post-process the division units using fusion, elimination and smoothing methods to obtain the identification units of urban functional areas.
[0040] In the above method, the following method can be used to generate a city functional area map: use the point of interest data to build a city functional area corpus, and then combine the Word2Vec and random forest models to identify the category of the functional area and generate a city functional area map.
[0041] In the above method, the point of interest data in the recognition unit is used to construct the urban functional area corpus. The specific process includes:
[0042] (1) Extract the secondary categories of POI data and define them as urban function labels of POIs.
[0043] (2) A sequence of POI labels within the recognition unit is established to construct a corpus of urban functional areas.
[0044] In the above method, Word2Vec and random forest models can be combined to identify the functional categories to which the functional areas belong and generate a city functional area map. The specific process includes:
[0045] (1) According to the National Urban Land Use and Planning Standard (GB50137-2011), urban functions are defined into five categories: administration (A), commercial (B), industrial (M), residential (R) and transportation (T). With the help of online high-definition images, five types of functional area samples are established.
[0046] (2) Using the Word2Vec model, a neural network consisting of an input layer, a hidden layer, and an output layer is constructed, and the CBOW model is used to predict the current value based on the given context.
[0047] (3) Use analogy experiments to test the performance of the model and adjust the model parameters based on the test results. Then, use the one-hot encoding of the POI label sequence as input, set the model initial parameters such as the dimension of the word vector, window size, and number of iterations, and convert the POI label into an embedding vector.
[0048] (4) The embedding vector output by the Word2Vec model is used as the semantic feature of the urban functional area, and the functional category of each recognition unit is used as the label to construct a random forest model.
[0049] (5) Set the ratio of training set and validation set, adjust the parameters of random forest model, train and verify the accuracy of the model, and evaluate the overall accuracy of urban functional area division and the recognition accuracy of single functional type.
[0050] The method for dividing urban functional area identification units based on remote sensing-multi-source semantic deep clustering provided by the present invention is used for intelligent identification of urban functional areas. This method breaks through the traditional division scale based on regular grids and fixed blocks, and significantly improves the classification accuracy of urban functional areas.
[0051] Compared with the prior art, the present invention has the following main technical effects:
[0052] (1) When extracting the functional semantic features related to buildings, traditional methods mainly rely on the physical features of remote sensing images and the attribute information of multi-source geographic information to extract the features of a single building, but lack consideration of the semantic relevance of neighboring buildings. The compactness feature designed by the present invention uses the minimum spanning tree algorithm to measure the minimum spanning tree distance of the building complex in the local area, and deeply characterizes the compactness and alienation of the building space distribution. This algorithm overcomes the disadvantage that the classic average nearest neighbor index is greatly affected by outliers, has higher stability, and is more accurate and reliable in characterizing the spatial neighborhood relationship.
[0053] (2) The traditional urban functional area identification units are mainly grids, blocks and buildings. Among them, the block unit can well reflect the irregularity of the urban functional layout, but it is difficult to finely distinguish different functions such as mixed commercial, industrial and residential functions within the block; although the classification granularity is finer when the single building is used as the identification unit, the calculation cost is too high, especially for the identification of industrial areas and residential areas, which causes great information redundancy. The identification unit division method proposed in the present invention converts discrete buildings with similar semantic features into continuous and irregular surface elements by utilizing the clustering characteristics of buildings within the block. This method breaks through the limitations of the traditional urban functional area identification unit, finds the optimal identification scale between the macro block and the micro building, effectively solves the matching problem between the identification unit and the functional scene, better meets the needs of detailed classification of urban functional areas, and improves the overall recognition accuracy by 5% compared with the traditional block.
[0054] (3) When identifying urban functional categories, classic unsupervised classification algorithms such as K-means are difficult to solve the situation of high feature dimensions and large distribution differences between categories. Although the commonly used supervised classification can effectively establish the mapping relationship between features and predetermined categories, it ignores the spatial distribution information of urban functional areas. The present invention combines unsupervised classification with supervised classification, starting from the building unit, adopts a two-step strategy of building deep embedding clustering, and Word2Vec and random forest model function recognition to achieve high-precision division of urban functional areas. The first step of the building deep embedding clustering algorithm uses an autoencoder module to generate a low-dimensional feature expression of the building function semantics, introduces a deep neural network to continuously iterate and optimize the building clustering, and can overcome the problems of high input feature dimensions and large distribution differences between categories, and obtain better building clustering results. The second step combines the points of interest with Word2Vec, establishes an urban functional area corpus, converts the point of interest category labels into word vector representations, and uses a robust random forest model to achieve high-precision classification of urban functional areas.
[0055] In summary, the present invention breaks through the traditional division scales based on regular grids, blocks, etc., from multi-source semantic feature mining, deep building embedding clustering, functional area identification unit division to high-precision discrimination of functional types, and realizes flexible and accurate urban functional area scene segmentation, which significantly improves the accuracy and granularity of urban functional area classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a flow chart of the method of the present invention.
[0057] Figure 2 This is the result map of the urban functional area identification unit division. DETAILED DESCRIPTION
[0058] The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering proposed in the present invention combines unsupervised classification with supervised classification methods, first uses deep embedding clustering methods to mine the spatial distribution characteristics of urban functional structures, and then optimizes the spatial units of functional area identification, and establishes a nonlinear relationship model between semantic features and predetermined functional types. This method combines crowd-source geographic information with remote sensing semantics to deeply mine the spatial clustering characteristics of buildings, breaking through the traditional division method of urban functional area identification, seeking a balance between blocks and buildings, thereby optimizing the functional area identification unit, and effectively solving the matching problem between the identification unit and the actual functional scene, achieving a double improvement in the classification accuracy and granularity of urban functional areas. In addition, the remote sensing images and crowd-source geographic information used in the present invention are both open source spatial data, which have the advantages of low cost, high openness and fast update speed, which facilitates the application and promotion of the proposed method in different regions and cities.
[0059] The present invention is further described below with reference to application examples and accompanying drawings, but is not limited to the contents described below.
[0060] The method for identifying urban functional areas based on remote sensing-crowd-source semantic deep clustering provided by the present invention comprises the following steps.
[0061] 1. Constructing the functional semantic feature system of buildings:
[0062] Combined with high-resolution remote sensing images and multi-source geographic information, a functional semantic feature system of six dimensions of building geometry, compactness, location, spectrum, texture and brightness is constructed: 7 geometric features are calculated from different angles such as the area and shape of the building; the spatial distribution structure of the building is quantified and 4 compactness features are extracted; the road network is analyzed by neighbors, the distance between each building and the nearest road is calculated, and 1 location feature is obtained; using high-resolution remote sensing images, based on the grayscale values of its red, green and blue bands, 6 spectral features of the building are calculated; the grayscale co-occurrence matrix of the first principal component band of the remote sensing image is further constructed, the mean and standard deviation of the texture information in each building are extracted, and 16 texture features are obtained; the night light data is subjected to radiation correction processing, and the mean and sum of the night light brightness of each building are calculated to obtain 2 brightness features. Finally, a 36-dimensional functional semantic feature system of buildings is formed.
[0063] In step 1, the minimum spanning tree algorithm is used to extract the compactness characteristics of each building unit. The process mainly includes:
[0064] (1) Use the nearest neighbor analysis method to extract each building and its 18-20 nearest buildings.
[0065] (2) The building outline is interpolated and encrypted at intervals of 5-15 meters, and the encrypted building nodes are extracted to construct an irregular triangulated network.
[0066] (3) Determine the adjacency relationship of buildings based on the irregular triangulated network. If two buildings are connected by the edge of the irregular triangulated network, it means that the two buildings have an adjacency relationship. Otherwise, it means that there is no adjacency relationship. Simplify the buildings into centroids, connect the buildings with adjacency relationships, and construct an adjacency graph.
[0067] (4) The building adjacency graph is used as input, the Euclidean distance of the connecting edges of the adjacency graph is defined as the weight, and the Kruskal algorithm is used to construct a minimum spanning tree.
[0068] (5) The mean, sum and standard deviation of the edge weights of each minimum spanning tree are counted as the compactness characteristics of each building.
[0069] 2. Deep Embedding Clustering of Buildings:
[0070] Taking the extracted 36-dimensional semantic features as the original input, a building clustering method based on deep embedding network is constructed. The autoencoder module is used to generate low-dimensional feature expression of building functional semantics. The deep neural network DNN module is further introduced for clustering, and the KL divergence objective function is used to optimize the clustering clusters.
[0071] In step 2, the autoencoder and deep neural network (DNN) modules are combined to build a deep embedding network to cluster buildings. The process mainly includes:
[0072] (1) Parameter initialization for deep building clustering. The extracted 36-dimensional building features are used as input, and the parameters of the deep embedding network are initialized by training the autoencoder. The nonlinear mapping f θ : X→Z, transform the original building feature space into a low-dimensional feature space and obtain the embedded point z i , where θ is the parameter, X is the original feature, and Z is the latent feature space.
[0073] (2) Form the initial cluster center of the building cluster. The embedding point z output by the autoencoder i As input, the K-means clustering method is used to form the initial clustering of buildings. The center point of each cluster is the initial cluster center. where u j is the cluster center of building cluster j, and k represents the number of building clusters.
[0074] (3) Calculate the soft distribution degree. Based on the t-SNE algorithm, the t distribution is used to evaluate the embedding point z i and the initial cluster center u of the building jThe similarity of the two is the soft assignment degree q ij , the specific calculation is as follows:
[0075]
[0076] Among them, z i =f θ (x i )∈Z, is x i ∈X is embedded into the feature space Z to obtain the point, u j is the cluster center of building cluster j, and α is the degree of freedom of the t distribution, which is set to 1 in the deep embedding network. ij is the probability of assigning sample i to building cluster j, and its value is between 0 and 1.
[0077] (4) KL divergence is minimized. The soft assignment degree q ij Raised to the second power, the high-confidence building samples receive more attention, and the auxiliary target distribution function p is introduced. ij , which is used to measure the distribution of building samples belonging to a certain cluster.
[0078]
[0079] in, and is the soft allocation degree q ij and q ij′ The second power, f j =∑ i q ij and f j′ =∑ i q ij′ is the frequency of the soft clusters.
[0080] Define the KL divergence loss function by minimizing the soft assignment degree q ij and the target distribution p ij The KL divergence between them is used to optimize the building cluster centers.
[0081]
[0082] Among them, L is the loss function between the auxiliary target distribution and the soft label distribution, KL() is the KL divergence function of measuring the loss value, and p ij is the auxiliary target distribution, q ij is the soft label distribution.
[0083] (5) Optimize the model. During the learning iteration process, the stochastic gradient descent (SGD) method is used to optimize the DNN parameters and the building cluster center μ j , the gradient of the loss function L for the embedding points and building cluster centers is calculated as follows:
[0084]
[0085]
[0086] Where: z i is the embedding point, μ j is the building cluster center, and is the loss function L for the embedded point z i and building cluster centers μ j The gradient of , α is the degrees of freedom of the t distribution, p ij is the auxiliary target distribution, q ij is the soft label distribution.
[0087] gradient is passed to the DNN and used to calculate When the difference between the two distributions is less than 0.01%, the iteration is stopped, the optimal clustering center is determined, and the final urban building clustering result is formed.
[0088] 3. Divide the functional areas and identify the units:
[0089] Based on the deeply embedded clustered buildings, a standardized process consisting of four steps: grid generation, category association, grid fusion and post-processing was established to transform discrete building clusters into continuous surface elements to form identification units of urban functional areas.
[0090] In step 3, the building deep clustering results and the fine-grained regular grid are combined to transform the discrete building clusters into continuous surface elements. The specific process mainly includes:
[0091] (1) Based on the distribution range of buildings, a regular grid covering the entire area is generated with a grid size of 30 m*30 m.
[0092] (2) The deeply clustered buildings are overlaid on the grids and the spatial connection method is used to associate the clustering category of the nearest building in each grid with the clustering attribute of the grid.
[0093] (3) Within the block unit, grids with the same clustering attributes are fused to transform the spatially discrete building clusters into continuous surface elements.
[0094] (4) Post-process the division units using fusion, elimination and smoothing methods to obtain the identification units of urban functional areas.
[0095] 4. Identify the category attributes of the functional area:
[0096] Using point of interest data, we construct a corpus of urban functional areas, and then combine Word2Vec and random forest models to identify functional categories and generate an urban functional area map.
[0097] In step 4, the POI data in the recognition unit is used to construct the urban functional area corpus. The specific process mainly includes:
[0098] (1) Extract the secondary categories of POI data and define them as urban function labels of POIs.
[0099] (2) A sequence of POI labels within the recognition unit is established to construct a corpus of urban functional areas.
[0100] In step 4, Word2Vec and random forest models are combined to identify the functional categories and generate a city functional area map. The specific process mainly includes:
[0101] (1) According to the National Urban Land Use and Planning Standard (GB50137-2011), urban functions are defined into five categories: administration (A), commercial (B), industrial (M), residential (R) and transportation (T). With the help of online high-definition images, five types of functional area samples are established.
[0102] (2) Using the Word2Vec model, a neural network consisting of an input layer, a hidden layer, and an output layer is constructed, and the CBOW model is used to predict the current value based on the given context.
[0103] (3) Use analogy experiments to test the performance of the model and adjust the model parameters based on the test results. Then, use the one-hot encoding of the POI label sequence as input, set the model initial parameters such as the dimension of the word vector, window size, and number of iterations, and convert the POI label into an embedding vector.
[0104] (4) The embedding vector output by the Word2Vec model is used as the semantic feature of the urban functional area, and the functional category of each recognition unit is used as the label to construct a random forest model.
[0105] (5) Set the ratio of training set and validation set, adjust the parameters of random forest model, train and verify the accuracy of the model, and evaluate the overall accuracy of urban functional area division and the recognition accuracy of single functional type.
[0106] The above steps are used to optimize the process of functional area division and improve the granularity and accuracy of urban functional area classification.
[0107] The urban functional area identification method based on remote sensing-crowd source semantic deep clustering provided by the present invention takes the building unit as the entry point, effectively combines remote sensing high-resolution images and crowd source geographic information, and deeply explores the semantic characteristics of buildings from a multi-dimensional perspective. A building space clustering method based on a deep embedded clustering model is proposed, and a discrete clustering cluster conversion process based on a regular grid is designed. The point of interest and the Word2Vec model are combined to generate a high-precision urban functional area map. This method realizes flexible and accurate urban functional area scene segmentation, breaks through the traditional urban functional area division scale based on regular grids and blocks, and achieves a double improvement in the classification accuracy and granularity of urban functional areas.
[0108] Application examples:
[0109] This case takes the most urbanized area within the Third Ring Road of Wuhan as the study area, uses the proposed urban functional area identification method based on remote sensing-crowd-source semantic deep clustering to determine the urban functional type of the study area, and further illustrates the invention in conjunction with the accompanying drawings.
[0110] Specific processing steps: Figure 1 )as follows:
[0111] Step 1: Using crowdsource geographic information data such as building footprints and road networks, we use geometric operations, minimum spanning trees, and nearest neighbor analysis methods to extract the geometry, compactness, and location features of each building unit, a total of 12. The specific process mainly includes:
[0112] (1) The building footprint data were downloaded from the National Tibetan Plateau Data Center. The building footprint data were preprocessed by simplifying the surface and eliminating part of the surface. The redundant nodes of the buildings were removed and the buildings with small areas of voids were filled. Finally, 79,130 buildings in the study area were obtained.
[0113] (2) Using geometric calculation methods, seven geometric features of each building are calculated, including: area, perimeter, circularity, regularity, direction, radius shape index and aspect ratio.
[0114] (3) Based on the ArcPy programming language, the nearest neighbor analysis method is used to obtain the distance between each building and its nearest neighboring building as the building compactness feature.
[0115] (4) Each building and its nearest 18-20 buildings (19 in this case) are further extracted, and the building outlines are interpolated and encrypted at intervals of 5-15 meters (10 meters in this case). The encrypted building nodes are extracted and an irregular triangulated network is constructed.
[0116] (5) Determine the adjacency relationship of buildings based on the irregular triangulated network. If two buildings are connected by the edge of the irregular triangulated network, it means that the two buildings have an adjacency relationship. Otherwise, it means that there is no adjacency relationship. Simplify the buildings into centroids, connect the buildings with adjacency relationships, and construct an adjacency graph.
[0117] (6) The building adjacency graph is used as input, the Euclidean distance of the connecting edges of the adjacency graph is defined as the weight, and the Kruskal algorithm is used to construct the minimum spanning tree.
[0118] (7) The mean, sum and standard deviation of the edge weights of each minimum spanning tree are calculated to obtain a total of four building compactness characteristic indicators.
[0119] (8) Introduce road network data, calculate the shortest distance between each building and the road network, and obtain a location feature of each building unit.
[0120] Step 2: Based on high-resolution remote sensing images and nighttime light data, 24 features such as spectrum, texture and brightness of each building were extracted using regional statistics, gray-level co-occurrence matrix and raster calculation methods. The specific process mainly includes:
[0121] (1) The high-resolution remote sensing images and night light data in the study area were preprocessed using methods such as image stitching, cropping, grid projection and radiation correction.
[0122] (2) Using the regional statistical method, the mean and standard deviation of the spectral values of each building in the red, green and blue bands were calculated to obtain the six spectral characteristics of each building unit.
[0123] (3) Principal component analysis was used to extract the first principal component band of the high-resolution remote sensing image, and a gray-level co-occurrence matrix was created. The mean and standard deviation of the texture information of each building were statistically analyzed, and a total of 16 texture features were obtained, including: mean, variance, homogeneity, contrast, dissimilarity, entropy, second-order moment, and correlation.
[0124] (4) Using the raster calculation method, the mean and sum of the brightness of the night light data in each building are extracted to obtain two brightness features.
[0125] Step 3: Using the extracted 36-dimensional building functional semantic features as the original input, a building clustering method based on a deep embedding network is constructed. The autoencoder module is used to generate a low-dimensional feature expression of the building functional semantics, and a deep neural network DNN module is further introduced for clustering. The KL divergence objective function is used to optimize the clustering clusters. The specific process mainly includes:
[0126] (1) Initialization of parameters for deep building clustering. Using the Python programming language, the extracted 36-dimensional building feature table is read as a 79130*36-dimensional matrix as the original input. The Python code is as follows:
[0127] import numpy as np
[0128] import pandas as pd
[0129] coman=pd.read_csv('Building_Feature.csv', encoding='ANSI')
[0130] coman.replace([np.inf,-np.inf],np.nan,inplace=True)
[0131] coman = coman.fillna(0)
[0132] x_all = regularit(coman)
[0133] x_arr = np.array(x_all)
[0134] x=x_arr[:,0:36]
[0135] (2) Construct an autoencoder, design a multi-layer deep encoding structure of "36-500-500-1000-20", initialize network parameters, and use nonlinear mapping f θ : X→Z, convert the original building 36-dimensional feature space to 20-dimensional feature space to get the embedded point z i , where θ is the parameter, X is the original feature, and Z is the potential feature space. The deep neural network initialization parameters are saved at the same time. The Python code is as follows:
[0136]
[0137]
[0138] (2) Form the initial cluster center of the building cluster. The embedding point z output by the autoencoder i As input, the number of clusters is set to 3-10 (5 in this case), and five initial building clusters are formed using the K-means clustering method. The center point of each cluster is the initial cluster center. where u j is the cluster center of building cluster j, and 5 represents the number of building clusters. The Python code is as follows:
[0139] from sklearn.cluster import KMeans
[0140] kmeans=KMeans(n_clusters=5)
[0141] y_pred_kmeans=kmeans.fit_predict(x)
[0142] (3) Calculate the soft distribution degree. Based on the t-SNE algorithm, the t distribution is used to evaluate the embedding point z i and the initial cluster center u of the building j The similarity of the two is the soft assignment degree q ij , the specific calculation is as follows:
[0143]
[0144] Among them, z i =f θ (x i )∈Z, is x i ∈X is the point obtained by embedding it into the feature space Z, α is the degree of freedom of the t distribution, which is set to 1 in the deep embedding network. ij The probability of assigning building sample i to cluster j is between 0 and 1. The Python code is as follows:
[0145]
[0146] (4) KL divergence is minimized. The soft assignment degree q ij Raised to the second power, the high-confidence building samples receive more attention, and the auxiliary target distribution function p is introduced. ij , which is used to measure the distribution of building samples belonging to a certain cluster.
[0147]
[0148] Among them, f j =∑ i q ij is the frequency of the soft clusters.
[0149] Define the KL divergence loss function by minimizing the soft assignment degree q ij and the target distribution p ij The KL divergence between them is used to optimize the building cluster centers.
[0150]
[0151] The Python code is as follows:
[0152]
[0153]
[0154] (5) Optimize the model. During the learning iteration process, the stochastic gradient descent (SGD) method is used to optimize the DNN parameters and the building cluster center μ j , the gradient of the loss function L for the embedding points and building cluster centers is calculated as follows:
[0155]
[0156]
[0157] gradient is passed to the DNN and used to calculate When the difference between the two distributions is less than 0.01%, the iteration is stopped, the optimal clustering center is determined, and the final urban building clustering result is formed.
[0158]
[0159]
[0160] Step 4: Based on the deeply embedded clustered buildings, a standardized process consisting of four steps, namely, grid generation, category association, grid fusion and post-processing, is established to transform discrete building clusters into continuous surface elements and form identification units of urban functional areas. The specific process mainly includes:
[0161] (1) Using the method of creating a fishnet in ArcMap, the boundary of the study area was used as input and set as the mask range to generate a regular grid covering the entire area with a resolution of 30 m * 30 m.
[0162] (2) The discrete buildings after deep clustering are superimposed on the grids. The spatial connection method is used, with the grids as the target elements and the labeled buildings after clustering as the connection elements. The nearest neighbor matching method is adopted, that is, the clustering category of the nearest building in each grid is associated with the clustering attribute of the grid.
[0163] (3) Within the block unit, a fusion method is used, with the spatially connected grids as input and the clustering attribute value selected as the fusion field. The grids with the same clustering attributes are fused, thereby converting the spatially discrete building clusters into continuous surface features.
[0164] (4) The clustering units initially obtained are post-processed using elimination and smoothing methods to obtain identification units of urban functional areas.
[0165] Step 5: Use the POI data in the recognition unit to build a corpus of urban functional areas. The specific process mainly includes:
[0166] (1) According to the classification standard of the Amap POI Classification Code, the secondary categories of POI data are extracted and defined as the city function labels of POIs.
[0167] (2) The labels of POIs are regarded as words, and the POI label sequences in each recognition unit are regarded as documents, so as to construct a corpus of urban functional areas in the study area.
[0168] Step 6: Combine Word2Vec and random forest models to identify the categories to which the functional area units belong and generate a city functional area map. The specific process mainly includes:
[0169] (1) According to the National Urban Land Use and Planning Standard (GB50137-2011), urban functions are defined into five categories: administration (A), commercial (B), industrial (M), residential (R) and transportation (T). With the help of online high-definition images, five types of functional area samples are established.
[0170] (2) Using the Python programming language, use the Word2Vec model, import the Word2Vec package, build a neural network consisting of 1 input layer, 1 hidden layer, and 1 output layer, and use the CBOW model to predict the current value based on the given context.
[0171] (3) Take the one-hot encoding of the POI label sequence as input, set the word vector dimension to 20-200 (100 in this case), the window size to 2-10 (5 in this case), and the number of iterations to 20-150 (50 in this case) to convert the POI label into an embedding vector. The Python code is as follows:
[0172] from gensim.models import word2vec
[0173] file_train=r"Points of Interest Label.txt"
[0174] sent=word2vec.Text8Corpus(file_train)
[0175] model=word2vec.Word2Vec(sent,vector_size=100,window=5,epochs=50)
[0176] model.save('corpus.model')
[0177] (4) Use analogy experiments to test the performance of the model and adjust the model parameters based on the test results. When the output results meet the expected results of the analogy experiment, the model training is completed. The Python code is as follows:
[0178] model=word2vec.Word2Vec.load('corpus.model')
[0179] indexes=model.wv.most_similar(u'XX',topn=180)
[0180] for index in indexes:
[0181] print(index)
[0182] (5) Input each document, i.e., the sequence of interest point labels formed in each recognition unit, into the trained model and output the word embedding vector. The Python code is as follows:
[0183]
[0184]
[0185] (6) The embedding vector output by the Word2Vec model is used as the semantic feature of the urban functional area, and the functional category of each recognition unit is used as the label to construct a random forest model. The Python code is as follows:
[0186]
[0187] (7) Set the ratio of training set to validation set to 7:3, adjust the parameters of random forest model, and when the validation accuracy of the model reaches above 85%, the model is considered to have achieved a better effect, and then identify the urban functions of the study area, and evaluate the overall accuracy and the recognition accuracy of a single function type. The Python code is as follows:
[0188] X_train,X_test,y_train,y_test=train_test_split(X,y,test_size=0.3)
[0189] clf=RF(n_estimators=300)
[0190] clf.fit(X_train,y_train)
[0191] print("train_acc:%s"%clf.score(X_train,y_train))
[0192] print("test_acc:%s"%clf.score(X_test,y_test))
[0193] y_pre = clf.predict(X)
[0194] acc_pre=accuracy_score(y,y_pre)
[0195] print("Pre_acc:",acc_pre)
[0196] matrix_all=confusion_matrix(y,y_pre,labels=[0,1,2,3,4])
[0197] print("matrix",matrix_all)
[0198] (8) In order to verify the technical advantages of the present invention, the Word2Vec and random forest models were combined to compare the urban function recognition results of the present invention with the confusion matrix of the urban function area recognition based on the block (Table 1 and Table 2), and it was found that the urban function recognition accuracy of the present invention was higher.
[0199] The urban functional area identification method based on remote sensing-multi-source semantic deep clustering provided by the present invention has the following characteristics: combining high-resolution remote sensing images and multi-source geographic information, fully mining the functional semantic features of buildings on the basis of extracting the feature information of a single building; proposing a building space clustering method based on a deep embedding clustering model, using an autoencoder module to generate a low-dimensional feature expression of the functional semantics of buildings, and using a deep neural network to iteratively optimize the clustering results of buildings; establishing a discrete clustering cluster to surface method based on a regular grid, spatially converting the building clustering features into irregular surface elements, and dividing the identification units of urban functional areas; combining points of interest with the Word2Vec model to generate a high-precision urban functional area map. This method combines multi-source geographic information and remote sensing semantics to deeply mine the spatial clustering features of buildings, realize flexible and accurate urban functional area scene segmentation, break through the division scale of traditional urban functional area identification based on regular grids and blocks, and achieve a double improvement in the classification accuracy and granularity of urban functional areas.
[0200] Table 1 Confusion matrix of the urban function recognition results of the recognition unit proposed in this invention
[0201]
[0202] Table 2 Confusion matrix of urban function recognition results based on block units
[0203]
Claims
1. A method for identifying urban functional areas based on remote sensing-crowd-source semantic deep clustering, Features: (1) Establish a building functional semantic feature system, that is, use high-resolution remote sensing images, night light data, building footprints and road network remote sensing images, and crowd-source geographic information to extract features in six dimensions: geometry, compactness, location, spectrum, texture, and brightness, and obtain 36-dimensional building semantic features; The minimum spanning tree algorithm is used to extract the compactness characteristics of each building unit. The process includes: 1) Use the nearest neighbor analysis method to extract the 18-20 buildings closest to each building. 2) Interpolate and encrypt the building outline boundary at intervals of 5-15 meters, extract the encrypted building nodes, and construct an irregular triangulated network. 3) Determine the adjacency relationship of buildings based on the irregular triangulated network. If two buildings are connected by the edge of the irregular triangulated network, it means that the two buildings have an adjacency relationship. Otherwise, it means that there is no adjacency relationship. Simplify the buildings into centroids, connect the buildings with adjacency relationships, and construct an adjacency graph. 4) Taking the building adjacency graph as input, the Euclidean distance of the connecting edges of the adjacency graph is defined as the weight, and the Kruskal algorithm is used to construct the minimum spanning tree. 5) Calculate the mean, sum and standard deviation of the edge weights of each minimum spanning tree as the compactness characteristics of each building; (2) Construct a building clustering method based on a deep embedding network, use the autoencoder module to generate a low-dimensional feature expression of the functional semantics of the building, and use the deep neural network (DNN) module to optimize the clustering of the building; Step (2) uses the following method: Combine the autoencoder and deep neural network (DNN) modules to build a deep embedding network; use the extracted 36-dimensional building functional semantic features as the original input, and use the deep embedding network to cluster the input; wherein, with the help of the autoencoder model, the input features are reduced in dimension, the functional semantic features of the building are converted into a low-dimensional feature space, and embedded points are obtained, and the embedded points are clustered with the help of the K-means clustering method to form the initial clustering of the building; based on the t-SNE algorithm, the t distribution is used to evaluate the similarity between the embedded points and the cluster center of the initial clustering of the building to obtain the soft assignment degree; based on the soft assignment degree and the target distribution function, a KL divergence loss function is constructed, and the DNN parameters are optimized using the stochastic gradient descent method (SGD) and the KL divergence loss function, and the final optimized clustering cluster of the building is obtained based on the optimized DNN; wherein the soft assignment degree represents the probability of the sample being assigned to the cluster; the target distribution function is used to measure the distribution of the sample belonging to a certain cluster; (3) Through four steps consisting of grid generation, category association, grid fusion and post-processing, the building clusters are converted into continuous surface elements and the urban functional area identification units are divided; (4) Using POI and the Word2Vec model, we established a corpus of urban functional areas, converted the POI category labels into word vector representations, and constructed a random forest model. We used the random forest model to perform functional identification on the divided units and generate a refined urban functional area map.
2. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 1, It is characterized in that Step (1) Use the following method to construct a feature system of building functional semantics from six dimensions: geometry, compactness, location, spectrum, texture and brightness: Calculate seven geometric features from different angles of the building including its area and perimeter; Quantify The spatial distribution structure of buildings, extracting four compactness features; The nearest neighbor analysis was performed on the road network to calculate the distance between each building and the nearest road to obtain one location feature. The six spectral features of the building were calculated based on the grayscale values of the red, green and blue bands of the high-resolution remote sensing image. The grayscale co-occurrence matrix of the first principal component band of the remote sensing image was further constructed to extract the mean and standard deviation of the texture information in each building to obtain 16 texture features. The night light data is subjected to radiation correction processing, and the mean and sum of the night light brightness of each building are calculated to obtain two brightness features; ultimately, a 36-dimensional functional semantic feature of the building is formed.
3. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 1, It is characterized in that The process of clustering buildings includes: 1) Parameter initialization of deep building clustering: Taking the extracted 36-dimensional building features as input, the parameters of the deep embedding network are initialized by training the autoencoder, and the nonlinear mapping f is used to initialize the parameters of the deep embedding network. θ : X→Z, transform the original building feature space into a low-dimensional feature space and obtain the embedded point z i , where θ is the parameter, X is the original feature, and Z is the latent feature space; 2) Form the initial cluster center of the building cluster: embed the point z output by the autoencoder i As input, the K-means clustering method is used to form the initial clustering of buildings. The center point of each cluster is the initial cluster center. where u j is the cluster center of building cluster j, and k represents the number of building clusters; 3) Calculate the soft distribution: Based on the t-SNE algorithm, the t distribution is used to evaluate the embedding point z i and the initial cluster center u of the building j The similarity of the two is the soft assignment degree q ij , the specific calculation is as follows: Among them, z i =f θ (x i )∈Z, is x i ∈X is embedded into the feature space Z to obtain the point, u j is the cluster center of building cluster j, α is the degree of freedom of t distribution, which is set to 1 in the deep embedding network; q ij is the probability of assigning sample i to building cluster j, with a value between 0 and 1; 4) Minimize KL divergence: The soft assignment degree q ij Raised to the second power, the high-confidence building samples receive more attention, and the auxiliary target distribution function p is introduced. ij , which is used to measure the distribution of building samples belonging to a certain cluster, in, and is the soft allocation degree q ij and q ij′ The second power, f j =∑ i q ij and f j′ =∑ i q ij′ is the frequency of the soft clusters; Define the KL divergence loss function by minimizing the soft assignment degree q ij and the target distribution p ij The KL divergence between them is used to optimize the building cluster centers. Among them, L is the loss function between the auxiliary target distribution and the soft label distribution, KL() is the KL divergence function of measuring the loss value, and p ij is the auxiliary target distribution, q ij is the soft label distribution; 5) Optimize the model: During the learning iteration, the stochastic gradient descent (SGD) method is used to optimize the DNN parameters and the building cluster center μ j , the gradient of the loss function L for the embedded points and building cluster centers is calculated as follows: Where: z i is the embedding point, μ j is the building cluster center, and is the loss function L for the embedded point z i and building cluster centers μ j The gradient of , α is the degrees of freedom of the t distribution, p ij is the auxiliary target distribution, q ij is the soft label distribution; gradient is passed to the DNN and used to calculate When the difference between the two distributions is less than 0.01%, the iteration is stopped, the optimal clustering center is determined, and the final urban building clustering result is formed.
4. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 1, It is characterized in that Step (3) uses the following method to divide the identification units of urban functional areas: based on the buildings after deep embedding clustering, a standardized process consisting of four steps: grid generation, category association, grid fusion and post-processing is established to transform discrete building clusters into continuous surface elements to form identification units of urban functional areas.
5. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 4, It is characterized in that The discrete building clusters are converted into continuous surface features. The specific process includes: 1) Generate a regular grid covering the entire area based on the distribution range of buildings, with a grid size of 30 meters * 30 meters; 2) Overlay the deeply clustered buildings with the grids and use the spatial connection method to associate the clustering attributes of the grids with the clustering categories of the nearest buildings in each grid; 3) In the block unit, grids with the same clustering attributes are fused to transform the spatially discrete building clusters into continuous surface elements; 4) Post-process the division units using fusion, elimination and smoothing methods to obtain the identification units of urban functional areas.
6. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 1, It is characterized in that Step (4) uses the following method to identify urban functional areas: using the point of interest data, constructing an urban functional area corpus, and then combining Word2Vec and random forest models to identify the category attributes of the functional areas and generate an urban functional area map; Using the POI data in the recognition unit, the urban functional area corpus is constructed. The specific process includes: 1) Extract the secondary categories of POI data, which are defined as the urban function labels of POIs; 2) A sequence of POI labels within the recognition unit will be established to construct a corpus of urban functional areas.
7. The urban functional area identification method based on remote sensing-crowd-source semantic deep clustering according to claim 6, It is characterized in that Combine Word2Vec and random forest models to identify the categories of functional areas and generate urban functional area maps. 1) Referring to the National Urban Land Use and Planning Standard (GB50137-2011), urban functions are defined into five categories: administration (A), commercial (B), industrial (M), residential (R) and transportation (T). With the help of online high-definition images, five types of functional area samples are established; 2) Using the Word2Vec model, a neural network consisting of an input layer, a hidden layer, and an output layer is constructed, and the CBOW model is used to predict the current value based on the given context; 3) Use analogy experiments to test the performance of the model, and adjust the model parameters based on the test results; then use the one-hot encoding of the POI label sequence as input, set the initial parameters of the word vector dimension, window size, and number of iterations, and convert the POI label into an embedding vector; 4) The embedding vector output by the Word2Vec model is used as the semantic feature of the urban functional area, and the functional category of each recognition unit is used as the label to construct a random forest model; 5) Set the ratio of training set and validation set, adjust the parameters of random forest model, train and verify the accuracy of the model, and evaluate the overall accuracy of urban functional area division and the recognition accuracy of single functional type.
8. The urban functional area identification method based on remote sensing-multi-source semantic deep clustering according to any one of claims 1 to 7, It is characterized in that Used for intelligent identification of urban functional areas.
Citation Information
Patent Citations
Systems and methods of urban rooftop agriculture with smart city data integration
CA3192475A1
Comprehensive urban geographic semantic mining method based on multivariate big data
CN110442715A
Multi-temporal high-resolution remote sensing image building extraction method based on multi-feature LSTM network
CN111582194A
Many source data-driven LOD2-level city building model enhancement modeling algorithm
CN115482355A
Building foot point identification and segmentation method based on two-stage 3D point cloud semantic segmentation
CN116152494A
