Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

5 February 2026

22 Pages

Building Vector Contour Extraction from Remote Sensing Images Based on Multi-Level Contour Refinement and Morphological Perception

,
,
,
,
and
1
Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources, Shenzhen 518034, China
2
School of Computer Science, China University of Geosciences, Wuhan 430078, China
3
School of Resources, Environmental Science and Engineering, Hubei University of Science and Technology, Xianning 437100, China
4
Research Center of Beidou and Industrial Development of Key Research Institute of Humanities and Social Sciences of Hubei Province, Hubei University of Science and Technology, Xianning 437100, China

Abstract

Accurate extraction of building vector contours from high-resolution remote sensing images is a fundamental task for urban mapping and geographic information systems. However, existing approaches often suffer from blurred boundaries and geometric distortions when dealing with buildings of complex shapes, limiting the accuracy and usability of the extracted building footprints. To address these challenges, this paper proposes a multi-level building contour refinement framework based on morphological perception. The proposed framework integrates a three-stage contour optimization strategy, including principal direction extraction, morphology-based contour reconstruction, and geometry-aware regularization, to progressively refine complex building contours under geometric constraints. In addition, a multi-dimensional contour complexity model and an adaptive threshold optimization network are introduced to dynamically adjust refinement parameters according to contour complexity. Experimental results on the WHU-Mix dataset demonstrate that the proposed method outperforms state-of-the-art approaches, achieving 87.52%, 77.43%, and 87.35% in boundary F1, vertex F1, and mIoU, respectively. These results indicate that the proposed framework provides an effective and robust solution for high-precision building vector contour extraction in complex remote sensing scenarios.

1. Introduction

As an essential component of urban geographic information systems (GIS), buildings are crucial for supporting key decisions such as urban planning, disaster management, and energy supply. Automatically and accurately extracting vector contours of buildings from high-resolution remote sensing images is a major challenge in the field of intelligent interpretation [1,2,3]. However, traditional manual vectorization methods are inefficient and costly, failing to meet the demands of rapid urban development [4,5].
Despite the evolution of automated extraction technology, accurately delineating buildings in complex urban environments remains difficult due to diverse shapes, complex spatial distributions, and variable imaging conditions (as shown in Figure 1) [6]. In dense urban areas, buildings are often intertwined with surrounding roads and vegetation. Conventional image processing methods are easily affected by factors such as shadow occlusion and texture interference, resulting in blurred boundaries, contour adhesion, and misclassification [7,8,9].
Figure 1. Buildings of different styles and types.
The core scientific challenge lies in the fundamental discrepancy between the rasterized outputs of mainstream deep learning models and the high-precision vector data required by GIS. Although semantic segmentation architectures have significantly improved pixel-level classification accuracy, their inherent pixel discretization leads to “jagged” edges and a lack of geometric constraints [10,11,12]. Subsequent regularization and post-processing often introduce computational overhead and risk destroying topological relationships, leading to structural deviations from the actual building form [13].
To overcome these issues, recent research has explored end-to-end vector extraction frameworks that directly regress ordered vertex coordinates [14,15,16,17]. While these methods achieve satisfactory results for simple contour buildings (Figure 1a), they struggle to effectively model buildings with complex contours (Figure 1b) or densely packed buildings (Figure 1c). This often leads to abnormal contour intersections or holes, compromising the integrity and usability of the vector results.
To address these limitations, this study proposes a multi-level contour refinement framework based on morphological perception. By integrating geometric analysis and deep learning, the framework achieves fine-tuning of complex and irregular building contours. The main contributions of this study are as follows:
(1) An improved Best Bounding Box Matrix (BBM) extraction method: By combining a geometric median centroid with a PCA dynamic rotation strategy, the method reduces sensitivity to noise and improves the adaptability of irregular contours through convex hull constraints.
(2) A three-step morphological detection algorithm: This algorithm reconstructs and regularizes contours based on the principal direction, ensuring the results conform to geometric constraints such as orthogonality.
(3) An adaptive contour complexity model: A lightweight deep learning network is integrated to achieve adaptive threshold optimization, solving the limitations of traditional fixed parameters in diverse urban scenes.
The remainder of this paper is organized as follows: Section 2 reviews related work; Section 3 details the proposed methodology; Section 4 presents experiments and analysis; and Section 5 concludes the study.

3. Methods

This study constructs a multi-level contour refinement framework based on morphological perception, as shown in Figure 2. Based on the zero-shot generalization capability of the SAM model (Segment Anything Model) [26], we select only the subset of masks corresponding to building instances. It accurately separates building targets and generates masks, and constructs an initial point set by extracting edge pixel coordinates, and the confidence threshold was set as 0.3. For overlapping masks, the one with the largest IoU with the building segmentation result is retained. The principal direction extraction layer uses a modified best bounding matrix method to extract the principal directions of buildings. This method combines geometric median centroid initialization, PCA-guided dynamic rotation search, and a multi-objective scoring function to improve the robustness of principal direction extraction for irregular contours and more accurately determine the main orientation of buildings.
Figure 2. The framework for multi-level building contour refinement.
At the contour reconstruction level, a morphological detection algorithm is used to reconstruct the contour. The algorithm perceives the shape of the building from three dimensions: angle, direction, and distance, and uses a dynamic angle threshold to correct abnormal contour points, thereby effectively removing noise interference and improving the regularity of the contour. The position of the contour points is predicted based on the vector direction to restore the key structural features of the building, ensuring that the contour can accurately reflect the actual shape of the building. The contour is made smoother by dynamically adjusting the traversal range, further approaching the true contour of the building.
At the contour regularization level, a regularization algorithm is applied to further optimize the contour to better match the building’s actual geometry. Using the previously acquired principal directions as a reference, the contour is straightened through angle correction, polyline simplification, and multi-segment joining. This process strictly adheres to geometric constraints, removes redundant points, and optimizes the contour structure to more closely match the building’s actual shape.
The adaptive threshold optimization layer addresses threshold sensitivity issues in the reconstruction and regularization algorithms by constructing a lightweight, contour-complexity-driven adaptive threshold optimization network. This network evaluates contour features across three dimensions: global, local, and geometric complexity. Combined with a graph convolutional network, it dynamically generates threshold parameters. This mechanism ensures that the algorithm operates with optimal parameters even for complex contours, ensuring high consistency between the vectorized results and the true form of complex building contours while maintaining algorithmic efficiency.
Through the above-mentioned multi-level collaborative work, from basic mask generation and point set construction to main direction extraction to guide contour reconstruction and regularization, the contour quality is gradually improved. Finally, the adaptive threshold optimization and intelligent control of algorithm parameters are used to achieve the refined extraction of complex building contours, meeting the task of refined extraction of buildings with complex contours.

3.1. Extracting Main Directions Based on Best Bounding Matrix

There are two main forms of polygon circumscribed rectangles: the first is the minimum bounding rectangle (MBR), which is a rectangle determined by the maximum and minimum coordinates of the polygon’s vertices; the second is the minimum area circumscribed rectangle (MACR), which is defined by the coordinates of the four vertices that minimize the rectangle’s area. However, in some special cases, MACR cannot accurately determine the best representative rectangle of the target boundary. The arithmetic mean centroid is easily interfered with by contour concavities or noise points, resulting in deviations in the positioning of the circumscribed rectangle. In light of these issues, this study proposes a novel BBM extraction and principal direction acquisition method. This method aims to eliminate randomness in contour orientation while providing consistent input data for the subsequent contour regularization algorithm, reducing the number of iterations and computational complexity. This method integrates geometric median centroids, PCA-guided dynamic search, and multi-objective optimization techniques.

