A real estate surveying and mapping method

Through the combination of radiation and geometric correction of remote sensing images, graph attention network and fully connected neural network, the problem of low accuracy of traditional real estate surveying and mapping is solved, high-precision building extraction and elevation prediction are achieved, and the application of real estate management is supported.

CN118501878BActive Publication Date: 2024-09-13BEIJING GUANGAN SUNAC REAL ESTATE SURVEYING & MAPPING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410961192.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-13
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Traditional real estate surveying and mapping methods have low accuracy and are limited by radiation distortion, geometric deformation and insufficient resolution of remote sensing images, making it difficult to accurately extract building outlines.

Method used

Radiometric correction and geometric correction preprocessing of remote sensing images are used to construct graph structure data, graph attention network is used for feature encoding and decoding, and a fully connected neural network is used for building probability prediction and elevation value regression, and the image pyramid and RANSAC algorithm are used. Image registration to generate high-precision real estate surveying and mapping results.

Benefits of technology

It improves the accuracy and efficiency of real estate surveying and mapping, enhances the accuracy of building extraction and elevation prediction, and provides high-quality geospatial data to support real estate management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501878B
    Figure CN118501878B
Patent Text Reader

Abstract

The present application discloses a real estate surveying and mapping method, which relates to real estate surveying and mapping, including: obtaining a remote sensing image of real estate and preprocessing it; dividing the preprocessed remote sensing image into blocks; extracting pixels in the divided remote sensing image as nodes of a graph, calculating the weight of edges according to the adjacency relationship and feature similarity between pixels, and constructing graph structure data; using a graph attention network to encode features and obtain an encoded feature vector; using a fully connected neural network to perform binary classification prediction of buildings and non-buildings on each pixel to obtain a building probability map of each pixel; using a convolutional neural network to perform regression prediction of the elevation value of each pixel to obtain an elevation value map of each pixel; performing threshold segmentation on the obtained building probability map to obtain a building binary map; superimposing the elevation value map and the building binary map to generate a real estate surveying and mapping result. In view of the low precision of real estate surveying and mapping in the prior art, the present application improves the surveying and mapping precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to real estate surveying and mapping, and in particular to a real estate surveying and mapping method. Background Art

[0002] With the rapid development of social economy, real estate management plays an increasingly important role in the fields of land and resources management, urban and rural planning, and real estate appraisal. Accurately and efficiently obtaining geographic spatial information such as the location, boundaries, and elevation of real estate is the basis and prerequisite for real estate management. Traditional real estate surveying and mapping mainly uses field measurements, such as total station measurement and GPS positioning. Although the accuracy is high, the workload is large, the cycle is long, and the cost is high, which makes it difficult to meet the growing surveying and mapping needs.

[0003] In recent years, the rapid development of remote sensing technology has provided a more efficient and economical means for real estate surveying and mapping. High-resolution remote sensing satellites and drones can quickly obtain high-definition image data over a large area, providing a rich data source for extracting real estate information. However, due to the influence of imaging mechanisms, atmospheric effects, terrain undulations and other factors, the original remote sensing images often have problems such as radiation distortion and geometric deformation, and direct use will affect the surveying and mapping accuracy. In addition, single-phase remote sensing images are limited by factors such as cloud cover and vegetation coverage, making it difficult to accurately depict the contours of objects.

[0004] In the related art, for example, Chinese patent document CN117541720B provides a real estate surveying and mapping method, including: acquiring a SAR image; generating graph structure data based on the acquired SAR image; inputting the graph structure data into an image processing model, outputting a depth value or elevation value corresponding to a pixel of the SAR image, and a result of whether the pixel belongs to a building; generating a depth map or elevation map of the same size as the SAR image based on the depth value or elevation value output by the first fully connected layer, and marking the pixels belonging to the building; the present invention faces the problem that the SAR image is difficult to accurately analyze the building outline due to the complex secondary reflection effect between high-rise buildings in cities with complex configurations, eliminates dihedral interference through the model branch of the graph coding, and then analyzes the building outline by combining the original image features, and the granularity of the processed result can be used for the requirements of real estate measurement. The method generates a depth map or elevation map based on the SAR image, and uses it as the basis for extracting the building outline. However, the accuracy of the depth map or elevation map is limited by the resolution of the SAR image and the performance of the model. If the resolution of the SAR image is insufficient, or the model's estimation of depth and elevation is not accurate enough, errors will occur in the generated depth map or elevation map, which will in turn affect the accuracy of extracting building contours. Summary of the invention

[0005] In view of the problem of low precision in real estate surveying and mapping in the prior art, the present application provides a real estate surveying and mapping method, which improves the surveying and mapping precision by correcting and performing multi-scale registration on the acquired remote sensing images.

[0006] The purpose of this application is achieved through the following technical solutions.

[0007] The present specification provides a real estate surveying and mapping method, comprising: acquiring a remote sensing image of real estate; preprocessing the acquired remote sensing image, wherein the preprocessing includes radiation correction and geometric correction; performing block processing on the preprocessed remote sensing image; extracting pixels in the block remote sensing image as nodes of a graph, calculating the weight of edges according to the adjacency relationship and feature similarity between pixels, and constructing graph structure data; according to the graph structure data, using a graph attention network to perform feature encoding to obtain an encoded feature vector; decoding the encoded feature vector to obtain a decoded feature map; using a fully connected neural network to perform binary classification prediction of buildings and non-buildings on each pixel in the decoded feature map to obtain a building probability map of each pixel; using a convolutional neural network to perform regression prediction of elevation values ​​on each pixel in the decoded feature map to obtain an elevation value map of each pixel; performing threshold segmentation on the obtained building probability map to obtain a building binary map; superimposing the elevation value map and the building binary map to generate a real estate surveying and mapping result including building locations and elevation values.

[0008] Among them, the pixel is the basic unit of remote sensing images, which represents the smallest resolution unit in the image. Each pixel corresponds to an area on the ground and records the average value of the spectrum, radiation or other physical characteristics of the area. In remote sensing images, pixels are arranged in a regular grid, and the size of the pixel determines the spatial resolution of the image. Adjacency refers to the spatial adjacency or connectivity between pixels. In remote sensing images, adjacency reflects the distribution and arrangement of pixels in space. Common adjacency relationships include 4-neighborhood and 8-neighborhood. 4-neighborhood refers to the adjacent pixels in the four directions of the top, bottom, left and right of the pixel; 8-neighborhood adds adjacent pixels in the diagonal direction on the basis of 4-neighborhood. Graph structure data is a way of organizing data in the form of a graph. The graph consists of nodes and edges. Nodes represent the basic units of data, and edges represent the relationship or connection between nodes. In remote sensing image processing, pixels can be regarded as nodes of the graph, and the adjacency or similarity between pixels can be regarded as edges of the graph. Graph structure data includes region adjacency graph, k-nearest neighbor graph, fully connected graph, etc.

[0009] Among them, according to the graph structure data, a graph attention network is used for feature encoding to obtain an encoded feature vector, including: inputting the graph structure data into the graph attention network, and using the graph attention mechanism to aggregate the features of each node in the graph to obtain aggregated node features; based on the aggregated node features, the node context information and attention weights are extracted through the attention layer and the feedforward layer in the graph attention network; according to the extracted context information and attention weights, the feature representation of each node is updated by weighted summation to obtain the encoded node feature vector; the encoded node feature vector is input into the decoder network for feature decoding.

[0010] Among them, a fully connected neural network is used to perform binary classification prediction of buildings and non-buildings on each pixel in the decoded feature map to obtain a building probability map for each pixel, including: taking the node feature vector as the input of the graph attention network, extracting the context information and attention weight of the node through the graph attention layer and the feedforward layer, encoding the node features, and obtaining the encoded feature vector; inputting the encoded feature vector into the decoder network, decoding the feature vector through the deconvolution layer and the upsampling layer, restoring the spatial resolution of the original remote sensing image, and obtaining the decoded feature map; the decoded feature map has the same width and height as the original remote sensing image; when using the fully connected neural network to perform feature transformation and nonlinear mapping on the one-dimensional feature vector, an attention mechanism and a residual connection are introduced, and the obtained one-dimensional feature vector is input into the first fully connected layer of the fully connected neural network to obtain the first layer output vector; the first layer output The vector passes through the attention pooling layer to adaptively aggregate and extract global context information to obtain the attention weight vector; the attention weight vector has the same dimension as the output vector of the first layer; the output vector of the first layer is multiplied element by element by the attention weight vector to obtain the weight-modulated feature vector; the weight-modulated feature vector is added to the output vector of the first layer, and the fused feature vector is obtained through residual connection as the input of the second layer of the fully connected neural network; features are extracted layer by layer and attention weight modulation and residual fusion are performed until the last layer of the fully connected neural network; in the last layer of the fully connected neural network, the Sigmoid function is used to perform binary classification prediction of buildings and non-buildings on each pixel to obtain the probability value of each pixel belonging to the building category, forming a building probability map; the building probability map has the same width and height as the original remote sensing image, and the grayscale value of each pixel represents the probability of the pixel being a building.

