Remote sensing image building regular contour vector extraction method and system based on multilayer reverse binary segmentation

By employing a multi-layer inverse binary segmentation method and the optimal bounding rectangle technique, the problems of blurred boundaries and patch defects in building extraction from remote sensing images were solved, achieving efficient and high-precision building vectorization processing.

CN119007014APending Publication Date: 2024-11-22Chinese People's Liberation Army Cyberspace Force Information Engineering University
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411120747.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing remote sensing image building extraction algorithms suffer from high model complexity and low computational efficiency when dealing with blurred boundaries and patch defects, resulting in inaccurate vectorization results.

Method used

A multi-layer reverse binary segmentation method is adopted. Image patches are obtained through image segmentation, and binary division is performed using building recognition index. The region is cut and fused layer by layer using the regular outline information of buildings to generate vectorized data of building area and non-building area. Multi-layer optimal bounding rectangles are used to replace other complex shapes to simplify calculation.

Benefits of technology

It improves the accuracy and computational efficiency of vectorized building boundaries in remote sensing images, simplifies computational complexity, and enables fast and high-precision extraction of regular building contours.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007014A_ABST
    Figure CN119007014A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of remote sensing data processing, in particular to a remote sensing image building rule contour vector extraction method and system based on multilayer reverse binary segmentation, and the method comprises the steps: obtaining a plurality of image patches in a to-be-processed remote sensing image through image segmentation; obtaining a building identification index according to the image spectral features, and carrying out binary division on each image patch according to the number of pixels in the image patch and the corresponding building identification index to determine a building area and a non-building area in the image patch; and carrying out area cutting fusion on the building area and the non-building area in each image patch layer by layer according to the building rule contour information, determining the range of the building area and the non-building area in the remote sensing image to be processed, and generating building area vectorization data. According to the method, rapid and high-precision vectorization extraction of the grid image data regular building area can be realized, the calculation complexity can be simplified, the continuity and regularity of boundary information are considered in the optimal rectangle, and the accuracy of building vector boundary extraction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of remote sensing data processing, and in particular to a method and system for extracting regular contour vectors of remote sensing image buildings based on multi-layer reverse binary segmentation. Background Art

[0002] Extracting buildings from raster image data involves image segmentation technology, building recognition technology and raster vectorization technology. Image segmentation technology achieves image patch processing by distinguishing and segmenting image hue and morphology, and then extracts building areas by building recognition methods, and converts the format of its range by raster vectorization methods to generate vectorized data. Generally, buildings have regular morphological characteristics, but due to the influence of image quality and the accuracy of building extraction algorithms, the vectorization results have problems such as blurred outlines and patch defects. Although existing algorithms have optimized these problems, they need to consider different forms of external graphics calculations when dealing with fuzzy boundaries and patch defects, which increases the complexity of the model, has high time costs and low computational efficiency. Summary of the invention

[0003] To this end, the present invention provides a method and system for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation, which solves the problems of fuzzy vector contours and patch defects in the extraction of building areas from existing remote sensing images.

[0004] According to the design scheme provided by the present invention, on the one hand, a method for extracting regular contour vectors of buildings in remote sensing images based on multi-layer reverse binary segmentation is provided, comprising:

[0005] Acquire several image patches in the remote sensing image to be processed by image segmentation;

[0006] The building recognition index is obtained according to the image spectral characteristics, and each image patch is divided into two values ​​according to the number of pixels in the image patch and the corresponding building recognition index to determine the building area and non-building area in the image patch;

[0007] The building regular outline information is used to perform regional cutting and fusion of the built-up area and non-built-up area in each image patch layer by layer, determine the scope of the built-up area and non-built-up area in the remote sensing image to be processed, and generate vectorized data of the built-up area.

[0008] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, a plurality of image patches in the remote sensing image to be processed are obtained by image segmentation, comprising:

[0009] Set the number of superpixel random scan lines and the size of the moving window, and set the moving gradient according to the color variable at each pixel position of the remote sensing image;