3.1.1. Geometric Median Centroid Initialization

Assuming that the initial building contour point set is A = { a ( x i , y i ) | i = 1,2 , ⋯ , n } , based on this, first take its arithmetic mean centroid ( x , y ) as the initial value to calculate the geometric median centroid coordinates of the building contour through Formula (1):
( C x , C y ) = a r g m i n ∑ i = 1 n ( x − x i ) 2 + ( y − y i ) 2
Here, a r g m i n represents the coordinate value that minimizes the subsequent summation expression. ( C x , C y ) , determined by this formula, is the geometric median centroid coordinate. The centroid is iteratively determined using the Weiszfeld algorithm [27]. During this process, the iterative calculation begins with the arithmetic mean centroid as the initial value. The scalar is minimized with respect to the centroid coordinate ( x , y ) , which minimizes the sum of Euclidean distances between the centroid and all contour points.

3.1.2. PCA-Guided Rotational Search Strategy

After successfully calculating the centroid, a PCA-guided rotation search strategy is employed. This strategy consists of two main stages:
(1) Rough estimation of the principal directions. First, the covariance matrix of the building contour point set A is calculated:
C o v = 1 n [ ∑ ( x i − x ‾ ) 2 ∑ ( x i − x ‾ ) ( y i − y ‾ ) ∑ ( x i − x ‾ ) ( y i − y ‾ ) ∑ ( y i − y ‾ ) 2 ]
Then solve the eigenvalue λ 1 ≥ λ 2 of the covariance matrix, which corresponds to the eigenvector v 1 = [ v 11 , v 12 ] T (main direction). Based on this, calculate the initial angle:
θ P C A = arctan ( v 12 v 11 )
(2) Refined Directional Search. First, the search range is limited to: [ θ P C A − 15 , θ P C A + 15 ° ] . An adaptive step-size strategy is primarily employed: a coarse search is performed with a step size of 5° to quickly identify the local peak interval of the area ratio ω = S A / S B , where S A is the area of the original contour and S B is the area of minimum bounding rectangle. Then, within the peak interval identified by the coarse search, a refined search is performed with a step size of 1°, calculating the S B and overlap ratio O v e r l a p R a t e at each angle. The search is terminated until the area ratio change rate is less than 1% after three consecutive iterations.

3.1.3. Convex Hull Constraints and Multi-Objective Optimization