[0011] Preferably, the output vector of the first layer is passed through an attention pooling layer to adaptively aggregate and extract global context information to obtain an attention weight vector, including: inputting the obtained output vector of the first layer into three convolution kernels of scales 1×1, 3×3, and 5×5 for convolution operations in sequence to obtain feature maps of three different scales; performing global average pooling on the feature maps of the three different scales to obtain global feature vectors of three scales; splicing the global feature vectors of the three scales in the channel dimension to obtain a fused multi-scale global feature vector; passing the multi-scale global feature vector through two fully connected layers and a Sigmoid activation function to learn the importance weights of features of different scales to obtain an attention weight vector; the attention weight vector has the same dimension as the output vector of the first layer; multiplying the output vector of the first layer by the attention weight vector element by element to obtain a weight-modulated feature vector; adding the weight-modulated feature vector to the output vector of the first layer, and obtaining a fused feature vector through a residual connection as the input of the second layer of the fully connected neural network.

[0012] The obtained building probability map is subjected to threshold segmentation to obtain a building binary map, including: setting a threshold T, marking pixels with probability values ​​greater than or equal to T in the building probability map as buildings, and marking pixels with probability values ​​less than T as non-buildings, to obtain an initial building binary map; the threshold T is adaptively determined according to the distribution characteristics of the building probability map and prior knowledge; the initial building binary map is denoised by morphological opening operation to eliminate small isolated noise areas to obtain a denoised building binary map; the structural element of the morphological opening operation is a square of size 3×3. The denoised building binary map is subjected to connected domain analysis to extract the geometric features of each connected region, including area, perimeter, rectangularity, etc.: the following geometric and morphological features are extracted for each connected region: area S: the number of pixels in the connected region; perimeter L: the number of boundary pixels in the connected region; rectangularity R: the ratio of the area of ​​the connected region to the area of ​​its minimum circumscribed rectangle; direction angle θ: the angle between the main direction of the minimum circumscribed rectangle of the connected region and the horizontal direction; compactness C: the ratio of the area of ​​the connected region to the square of its perimeter, ; According to prior knowledge and statistical analysis, the following feature thresholds are set: area thresholds S_min and S_max, which filter out connected areas with an area less than S_min or greater than S_max; rectangularity threshold R_min, which filters out connected areas with a rectangularity less than R_min; direction angle thresholds θ_min and θ_max, which filter out connected areas with a direction angle less than θ_min or greater than θ_max; compactness threshold C_min, which filters out connected areas with a compactness less than C_min; The preliminary connected area set is judged one by one, and the connected areas that meet the following conditions are considered to be building areas, otherwise they are filtered out: S_min≤S≤S_max; R≥R_min; θ_min≤θ≤θ_max; C≥C_min; The filtered building connected areas are numbered to obtain a set of building instances, each instance corresponding to an independent building area; According to the building instance set, the building binary map is updated, and the non-building area is marked as a background value to obtain a filtered building binary map. The edge detection algorithm is used to extract the building boundaries in the binary image of the building after morphological processing to obtain the building boundary map; the edge detection algorithm uses the Canny operator, the standard deviation of the Gaussian filter is 1.5, and the low threshold and high threshold of the double threshold are 50 and 150 respectively; the building boundary map and the binary image of the building after morphological processing are logically ANDed to obtain the binary image of the building with complete boundaries as the final building extraction result. The elevation value regression task uses the L1 or L2 loss function.

[0013] Preferably, a multi-task learning framework is adopted to simultaneously optimize the building classification prediction task and the elevation value prediction task, and improve the model performance through joint training; in the multi-task learning framework, the building classification prediction task and the elevation value prediction task share the feature encoding layer, and independent network structures are used in the decoding layer and the output layer, and multi-task optimization is achieved through weight sharing and loss function balance.

[0014] Furthermore, the acquired remote sensing image is preprocessed, and the preprocessing includes radiation correction and geometric correction, including: performing radiation calibration on the acquired remote sensing image, converting the grayscale value of the pixel in the remote sensing image into the ground reflectivity or amplitude brightness value by using the calibration coefficient, so as to eliminate the radiation distortion caused by the sensor response nonlinearity and gain offset, and obtain the remote sensing image after radiation calibration; using the obtained remote sensing image after radiation calibration as input to perform atmospheric correction; using the atmospheric radiation transfer model to calculate the atmospheric effect parameters, removing the atmospheric absorption and scattering effects from the remote sensing image after radiation calibration, and obtaining the surface reflectivity image; the atmospheric effect parameters include aerosol optical thickness and water vapor content; the atmospheric radiation transfer model adopts the Second Simulation of the Satellite Signal in the Solar Spectrum model; using the surface reflectivity image as input to perform geometric correction.

[0015] Among them, the Second Simulation of the Satellite Signal in the Solar Spectrum (6S) model is used to simulate the transmission process of solar radiation in the atmosphere and calculate the impact of atmospheric effects on remote sensing images. The input parameters of the 6S model include: atmospheric model parameters: such as atmospheric profile, aerosol type, aerosol optical thickness, etc.; observation geometry parameters: such as solar zenith angle, satellite zenith angle, relative azimuth, etc.; surface reflection characteristic parameters: such as surface reflectivity, surface type, etc.; sensor parameters: such as spectral response function, spectral resolution, etc. By setting these input parameters, the 6S model can simulate satellite observation signals under different atmospheric conditions, observation geometry and surface characteristics, and calculate the parameters required for atmospheric correction, such as atmospheric up-radiation, atmospheric down-radiation, atmospheric transmittance, etc. The output results of the 6S model can be used to remove the atmospheric effects in remote sensing images and convert the radiance values ​​observed by satellites into surface reflectivity. This process is called atmospheric correction or atmospheric correction. The remote sensing images after atmospheric correction eliminate the effects of atmospheric absorption and scattering, and the surface reflectivity images obtained more accurately reflect the spectral characteristics of the objects.

[0016] Preferably, when performing radiation calibration on the acquired remote sensing image, a piecewise linear fitting method is used to determine the calibration coefficient, specifically including: using ground synchronous observation data, selecting objects with different reflectivity levels as calibration targets, extracting their radiance values ​​and corresponding image grayscale values, and constructing a radiation calibration sample set; performing piecewise linear fitting on the radiation calibration sample set, dividing the grayscale value dynamic range into multiple sub-intervals, and using the least squares method to fit the linear relationship between the grayscale value and the radiance value in each sub-interval to obtain a piecewise linear calibration coefficient; using the piecewise linear calibration coefficient to perform a piecewise linear transformation on the image, converting the grayscale value of each pixel into a corresponding radiance value, realizing piecewise linear radiation calibration, improving the calibration accuracy, and obtaining a remote sensing image after radiation calibration.

[0017] Preferably, when performing atmospheric correction on the remote sensing image after radiometric calibration, a relative radiometric correction method based on surface features is adopted, specifically including: selecting multiple invariant objects with obvious surface features as pseudo invariant features (PIFs) in the remote sensing image after radiometric calibration, extracting their pixel values ​​to construct a PIFs sample library; the reflectivity of PIFs in images of different phases is relatively stable, and a linear conversion relationship between the pixel values ​​of PIFs of different phases is established by using a statistical regression method to obtain a relative radiometric correction coefficient; performing relative radiometric correction on images of different phases by using the relative radiometric correction coefficient, normalizing their radiation levels to the same reference, eliminating radiation distortion caused by differences in atmospheric conditions, and obtaining a surface reflectivity image after atmospheric correction.

[0018] Preferably, when performing image enhancement on the remote sensing image after geometric precision correction, a method combining wavelet transform and threshold processing is adopted, specifically including: performing multi-scale wavelet decomposition on the remote sensing image after geometric precision correction to obtain wavelet coefficients of different frequency bands; performing threshold processing on the wavelet coefficients of each frequency band to retain high-frequency detail information and suppress low-frequency noise and fuzzy components; performing wavelet reconstruction on the wavelet coefficients after threshold processing to obtain an enhanced image, and using a histogram equalization method to adjust the dynamic range and contrast of the image to highlight the texture features of buildings and objects to obtain a preprocessed remote sensing image.

[0019] Furthermore, the surface reflectance image is used as input for geometric correction, including: dividing the surface reflectance image into multiple image blocks; selecting multiple ground control points GCPs in each image block; the ground control points GCPs represent the image coordinates and corresponding geographic coordinates of the ground feature points measured by GPS; in each image block, using the selected ground control points GCPs, establishing the affine transformation relationship between the pixel coordinates (row, col) in the image coordinate system of the corresponding image block and the geographic coordinates (X, Y) in the UTM projection coordinate system through least squares fitting, and obtaining the six-parameter affine transformation geometric correction parameters of the corresponding image block; using the obtained six-parameter affine transformation geometric correction parameters of each image block, geometrically correcting each pixel of the corresponding image block through affine transformation; using the weighted average method to splice the geometrically corrected image blocks to obtain the geometrically corrected remote sensing image as the preprocessed remote sensing image.