[0010] The similarity between each pixel in the remote sensing image and the nearest superpixel is measured by moving window and moving gradient respectively, and the nearest superpixel attribute is assigned to the current pixel until all pixel attributes in the remote sensing image are assigned, so as to cluster the remote sensing image into several image patches according to the attributes.

[0011] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, a similarity measurement formula is expressed as: Where D(i,k) is the similarity between pixel i and superpixel k, d lab is the color distance between pixels, d mn is the Euclidean distance between pixels, m is the balance coefficient that controls the density of superpixels, and s is the distance between superpixel centers.

[0012] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, a plurality of image patches in the remote sensing image to be processed are obtained by image segmentation, and the method also includes:

[0013] According to the spatial domain connectivity, image patches with an area smaller than a threshold are deleted, and adjacent image patches with the same attributes are merged.

[0014] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, obtaining a building recognition index according to image spectral features comprises:

[0015] The normalized building index is used as the building recognition index. The spectral values ​​of each band are used to extract the building recognition index of all pixels within the image patch one by one, and the number of image patch pixels is counted. The mean value of the image patch building recognition index is determined and assigned to the image patch vector. The normalized building index is obtained based on the reflectivity difference of different bands.

[0016] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, each image patch is binary-divided according to the number of pixels in the image patch and the corresponding building recognition index, comprising:

[0017] The optimal image patch area threshold is determined according to the spatial resolution of the remote sensing image data. When the image patch area is smaller than the area threshold, the image patch is merged with the image patch with the closest building recognition index in the adjacent area.

[0018] The image patch buildings are extracted according to the building recognition index, and the image patches are threshold segmented, and the building areas and non-building areas in the image patches are determined.

[0019] As a method for extracting regular contour vectors of remote sensing images of buildings based on multi-layer reverse binary segmentation of the present invention, further, the building area and non-building area in each image patch are cut and fused layer by layer based on the regular contour information of the building, including:

[0020] The minimum bounding rectangle is determined according to the range of the built-up area in the image patch, and the information of all image patches within the minimum bounding rectangle is extracted; the number and position of image patches in the non-built-up area are determined, and the minimum bounding rectangle of the image patches in the non-built-up area is extracted. Multi-layer reverse extraction of the minimum bounding rectangle of the built-up area and the non-built-up area is gradually performed until all image patches meet the requirements, so as to determine the final range of the built-up area and the non-built-up area of ​​the remote sensing image.

[0021] As a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation of the present invention, further, a process of determining a minimum circumscribed rectangle according to the range of the building area in the image patch comprises:

[0022] A coordinate system is established for the purpose of building area extraction, and the coordinates of each pixel position within each image patch are calculated to obtain the centroid position of each image patch;

[0023] The center position of the image patch is translated to the origin of the coordinate system, the maximum position coordinates and the minimum position coordinates of all pixels of the image patch are obtained, and the area of ​​the first circumscribed rectangle of the image patch is calculated, and the area of ​​the first circumscribed rectangle is assigned to the minimum area parameter of the circumscribed rectangle of the image patch;

[0024] Set the image rotation step, rotate all pixels in the image patch counterclockwise, obtain the maximum position coordinates and minimum position coordinates of all pixels in the image patch after rotation, and calculate the area of ​​the second circumscribed rectangle of the image patch;

[0025] Compare the area of ​​the first circumscribed rectangle with the area of ​​the second circumscribed rectangle. If the area of ​​the second circumscribed rectangle is smaller than that of the first circumscribed rectangle, reassign the area of ​​the second circumscribed rectangle to the minimum area parameter of the image patch circumscribed rectangle. Otherwise, perform the next rotation according to the image rotation step and reassign the minimum area parameter of the image patch circumscribed rectangle until the total rotation angle reaches the preset condition. Obtain the optimal circumscribed rectangle of the image patch according to the minimum area parameter of the image patch circumscribed rectangle.

[0026] On the other hand, the present invention also provides a remote sensing image building regular contour vector extraction system based on multi-layer reverse binary segmentation, comprising: a segmentation module, a division module and a fusion module, wherein:

[0027] A segmentation module, used for obtaining a number of image patches in the remote sensing image to be processed through image segmentation;

[0028] A division module is used to obtain a building recognition index based on the image spectral characteristics, and to perform binary division on each image patch according to the number of pixels in the image patch and the corresponding building recognition index, so as to determine the building area and non-building area in the image patch;

[0029] The fusion module is used to perform regional cutting and fusion of the built-up area and non-built-up area in each image patch layer by layer based on the regular outline information of the building, determine the scope of the built-up area and non-built-up area in the remote sensing image to be processed, and generate vectorized data of the built-up area.

[0030] Beneficial effects of the present invention:

[0031] The present invention performs binarization processing on image data, and gradually cuts the binary processed building area and non-building area based on multi-layer optimal bounding rectangles to achieve fast and high-precision vectorization extraction of regular building areas in raster image data, extracts building area patch information with an object-oriented method, and extracts rectangular areas layer by layer based on regular building contour information to improve vectorization boundary accuracy; replaces existing optimal ellipses, polygons and other forms with multi-layer optimal bounding rectangles to simplify calculation complexity, and at the same time considers the continuity and regularity of boundary information in the optimal rectangle, thereby improving the accuracy of building vector boundary extraction, and has good application prospects in the field of remote sensing image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The figure is a schematic diagram of the process of extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation in the embodiment. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and technical solutions.

[0034] In view of the fact that the existing remote sensing image extraction of buildings is prone to the "salt and pepper" phenomenon, the present invention embodiment, see Figure 1 As shown, a method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation is provided, comprising:

[0035] S101, obtaining a number of image patches in a remote sensing image to be processed through image segmentation.

[0036] Specifically, the number of superpixel random scanning rows and the size of the moving window can be set, and the moving gradient can be set according to the color variable at the position of each pixel in the remote sensing image; the moving window and the moving gradient can be used to measure the similarity between each pixel in the remote sensing image and the nearest superpixel, and the nearest superpixel attribute can be assigned to the current pixel until all pixel attributes in the remote sensing image are assigned, so as to cluster the remote sensing image into several image patches according to the attributes.

[0037] Among them, the balance parameter e can be determined according to the image data resolution, building shape and size, image scale M×N and other information, and then the superpixel random scanning behavior M / e can be determined. Here, e is set to 5, and the number of superpixel rows is M / 5. Set the moving window to 3×3, and the moving gradient formula is

[0038] S(m,n)=||I(m+1,n)-I(m-1,n)|| 2 +||I(m,n+1)-I(m,n-1)|| 2

[0039] Among them, I(m,n) is the value of the color variable at the (m,n) position.

[0040] The similarity calculation formula can be expressed as

[0041]

[0042] Among them, D(i,k) is the similarity between the pixel and the superpixel, d lab is the color distance between pixels, d mn is the Euclidean distance between pixels, m is the balance coefficient that controls the density of superpixels, and s is the distance between superpixel centers.

[0043] According to the similarity measurement results, the pixel attributes are kept consistent with the superpixel category with the highest similarity. Repeat the above steps until the clustering results do not change significantly. You can combine the spatial domain connectivity, delete smaller area spots, and merge adjacent spots with the same attributes.

[0044] S102, obtaining a building recognition index according to the image spectral characteristics, and performing binary division on each image patch according to the number of pixels in the image patch and the corresponding building recognition index to determine the building area and non-building area in the image patch.

[0045] Specifically, the normalized building index can be used as the building recognition index. The building recognition index of all pixels within the image patch range is extracted one by one using the spectral values ​​of each band, and the number of image patch pixels is counted. The mean value of the image patch building recognition index is determined and assigned to the image patch vector. The normalized building index is obtained based on the reflectivity difference between different bands.