The convex hull constraint includes convex hull generation and convexity determination. Convex hull generation uses the Graham scanning algorithm [28] to obtain the convex hull of the contour (ConvexHull). By sorting and traversing the contour points, this method can quickly obtain the minimum convex polygon containing all contour points, and then determine the concavity of the contour using Formula (4):
C o n c a v i t y = 1 − S A S Convex   Hull
where S A is the area of the original contour and S Convex   Hull is the area of the convex hull. If C o n c a v i t y > 0.3 , it means that the contour is concave, and the bounding rectangle is calculated based on the convex hull; otherwise, the original contour is used directly. In addition, a threshold T p is defined to dynamically and adaptively adjust the margin tolerance to balance coverage efficiency and geometric rationality. Its calculation formula is (5)
T p = { λ × ( d ( C e n t e r , C ) + d H ) × ω − 1 , ω ≥ 0.7 d ( C e n t e r , C ) + d H × ω , ω < 0.7
d ( C e n t e r , C ) = m a x c ∈ C   ∥ C e n t e r − B ∥ d H = m a x ( m a x a ∈ A   m i n b ∈ B   ∥ a − b ∥ , m a x b ∈ B   m i n a ∈ A   ∥ a − b ∥ )
where d ( C e n t e r , C ) represents the maximum distance from the centroid to the vertex of the bounding rectangle, d H calculates the bidirectional Hausdorff [29] to measure the degree of fit between the contour and the boundary of the bounding rectangle, the distance λ represents the constant coefficient, and ∥ · ∥ represents the distance norm between point sets. Here, the L2 norm is used, and S represents the area corresponding to MACR.
Finally, in order to comprehensively and accurately evaluate the degree of fit between the bounding rectangle and the polygonal contour, a multi-objective scoring function was constructed by comprehensively considering three key factors: area coverage ω , margin uniformity M a r g i n V a r i a n c e , and the overlap rate O v e r l a p R a t e between the contour and the bounding rectangle. This function organically integrates the evaluation indicators of different dimensions and quantitatively scores each candidate circumscribed matrix through reasonable weight allocation. The formula for this multi-objective scoring function is (7)
S c o r e = α ⋅ ω + β ⋅ 1 M a r g i n V a r i a n c e + γ ⋅ O v e r l a p R a t e
M a r g i n V a r i a n c e = 1 4 ∑ i = 1 4   ( d i − 1 4 ∑ j = 1 4   d j ) 2 O v e r l a p R a t e = 1 n ∑ j = 1 4   ( ∥ − b i ∥ < T p )
In the formula, d i is the average of the minimum distances from the contour point set to the edge of the bounding rectangle; a i represents the polygon contour points, b i represents the corresponding projection points on the current bounding rectangle, and T p represents the set distance threshold. The dynamic weight adjustment rule is: α = m i n ( 0.6 + 0.2 ⋅ C o n c a v i t y ) ,   β = m a x ( 0.3 − 0.1 ⋅ C o n c a v i t y ) . During this process, the value of T p indirectly influences the value of M a r g i n V a r i a n c e . Among all calculated results, the values that achieve the optimal score are selected as the final bounding rectangle width w and height h . The optimal bounding rectangle parameters ( w , h , θ B B M ) are ultimately output as the basis for principal direction extraction. θ B B M denotes the rotation angle of the best bounding matrix.

3.1.4. Extracting the Main Direction

After extracting the best bounding matrix, the main direction is ensured to be accurate and robust by analyzing its long side and verifying it with the contour’s low-frequency components. Specifically, the rotation angle θ B M B R , width w , and height h are first obtained from the BBM extraction results. θ B M B R represents the angle of the optimal circumscribed rectangle. The long side is then determined by comparing the width and height. If w > h , the main direction θ i n i t i a l is θ B B M ; otherwise, it is θ B B M + 90 ° . At the same time, in order to verify the consistency between the initial main direction and the overall shape of the contour, the Fourier descriptor is introduced to analyze the direction of the low-frequency component of the contour. The contour point set is subjected to Fourier transform [30], and the directions θ F D of the first 5% low-frequency components are extracted. If | θ i n i t i a l − θ F D | < 15 ° , the main direction is confirmed to be θ i n i t i a l . Otherwise, the dynamic search range is extended to [ θ F D − 15 , θ F D + 15 ° ] , and the original PCA rough estimation result is retained, but the interval consistent with the Fourier direction is preferentially selected for secondary search.

3.2. Contour Initialization Reconstruction Based on Morphological Detection Algorithm

Actual building contours, due to pixel misclassification and structural damage, can cause the angles between adjacent points to deviate from the ideal right or right angle, hindering subsequent optimization. To address this issue, this study proposes a new building contour reconstruction algorithm—the morphology detection algorithm. This algorithm detects the building contour’s morphology from three dimensions: angle, direction, and distance. The algorithm’s workflow is shown in Figure 3. The algorithm primarily consists of three closely related and complementary steps: angle correction, direction detection, and distance calculation. First, the angle correction step utilizes a dynamic angle correction strategy based on local curvature to accurately identify and correct contour points that do not meet the right or right angle requirements. Next, the direction detection step utilizes an adaptive direction detection algorithm. Based on the vector directions of two adjacent contour points, it conducts detailed detection within a specified distance range to predict the true position of the next contour point, successfully restoring the damaged contour structure. Finally, the distance calculation step utilizes a dynamic distance calculation optimization scheme to flexibly and dynamically adjust the range of contour point traversal, further ensuring a smoother and more regular contour.
Figure 3. Morphology detection algorithm reconstruction process.

3.2.1. Dynamic Angle Correction Based on Local Curvature

The local curvature κ is a measure of the local curvature of a contour point, describing the rate of change in the contour near the contour point. The larger the curvature, the greater the curvature of the contour at point P i (e.g., a sharp corner); the smaller the curvature, the smaller the curvature of the contour at point P i (e.g., a straight edge). For the discrete contour point set P = { P 1 , P 2 ⋯ , P n } , the angle threshold θ t h and the local curvature κ i at point P i are calculated as (9)
θ t h = θ 0 + α ⋅ Δ θ ⋅ κ max ( κ ) κ i = 2 ⋅ A r e a ( P i − 1 , P i , P i + 1 ) ∥ P i − P i − 1 ∥ ⋅ ∥ P i + 1 − P i ∥ ⋅ ∥ P i + 1 − P i − 1 ∥
where A r e a is the area of the triangle enclosed by the three points of P i ,     P i + 1 ,     P i − 1 , calculated using the cross product; α is the adjustment coefficient; θ 0 is the base angle threshold; and Δ θ is the maximum adjustment range. Specifically, when κ is large, the angle threshold θ t h is increased, minimizing overcorrection of sharp corners to preserve contour details. When κ is small, the angle threshold θ t h is tightened to maintain the regularity of straight areas as much as possible.
During angle correction, the following processing is performed for each point on the contour: For each contour point P i , its local curvature κ i and the angle threshold θ t h of the current point are calculated. The angle θ formed between the current point P i and its adjacent points P i − 1 and P i + 1 is then calculated. If the angle θ meets one of the following conditions: θ < θ t h or θ ≥ 180 ° − θ t h , the position of the current point P i remains unchanged. If the angle θ does not meet these conditions, the position of the current point P i is adjusted.

3.2.2. Adaptive Direction Detection Algorithm

The main detection goal of the adaptive direction detection algorithm is to obtain the next contour point position by continuously changing the detection distance and detection direction. The specific steps are as follows.
First, traverse the input contour point set P = { P 1 , P 2 ⋯ , P n } and find the broken areas. The broken areas are usually non-adjacent points or local concave areas. For each identified broken area, select the starting point P p k and the ending point P p k + 1 as the reference points for repair. Calculate the vector direction v from the starting point P p k to the ending point P p k + 1 and normalize it to the unit vector v n o r m = v / ∥   v   ∥ . On this basis, the detection distance d p r o b e is dynamically adjusted in combination with the local contour density ρ (i.e., the number of contour points per unit area). The specific adjustment formula is (10)
d p r o b e = T p ⋅ ( 1 + β d ⋅ ρ ) ρ i = c o u n t ( ∥ P j − P i ∥ < r ) π r 2
where β d is the adjustment coefficient; ρ i is the number of contour points contained in a circle with radius r ( r = 2 × T p ) and centered at point P i ; in areas with high local contour density (larger ρ value), the detection distance will increase accordingly to cover more densely distributed points; while in areas with low local contour density (smaller ρ value), the detection distance will decrease to avoid invalid detection.
Subsequently, detection is performed along the normalized vector direction v n o r m and its perpendicular direction within the distance range d p r o b e . The detection step length is determined by the step length coefficient λ ∈ [ 0 , d p r o b e ] . The position calculation formula of the detection point P probe is (11)
P p r o b e = P p k + 1 + λ ⋅ v n o r m
If the detection point P p r o b e is located on the contour point or inside the building, the distance calculation is triggered and the next step is entered; if the detection point is always outside the contour, the current fracture area is skipped and the above detection process is repeated for the next set of points ( P p k + 1 , P p k + 2 ) . After that, starting from P p k + 1 , the unprocessed contour points are searched within the range of 2 × T p l . If there is a point P p k + p j in this range that is located in the vector direction v , then the middle point ( P p k + 1 ⋯ P p k + p j − 1 ) is discarded, and then P p k + 1 and P p k + p j are used as new reference points and the detection is repeated again; if there is no such point, the middle point is retained and ( P p k + 1 , P p k + 2 ) is continued to be processed. Finally, based on the detection results, new contour points are inserted at appropriate positions and the positions of existing contour points are adjusted to ensure that the repaired point set P ′ = { P 1 ′ , P 2 ′ , … , P m ′ } is continuous and smooth.

3.2.3. Dynamic Distance Calculation Optimization

It dynamically adjusts the traversal range based on the geometric characteristics of the local contour, thereby locating and repairing the broken parts in the contour, and together with the above two steps, builds a complete contour reconstruction mechanism.
First, according to the geometric characteristics of the local contour, the dynamic adjustment traversal range D is calculated. The calculation Formula (12) is as follows:
d t r a v e r s e = 2 × T p ⋅ ( 1 + γ ⋅ κ + δ ⋅ ρ )
γ and δ are adjustment coefficients, respectively, controlling the influence of curvature and local contour density on the traversal range. In high-curvature areas, the traversal range is increased to cover possible complex structures, such as sharp corners or concave areas. In high-density areas, the traversal range is appropriately expanded to avoid missing densely distributed points. In flat or sparse areas, the traversal range is reduced to reduce unnecessary redundant calculations.
Secondly, for the current point pair P p k + 1 , calculate d t r a v e r s e according to the above formula. Starting from P p k + 1 , traverse the unprocessed points within the range of d t r a v e r s e along the vector direction v n o r m . If there is a point P p k + p j in the range that satisfies the following Formula (13), then mark this point as a candidate point.
{ | ( P p k + p j − P p k + 1 ) ⋅ v n o r m ∥ v n o r m ∥ | ≤ ϵ ∥ P p k + p j − P p k + 1 ∥ ≤ d t r a v e r s e
where ϵ is the direction tolerance threshold, ϵ = 0.1 + 0.2 κ . If a candidate point exists, then the middle point P p k + 2 , … , P p k + p j − 1 is discarded and P p k + 1 and P p k + p j are directly connected. If no candidate point meets the conditions, then the middle point is retained and processing continues with P p k + 1 and P p k + 2 .
Through the coordinated processing of the three key steps of the morphology detection algorithm—angle correction, direction detection, and distance calculation—the initial building contour, originally disrupted by scattered, misclassified pixels and structural damage, is gradually reconstructed into a regular, continuous contour that accurately reflects the actual shape through angle correction, fracture repair, and reasonable regulation of the traversal range. This reconstruction provides a data preprocessing foundation for the subsequent regularization algorithm, enabling the regularization algorithm to more accurately adjust the contour based on this result.

3.3. Contour Regularization Based on Segment Adjustment and Geometric Alignment

After completing the initial contour reconstruction operation based on the morphology detection algorithm, the overall structure of the building’s contour is refined to a certain extent after local structural repair and local regularization. However, this problem is not optimized from the perspective of overall characteristics. Therefore, we propose a contour regularization algorithm based on line segment adjustment and geometric alignment. Figure 4 shows the contour regularization flowchart. This algorithm mainly includes key steps such as angle alignment, vertex simplification, and contour integration. Based on the obtained main direction of the building, the contour is fully angularly calibrated, unnecessary turning segments are removed, the building contour is streamlined, and parallel and perpendicular segments are inserted. This ensures that the building contour not only maintains the building’s original geometric form but also achieves a higher level of regularization and optimization.
Figure 4. Schematic diagram of the regularization algorithm.

3.3.1. Angle Alignment

Angle alignment aims to make the contour more regular and satisfy the main direction geometric constraints. First, the contour point set P = { p 0 , p 1 , ⋯ , p n } is converted into a line segment set S = { s 0 , s 1 , ⋯ , s n } , where each line segment s i is formed by connecting the adjacent points p i and p i + 1 . Next, the angle η formed by each line segment s i and the main direction θ i n i t i a l is calculated and converted into the direction confidence using the following Formula (14): If μ ∥ > 0.8 , it is determined to be a parallel line segment; if μ ⊥ > 0.8 , it is determined to be a perpendicular line segment; the remaining line segments maintain their original directions unchanged.
{ μ ∥ = cos 2 ( 2 η ) μ ⊥ = sin 2 ( 2 η )
The line segments are divided into two categories according to the angle: if η ∈ [ 0 ° , 15 ° ) or η ∈ ( 135 ° , 180 ° ] , the line segment is determined to be a parallel line segment; if η ∈ [ 15 ° , 135 ° ] , it is determined to be a perpendicular line segment. Then, for the parallel and perpendicular line segments obtained from the above classification, the directions are adjusted to ensure that they are strictly parallel or perpendicular to the main direction θ i n i t i a l . The parallel line segments are rotated to make them strictly parallel to the main direction; the perpendicular line segments are rotated to make them strictly perpendicular to the main direction. The starting point and end point of the parallel line segment are projected onto the main direction, keeping the original line segment length unchanged, so that the line segment is strictly aligned with the main direction in position. The calculation formula is (15); the starting point and end point of the perpendicular line segment are projected onto the direction perpendicular to the main direction, and the projected line segment vector is orthogonally decomposed. While keeping the vector modulus unchanged, its direction is adjusted to make the line segment strictly perpendicular to the main direction. The calculation formula is (16).
P i = p i + L ⋅ ( cos θ i n i t i a l , sin θ i n i t i a l )
vertical   component = L ⋅ ( c o s ( θ i n i t i a l + 90 ° ) , s i n ( θ i n i t i a l + 90 ° ) )
Finally, the intersection points between adjacent line segments after the direction and position adjustment are calculated. These intersection points and the endpoints of the line segments together constitute the updated contour point set, which is stored in F = { f 0 , f 1 , ⋯ , f k } .

3.3.2. Vertex Simplification and Contour Integration

After the angle alignment step, the geometric regularity of the contour is improved, but there may still be some redundant points in the contour, which will only make the contour more complicated. Therefore, it is necessary to further optimize the contour by removing these redundant points through vertex simplification.
For each contour point f i in the contour point set F = { f 0 , f 1 , ⋯ , f k } , the Euclidean distance d 1 = ∥ f i − f i − 1 ∥ a n d   d 2 = ∥ f i + 1 − f i ∥ is calculated from its previous point f i − 1 and subsequent point f i + 1 . Based on subsequent experiments and practical application scenarios, a distance threshold ν is set. If d 1 < ν or d 2 < ν , then the point f i is determined to be a redundant point and this contour point is marked as a node. After detecting redundant points in the contour point set, all nodes marked as redundant are removed from the original contour point set, resulting in the simplified contour point set F ′ = { f 0 ′ , f 1 ′ , ⋯ , f m ′ } .
First, traverse the simplified contour point set F ′ = { f 0 ′ , f 1 ′ , ⋯ , f m ′ } and determine whether any two line segments are parallel. For line segments s i = ( f i ′ , f i + 1 ′ ) and s i + 1 = ( f i + 1 ′ , f i + 2 ′ ) , determine parallelism by calculating their slopes. Let the slope of line segment s i be k i and the slope of line segment s i + 1 be k i + 1 . If | k i − k i + 1 | < τ , the two line segments are considered parallel. Let them be l a and l b , and calculate the shortest distance d a b between them.
At the same time, a spacing threshold φ is set. If d a b < φ , starting from the first line segment, find the next parallel line segment and put them into the same set L p . Process all line segments in sequence until all line segments are processed. At this time, several parallel line segment sets L p = { l 0 , l 1 , ⋯ , l u } are obtained. For each parallel line segment set L p the length ratio r L p of the longest line segment l m a x in the set is calculated using Formula (17).
r L p = l e n g t h ( l m a x ) ∑ l ∈ L p   l e n g t h ( l )
In addition, a line segment length ratio threshold K is defined. If r L p > K , the longest line segment l m a x is used as the reference and the remaining line segments in the set L p are merged onto l m a x by adjusting the positions of the overlapping line segments’ endpoints so that they coincide with l m a x . If r L p ≤ K , the first line segment in the set L p is used as the reference and the remaining line segments are merged one by one. For adjacent parallel lines of d a b ≥ φ , if a perpendicular contour line is not found in the judgment, a perpendicular line segment v l i n e is added based on the endpoints of the two parallel lines. The starting and ending points of the perpendicular line segment are located at the closest endpoints of the two parallel line segments, respectively, to ensure the continuity and rationality of the contour.
After processing the parallel segments, the contour point set is traversed again to detect perpendicular relationships between adjacent segments. For segments s i = ( f i ′ , f i + 1 ′ ) and s i + 1 = ( f i + 1 ′ , f i + 2 ′ ) , based on the property of vector perpendicularity, if the dot product of their direction vectors is close to 0, that is, ( x i + 1 ′ − x i ′ ) ( x i + 2 ′ − x i + 1 ′ ) + ( y i + 1 ′ − y i ′ ) ( y i + 2 ′ − y i + 1 ′ ) < δ , the two segments are considered perpendicular. When a perpendicular segment is detected, the intersection of the segments is the corner point P c r o s s of the contour. These corner points are clearly identified and recorded, as they play a key role in describing the building’s contour shape.

3.4. Adaptive Threshold Optimization Considering Graph Complexity

Automatically provide adaptive optimization parameters for complex data samples to ensure the best optimization effect and ultimately obtain refined building vector contours.

3.4.1. Calculation of Global Contour Complexity

Global complexity reflects the overall complexity of the building’s contour, taking into account key factors such as area, perimeter, convexity, and compactness. Area ( S ) is the size of the area enclosed by the building’s contour; perimeter ( P ) is the total length of the contour; convexity ( C c o n v e x ) is the overall convexity of the building’s contour; and compactness ( C c o m p a c t n e s s ) reflects the complexity of the contour from another perspective. When the value of compactness is closer to 1, the shape of the building’s contour is closer to a circle, and its complexity is relatively low; conversely, the smaller the value of compactness, the more irregular the shape of the building, and the higher the complexity. This study defines global complexity C g l o b a l as follows (18):
C g l o b a l = w 1 S + w 2 P + w 3 C c o n v e x + w 4 C c o m p a c t n e s s C c o n v e x = S c o n v e x − S S c o n v e x C c o m p a c t n e s s = 4 π S P 2
where w 1 , w 2 , w 3 , w 4 is the weight coefficient, satisfying w 1 + w 2 + w 3 + w 4 = 1 S c o n v e x represents the area of the contour convex hull, and the larger C g l o b a l is, the higher the global complexity.

3.4.2. Calculation of Local Contour Complexity

The evaluation of local complexity focuses on the changes in local details of the polygon. These changes may be significantly different from the overall structure, thus causing local oscillations. If the local polygon has fine structure or proportional details, the local complexity is high; if the local area has obvious changes but no fine structure, the local complexity is low.
Inspired by existing studies on shape complexity analysis and boundary irregularity modeling in computer vision and remote sensing, local contour complexity is often characterized by measuring variations in geometric properties along object boundaries. As shown in Figure 5, in order to achieve accurate and automated local contour optimization, a local analysis method is used to select complexity feature variables such as area amplitude, length amplitude, vibration frequency, local density, local curvature, local angle error, and concave ratio to calculate local complexity, as follows:
Figure 5. Local complexity evaluation ideas.
The area amplitude S a r e a is calculated using Formula (19). The contour is divided into local areas and the average area of each area is calculated to reflect the change in the area of the local area. The larger the amplitude, the more drastic the change in the local area and the higher the complexity.
S a r e a = 1 k ∑ i = 1 k   ( S i − S a ) 2
The length amplitude A l e n g t h is calculated by Formula (20), which calculates the average value of the local segment length and its fluctuation, reflecting the degree of change in the local segment length. The larger the amplitude, the more significant the change in the local segment length and the higher the complexity.
A l e n g t h = 1 n ∑ i = 1 n   ( l i − l a ) 2
The vibration frequency f v i b r a t i o n is used to describe the frequency of local changes in the contour direction. A region of length L s e c t i o n is selected on the contour, and the number of direction changes n c h a n g e is counted. The higher the frequency, the more frequent the local direction fluctuations and the higher the complexity. Its calculation formula is (21)
f v i b r a t i o n = n c h a n g e L s e c t i o n
The local angle error is obtained by calculating the absolute value of the difference between the actual angle θ i formed by three adjacent points P i − 1 ,     P i ,     P i + 1 on the contour and the ideal angle θ i d e a l , and averaging the difference over the local m angles. The larger the error, the more irregular the local angle and the higher the complexity. It is calculated using Formula (22).
E a n g l e = 1 m ∑ i = 1 m   | θ i − θ i d e a l |
The concave ratio R c o n c a v i t y is calculated by calculating the ratio of the concave part length to the total perimeter of the contour, reflecting the frequency of local shape changes. θ i d e a l is set as 90°. The higher the ratio, the higher the local complexity. Its calculation formula is (23)
R c o n c a v i t y = l c o n c a v e L
In addition, the introduction of the concave ratio parameter can reasonably adjust the degree of optimization and prevent over-simplification, thereby retaining the true characteristics of the building. The calculation formula of the global complexity C l o c a l is (24):
C l o c a l = ∑ i = 1 7   w i X i
where w i represents the weight coefficient, X i represents the parameter index of the seven local complexities, S a represents the average area, l a represents the average length of the line segment, θ i represents the actual angle, θ i d e a l represents the ideal angle, and l c o n c a v e represents the sum of the lengths of the concave parts in the contour.

3.4.3. Calculation of Contour Geometric Complexity

Since the goal of this study is to generate vector polygon results, the characteristics of vertices and boundaries are particularly critical. To this end, a model for calculating the geometric complexity of building contours is designed. Based on the inherent characteristics of polygons, the number of vertices V and the number of boundaries E of the input polygon can be directly counted. Subsequently, the standard deviation E v a r of all edge lengths, the standard deviation V a n g of all vertex angles, and the standard deviation V d i s t of the distances between vertices are calculated, respectively. This study uses the geometric mean method instead of the weight distribution method. The final geometric complexity C g e o calculation Formula (25) is as follows:
C g e o = ( V × E × ( 1 + E v a r ) × ( 1 + V a n g ) × ( 1 + V d i s t ) ) 1 5 E v a r = 1 E ∑ i = 1 E   ( l i − l ¯ ) 2 V a n g = 1 V ∑ i = 1 V   ( θ i − θ ¯ ) 2 V d i s t = 1 E ∑ i = 1 E   ( d i − d ¯ ) 2
Among them, V and E represent the number of vertices and edges; l i is the length of each edge; l ¯ is the average length of the edge; θ i is the angle of each vertex, θ ¯ is the average of the vertex angles; d i is the distance between each pair of adjacent vertices, and d ¯ is the average distance between each pair of adjacent vertices.
In order to achieve the effective unification of global complexity, local complexity and geometric complexity, an overall complexity index C t o t a l is used to calculate the total complexity. Each complexity index is normalized to the interval [0, 1], and the total complexity calculation formula is (26)
C t o t a l = α ⋅ C g l o b a l + β ⋅ C l o c a l + γ ⋅ C g e o
Among them, α , β , γ is the weight coefficient, satisfying α , β , γ .

3.4.4. Adaptive Threshold Optimization Network

This study employed a lightweight adaptive threshold optimization network based on a graph convolutional network (GCN) to adaptively optimize the thresholds used in building contour reconstruction and regularization algorithms. This network constructs a bipartite graph structure between complexity feature nodes and threshold nodes, and utilizes a graph attention network (GAT) to automatically learn the importance weights between these nodes, achieving a precise mapping from contour complexity to the optimal threshold. Since the model’s goal is to determine the optimal threshold through complexity calculation, and to achieve this lightweight threshold determination, this study precalculated the complexity of different building contours and empirically derived the optimal threshold parameters as training labels for the model. Therefore, the model’s input is the complexity feature, and the label is the optimal threshold.
Design of Nodes and Adjacency Matrix
To calculate the optimal threshold based on building contour complexity, this model employs a bipartite graph structure for node design. The complexity feature node serves as the “input node,” and the threshold node is set as the “target node.” The complexity feature node encompasses global, local, geometric, and total complexity information. The threshold node contains key parameters for the reconstruction and regularization process, including the dynamic angle correction threshold θ 0 corresponding to Formula (9), the direction detection density coefficient β d corresponding to Formula (10), the vertex simplification length threshold ν and the contour integration spacing threshold φ corresponding to the thresholds mentioned in Section 3.3.2.
A two-layer attention mechanism is used to dynamically learn the importance weights between nodes in the association graph. The initial association matrix A i n i t ∈ R n × n is sparsely connected based on prior knowledge. The adaptive attention matrix A G A T ∈ R n × n is constructed by GAT automatically learning the importance weights between nodes α i j replacing the traditional fixed adjacency matrix to better reflect the relationship between nodes.
The design of the adaptive attention mechanism is inspired by the Graph AttentionNetwork (GAT) [31,32], which introduces attention coefficients to dynamically model the importance of neighboring nodes in a graph. By learning node-wise attention weights, GAT enables more flexible and expressive feature aggregation compared to fixed adjacency structures. Following this principle, the attention coefficients between nodes are computed as defined in Formula (27).
α i j = exp ( L e a k y R e L U ( a ⊤ [ W h i ∥ W h j ] ) ) ∑ k ∈ N ( i )   exp ( L e a k y R e L U ( a ⊤ [ W h i ∥ W h k ] ) )
Among them, W ∈ R d ′ × d , a ∈ R 2 d ′ is the attention vector and ∥ represents the splicing operation.
The two matrices are then fused using A = λ A i n i t + ( 1 − λ ) A G A T , resulting in a matrix that combines both a priori and data-driven properties. Furthermore, for complex node features, continuous features are normalized using Z-score normalization, while non-uniformly distributed features are normalized using quantile normalization. For features with known thresholds, normalized values are directly filled in. For features with unknown thresholds, initial values are predicted using a pre-trained MLP (2-layer fully connected, with 8 hidden layers). The final feature matrix X ∈ R n × d is constructed by concatenating the normalized feature vectors in node order.
Overall Model Architecture
The model input is the feature matrix X ∈ R n × d and adjacency matrix A ∈ R n × n obtained through the above processing. It first enters the two-layer GCN convolution and updates the node features using Formula (28):
H ( i ) = σ ( D ~ − 1 2 A ~ D ~ − 1 2 X W ( 0 ) )
where i represents the i -th convolutional layer, A ~ = A + I , D ~ is the degree matrix of A ~ , W ( 0 ) is the weight matrix, and σ is the activation function.
Next, a two-layer Graph Attention Network (GAT) is used. The output dimension of the first layer remains unchanged, while the second layer adjusts the output dimension from 64 to 32 and sets up a four-head multi-attention mechanism to enhance the model’s ability to capture complex relationships between nodes. To alleviate the oversmoothing problem that may be caused by multi-layer GCN, residual connections are added between each GCN layer:
H ( l + 1 ) = G A T ( H ( l ) , A ) H ( l + 1 ) = H ( l + 1 ) + H ( l )
Subsequently, global aggregation is performed through attention weighted pooling to calculate the node importance weights. The calculation Formula (30) is as follows:
h g l o b a l = ∑ i = 1 n   α i h i ( L )
where α i is the node importance weight, which is calculated by Formula (31):
α i = exp ( w ⊤ h i ) ∑ j   exp ( w ⊤ h j )
Then, the output layer has multiple branches and is fully connected to make each threshold predict independently. The activation function is Sigmoid, which limits the threshold prediction value to a reasonable range:
T ^ j = S i g m o i d ( W j h g l o b a l + b j ) ⋅ ( u j m a x − u j m i n ) + u j m i n
where u j m a x and u j m i n are the preset ranges of the thresholds.
This model uses weighted mean square error as the loss function, and its formula is (33):
L = ∑ j = 1 4   w j ∥ T ^ j − T j g t ∥ 2
In this formula, j represents the index of the threshold, ranging from 1 to 4, corresponding to the four thresholds θ 0 , β d , ν , φ , respectively; T ^ j is the I-th threshold predicted by the model; T j g t is the true value of the j -th threshold; w j is the weight corresponding to the j -th threshold, which reflects the relative importance of each threshold in the loss calculation.

4. Experiment and Analysis

4.1. Experimental Setup

The satellite remote sensing images used in the experiment are from the WHU-Mix vector dataset [33], including a training set (43,778 tiles) and a validation set (2922 tiles). This dataset contains high-resolution satellite remote sensing images and vector-format labels, covering a wide variety of samples of varying types and complexity, making it ideal for objectively evaluating experimental methods. The experiments were conducted in a Linux operating system environment, using Python 3.5 as the programming language and equipped with a GTX3090 graphics card to accelerate the model training process.

4.2. Evaluation Metrics

To analyze the reliability and accuracy of the performance evaluation methods for building polygons, this study uses multiple metrics. Mean Intersection over Union (mIoU) represents instance-level performance, Boundary F1 (denoted as B-F1) represents boundary performance, and Vertex F1 (denoted as V-F1) represents vertex performance. In addition, there are V-Precision and V-Recall metrics. For each metric, the average value is calculated for each building instance. mIoU is different from IoU in that it is the average IoU between the predicted instance and the ground-truth (GT) building instance. B-F1 evaluates the F1 score between the predicted polygon and the ground-truth polygon boundary according to the method of Perazzi et al. [34]. V-F1 evaluates the F1 score between the predicted vertex set and the ground-truth vertex set according to the method of Homayounfar [35], with the threshold of B-F1 set to 2 pixels and the threshold of V-F1 set to 3 pixels.

4.3. Experimental Results and Analysis

The proposed method is compared with a variety of classic and advanced building contour optimization methods. The comparison methods include the image rasterization method proposed by Wang Weixi et al. [36] (denoted as method A), which optimizes the building according to the grid to which it belongs; the remote sensing image building contour optimization method based on the improved active contour model proposed by Chang Jingxin et al. [37] (denoted as method B); and the main direction-based building optimization method proposed by Pan Meimei [38] (denoted as method C). To fully demonstrate the objectivity of the experiment, the initial segmentation results of all experiments are derived from the same segmentation model, and the experiments are conducted on the same dataset.
Table 1 shows the quantitative evaluation results of our building contour refinement extraction methods. It demonstrates that our method performs exceptionally well compared to other methods. In particular, in the B-F1 metric, our method achieves 87.52%, significantly exceeding the other methods. This performance is 10.59%, 6.07%, and 4.13% higher than methods A, B, and C, respectively. This demonstrates that our method accurately identifies building contours while maximizing coverage of true contours, minimizing missed and false positives, and achieving a good balance between accuracy and completeness. In the V-F1 metric, our method achieves 77.43%, also significantly higher than the other methods. This performance is 14.95%, 6.51%, and 4.71% higher than methods A, B, and C, respectively. This demonstrates a significant advantage over the other methods in capturing the geometric structure of contours, enabling more precise localization of building contour vertices and achieving superior regularization. In the V-Puration metric, our method achieves 81.21%, also exceeding the other methods. This demonstrates high accuracy in identifying building contours, with fewer false positives. In terms of the V-Recall metric, our method achieves a 75.62% improvement over methods A and B, effectively recalling building contours and reducing the loss of building contours. These metrics clearly demonstrate that our method can more accurately optimize building contours across different evaluation dimensions.
Table 1. Comparison of building refinement results accuracy.
To more intuitively evaluate the methods in this chapter, we conducted a visual analysis. We selected five buildings (a, b, c, d, and e) of different types and styles from the WHU-Mix dataset for qualitative analysis. The experimental results are shown in Figure 6. Building a has an irregular contour, with some areas protruding outward. Building b is a typical non-rectangular building, not a conventional vertical structure. Buildings c, d, and e have complex contours, and their building types are unique and diverse, representing typical architectural structures. Method A’s extraction capabilities are poor regardless of building type, and it cannot accurately extract a complete and accurate building contour. Method B improves on Method A in handling complex buildings. However, Method B still exhibits errors in detail. Method C improves on the previous two methods in terms of detail. However, Method C cannot accurately locate the vertices and turning points at the building’s base, resulting in errors in detail. Due to our method’s high sensitivity to detail, it can more effectively reconstruct local buildings in a regularized manner, resulting in superior image performance. As shown in building image c, method A still has shortcomings in large-scale extraction, while method B is less sensitive to local areas. While it can extract a roughly complete contour, it lacks local details. Method C has made some local improvements and optimizations, but it fails to achieve standard regularization results for this rectangular building. Our method, on the other hand, is able to achieve standard regularization results for regular rectangular buildings, fully demonstrating its effectiveness. In images d and e, method A’s extraction performance remains unsatisfactory for these complex and diverse building structures, with some issues regarding contour completeness and accuracy. While method B can capture the general shape, it struggles with the accuracy of details. While method C shows some improvement over method B in handling these details, it still cannot accurately restore the true shape and structure of the unique intersection of broken lines and straight lines in building d, or the variable structure in building e, resulting in a certain degree of deviation. In contrast, our method can keenly capture every subtle contour change in image d, accurately depicting both irregular protrusions and unique broken lines, making the extracted building contours highly consistent with the actual situation. This demonstrates the advantages of our method in dealing with various complex building contours.
Figure 6. Comparison of visualization results of the WHU-Mix dataset.

4.4. Ablation Experiment

The main purpose is to verify the effectiveness of the morphology detection algorithm and the regularization algorithm in the optimization process of complex buildings. At the same time, the experiment is carried out using the WHU-Mix vector dataset to ensure the objectivity of the experimental results.
The experiment analyzed the algorithm’s effectiveness by comparing results from different model configurations. The results are shown in Table 2. ( α 1 ) As the base model, the scores for various metrics are relatively low, with B-F1 at 80.12% and V-F1 at 62.35%. However, adding the contour reconstruction algorithm ( α 2 ) significantly improved vertex-related scores, with V-F1 increasing from 62.35% to 75.64% and V-Precision from 68.54% to 79.43%. This is attributed to the design of the morphological detection algorithm. Adding the contour regularization algorithm ( α 3 ) increased B-F1 to 85.46% and mIoU to 78.43%. When both the contour reconstruction and contour regularization algorithms ( α 4 ) were used simultaneously, all metrics reached the highest level. This demonstrates that the two algorithms complement each other. The contour detection algorithm focuses on restoring local details, laying a good foundation for the contour regularization algorithm. The contour regularization algorithm globally optimizes the contour, resulting in both local and overall improvements to the building contour. This fully demonstrates that the two algorithms can effectively and complementary apply to complex building optimization problems.
Table 2. Comparison of ablation study accuracy of different modules.
As shown in Figure 7, the original extraction results have many problems, including a large number of redundant vertices and an extremely uneven contour. When only the reconstruction algorithm is added, the contour presented by the model becomes smoother overall, but its regularity is poor. When only the regularization algorithm is introduced, although the regularity of the contour is significantly enhanced, it deviates from the true contour. This is caused by inaccurate vertex positioning. Notably, when the reconstruction and regularization algorithms are applied simultaneously, the extraction results are improved. Not only is the contour smoother, but the regularity is also ideal, and the fit with the true contour is even better, clearly highlighting the synergistic advantage of the two algorithms.
Figure 7. Comparison of visualization experiments in different modules.

5. Conclusions

This research focuses on the task of extracting complex buildings. Existing methods generally fail to effectively adapt to contours of varying complexity, making it difficult to achieve highly regularized results. Focusing on contour refinement, this research proposes a multi-level contour refinement framework based on morphology perception. This framework includes an improved principal direction optimization scheme based on the best bounding matrix (BBM), a contour reconstruction algorithm based on morphology detection, a contour regularization algorithm based on geometric alignment, and a complex-adaptive threshold optimization network. The method proposed in this study improves the process of extracting complex building contours to a certain extent. By combining advanced instance segmentation algorithms, improved principal direction extraction methods, morphology detection algorithms, and geometric alignment methods, we construct a building contour complexity model and design a multi-stage framework with an adaptive threshold optimization network. Experiments demonstrate that our method can generate regularized contours even for complex buildings, providing a reliable data foundation for geographic information applications and promoting the application and development of building extraction technology in real-world scenarios. While the proposed method achieves significant improvements in contour extraction precision and regularization quality, the multi-stage refinement process involves a relatively high computational cost compared to simple end-to-end networks. Therefore, improving the inference efficiency and developing a lightweight version of the proposed framework will be the primary focus of our future work.

Author Contributions

Conceptualization, W.Z. and Z.M.; methodology, B.H. and Y.X.; software, L.T.; validation, L.T.; formal analysis, L.T.; resources, L.L.; writing—original draft preparation, W.Z.; writing—review and editing, W.Z., Y.X. and B.H.; visualization, L.T.; funding acquisition, L.T. All authors have read and agreed to the published version of the manuscript.

Funding

The Project Supported by the Open Fund of Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources (No. KF-2023-08-18). Supported by Hubei University of Science and Technology Doctoral Start-up Fund Project (BK202433), the Hubei University of Science and Technology Horizontal Project (2025HX185) and Hubei University of Science and Technology Teaching Reform Research Project (2025XY026 and 2023XK009).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original data presented in the study are openly available in https://gpcv.whu.edu.cn/data/whu-mix(raster)/whu_mix%20(raster).html(accessed on 20 May 2024).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Xu, Y.; Wu, L.; Xie, Z.; Chen, Z. Building extraction in very high resolution remote sensing imagery using deep learning and guided filters. Remote Sens. 2018, 10, 144. [Google Scholar] [CrossRef] [Scilit]
  2. Boo, G.; Darin, E.; Leasure, D.R.; Dooley, C.A.; Chamberlain, H.R.; Lázár, A.N.; Tschirhart, K.; Sinai, C.; Hoff, N.A.; Fuller, T.; et al. High-resolution population estimation using household survey data and building footprints. Nat. Commun. 2022, 13, 1330. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Lu, D.; Mausel, P.; Brondizio, E.S.; Moran, E. Change detection techniques. Int. J. Remote Sens. 2004, 25, 2365–2401. [Google Scholar] [CrossRef] [Scilit]
  4. Xu, Y.; Zhu, Z.; Guo, M.; Huang, Y. Multiscale edge-guided network for accurate cultivated land parcel boundary extraction from remote sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 62, 4501020. [Google Scholar] [CrossRef] [Scilit]
  5. Hu, A.; Wu, L.; Chen, S.; Xu, Y.; Wang, H.; Xie, Z. Boundary shape-preserving model for building mapping from high-resolution remote sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5610217. [Google Scholar] [CrossRef] [Scilit]
  6. Zhang, L.; Zhang, L.; Du, B. Deep learning for remote sensing data: A technical tutorial on the state of the art. IEEE Geosci. Remote Sens. Mag. 2016, 4, 22–40. [Google Scholar] [CrossRef] [Scilit]
  7. Xia, G.S.; Hu, J.; Hu, F.; Shi, B.; Bai, X.; Zhong, Y.; Zhang, L.; Lu, X. AID: A benchmark data set for performance evaluation of aerial scene classification. IEEE Trans. Geosci. Remote Sens. 2017, 55, 3965–3981. [Google Scholar] [CrossRef] [Scilit]
  8. Xu, Y.; Wang, J.; Wu, L.; Xie, Z. Research on road extraction considering road boundaries and connectivity. Acta Geod. Cartogr. Sin. 2025, 54, 1254–1264. [Google Scholar]
  9. Ali, M.; Clausi, D. Using the Canny edge detector for feature extraction and enhancement of remote sensing images. In Proceedings of the Igarss 2001. Scanning the Present and Resolving the Future. Proceedings. IEEE 2001 International Geoscience and Remote Sensing Symposium (Cat. No. 01CH37217), Sydney, Australia, 9–13 July 2001; IEEE: New York, NY, USA, 2001; Volume 5, pp. 2298–2300. [Google Scholar]
  10. Chen, S.; Shi, W.; Zhou, M.; Zhang, M.; Xuan, Z. CGSANet: A contour-guided and local structure-aware encoder–decoder network for accurate building extraction from very high-resolution remote sensing imagery. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 15, 1526–1542. [Google Scholar] [CrossRef] [Scilit]
  11. Wu, Y.; Xu, L.; Chen, Y.; Wong, A.; Clausi, D.A. TAL: Topography-Aware Multi-Resolution Fusion Learning for Enhanced Building Footprint Extraction. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6506305. [Google Scholar] [CrossRef] [Scilit]
  12. Zhu, Q.; Liao, C.; Hu, H.; Mei, X.; Li, H. MAP-Net: Multiple attending path neural network for building footprint extraction from remote sensed imagery. IEEE Trans. Geosci. Remote Sens. 2020, 59, 6169–6181. [Google Scholar] [CrossRef] [Scilit]
  13. Hu, A.; Wu, L.; Xu, Y.; Xie, Z. SANET: A Shape-Aware Building Footprints Extraction Method in Remote Sensing Images by Integrating Fourier Shape Descriptors. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5632215. [Google Scholar] [CrossRef] [Scilit]
  14. Xie, E.; Sun, P.; Song, X.; Wang, W.; Liu, X.; Liang, D. Polarmask: Single shot instance segmentation with polar representation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 12193–12202. [Google Scholar]
  15. Ling, H.; Gao, J.; Kar, A.; Chen, W.; Fidler, S. Fast interactive object annotation with curve-gcn. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 5257–5266. [Google Scholar]
  16. Cheng, D.; Liao, R.; Fidler, S.; Urtasun, R. Darnet: Deep active ray network for building segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 7431–7439. [Google Scholar]
  17. Liu, Z.; Liew, J.H.; Chen, X.; Feng, J. DANCE: A Deep Attentive Contour Model for Efficient Instance Segmentation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA, 3–8 January 2021; pp. 345–354. [Google Scholar]
  18. Xu, Y.; Xie, Z.; Feng, Y.; Chen, Z. Road extraction from high-resolution remote sensing imagery using deep learning. Remote Sens. 2018, 10, 1461. [Google Scholar] [CrossRef] [Scilit]
  19. Xu, Y.; Shi, Z.; Xie, X.; Chen, Z.; Xie, Z. Residual channel attention fusion network for road extraction based on remote sensing im-ages and GPS trajectories. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 8358–8369. [Google Scholar] [CrossRef] [Scilit]
  20. Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 3431–3440. [Google Scholar]
  21. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Munich, Germany, 5–9 October 2015; Springer International Publishing: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar]
  22. Chen, L.-C.; Papandreou, G.; Kokkinos, I.; Murphy, K.; Yuille, A.L. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 834–848. [Google Scholar] [CrossRef] [Scilit]
  23. Chen, L.-C.; Papandreou, G.; Schroff, F.; Adam, H. Rethinking atrous convolution for semantic image segmentation. arXiv 2017, arXiv:1706.05587. [Google Scholar] [CrossRef] [Scilit]
  24. Chen, L.-C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 801–818. [Google Scholar]
  25. Wang, C.; Xi, Z.; Liu, D.; Feng, Y.; Deng, Y.; Li, K.; Chen, J.; Chen, J.; Meng, Y. PCP: A Prompt-Based Cartographic-Level Polygonal Vector Extraction Framework for Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5646015. [Google Scholar] [CrossRef] [Scilit]
  26. Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023; pp. 4015–4026. [Google Scholar]
  27. Vardi, Y.; Zhang, C.H. A modified Weiszfeld algorithm for the Fermat-Weber location problem. Math. Program. 2001, 90, 559–566. [Google Scholar] [CrossRef] [Scilit]
  28. Kong, X.; Everett, H.; Toussaint, G. The Graham scan triangulates simple polygons. Pattern Recognit. Lett. 1990, 11, 713–716. [Google Scholar] [CrossRef] [Scilit]
  29. Huttenlocher, D.P.; Klanderman, G.A.; Rucklidge, W.J. Comparing images using the Hausdorff distance. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 15, 850–863. [Google Scholar] [CrossRef] [Scilit]
  30. Xu, Y.; Xie, Z.; Chen, Z.; Wu, L. Shape similarity measurement model for holed polygons based on position graphs and Fourier descriptors. Int. J. Geogr. Inf. Sci. 2017, 31, 253–279. [Google Scholar] [CrossRef] [Scilit]
  31. Kipf, T.N. Semi-supervised classification with graph convolutional networks. arXiv Preprint 2016, arXiv:1609.02907. [Google Scholar]
  32. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph attention networks. arXiv Preprint 2017, arXiv:1710.10903. [Google Scholar]
  33. Luo, M.; Ji, S.; Wei, S. A diverse large-scale building dataset and a novel plug-and-play domain generalization method for building extraction. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 4122–4138. [Google Scholar] [CrossRef] [Scilit]
  34. Perazzi, F.; Pont-Tuset, J.; McWilliams, B.; Van Gool, L.; Gross, M.; Sorkine-Hornung, A. A benchmark dataset and evaluation methodology for video object segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 724–732. [Google Scholar]
  35. Homayounfar, N.; Ma, W.C.; Lakshmikanth, S.K.; Urtasun, R. Hierarchical Recurrent Attention Networks for Structured Online Maps. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 3417–3426. [Google Scholar]
  36. Wang, W.; Du, J.; Li, X.; Hu, H.; Xu, W.; Guo, H.; Ding, Y. A grid filling based rectangular building outlines regularization method. Geomat. Inf. Sci. Wuhan Univ. 2018, 43, 318–324. [Google Scholar]
  37. Chang, J.X. Study on Building Contour Optimization Method of Remote Sensing Image Based on Improved ActiveContour. Master’s Thesis, Yangtze University, Jingzhou, China, 2022. [Google Scholar] [CrossRef]
  38. Pan, M.M. A Research on Building Contour Optimization Method Based on Main Direction in High Resolution Remote Sensing Images. Master’s Thesis, Yangtze University, Jingzhou, China, 2023. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.