[0020] Among them, ground control points are reference points used in the process of geometric correction of remote sensing images to establish the correspondence between the image coordinate system and the geographic coordinate system. GCPs are obtained through field measurements or high-precision maps, with known accurate geographic coordinates (such as UTM coordinates or latitude and longitude coordinates) and corresponding image coordinates (such as row and column numbers). In geometric correction, GCPs are used as control points to estimate the parameters of the geometric transformation model to convert image coordinates into geographic coordinates. The selection of GCPs has an important impact on the accuracy of geometric correction, so points with obvious ground features, uniform distribution, and accurate coordinates should be selected as GCPs. Common GCPs include road intersections, building corners, and plot boundaries. The UTM projection coordinate system is a widely used map projection coordinate system used to represent locations on the earth's surface. The UTM coordinate system divides the earth's surface into 60 six-degree zones, each of which uses the Transverse Mercator projection to project the surface of the ellipsoid onto a plane. The UTM coordinate system uses meters as units and consists of two coordinates: the ordinate (Northing) and the abscissa (Easting). The ordinate represents the distance north or south from the equator, and the abscissa represents the distance east or west from the central meridian. The UTM coordinate system is defined independently in each six-degree zone, so the complete UTM coordinate needs to specify the six-degree zone number and the northern and southern hemispheres. Affine transformation is a geometric transformation used to describe the linear mapping relationship between two coordinate systems. In the geometric correction of remote sensing images, affine transformation is often used to establish the conversion relationship between the image coordinate system and the geographic coordinate system. The two-dimensional affine transformation can be expressed as: , , where (X, Y) is the coordinate in the geographic coordinate system, (row, col) is the pixel coordinate in the image coordinate system, , , , , , is the affine transformation parameter. Affine transformation includes basic transformations such as translation, scaling, rotation and tilt. By combining these transformations, geometric correction of the image can be achieved. Affine transformation keeps straight lines and parallel relationships unchanged, so it is suitable for correcting geometric distortion caused by factors such as sensor tilt and earth rotation.

[0021] Furthermore, graph structure data is constructed, including: dividing the preprocessed remote sensing image into multiple image blocks; extracting each pixel in each image block as a node of the graph, and the features of each node include the spectral features, texture features and spatial features of the pixel corresponding to the node; using the extracted node features as the initial feature vector of the graph attention network; calculating the weight of the edge between each pair of nodes in the graph according to the spatial adjacency relationship, feature similarity and semantic similarity between the two nodes; using the calculated edge weight as the initial weight of the edge in the graph attention network; optimizing the initial feature vector and initial weight by a random walk algorithm; constructing graph structure data according to the optimized initial feature vector and initial weight; the graph structure data includes the feature vector of the node, the identifier of the node, the weight matrix of the edge between the nodes and the semantic label of the node.

[0022] Among them, when calculating the edge weights between nodes, not only the spatial adjacency and feature similarity are considered, but also the semantic similarity is introduced as a factor in weight calculation. Semantic similarity is measured by comparing the semantic labels (such as buildings, roads, vegetation, etc.) of the pixels corresponding to the two nodes. The edge weights between semantically related pixel nodes will be larger. This helps the subsequent graph attention network to better mine the semantic association information between pixel nodes. The node features and edge weights of the graph are optimized by the random walk algorithm, so that the edge weights between pixel nodes with similar features, semantic relevance and spatial proximity are larger, while the weights between nodes with large feature differences, semantic irrelevance and long spatial distance are smaller. The optimized graph structure can more accurately reflect the intrinsic connection between pixels in real estate scenes, and provide more effective prior knowledge for subsequent feature encoding and decoding. The node semantic labels are introduced in the constructed graph structure data, and the subsequent graph attention network can use the semantic information of the pixel nodes for feature encoding, so that the encoding results contain more high-level semantic information, improving the accuracy of building extraction and elevation prediction.

[0023] Furthermore, the spectral feature represents the reflectance value of the pixel in multiple bands; the texture feature represents the grayscale co-occurrence matrix in the area around the pixel; the spatial feature represents the horizontal and vertical coordinates of the pixel; the spatial adjacency relationship is calculated based on the spatial distance between the pixels corresponding to the two nodes; the feature similarity is calculated based on the Euclidean distance between the feature vectors of the pixels corresponding to the two nodes; and the semantic similarity is calculated based on the similarity between the semantic labels of the pixels corresponding to the two nodes.

[0024] Furthermore, the initial feature vector and initial weight are optimized by the random walk algorithm, including: initializing the walk probability vector of each node; the dimension of the walk probability vector is equal to the number of nodes, and the walk probability of each node is initially set to 1 / N, where N is the total number of nodes in the graph; calculating the transition probability matrix P, and each element of the transition probability matrix P It represents the probability of walking from node i to node j, and the calculation formula is: , where A represents the original edge weight matrix of the graph; S represents the node similarity matrix; represents the edge weight from node i to node j, represents the similarity between node i and node j, and λ is the balancing factor, which is used to control the contribution ratio of edge weight and node similarity;

[0025] Node Similarity The calculation formula is: , where F represents the original feature matrix of the node; and Represent the feature vectors of node i and node j respectively, represents the L2 norm, is the bandwidth parameter of the Gaussian kernel function; set the restart probability α and random transfer probability β of the random walk, α means that each walk has a probability of α to return to the starting node, β means that each walk has a probability of β to randomly jump to any node, The probability of transferring to other nodes is based on the transition probability matrix P.

[0026] Starting from each node, a random walk is performed until the walk probability vector converges or reaches the maximum number of iterations max_iter. The update formula of the walk probability vector is: ,in, is the initial walk probability vector, U is the uniform probability vector, each element is 1 / N, N is the total number of nodes, is the walking probability vector of the tth iteration, and P is the transition probability matrix.

[0027] According to the results of random walk, the edge weight of the graph is updated. The update formula of the edge weight from node i to node j is: ,in, represents the probability of walking from node i to node j. γ is an exponential parameter used to control the dynamic range of edge weights. The new feature vector of each node is calculated through graph convolution operation using the updated edge weight A' and the original node feature vector F.

[0028] Among them, when calculating the transition probability matrix, the node similarity matrix S is introduced, and the contribution ratio of edge weight and node similarity is controlled by the balance factor λ, so that the transition probability between nodes with similar features is greater. In the random walk process, the random transition probability β is introduced to allow the walk process to randomly jump to any node with a certain probability, increase the randomness and globality of the walk, and help explore the diversity of the graph structure. When updating the edge weight, the exponential parameter γ is introduced to perform an exponential transformation on the walk probability, widen the weight difference between strong and weak connections, and highlight the role of important edges.

[0029] Furthermore, using the updated edge weights And the original node feature vector F, the new feature vector of each node is calculated through graph convolution operation, and the feature vector update formula of node i is:

[0030]

[0031] in, represents the updated feature vector of node i. It is obtained by aggregating and transforming the feature vectors of the neighboring nodes of node i; Represents the updated adjacency matrix The edge weight between node i and node j; adjacency matrix Represents the connection relationship and edge weight between nodes in the graph structure; is the updated edge weight The corresponding degree matrix is ​​a diagonal matrix, ; represents the updated degree matrix The degree of node i; represents the updated degree matrix The degree of node j; Represents the original feature vector of node j, which is the initial feature representation of node j and is used to aggregate the information of neighboring nodes in the graph convolution operation; W represents the weight matrix of the graph convolution, which is a learnable parameter matrix used to transform the aggregated neighboring node features to obtain a new feature representation of node i. ReLU: represents the activation function, that is, the rectified linear unit. It is a nonlinear function used to introduce nonlinear transformations after the graph convolution operation to enhance the expressive power of the model. The ReLU function is defined as: ReLU (x) = max (0, x), that is, negative values ​​are truncated to 0, and positive values ​​remain unchanged. Among them, when updating the node features, the graph convolution operation is used to aggregate the neighborhood information and the own features of the node, and introduce the learnable weight matrix W for feature transformation to improve the representation ability of the node features.

[0032] Furthermore, the elevation map and the building binary map are superimposed to generate a real estate surveying result including the building location and elevation value, including: using the image pyramid method to divide the elevation map and the building binary map into multiple regions; each region corresponds to a registration subtask; in each region, the elevation map and the building binary map are respectively subjected to scale space extreme value detection to obtain points that meet preset conditions as key points; for the obtained key points, SIFT feature descriptors are calculated; the SIFT feature descriptors reflect the statistical characteristics of the image gradient distribution of the key points; according to the SIFT feature descriptors, the SIFT feature descriptors are used to calculate the key points. The Euclidean distance metric and the nearest neighbor ratio test algorithm are used to obtain the same-name point pairs between the elevation value map and the building binary map; the same-name point pairs represent the feature points corresponding to the same feature in the two images and are used for image registration; based on the same-name point pairs, the RANSAC algorithm is used to construct an affine transformation matrix; based on the affine transformation matrix, a registration model is constructed in combination with the location information of the existing building boundary lines; using the constructed registration model, the elevation value map and the building binary map in each area are geometrically transformed and grayscale resampled to obtain the registered image; the registered images are spliced ​​to obtain the real estate surveying and mapping result map.

[0033] Among them, in real estate surveying and mapping, in order to improve the efficiency and accuracy of registration, a divide-and-conquer strategy is often adopted to divide the entire surveying and mapping area into multiple small areas, each of which corresponds to a registration subtask. The registration subtask refers to the process of registering the elevation value map and the building binary map in each small area. By processing multiple registration subtasks in parallel, the entire surveying and mapping process can be accelerated. The registration subtask usually includes steps such as feature extraction, feature matching, transformation model estimation, and image resampling. The result of each registration subtask is the registered elevation value map and building binary map in the area. Finally, the results of all areas are spliced ​​together to obtain a complete real estate surveying and mapping result map.

[0034] Scale space extremum detection is a key step in the SIFT (Scale-Invariant Feature Transform) algorithm, which is used to detect key points at different scales of an image. Key points are feature points in an image that are significant and stable and can be used for image registration and recognition. The scale space is a series of blurred images obtained by Gaussian filtering the image, and each scale corresponds to a different degree of blur. In the scale space, by comparing the pixel values ​​of each pixel with its adjacent scales and adjacent positions, local extreme points are found, that is, points that reach extreme values ​​in both scale space and image space. These extreme points are scale invariant and can be used as candidate points for key points. Through further screening and refinement, the final set of key points is obtained for subsequent feature description and matching.