[0046] Normalized Difference Built-up Index (NDBI) is a commonly used index for identifying buildings, but it requires mid-infrared band data, and it is difficult to obtain this band information with high spatial resolution data. The fused GF-6 data can be used as the analysis object, combined with NDVI and the reflectance values ​​of each band, and the decision tree classification method can be used to extract the built-up area. The calculation formula of the normalized building index can be expressed as

[0047]

[0048] R NIR , R RED , R GREEN , R BLUE are the spectral values ​​of the near infrared, red, green, and blue bands of the image respectively.

[0049] Among them, each image patch is divided into two values ​​according to the number of pixels in the image patch and the corresponding building recognition index, which can be designed to include:

[0050] The optimal image patch area threshold is determined according to the spatial resolution of the remote sensing image data. When the image patch area is smaller than the area threshold, the image patch is merged with the image patch with the closest building recognition index in the adjacent area.

[0051] The image patch buildings are extracted according to the building recognition index, and the image patches are threshold segmented, and the building areas and non-building areas in the image patches are determined.

[0052] Based on the patch data extracted by SLIC simple linear iterative clustering of remote sensing images, the NDBI values ​​of all pixels in the corresponding patch range are extracted one by one, the number of pixels is counted, the mean is calculated and assigned to the patch vector; according to the spatial resolution of the image data, the optimal area threshold is determined. When the patch area is smaller than the threshold, this patch is merged with the patch with the closest NDBI value in the adjacent area; according to historical experience values, buildings are extracted according to BI, and the patch data is thresholded to determine the building area (value 1) and non-building area (value 0).

[0053] S103, using the regular building outline information to perform regional cutting and fusion of the built-up area and the non-built-up area in each image patch layer by layer, determine the range of the built-up area and the non-built-up area in the remote sensing image to be processed, and generate vectorized data of the built-up area.

[0054] Specifically, the minimum bounding rectangle can be determined according to the range of the built-up area in the image patch, and the information of all image patches within the minimum bounding rectangle can be extracted; the number and position of the image patches in the non-built-up area can be determined, and the minimum bounding rectangle of the image patches in the non-built-up area can be extracted. Multi-layer reverse extraction of the minimum bounding rectangle of the built-up area and the non-built-up area can be gradually performed until all image patches meet the requirements, so as to determine the final range of the built-up area and the non-built-up area of ​​the remote sensing image.

[0055] Among them, the process of determining the minimum bounding rectangle according to the building area range in the image patch can be designed to include:

[0056] A coordinate system is established for the purpose of building area extraction, and the coordinates of each pixel position within each image patch are calculated to obtain the centroid position of each image patch;

[0057] The center position of the image patch is translated to the origin of the coordinate system, the maximum position coordinates and the minimum position coordinates of all pixels of the image patch are obtained, and the area of ​​the first circumscribed rectangle of the image patch is calculated, and the area of ​​the first circumscribed rectangle is assigned to the minimum area parameter of the circumscribed rectangle of the image patch;

[0058] Set the image rotation step, rotate all pixels in the image patch counterclockwise, obtain the maximum position coordinates and minimum position coordinates of all pixels in the image patch after rotation, and calculate the area of ​​the second circumscribed rectangle of the image patch;

[0059] Compare the area of ​​the first circumscribed rectangle with the area of ​​the second circumscribed rectangle. If the area of ​​the second circumscribed rectangle is smaller than that of the first circumscribed rectangle, reassign the area of ​​the second circumscribed rectangle to the minimum area parameter of the image patch circumscribed rectangle. Otherwise, perform the next rotation according to the image rotation step and reassign the minimum area parameter of the image patch circumscribed rectangle until the total rotation angle reaches the preset condition. Obtain the optimal circumscribed rectangle of the image patch according to the minimum area parameter of the image patch circumscribed rectangle.

[0060] The specific algorithm process of multi-layer reverse optimal circumscribed rectangle vector cutting and fusion processing can be described as follows:

[0061] (1) Establish a coordinate system for the purpose of building area extraction, calculate the pixel position coordinates within each patch, and calculate the center of gravity of the patch through the (x, y) values ​​corresponding to all pixels;