[0035] The SIFT feature descriptor is a high-dimensional vector used to describe the local image features of key points. It generates a 128-dimensional feature vector by counting the direction and amplitude distribution of the image gradient in the neighborhood of the key point. Specifically, with the key point as the center, its neighborhood is divided into 4x4 sub-regions, and the gradient histogram in 8 directions is calculated in each sub-region to obtain a 4x4x8=128-dimensional feature vector. The SIFT feature descriptor has rotation invariance, scale invariance, and a certain degree of illumination invariance, so it performs well in tasks such as image registration and target recognition. By comparing the similarity between the SIFT feature descriptors of two key points, it can be determined whether they correspond to the same object, thereby establishing a matching relationship between the key points.

[0036] The nearest neighbor ratio test is an algorithm used to screen SIFT feature matching results, with the goal of removing incorrect matching point pairs. For each key point, the Euclidean distance between its SIFT feature descriptor and the SIFT feature descriptors of all key points in another image is calculated to find the two closest key points, which are called the nearest neighbor and the next nearest neighbor. If the ratio of the nearest neighbor distance to the next nearest neighbor distance is less than a preset threshold (such as 0.8), the nearest neighbor is considered a reliable matching point, otherwise it is considered a wrong match and removed. The nearest neighbor ratio test is based on the following: the nearest neighbor distance corresponding to the correct matching point should be significantly smaller than the distance of other non-matching points, while the incorrect matching point usually has a similar distance to multiple key points. In this way, most of the incorrect matches can be effectively removed and the accuracy of the matching results can be improved.

[0037] RANSAC is a robust algorithm for estimating model parameters and is often used for transformation matrix estimation in image registration. In image registration, a set of corresponding point pairs is obtained through SIFT feature matching, but some of them may contain wrong matches or outliers. RANSAC estimates the optimal model parameters in data containing outliers by random sampling and iterative fitting. Specifically, RANSAC randomly selects a minimum subset (such as 3 pairs of points) to calculate the transformation matrix, and then applies this matrix to all corresponding point pairs to calculate the error of each point pair. Point pairs with errors less than a preset threshold are regarded as inliers, and the rest are outliers. Repeat random sampling and calculation multiple times to find the transformation matrix with the largest number of inliers as the final estimation result. RANSAC can effectively process data with many outliers, obtain stable and reliable transformation matrix estimates, and improve the robustness of image registration.

[0038] The RANSAC algorithm is used to process the same-name point pairs in each area, the wrong matching points are eliminated, and the optimal affine transformation matrix is ​​estimated. The calculation steps of the affine transformation matrix are as follows: three pairs of points are randomly selected from the same-name point pairs to form three linear equations, each of which contains six unknown parameters, which are the elements of the affine transformation matrix. The three equations are solved simultaneously to obtain a set of initial values ​​of the affine transformation matrix as model parameters. All the same-name point pairs are transformed using the estimated model parameters, and the distance residuals between the transformed point pairs are calculated. The point pairs with distance residuals less than the preset threshold are taken as inliers, and the rest are taken as outliers. The number of inliers is counted. If the number of inliers is greater than half of the total number of point pairs, the current model parameters are taken as candidate solutions, and the number of inliers is recorded. Otherwise, the current solution is abandoned, and three pairs of points are reselected for the next iteration. The iteration is stopped when the number of repeated iterations reaches the preset value or the number of inliers exceeds 80% of the total number of point pairs. Among all candidate solutions, the set of model parameters with the largest number of inliers is selected as the optimal solution, and the model parameters are re-estimated using the corresponding inliers to obtain the final affine transformation matrix.

[0039] Furthermore, the preset conditions of the key point include: the key point corresponds to a local extreme point in the scale space; the scale parameter of the scale layer where the key point is located is greater than the preset threshold; the response value of the key point is greater than the preset threshold, and the response value is calculated by the determinant of the Hessian matrix, reflecting the significance of the local structure of the key point; the key point is located in the central area of ​​the image, and the distance from the image boundary is greater than the preset threshold; a point that meets any of the above conditions is regarded as a key point.

[0040] Furthermore, according to the affine transformation matrix, combined with the location information of the existing building boundary line, a registration model is constructed, including: for each area, the canny operator is used to perform edge detection on the elevation value map, and the building boundary line is extracted by the contour tracking algorithm; according to the affine transformation matrix, the extracted building boundary line is geometrically transformed to obtain the transformed building boundary line; the distance residual between the transformed building boundary line and the building boundary line in the building binary map is calculated; the distance residual is measured by the Euclidean distance between the sampling points on the boundary line to reflect the degree of spatial deviation of the two boundary lines; according to the distance residual, the thin plate spline interpolation algorithm is sampled to obtain the nonlinear deformation relationship, and the nonlinear deformation relationship reflects the geometric deformation relationship in the preset area of ​​the building boundary line; according to the affine transformation matrix and the nonlinear deformation relationship, a registration model is constructed, and the expression of the registration model is as follows: ,in, is the pixel coordinate in the elevation map, is the target coordinate after registration, is the affine transformation term, is a nonlinear deformation relationship term; the constructed registration model is used to perform geometric transformation on the elevation value map and the building binary map in the area; the transformed elevation value map and the building binary map are grayscale resampled respectively; the resampling adopts a bilinear interpolation algorithm to obtain the registered elevation value map and the building binary map; the registered elevation value map and the building binary map are fused to generate a real estate surveying and mapping result map containing the building location and elevation information.

[0041] Among them, the contour tracking algorithm is an algorithm used to extract the boundaries of connected regions in binary images. In real estate surveying and mapping, the binary image of the building is obtained by binarizing and edge detecting the elevation value map, and then the boundary line of the building is extracted using the contour tracking algorithm. Common contour tracking algorithms include the Moore-Neighbor tracking algorithm and the The-o-Pavlidis tracking algorithm. These algorithms access boundary points in a certain order by tracking the connectivity of pixel points, and finally obtain a complete boundary line coordinate sequence. Distance residual refers to the degree of spatial deviation between two corresponding building boundary lines during image registration. In real estate surveying and mapping, the building boundary lines extracted from the elevation value map are registered with the boundary lines in the building binary map through affine transformation, but due to the limitations of affine transformation, there may be a certain deviation between the transformed boundary lines and the target boundary lines. Distance residual is used to quantify this deviation and reflect the accuracy of registration. Usually, a series of points are sampled at equal intervals on the two boundary lines, and the Euclidean distance between each pair of corresponding points is calculated to obtain a set of distance residual values. The smaller the distance residual, the higher the degree of overlap of the two boundary lines and the better the registration accuracy. Grayscale resampling refers to the process of interpolating the grayscale values ​​of the transformed image after the geometric transformation of the image to obtain an output image that is consistent with the size and resolution of the original image. In real estate surveying and mapping, the elevation value map and the building binary map are geometrically transformed through the registration model to align them to the same coordinate system. Since the geometric transformation may cause changes in the image size and pixel position, the transformed image needs to be grayscale resampled to determine the grayscale value of each pixel. Common grayscale resampling methods include nearest neighbor interpolation, bilinear interpolation, and bicubic interpolation.

[0042] Compared with the prior art, the advantages of this application are:

[0043] By adopting preprocessing techniques such as radiation correction and geometric correction, the radiation distortion and geometric deformation in remote sensing images are eliminated, providing high-quality input data for subsequent feature extraction and semantic segmentation, and improving the surveying and mapping accuracy.

[0044] The graph attention network is used to encode the features of remote sensing images. By constructing graph structure data, each pixel is used as a node of the graph, and the edge weights are calculated by combining the spectral, texture, and spatial features of the nodes as well as the spatial adjacency and feature similarity between nodes. The local and global correlation information of the pixels in the remote sensing images is fully mined, and a more discriminative high-level feature representation is learned.

[0045] By optimizing the node features and edge weights of the graph through the random walk algorithm, the semantic information of the nodes can be effectively diffused, and the information transmission and fusion between different regions can be strengthened, so that the encoded feature vector contains richer semantic information, which is conducive to improving the accuracy of subsequent building extraction and elevation prediction.

[0046] Using a fully connected neural network to predict building probabilities based on coded features can make full use of the high-level semantic features of the nodes and directly output the building probability of each pixel through end-to-end classification learning, eliminating the complex feature design and classifier training process in traditional methods and improving the accuracy and efficiency of building extraction.

[0047] Using convolutional neural networks to regress and predict elevation values ​​for encoded features can make full use of the spatial context information of the nodes and directly estimate the elevation value of each pixel through end-to-end regression learning, overcoming the precision loss caused by spatial interpolation based on sparse elevation sampling points in traditional methods, and generating accurate and dense elevation value maps.

[0048] The building probability map is converted into a binary map through threshold segmentation, which can intuitively represent the location and contour information of the building, providing convenience for subsequent image registration.

[0049] The image pyramid and sliding window methods are used to divide the elevation map and binary map into multiple regions. Scale space extremum detection and SIFT feature description are performed on each region to extract stable and scale-invariant key points, reducing the computational complexity of image registration.

[0050] The same-name point pairs of the two images are obtained through Euclidean distance measurement and nearest neighbor ratio test, and the affine transformation matrix is ​​estimated using the RANSAC algorithm, which can effectively eliminate incorrect matching point pairs and improve the robustness of the registration.

[0051] On the basis of affine transformation, the edge structure information of the image is further used to construct a thin plate spline registration model, which can effectively correct local non-rigid deformation, improve the accuracy of image registration, and achieve precise alignment of building boundaries and elevation information in overlapping areas.

[0052] Through the multi-scale fusion strategy, the registered images are seamlessly spliced ​​and the grayscale differences between the images are smoothly transitioned. Finally, a real estate surveying and mapping result map covering the entire survey area with consistent geometry and radiation is generated, which intuitively expresses the spatial distribution of buildings and surface undulations, and provides detailed geographic spatial data support for real estate planning, management, analysis and other applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is an exemplary flow chart of a real estate surveying and mapping method according to some embodiments of this specification;

[0054] Figure 2 is an exemplary flow chart of obtaining a pre-processed remote sensing image according to some embodiments of this specification;

[0055] Figure 3 is an exemplary flow chart for obtaining graph structure data according to some embodiments of this specification;

[0056] Figure 4 This is an exemplary flowchart for obtaining real estate surveying and mapping results according to some embodiments of this specification. DETAILED DESCRIPTION

[0057] The method and system provided in the embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0058] Figure 1 This is an exemplary flow chart of a real estate surveying and mapping method shown in some embodiments of the present specification, a real estate surveying and mapping method, comprising: acquiring a remote sensing image of real estate; preprocessing the acquired remote sensing image, the preprocessing including radiation correction and geometric correction; performing block processing on the preprocessed remote sensing image; extracting pixels in the block remote sensing image as nodes of a graph, calculating the weights of edges according to the adjacency relationship and feature similarity between pixels, and constructing graph structure data; according to the graph structure data, using a graph attention network to perform feature encoding to obtain an encoded feature vector; decoding the encoded feature vector to obtain a decoded feature map; using a fully connected neural network to perform binary classification prediction of buildings and non-buildings on each pixel in the decoded feature map to obtain a building probability map for each pixel; using a convolutional neural network to perform regression prediction of elevation values ​​on each pixel in the decoded feature map to obtain an elevation value map for each pixel; performing threshold segmentation on the obtained building probability map to obtain a building binary map; superimposing the elevation value map and the building binary map to generate a real estate surveying and mapping result including building locations and elevation values.

[0059] First, the remote sensing image data of the target area is obtained and the remote sensing image is preprocessed. The preprocessing includes two steps: radiation correction and geometric correction: the acquired remote sensing image is radiometrically calibrated, and the grayscale value of the pixel in the remote sensing image is converted into ground reflectivity or amplitude brightness value using the calibration coefficient to eliminate the radiation distortion caused by the nonlinear response of the sensor and the gain offset, and obtain the radiometrically calibrated remote sensing image.

[0060] Figure 2 This is an exemplary flow chart for obtaining a preprocessed remote sensing image according to some embodiments of this specification, obtaining the radiation calibration coefficient of the remote sensing sensor: consulting the technical documentation or radiation calibration report of the remote sensing sensor to obtain the gain (Gain) and offset (Offset) parameters of the sensor; the gain and offset usually vary according to the different bands and gain modes of the sensor, and it is necessary to obtain the calibration coefficient corresponding to the remote sensing image; the calibration coefficient may change over time, and it is necessary to select the calibration coefficient corresponding to the remote sensing image acquisition time. Perform radiation calibration on each pixel in the remote sensing image: using the obtained gain and offset parameters, use the following formula to perform radiation calibration on each pixel: L=DN*Gain+Offset, where L is the radiation brightness value, indicating the radiation received by the sensor; DN is the pixel gray value, indicating the digital quantization value of the pixel in the image; Gain is the gain coefficient, which is used to convert DN into radiation; Offset is the offset, indicating the response offset of the sensor; for each band of the remote sensing image, use the corresponding gain and offset parameters to independently perform radiation calibration on each pixel in the band.

[0061] Convert the radiance value to ground reflectance or amplitude brightness value: The radiance value indicates the amount of radiation received by the sensor, which is related to the surface reflection characteristics and atmospheric effects. In order to eliminate the influence of atmospheric effects and solar irradiance, the radiance value needs to be converted to ground reflectance or amplitude brightness value. Ground reflectance indicates the ratio of solar radiation reflected by the surface to solar radiation incident on the surface, which is the inherent reflection characteristic of the ground object. The amplitude brightness value indicates the normalized radiance value, which eliminates the influence of solar irradiance. The conversion formula is as follows: Ground reflectance: , amplitude brightness value: , where R is the ground reflectivity, L is the radiation brightness value, d is the distance between the sun and the earth, E is the solar irradiance, θ is the solar zenith angle, and N is the amplitude brightness value; through conversion, the remote sensing image after radiation calibration is obtained, and the pixel value represents the ground reflectivity or amplitude brightness value.

[0062] Perform atmospheric correction on the radiometrically calibrated remote sensing images: Select an appropriate atmospheric radiation transfer model: Common atmospheric radiation transfer models include 6S, MODTRAN, FLAASH, etc.; the 6S model is a widely used atmospheric radiation transfer model, applicable to visible light, near infrared and short-wave infrared bands; the 6S model takes into account atmospheric molecular scattering, aerosol scattering and absorption, water vapor absorption and other atmospheric effects, and can accurately simulate the transmission process of solar radiation in the atmosphere. Atmospheric parameters include aerosol optical depth (AOD), water vapor content, etc.; aerosol optical depth indicates the attenuation of solar radiation by aerosols in the atmosphere, which can be obtained through field measurements or satellite inversion; water vapor content indicates the content of water vapor in the atmosphere, which can be obtained through field measurements, satellite inversion or meteorological data; obtain atmospheric parameters corresponding to the time and place of remote sensing image acquisition to accurately reflect the atmospheric conditions. Input the acquired atmospheric parameters into the selected atmospheric radiation transfer model; set the observation geometric parameters such as solar zenith angle, satellite zenith angle, relative azimuth angle, etc.; run the atmospheric radiation transfer model to simulate the transmission process of solar radiation in the atmosphere; calculate the atmospheric effect parameters, including atmospheric path radiation ( )、Atmospheric transmittance(T)、Atmospheric penetration( ) and atmospheric backscatter term (S), etc.

[0063] Using the calculated atmospheric effect parameters, the following formula is used to perform atmospheric correction on each pixel: , where R is the surface reflectivity, L is the radiation brightness value, is the atmospheric path radiation, T is the atmospheric transmittance, is the atmospheric penetration rate, S is the atmospheric backscattering term; for each band of the remote sensing image, the corresponding atmospheric effect parameters are used to independently perform atmospheric correction on each pixel of the band. After atmospheric correction, the pixel value in the remote sensing image represents the surface reflectivity, eliminating the influence of atmospheric effects; the surface reflectivity image reflects the true reflection characteristics of the ground object and can be used for further remote sensing image analysis and application.

[0064] Geometric correction of the surface reflectance image: Determine the appropriate image block size based on the spatial resolution of the remote sensing image, the complexity of the terrain, and computing resources; the image block size is usually selected as a square, such as 1000×1000, 2000×2000 pixels, etc.; the image block size should be large enough to contain a sufficient number of ground control points, while considering computing efficiency and memory usage. Starting from the upper left corner of the remote sensing image, the image is divided into several image blocks according to the determined image block size; a certain degree of overlap can be set between image blocks, such as 10%, 20%, etc., to ensure the continuity between adjacent image blocks; for image blocks with incomplete image edges, retain their complete parts and discard the incomplete parts. The divided image blocks are numbered or indexed for subsequent processing and management; common indexing methods include row and column numbering, such as (1, 1), (1, 2), (2, 1), etc., or continuous numbering, such as 1, 2, 3, etc. Use GPS to measure the geographic coordinates of feature points: select obvious feature points in the study area, such as road intersections, building corners, plot boundaries, etc.; use GPS receivers to conduct field measurements of the selected feature points to obtain their precise geographic coordinates (longitude, latitude, elevation); ensure that the GPS signal is good during measurement, avoid occlusion and multipath effects, and improve measurement accuracy; record the number, description, and measurement time of each feature point. Find the location corresponding to the feature point measured in the field on the remote sensing image; use image processing software, such as ENVI, ArcGIS, etc., to enlarge the image and accurately locate the feature points; record the pixel coordinates (row and column numbers) of each feature point on the image, that is, the image coordinates. The image coordinates of each feature point and the corresponding GPS measured geographic coordinates are organized into pairs to form ground control points (GCPs). The number of GCPs must meet the requirements of the geometric correction model, and generally at least 6 GCPs are required. GCPs should be evenly distributed, covering the entire image block, and avoid being concentrated in a certain area. For each image block, a GCPs dataset is established, which contains information such as point number, image coordinates, and geographic coordinates.

[0065] Construct an affine transformation model: Affine transformation is a linear geometric transformation that keeps straight lines and parallel relationships unchanged; the affine transformation model includes transformation parameters such as translation, scaling, rotation, and tilt; for two-dimensional affine transformation, the model is: , , where (X, Y) is the geographic coordinate in the UTM projection coordinate system, and (row, col) is the pixel coordinate in the image coordinate system. , , , , , Substitute the image coordinates and geographic coordinates of each GCP into the affine transformation model to form a linear equation system; use the least squares method to solve the equation system to obtain the affine transformation parameters , , , , , The estimated value; the least squares method obtains the optimal parameter estimate by minimizing the sum of squared errors; numerical methods such as singular value decomposition (SVD) and QR decomposition can be used to solve the least squares problem. Substitute the estimated affine transformation parameters into the model and calculate the residual of each GCP, that is, the difference between the predicted coordinates and the actual coordinates; calculate the root mean square error (RMSE) of the residual to evaluate the fitting accuracy of the affine transformation model; if the RMSE meets the requirements, accept the estimated affine transformation parameters; otherwise, it is necessary to check the reliability of the GCPs, eliminate points with large errors, and re-estimate the parameters. For each image block, use its corresponding GCPs data set to estimate six affine transformation parameters , , , , , ; The estimated parameters are used as the geometric correction parameters of the image block for the subsequent geometric correction process.