[0062] (2) Translate the center of gravity to the origin, calculate the maximum x, y value and the minimum x, y value of all pixels, and use this to calculate the area of ​​the rectangle, recorded as A1, and assign it to the minimum area parameter A;

[0063] (3) Set the graphic rotation step, which is set to 2° here. Rotate all pixels within the patch counterclockwise, and calculate the maximum and minimum x and y values of all pixels after rotation. Based on this, calculate the rectangular area A2;

[0064] (4) Compare the values of A1 and A2. If A2 < A1, assign A2 to A and perform the calculation after the next rotation; otherwise, keep the value of A unchanged and perform the calculation after the next rotation;

[0065] (5) Repeat the above operations until the angle rotates 360°, and obtain the x and y values corresponding to the minimum area A, which is the optimal circumscribed rectangle.

[0066] (6) Crop the patch data based on the range of A, count the number of non-building area patches within the cropped range, and for the purpose of extracting non-building areas, perform the optimal circumscribed rectangle processing for each patch one by one;

[0067] (7) Gradually perform multi-layer reverse extraction of the building area and the non-building area to determine the final ranges of the building area and the non-building area.

[0068] Furthermore, based on the above method, an embodiment of the present invention also provides a remote sensing image building regular contour vector extraction system based on multi-layer reverse binary segmentation, including: a segmentation module, a division module, and a fusion module, where,

[0069] The segmentation module is used to obtain several image patches in the remote sensing image to be processed through image segmentation;

[0070] The division module is used to obtain the building recognition index based on the image spectral characteristics, and perform binary division on each image patch according to the number of pixels in the image patch and the corresponding building recognition index to determine the building area and the non-building area in the image patch;

[0071] The fusion module is used to perform regional cutting and fusion on the building area and the non-building area in each image patch layer by layer with the building regular contour information, determine the ranges of the building area and the non-building area in the remote sensing image to be processed, and generate building area vectorization data.

[0072] Unless otherwise specifically stated, the relative steps, numerical expressions, and numerical values of the components and steps described in these embodiments do not limit the scope of the present invention.

[0073] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to describe the differences from other embodiments. The same and similar parts among the embodiments can be referred to each other. For the system disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0074] The units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation is not considered to be beyond the scope of the present invention.

[0075] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits, and accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of software function modules. The present invention is not limited to any specific form of combination of hardware and software.

[0076] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation, characterized in that: Include: Acquire several image patches in the remote sensing image to be processed by image segmentation; The building recognition index is obtained according to the image spectral characteristics, and each image patch is divided into two values ​​according to the number of pixels in the image patch and the corresponding building recognition index to determine the building area and non-building area in the image patch; The building regular outline information is used to perform regional cutting and fusion of the built-up area and non-built-up area in each image patch layer by layer, determine the scope of the built-up area and non-built-up area in the remote sensing image to be processed, and generate vectorized data of the built-up area.

2. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 1, characterized in that: Through image segmentation, several image patches in the remote sensing image to be processed are obtained, including: Set the number of superpixel random scan lines and the size of the moving window, and set the moving gradient according to the color variable at each pixel position of the remote sensing image; The similarity between each pixel in the remote sensing image and the nearest superpixel is measured by moving window and moving gradient respectively, and the nearest superpixel attribute is assigned to the current pixel until all pixel attributes in the remote sensing image are assigned, so as to cluster the remote sensing image into several image patches according to the attributes.

3. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 2, characterized in that: The similarity measurement formula is expressed as: Where D(i,k) is the similarity between pixel i and superpixel k, d lab is the color distance between pixels, d mn is the Euclidean distance between pixels, m is the balance coefficient that controls the density of superpixels, and s is the distance between superpixel centers.

4. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 1 or 2, characterized in that: Obtaining several image patches in the remote sensing image to be processed through image segmentation also includes: According to the spatial domain connectivity, image patches with an area smaller than a threshold are deleted, and adjacent image patches with the same attributes are merged.

5. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 1, characterized in that: The building recognition index is obtained based on the image spectral characteristics, including: The normalized building index is used as the building recognition index. The spectral values ​​of each band are used to extract the building recognition index of all pixels within the image patch one by one, and the number of image patch pixels is counted. The mean value of the image patch building recognition index is determined and assigned to the image patch vector. The normalized building index is obtained based on the reflectivity difference of different bands.

6. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 1 or 5, characterized in that: Each image patch is divided into two values ​​according to the number of pixels in the image patch and the corresponding building recognition index, including: The optimal image patch area threshold is determined according to the spatial resolution of the remote sensing image data. When the image patch area is smaller than the area threshold, the image patch is merged with the image patch with the closest building recognition index in the adjacent area. The image patch buildings are extracted according to the building recognition index, and the image patches are threshold segmented, and the building areas and non-building areas in the image patches are determined.

7. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 1, characterized in that: The building area and non-building area in each image patch are cut and fused layer by layer based on the regular building outline information, including: The minimum bounding rectangle is determined according to the range of the built-up area in the image patch, and the information of all image patches within the minimum bounding rectangle is extracted; the number and position of image patches in the non-built-up area are determined, and the minimum bounding rectangle of the image patches in the non-built-up area is extracted. Multi-layer reverse extraction of the minimum bounding rectangle of the built-up area and the non-built-up area is gradually performed until all image patches meet the requirements, so as to determine the final range of the built-up area and the non-built-up area of ​​the remote sensing image.

8. The method for extracting regular contour vectors of buildings from remote sensing images based on multi-layer reverse binary segmentation according to claim 7, characterized in that: The process of determining the minimum bounding rectangle based on the building area in the image patch includes: A coordinate system is established for the purpose of building area extraction, and the coordinates of each pixel position within each image patch are calculated to obtain the centroid position of each image patch; The center position of the image patch is translated to the origin of the coordinate system, the maximum position coordinates and the minimum position coordinates of all pixels of the image patch are obtained, and the area of ​​the first circumscribed rectangle of the image patch is calculated, and the area of ​​the first circumscribed rectangle is assigned to the minimum area parameter of the circumscribed rectangle of the image patch; Set the image rotation step, rotate all pixels in the image patch counterclockwise, obtain the maximum position coordinates and minimum position coordinates of all pixels in the image patch after rotation, and calculate the area of ​​the second circumscribed rectangle of the image patch; Compare the area of ​​the first circumscribed rectangle with the area of ​​the second circumscribed rectangle. If the area of ​​the second circumscribed rectangle is smaller than that of the first circumscribed rectangle, reassign the area of ​​the second circumscribed rectangle to the minimum area parameter of the image patch circumscribed rectangle. Otherwise, perform the next rotation according to the image rotation step and reassign the minimum area parameter of the image patch circumscribed rectangle until the total rotation angle reaches the preset condition. Obtain the optimal circumscribed rectangle of the image patch according to the minimum area parameter of the image patch circumscribed rectangle.

9. A system for extracting regular building contour vectors from remote sensing images based on multi-layer reverse binary segmentation, characterized in that: It includes: segmentation module, division module and fusion module, among which, A segmentation module, used for obtaining a number of image patches in the remote sensing image to be processed through image segmentation; A division module is used to obtain a building recognition index based on the image spectral characteristics, and to perform binary division on each image patch according to the number of pixels in the image patch and the corresponding building recognition index, so as to determine the building area and non-building area in the image patch; The fusion module is used to perform regional cutting and fusion of the built-up area and non-built-up area in each image patch layer by layer based on the regular outline information of the building, determine the scope of the built-up area and non-built-up area in the remote sensing image to be processed, and generate vectorized data of the built-up area.

10. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program. When the computer program is executed, the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Cited By

  • Building edge segmentation method and system based on adaptive prompt of segmentation large model

    CN119380205A

  • Building edge segmentation method and system based on adaptive prompting of large segmentation model

    CN119380205B

  • Construction site living quarter arrangement method based on knowledge graph and intelligent algorithm

    CN119849012A