[0066] Perform geometric correction on each pixel in the image block: use the estimated affine transformation parameters to apply affine transformation to each pixel in the image block; for each pixel's image coordinate (row, col), use the following formula to calculate its corrected coordinate (row', col'): , , (row', col') is the corrected image coordinate, corresponding to the geographic location in the UTM projection coordinate system. After geometric correction, the pixels of the original image are mapped to the new position, and the pixel grayscale value needs to be re-determined; Common interpolation methods include bilinear interpolation, nearest neighbor interpolation, cubic convolution interpolation, etc.; Bilinear interpolation considers the four pixels around the corrected position and obtains the interpolation result by weighted average, which has a better effect; Nearest neighbor interpolation selects the grayscale value of the pixel closest to the corrected position as the interpolation result, which has high computational efficiency, but may produce a sawtooth effect.

[0067] Figure 3This is an exemplary flow chart for obtaining graph structure data according to some embodiments of this specification. Secondly, according to the size and resolution of the remote sensing image, the size of the image block is determined, 256×256 or 512×512 pixels; a sliding window is used to slide on the image with a certain step size (such as 128 or 256 pixels) to divide the image into multiple overlapping image blocks; for each image block, the pixel information therein is extracted to construct the graph structure data. For each image block, traverse each pixel in it, and use the row and column numbers of the pixel as the unique identifier of the node; extract the spectral features, texture features and spatial features of the pixel to form the feature vector of the node: Spectral features: extract the reflectance value of the pixel in each band to form a B-dimensional feature vector, where B is the number of bands; Texture features: take the pixel as the center, select an S×S neighborhood window, calculate the gray level co-occurrence matrix (GLCM) in the window, extract the energy, entropy, contrast, homogeneity and other texture indicators in the GLCM, and form a T-dimensional feature vector; Spatial features: directly use the row and column numbers of the pixel as the spatial coordinate features to form a 2-dimensional feature vector. The spectral features, texture features and spatial features are spliced ​​into a (B+T+2)-dimensional feature vector as the initial feature vector of the node.

[0068] For each pair of nodes (i, j), calculate the spatial distance between their corresponding pixels , using Euclidean distance or Manhattan distance; according to spatial distance Calculate spatial adjacency weights , using the Gaussian kernel function: ,in is the spatial scale parameter; calculate the feature similarity between node i and node j , using the Euclidean distance between eigenvectors: ,in is the feature scale parameter; if node i and node j have the same semantic label, the semantic similarity , otherwise it is 0; the weighted sum of spatial adjacency weight, feature similarity and semantic similarity is obtained to obtain the edge weight from node i to node j: ,in , , is the weight coefficient.

[0069] Initialize the node wandering probability vector R^0, each element is 1 / N; calculate the transition probability matrix P, ; Set random walk parameters α, β and maximum number of iterations max_iter, initialize the current number of iterations t=0; start from each node, iterate random walk: update the walk probability vector ;like If convergence or t reaches max_iter, the iteration stops; otherwise t=t+1 and continues to the next iteration. Update the edge weights according to the random walk results. ; Using the updated edge weight A' and the original node feature F, update the node features through graph convolution, .

[0070] Node information: Each node contains a unique identifier, an optimized feature vector, and an original semantic label; Edge information: Each pair of nodes contains optimized edge weights; Node information and edge information are organized into the form of adjacency matrix, feature matrix, and label vector as input to the graph neural network.

[0071] Then, the optimized graph network node features are input into the graph attention network for feature encoding: a graph attention network model is constructed, which includes multiple graph attention layers and pooling layers; the optimized node feature matrix X is used as the input of the graph attention network, and the shape of X is (N, F), where N is the number of nodes and F is the node feature dimension; in each graph attention layer, the attention weight matrix A between nodes is calculated: the input feature X is transformed through two linear transformations to obtain the query matrix Q and the key matrix K, , ; Calculate the product of the transpose of Q and K to get the attention matrix ; Apply the Softmax function to A' to get the normalized attention weight matrix A = Softmax (A'). Use the attention weight matrix A to perform weighted summation on the value matrix V to get the output feature matrix ,in ; Pass X' through the Leaky ReLU activation function and residual connection to get the output of the current layer: ; Insert pooling layers between graph attention layers to downsample H and reduce the spatial size of the feature map; stack multiple graph attention layers and pooling layers to extract and fuse the local and global features of the nodes layer by layer to obtain the final encoding feature matrix Z.

[0072] Input the encoded feature vector into a fully connected neural network for building probability prediction: Build a fully connected neural network model, including multiple fully connected layers and activation functions; flatten the encoded feature matrix Z into a feature vector z with a length of NF; input z into the fully connected neural network, after multiple linear transformations and nonlinear activations: First layer: ; Second layer: ;......., output layer: . The output layer uses the Sigmoid activation function to map the output value to the range of [0, 1], indicating the probability that each pixel belongs to a building; the output probability values ​​are rearranged to the same spatial size as the original image to obtain the building probability map P. The encoded feature vector is input into the convolutional neural network for elevation value regression: a convolutional neural network model is constructed, including multiple convolutional layers, pooling layers, and fully connected layers; the encoded feature matrix Z is rearranged to the same spatial size as the original image to obtain the feature map F; F is input into the convolutional neural network to extract multi-scale and multi-level elevation features: the first layer: ; Pooling layer: ; Second layer: ; Pooling layer: ;......., fully connected layer: ; Output layer: The output layer uses a linear activation function to directly output the elevation prediction value of each pixel; the output elevation values ​​are rearranged to the same spatial size as the original image to obtain the elevation map E.

[0073] The building probability map is converted into a binary map through threshold segmentation: a probability threshold t is set, t=0.5; each pixel in the building probability map P is traversed: if the probability value of the pixel is greater than or equal to t, it is marked as a building, and the corresponding pixel value in the binary map is 1; otherwise, it is marked as a non-building, and the corresponding pixel value in the binary map is 0. The building binary map B is obtained, and the area with a pixel value of 1 indicates the location of the building.

[0074] Figure 4 The exemplary flow chart of obtaining real estate surveying and mapping results according to some embodiments of the present specification is as follows: the number of layers n of the pyramid is set, such as n=4; the original image is downsampled to obtain a first layer image, the size of which is 1 / 2 of the original image; the first layer image is downsampled to obtain a second layer image, the size of which is 1 / 4 of the original image; the downsampling operation is repeated until the nth layer image is obtained, the size of which is 1 / 2 of the original image. . Set the size of the region to m×m, such as m=256; starting from the highest level (nth level) of the pyramid, divide the image into non-overlapping m×m regions; if the image size cannot be divided by m, fill the image boundary with zeros to make its size an integer multiple of m; divide each layer of the pyramid image in turn until the lowest level (layer 0, i.e. the original image). Traverse each region in each layer of the pyramid; extract a sub-image of size m×m at the same position of the elevation value map and the building binary map; use the extracted sub-image as the input of a registration subtask for subsequent feature extraction and matching. Set the number of levels s in the scale space, such as s=5; set the scale factor k in the scale space, such as k=1.6; Gaussian smooth the sub-image to obtain the scale space image of layer 0, and the scale parameter is ; Gaussian smoothing is performed on the 0th layer image to obtain the 1st layer scale space image, and the scale parameter is ; Repeat the Gaussian smoothing operation until the s-th scale space image is obtained, and the scale parameter is . Perform pixel difference between two adjacent scale space images to obtain a difference image; calculate the difference images between all adjacent layers in turn to obtain the s-1 layer Gaussian difference scale space image. The local extreme point is within the 26 neighborhoods of the current scale layer and the adjacent upper and lower layers: determine whether the current point is greater than or less than the pixel values ​​of its 26 neighborhoods; the scale parameter of the scale layer where the key point is located is greater than the preset threshold ,like :Determine whether the scale parameter σ of the layer where the key point is located is greater than ; The response value of the key point is greater than the preset threshold ,like , the response value is calculated by the determinant of the Hessian matrix: Calculate the Hessian matrix H of the key point position: ,in, are the second-order partial derivatives of the differential image in the x and y directions respectively; calculate the determinant det(H) and trace(H) of the Hessian matrix; the response value of the key point , determine whether it is greater than the threshold The key point is located in the center of the image and the distance from the image boundary is greater than the preset threshold. ,like : Calculate the minimum distance d from the key point to the image boundary; determine whether d is greater than the threshold Calculate the scale parameter σ of the scale layer where the key point is located; according to the scale parameter σ, determine the size of the image block to be k×k, such as k=16; extract an image block of size (kσ)×(kσ) in the original image (layer 0) with the key point as the center.

[0075] Gaussian smoothing is performed on the image block with a smoothing parameter of 1.5σ; the Sobel operator is used to calculate the gradient of the image block in the x and y directions , ; Calculate the gradient direction of each pixel ; Calculate the gradient magnitude of each pixel . Divide the k×k image block into 4×4 sub-regions of size (k / 4)×(k / 4); each sub-region contains (k / 4)×(k / 4) pixels. Divide 360 ​​degrees into 8 directional bins, each bin corresponds to a range of 45 degrees; for each pixel in the sub-region, add its gradient amplitude m to the corresponding directional bin according to its gradient direction θ; each sub-region obtains an 8-dimensional gradient direction histogram. Concatenate the gradient histograms of the 4×4 sub-regions in order from left to right and from top to bottom; obtain a 4×4×8=128-dimensional feature vector; normalize the feature vector to make it have unit length; truncate the values ​​greater than 0.2 in the feature vector to 0.2, and then normalize it again; the resulting 128-dimensional vector is the SIFT feature descriptor of the key point.

[0076] Extract SIFT key points and feature descriptors from the elevation map and the building binary map; for each key point in the elevation map, calculate its Euclidean distance to all key points in the building binary map; select the key point with the smallest Euclidean distance as the candidate matching point. For each candidate matching point pair, calculate the closest distance and close range ; Calculate distance ratio ; If r is less than the preset threshold For each correct matching point pair (p, q), where p is the key point in the elevation map and q is the key point in the building binary map; search for the nearest neighbor key point p' of q in the elevation map and calculate the distance ratio r'; if p'=p and r' is less than the threshold , then (p, q) is a symmetric matching point pair and is added to the set of point pairs with the same name. Randomly select three pairs of points from the set of point pairs with the same name. , i=1, 2, 3; construct a linear equation system based on the coordinates of three pairs of points: ; ;in, and are the coordinates of the i-th pair of points with the same name in the elevation map and the building binary map; solve the linear equations to obtain the 6 parameters of the affine transformation matrix For each pair of points with the same name ,Will Coordinates Substitute into the affine transformation matrix to get the transformed coordinates : ; ; Calculate the transformed coordinates and Coordinates The residual between: . Set the coordinate residual threshold ,like Pixels; for each pair of points with the same name , determine its residual Is it less than the threshold? ;if ,but is an inlier point, and the number of inliers is increased by 1; the number of inliers n_in whose residuals are less than the threshold is counted. Set the number of iterations k, such as k=1000; perform k iterations, and perform the following steps in each iteration: randomly select three pairs of points with the same name and calculate the affine transformation matrix parameters; apply affine transformation to all pairs of points with the same name and calculate the coordinate residuals after the transformation; count the number of inliers according to the coordinate residual threshold; if the current number of inliers is greater than the previous maximum number of inliers, update the maximum number of inliers and the corresponding affine transformation matrix. After the iteration, select the affine transformation matrix with the largest number of inliers as the final transformation model.

[0077] Perform Gaussian smoothing on the elevation map to reduce the impact of noise; calculate the gradient amplitude and direction of the smoothed image; perform non-maximum suppression on the gradient amplitude to obtain refined edges; use the double threshold method to perform hysteresis threshold processing on the edges to obtain the final edge map. Scan each pixel in the edge map and find the edge pixel as the starting point; use the starting point as the current point and perform contour tracking based on the 8-neighborhood connectivity; starting from the current point, search for the next edge pixel in a clockwise or counterclockwise direction; add the found edge pixel to the contour point list and update the current point; repeat the search process until you return to the starting point or the next edge pixel cannot be found; process the extracted contour point list to remove short contours and noise contours. For each contour point (x, y) on the building boundary line, substitute its coordinates into the affine transformation matrix: , , and get the transformed coordinates , update the coordinates of the contour points; repeat the above steps until all contour points have completed the transformation.

[0078] Perform edge detection and contour tracking on the building binary image to extract the building boundary line; for each contour point on the transformed building boundary line , find the closest point (u, v) on the boundary line of the building binary image; calculate the Euclidean distance between the two points as the distance residual: Repeat the above steps to calculate the distance residuals between all contour points and the building binary image boundary line. According to the size of the distance residual, select the first k points with the largest residual as control points, such as k=20; uniformly sample m points on the building boundary line as control points, such as m=80; merge the points with large residuals and the uniformly sampled points, remove duplicate points, and obtain the final set of control points. Divide the control points into a source point set and the target point set , i=1, 2, ..., n; construct thin plate spline interpolation basis function , where r is the distance from the source point to the point to be interpolated; construct the coefficient matrix K and the right-hand term vector V: , is the distance from the i-th source point to the j-th source point, , solve the linear equation system K*C=V and get the interpolation coefficients ; For any coordinate (x, y) in the elevation map, calculate its deformed coordinate (x', y') based on the interpolation coefficient and basis function: , i=1,2,.......,n, , i=1,2,.......,n, where, is the distance from (x, y) to the i-th source point.

[0079] The expression of the registration model is: The specific meaning is: Indicates that the pixel coordinates in the elevation map Target coordinates mapped to the building binary map The registration model of Represents affine transformation terms, which are used to describe global geometric transformation relationships, such as translation, rotation, and scaling; Represents a nonlinear deformation relationship term, which is used to describe local geometric deformations, such as bending and twisting. The affine transformation term A(x, y) is calculated by the affine transformation matrix, which is a 2x3 matrix expressed as ; For the pixel coordinates (x, y) in the elevation map, the coordinates after affine transformation are calculated by the following formula: : , .

[0080] Nonlinear deformation relationship It is calculated by the thin plate spline interpolation function, and the expression of the thin plate spline interpolation function is: , i=1,2,.......,n, where, is the affine coefficient, is the interpolation coefficient, is the radial basis function, for The distance to the i-th control point; the interpolation coefficients are obtained by solving the linear equations of thin plate spline interpolation and the affine coefficients ; For pixel coordinates in the elevation map , the coordinates after nonlinear deformation are calculated by the following formula : , i=1, 2, ..., n; , i=1, 2,..., n.

[0081] For each pixel coordinate in the elevation map , through the registration model Calculate the target coordinates in the building binary map : Convert pixel coordinates Substitute into the registration model : , , get the target coordinates , that is The corresponding position in the building binary map. For each pixel coordinate in the building binary map , through the inverse transformation of the registration model Calculate its source coordinates in the elevation map : The inverse transformation of the registration model can be solved by numerical optimization methods, such as Newton's method or gradient descent method; the optimization goal is to minimize the sum of squares of coordinate residuals: , is the coordinate in the elevation value map, and the inverse transformation is obtained through iterative optimization , map the coordinates in the building binary map back to the elevation map. Use the bilinear interpolation algorithm to resample the grayscale of the transformed coordinates to obtain the aligned elevation map and building binary map: , calculate its floating point coordinates in the original image ;turn up The coordinates of the four nearest pixels around , , , ; Calculate the fractional part of the coordinates (u, v), where , ; Calculated using the bilinear interpolation formula Gray value at: , repeat the above steps, resample the grayscale of all the registered coordinates to obtain the registered elevation value map and building binary map. Use the registered building binary map as a mask to extract the building area in the elevation value map: binarize the registered building binary map to obtain the building mask; use the building mask to perform pixel-level operations on the registered elevation value map to extract the building area; obtain an elevation value map containing only the building area, and the pixel values ​​of the remaining areas are 0.

[0082] The extracted building area is superimposed on the original elevation value map to obtain an elevation map containing the building location information: the original elevation value map and the extracted building area map are read; a blank image of the same size as the original elevation value map is created as the superimposed result map; each pixel of the original elevation value map is traversed and its grayscale value is copied to the superimposed result map; each pixel of the extracted building area map is traversed, and if the pixel belongs to the building area, the pixel value of the corresponding position in the superimposed result map is set to the grayscale value of the building; an elevation map containing the building location information is obtained, and the pixel value of the building area is different from the original elevation value and is easy to distinguish.

[0083] Perform color mapping on the superimposed elevation map and assign different colors according to the size of the elevation value: determine the range of elevation values ​​[h_min, h_max], that is, the minimum and maximum elevation values; select a suitable color mapping scheme, such as rainbow color mapping or terrain color mapping; divide the elevation value range into n sub-intervals, each sub-interval corresponds to a color; traverse each pixel of the superimposed elevation map, and map it to the corresponding color according to the sub-interval where its elevation value is located; obtain the color-mapped elevation map, in which different elevation ranges present different colors, intuitively indicating the elevation change.

[0084] Draw the outline of the building on the elevation map, and mark the elevation value and attribute information of the building: perform contour extraction on the extracted building area map to obtain the outline coordinates of the building; draw the building outline on the elevation map, and different line types and colors can be used to distinguish different buildings; calculate the average elevation value of each building area as the elevation annotation of the building; add elevation value annotations at appropriate locations near the building, and the annotation content includes the elevation value and elevation unit; mark other attribute information of the building as needed, such as building type, name, address, etc.; obtain an elevation map with building outlines and attribute annotations.

[0085] Add necessary auxiliary information such as legends, scales, and notes to obtain the final real estate surveying and mapping result map: add legends at appropriate locations on the elevation map to explain the elevation ranges represented by different colors; calculate the appropriate scale based on the spatial range and resolution of the elevation map; add a scale at appropriate locations on the elevation map to indicate the spatial dimensions of the image; add necessary annotation information, such as surveying date, coordinate system, data source, etc.; embellish and beautify the elevation map, adjust the layout, color matching, and text style, etc.; output the final real estate surveying and mapping result map, which can be saved in commonly used image formats such as PNG, JPEG, or PDF.

Claims

1. A real estate surveying and mapping method, include: Obtain remote sensing images of real property; Preprocess the acquired remote sensing images, including radiation correction and geometric correction; Perform block processing on the preprocessed remote sensing image; Extract pixels from the remote sensing image after segmentation as nodes of the graph, calculate the weight of the edge according to the adjacency relationship and feature similarity between pixels, and construct graph structure data; According to the graph structure data, the graph attention network is used to encode the features and obtain the encoded feature vector; Decode the encoded feature vector to obtain a decoded feature map; A fully connected neural network is used to perform binary classification prediction of buildings and non-buildings on each pixel in the decoded feature map to obtain a building probability map for each pixel. A convolutional neural network is used to regress and predict the elevation value of each pixel in the decoded feature map to obtain an elevation value map of each pixel; Perform threshold segmentation on the obtained building probability map to obtain a building binary map; The elevation value map and the building binary map are superimposed to generate real estate surveying and mapping results that include building locations and elevation values.

2. The real estate surveying and mapping method according to claim 1, Features: The acquired remote sensing images are preprocessed, which includes radiation correction and geometric correction, including: The acquired remote sensing image is calibrated by radiometry, and the grayscale value of the pixel in the remote sensing image is converted into ground reflectivity or amplitude brightness value using the calibration coefficient to eliminate the radiation distortion caused by the nonlinearity of sensor response and gain offset, and obtain the remote sensing image after radiometry calibration; The obtained radiometrically calibrated remote sensing image is used as input for atmospheric correction; the atmospheric radiation transfer model is used to calculate the atmospheric effect parameters, and the atmospheric absorption and scattering effects are removed from the radiometrically calibrated remote sensing image to obtain the surface reflectivity image; the atmospheric effect parameters include aerosol optical thickness and water vapor content; the atmospheric radiation transfer model adopts the Second Simulation of the Satellite Signal in the Solar Spectrum model; The surface reflectance image is taken as input and geometric correction is performed.

3. The real estate surveying and mapping method according to claim 2, Features: The surface reflectance image is used as input and geometric correction is performed, including: Dividing the surface reflectance image into a plurality of image blocks; A plurality of ground control points (GCPs) are selected in each image block; the ground control points (GCPs) represent the image coordinates and corresponding geographic coordinates of the ground feature points measured by GPS; In each image block, the selected ground control points GCPs are used to establish the affine transformation relationship between the pixel coordinates (row, col) in the image coordinate system of the corresponding image block and the geographic coordinates (X, Y) in the UTM projection coordinate system through least squares fitting, and the six-parameter affine transformation geometric correction parameters of the corresponding image block are obtained; Using the obtained six-parameter affine transformation geometric correction parameters of each image block, geometric correction is performed on each pixel of the corresponding image block through affine transformation; The weighted average method is used to stitch the geometrically corrected image blocks to obtain the geometrically corrected remote sensing image as the preprocessed remote sensing image.

4. The real estate surveying and mapping method according to claim 1, Features: Construct graph structure data, including: Dividing the preprocessed remote sensing image into multiple image blocks; Each pixel in each image block is extracted as a node of the graph. The features of each node include the spectral features, texture features and spatial features of the pixel corresponding to the node. The extracted node features are used as the initial feature vector of the graph attention network. The weight of the edge between each pair of nodes in the graph is calculated based on the spatial adjacency, feature similarity, and semantic similarity between the two nodes; the calculated edge weight is used as the initial weight of the edge in the graph attention network; Optimize the initial feature vector and initial weights through random walk algorithm; According to the optimized initial feature vector and initial weight, the graph structure data is constructed; the graph structure data includes the feature vector of the node, the identifier of the node, the weight matrix of the edge between the nodes and the semantic label of the node.

5. The real estate surveying and mapping method according to claim 4 , Features: in, Spectral features represent the reflectance values ​​of pixels in multiple bands; texture features represent the gray-level co-occurrence matrix in the area around the pixels; spatial features represent the horizontal and vertical coordinates of the pixels; The spatial adjacency relationship is calculated based on the spatial distance between the corresponding pixels of two nodes; the feature similarity is calculated based on the Euclidean distance between the feature vectors of the corresponding pixels of two nodes; Semantic similarity is calculated based on the similarity between the semantic labels of the corresponding pixels of two nodes.

6. The real estate surveying and mapping method according to claim 4, Features: The initial feature vector and initial weight are optimized by random walk algorithm, including: Initialize the walk probability vector of each node; the dimension of the walk probability vector is equal to the number of nodes. Initially, the walk probability of each node is set to 1 / N, where N is the total number of nodes in the graph; Calculate the transition probability matrix P. Each element of the transition probability matrix P It represents the probability of walking from node i to node j, and the calculation formula is: ; Among them, A represents the original edge weight matrix of the graph; S represents the node similarity matrix; represents the edge weight from node i to node j, represents the similarity between node i and node j, is a balancing factor, which is used to control the contribution ratio of edge weight and node similarity; Node Similarity The calculation formula is: ; Among them, F represents the original feature matrix of the node; and Represent the feature vectors of node i and node j respectively, represents the L2 norm, is the bandwidth parameter of the Gaussian kernel function; Set the restart probability α and random transfer probability β of the random walk. α means that each walk has a probability of α to return to the starting node, and β means that each walk has a probability of β to randomly jump to any node. The probability of transferring to other nodes is based on the transition probability matrix P; Starting from each node, a random walk is performed until the walk probability vector converges or reaches the maximum number of iterations max_iter. The update formula of the walk probability vector is: ; in, is the initial walk probability vector, U is the uniform probability vector, each element is 1 / N, N is the total number of nodes, is the walking probability vector of the tth iteration, and P is the transition probability matrix; According to the results of random walk, the edge weight of the graph is updated. The update formula of the edge weight from node i to node j is: ; in, represents the probability of walking from node i to node j, and γ is an exponential parameter used to control the dynamic range of edge weights; Using the updated edge weights And the original node feature vector F, the new feature vector of each node is calculated through the graph convolution operation.

7. The real estate surveying and mapping method according to claim 6, Features: Using the updated edge weights And the original node feature vector F, the new feature vector of each node is calculated through graph convolution operation, and the feature vector update formula of node i is: ; in, Represents the updated feature vector of node i; Represents the updated adjacency matrix The edge weight between node i and node j; adjacency matrix Represents the connection relationship and edge weight between nodes in the graph structure; is the updated edge weight The corresponding degree matrix, ; represents the updated degree matrix The degree of node i; represents the updated degree matrix The degree of node j; represents the original feature vector of node j; W represents the weight matrix of graph convolution.

8. The real estate surveying and mapping method according to claim 1, Features: Overlay the elevation map and the building binary map to generate real estate surveying results containing building locations and elevation values, including: The image pyramid method is used to divide the elevation value map and the building binary map into multiple regions; each region corresponds to a registration subtask; In each area, the elevation value map and the building binary map are respectively tested for scale space extreme values, and the points that meet the preset conditions are obtained as key points; For the acquired key points, SIFT feature descriptors are calculated; SIFT feature descriptors reflect the statistical characteristics of the image gradient distribution of the key points; Based on SIFT feature descriptors, the Euclidean distance metric and the nearest neighbor ratio test algorithm are used to obtain the same-name point pairs between the elevation value map and the building binary map; the same-name point pairs represent the feature points corresponding to the same object in the two images and are used for image registration; According to the pairs of points with the same name, the RANSAC algorithm is used to construct the affine transformation matrix; According to the affine transformation matrix, combined with the location information of the existing building boundary lines, a registration model is constructed; Using the constructed registration model, geometric transformation and grayscale resampling are performed on the elevation value map and building binary map in each area to obtain the registered image; The images after stitching and registration are then stitched together to obtain the real estate surveying and mapping result map.

9. The real estate surveying and mapping method according to claim 8, Features: Pre-conditions for key points include: The key point corresponds to a local extreme point in the scale space; The scale parameter of the scale layer where the key point is located is greater than the preset threshold; The response value of the key point is greater than the preset threshold. The response value is calculated by the determinant of the Hessian matrix, which reflects the significance of the local structure of the key point. The key point is located in the central area of ​​the image, and the distance from the image boundary is greater than the preset threshold; Points that meet any of the above conditions are considered key points.

10. The real estate surveying and mapping method according to claim 8, Features: According to the affine transformation matrix, combined with the location information of the existing building boundary lines, a registration model is constructed, including: For each area, the Canny operator is used to detect the edge of the elevation value map, and the contour tracking algorithm is used to extract the building boundary line; Performing geometric transformation on the extracted building boundary line according to the affine transformation matrix to obtain the transformed building boundary line; Calculate the distance residual between the transformed building boundary line and the building boundary line in the building binary image; the distance residual is measured by the Euclidean distance between the sampling points on the boundary line, reflecting the degree of spatial deviation between the two boundary lines; According to the distance residual, a thin plate spline interpolation algorithm is used to obtain a nonlinear deformation relationship, which reflects the geometric deformation relationship within the preset area of ​​the building boundary line; According to the affine transformation matrix and nonlinear deformation relationship, the registration model is constructed. The expression of the registration model is as follows: ; in, is the pixel coordinate in the elevation map, is the target coordinate after registration, is the affine transformation term, is the nonlinear deformation relationship term; Using the constructed registration model, geometric transformation is performed on the elevation value map and building binary map in the area; The transformed elevation value map and building binary map are respectively grayscale resampled; the resampling adopts a bilinear interpolation algorithm to obtain the aligned elevation value map and building binary map; The registered elevation value map and the building binary map are fused to generate a real estate surveying and mapping result map containing the building location and elevation information.