A large scene SAR image matching method based on bridge region features
By extracting bridge regions, matching center points in both directions, and ensuring vertex order consistency, combined with global template matching, the problems of feature redundancy, high mismatch rate, and limited segmentation accuracy in large-scene SAR images are solved, achieving high-precision and robust image matching.
Patent Information
- Application Number
- CN202611137936.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-29
- Publication Date
- 2026-11-24
AI Technical Summary
In large-scale SAR images, existing technologies struggle to effectively avoid the impact of redundant features caused by global feature point detection on matching accuracy and efficiency. Bridge detection methods fail to assist image matching, and the limited accuracy of land-sea segmentation leads to poor matching stability. Existing bidirectional matching methods do not involve the semantic region features of bridges, and multi-scale methods rely on initial matching at low-resolution layers, which can easily lead to error propagation.
By extracting bridge regions, matching bridge center points bidirectionally, and ensuring vertex structure order consistency, combined with global template matching and random sampling consistency algorithms, and utilizing the geometric topological constraints of bridges and bidirectional matching strategies, the matching range is narrowed and outliers are eliminated, thus constructing an independent bridge region matching process.
It achieves high-precision and robust matching of large-scene SAR images, with a root mean square error of less than 2 pixels. It effectively solves the problems of feature redundancy, high mismatch rate and limited segmentation accuracy, and is suitable for SAR image matching under different imaging conditions.
Smart Images

Figure CN123161084A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of remote sensing image processing technology, and in particular to a large-scene synthetic aperture radar (SAR) image matching method based on bridge area features. Background Technology
[0002] SAR image matching is a crucial step in remote sensing image processing, widely used in tasks such as change detection, image fusion, and deformation monitoring. However, in large-scene SAR images, the increased number of extracted feature points leads to a large number of non-corresponding feature points with high descriptor similarity, resulting in matching errors. This poses a significant challenge to SAR image matching, regardless of whether the method is feature-based or template-based.
[0003] Template-based methods achieve geometric transformations by optimizing the similarity metric between two images. Similarity metrics include sum of squared differences (SSD) and normalized cross-correlation (NCC). In modern remote sensing sensors, navigation devices such as the Global Positioning System (GPS) can achieve pre-matching through direct georeferencing, thereby eliminating significant global geometric transformations (such as rotation and scale changes) and reducing the offset between images to only a few tens of pixels. However, without pre-matching, this method requires searching the entire map, typically incurring high computational costs.
[0004] Feature-based methods (such as Scale Invariant Feature Transform (SIFT)) achieve feature point matching through feature extraction, description, and matching. However, due to the presence of multiplicative noise, the features extracted by the SIFT method are unstable, and the Gaussian scale space of SIFT blurs a large amount of image information, resulting in unsatisfactory performance in SAR images. Many researchers have improved matching performance by replacing Gaussian filters with several anisotropic filters (including bilateral filtering SIFT and BFSIFT). However, in these methods, the gradient is calculated using simple difference equations, which are unsuitable for matching SAR images with multiplicative noise. Dellinger et al. proposed a SAR-SIFT algorithm that uses the Exponential Weighted Mean Ratio (ROEWA) operator instead of the difference operator to calculate the gradient, and in feature point extraction, combines Harris corner points and Gaussian filtering to use scale space extrema as feature points. This method is more robust to multiplicative noise in SAR images. However, this method is a global image matching operation, and many feature points with similar descriptors but no corresponding features will be incorrectly matched.
[0005] Considering the potential problems of direct global matching, some literature has proposed improved methods. Paul et al. proposed an improved SAR-SIFT (I-SAR-SIFT) method, which, based on coarse matching, divides the image into blocks and performs matching on corresponding regions separately, avoiding the limitations of global matching. Wang et al. proposed a local matching method using an RD model to transform the global matching mode into a local matching mode. In large scenes, this method can perform fast pre-matching, but it requires a series of imaging parameters from remote sensing satellites, which has significant limitations. Liu et al. proposed a matching method based on a multi-scale iterative method (SAR-SIFT-Layer). This method generates a multi-scale image pyramid through downsampling, maps the position coordinates of low-resolution layer matching pairs to high-resolution layers, and defines a search window centered on this point. Within the window, the position coordinates of matching points are redefined to obtain more accurate matching results. Downsampling is an approach to handling large-scene SAR image matching, but this method relies on the initial matching results of the low-resolution layer image. When there are errors in the initial matching, it will lead to subsequent matching failures.
[0006] In the field of bridge detection, existing technologies primarily focus on the detection and identification of bridge targets themselves. For example, decision-level fusion-based bridge identification methods comprehensively utilize complementary features from multispectral, panchromatic, and SAR images for bridge identification (e.g., CN103020605A); SegNet-based SAR image bridge detection methods segment river and bridge regions using neural network models (e.g., CN115049927B); and context-based bridge target detection methods utilize the contextual feature that a bridge spans water and has land at both ends to achieve bridge detection (e.g., CN116977847A). Furthermore, SAR image contour matching methods based on salient contour features employ normalized contour center distance descriptors for bidirectional matching, but their matching objects are general contours, and they do not involve technologies that utilize the semantic region of the bridge as a matching primitive. While SAR scene matching algorithms based on bidirectional matching fusion involve bidirectional matching strategies, their application scenario is scene matching, and they do not involve the extraction and utilization of bridge region features. The methods mentioned above only focus on the detection and identification of bridges, or only on the bidirectional matching strategy in general image matching, and do not involve a technical solution that systematically combines bridge detection results with bidirectional matching strategies to assist in the matching of large-scene SAR images.
[0007] In addition, while existing large-scale remote sensing image feature matching methods include techniques for narrowing the matching range by calculating the overlapping regions of images (such as CN115984706B), the basis for narrowing the range is the calculation of the overlapping regions of images, which differs from the strategy of the present invention based on the semantic region constraints of bridges, and does not involve a fault-tolerant matching mechanism based on the geometric topological constraints of bridges.
[0008] In summary, existing SAR image matching methods mostly employ a global feature point detection and matching process, which makes it difficult to avoid the large amount of redundant features generated by global detection, directly affecting the accuracy and efficiency of matching. Furthermore, existing bridge detection methods only focus on bridge identification itself, and existing bidirectional matching methods are only applied to general image matching. There is still no technical solution that systematically combines bridge region features with bidirectional matching strategies for application in large-scale SAR image matching. Summary of the Invention
[0009] To address the technical problems existing in the prior art, this invention proposes a large-scene SAR image matching method based on bridge area features, specifically including the following steps:
[0010] Step 1, Bridge Region Extraction: Perform land-sea segmentation based on likelihood ratio thresholding on the reference image and the image to be matched, and merge the contours of the land-sea segmentation results to extract the bridge region;
[0011] Step 2, Bridge Region Matching: Using the bridge center point as a feature point, the radius and main direction of the bridge descriptor are determined based on the length and direction information of the bridge's main axis. Matching between bridge center points is achieved through a bidirectional matching method. Then, matching between vertices is achieved based on the structural order consistency of the bridge bounding box vertices, and a preliminary transformation matrix is obtained based on all vertex matching pairs.
[0012] Step 3, Global Matching: Using the preliminary transformation matrix, a geometric transformation is performed on the image to be matched to generate a pre-matching image. Feature points are selected on the pre-matching image and template matching is performed. Normalized cross-correlation is used as a similarity measure. Finally, the random sampling consensus algorithm is used to remove outliers to obtain the final matching result.
[0013] In a further preferred embodiment, in the land-sea segmentation based on the likelihood ratio threshold, the formula for calculating the likelihood ratio is:
[0014]
[0015] in, , and These represent the number of pixels in the water area, the land area, and the entire image, respectively. , and Let represent the arithmetic mean of pixel intensity for water, land, and the entire image, respectively; such that... The largest threshold is the optimal segmentation threshold.
[0016] In a further preferred embodiment, the contour merging specifically involves: marking the connected components of the binary image obtained from the land-sea segmentation and extracting the contours of all water areas; calculating the minimum Euclidean distance between any two water contours, and determining them as adjacent contour pairs if the distance is less than a preset threshold; marking the area between adjacent contour pairs as candidate bridge areas; calculating the minimum bounding rectangle of each candidate bridge area, and determining it as a bridge area based on the aspect ratio of the minimum bounding rectangle being greater than a preset threshold.
[0017] In a further preferred embodiment, the main axis of the bridge refers to the directional axis corresponding to the longer side of the smallest circumscribed rectangle of the bridge area, and its length is denoted as... Its two endpoints are denoted as and ; Descriptor radius and main direction The calculation formula is:
[0018]
[0019]
[0020] in This is the length of the bridge's main axis. It is the arctangent function. The operation limits the main direction to Within the range.
[0021] A further preferred embodiment is that the bidirectional matching method is as follows: for each bridge in the image to be matched... Find the optimal matching bridge with the minimum Euclidean distance among all bridges in the reference image; for each bridge in the reference image The optimal matching bridge with the minimum Euclidean distance of the descriptors is found among all bridges in the image to be matched; only if and When two matches are mutually optimal bridges, the matching group is considered a valid match, meaning it meets the following conditions:
[0022]
[0023] in, The Euclidean distance metric for feature descriptors; This represents the total number of bridges in the reference image; This represents the total number of bridges in the image to be matched; This represents the index that minimizes the descriptor distance.
[0024] In a further preferred embodiment, the structural order consistency matching of the bridge bounding box vertices specifically involves: sorting the four vertices of the minimum bounding rectangle of each bridge in a clockwise direction; for matched bridge pairs, calculating the sum of descriptor distances under the four vertex correspondence methods respectively, and selecting the pair with the smallest total distance as the correct vertex match.
[0025] A further preferred embodiment is that the method for sorting the vertices in a clockwise direction is as follows: divide the four vertices into two triangles, calculate the signed area of each triangle by vector cross product, and determine the vertex order based on the sign of the signed area, with negative values indicating clockwise order and positive values indicating counterclockwise order.
[0026] A further preferred approach is to calculate the local transformation matrix using the four vertices of the bridge when only one set of correctly matched bridges exists. Then, the minimum bounding rectangle of the bridge is expanded by W pixels in each direction, and a local sub-region is extracted. SAR-SIFT matching is performed on this local sub-region to obtain the preliminary transformation matrix.
[0027] A further preferred embodiment is that the feature point selection method in the global matching is as follows: the pre-matching image is evenly divided into at least two rows and two columns of image blocks, the corner response values of all pixels in each image block are calculated, and the top few pixels with the largest response values are selected as the feature points of the block.
[0028] A further preferred embodiment is that the formula for calculating the normalized cross-correlation in the template matching is:
[0029]
[0030] in These are the relative coordinates of each pixel within the template window. Relative coordinates within the template window Pixel intensity value at; Relative coordinates within the corresponding sub-region of the reference image Pixel intensity value at; and These are the average intensity values of all pixels within the template window and the corresponding sub-region of the reference image.
[0031] Beneficial effects
[0032] To address the problems existing in the prior art, the large-scene SAR image matching method based on bridge area features proposed in this invention has the following beneficial effects:
[0033] To address the shortcomings of existing feature- and template-based matching methods, which suffer from a surge in the number of feature points and a high mismatch rate in large-scale scenes, this invention adopts a semantic region-based matching strategy. Specifically, it first extracts bridge regions with significant geometric features, narrowing the matching scope from the global image to the bridge region. This reduces the number of feature points involved in the matching and lowers the probability of non-corresponding feature points with high descriptor similarity appearing simultaneously, thereby effectively improving matching efficiency and accuracy.
[0034] To address the shortcomings of existing methods such as SAR-SIFT, which still involve global matching operations and result in incorrect matching of a large number of non-corresponding points of similar descriptors, this invention adopts a bidirectional matching strategy for bridge center points. This strategy searches for the optimal match in the reference image for each bridge in the image to be matched, and simultaneously searches for the optimal match in the image to be matched for each bridge in the reference image. A valid match is determined only when both are optimal. This avoids the erroneous matching that may occur with unidirectional matching and achieves reliable matching even with a small number of bridge center points.
[0035] To address the technological gap in existing bridge detection methods that focus solely on bridge identification without utilizing the detection results for image matching, this invention constructs a three-stage technical architecture: bridge region extraction, bridge region matching, and global matching. The bridge region extraction results are used as input for image matching, and the geometric features of the bridge (principal axis direction, length, and vertex order) are used as matching constraints, enabling bridge detection to serve image matching.
[0036] To address the gap in existing bidirectional matching methods, which are only applied to general image matching or contour matching and do not address the technical gap of combining with bridge semantic region features, this invention combines a bidirectional matching strategy with bridge semantic region features. First, the matching range is narrowed down to at least the center point using the bridge semantic region. Then, bidirectional matching is introduced at the center point level to ensure one-to-one correspondence. Finally, the number of matching points is increased through vertex structure order consistency matching. This allows the bidirectional matching strategy and bridge geometric topological constraints to work together to form a complete bridge region matching scheme.
[0037] To address the technical challenge of limited accuracy in land-sea segmentation of existing SAR images, where extracted bridge bounding box vertices often exhibit significant geometric deviations leading to poor matching stability, this invention proposes a vertex cyclic order consistency matching strategy. Utilizing the topological property that the order of the four vertices of a rectangle remains unchanged under affine transformations, the optimal match is selected through comparison of four cyclic shift correspondences. This effectively eliminates the impact of segmentation errors on matching accuracy and achieves stable matching even under conditions of inaccurate segmentation results.
[0038] To address the technical shortcomings of existing multi-scale methods such as SAR-SIFT-Layer, which heavily rely on initial matching results from low-resolution layers and whose initial errors propagate layer by layer leading to matching failures, this invention constructs an independent bridge region matching process that does not depend on low-resolution layer pre-matching results. Using the geometric and topological constraints of the bridge region as the core, and employing bidirectional matching and vertex cyclic order consistency matching as means, it directly obtains the preliminary transformation matrix, avoiding the problem of error propagation and amplification. Especially when only one set of bridges is matched, this invention actively creates matching conditions through a three-step strategy of local transformation, region expansion, and local SAR-SIFT, ensuring a reliable preliminary transformation matrix can still be obtained even under extreme conditions with very few matching primitives.
[0039] In summary, by comprehensively utilizing the above-mentioned technical means, this invention overcomes the technical challenges of feature redundancy, high mismatch rate, limited segmentation accuracy, and error propagation amplification in large-scene SAR image matching. The results were verified on three sets of SAR image pairs under different imaging conditions covering Singapore, San Francisco, and Hong Kong, achieving excellent results with a root mean square error of less than 2 pixels. This effectively realizes high-precision and robust matching of large-scene SAR images.
[0040] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0041] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0042] Figure 1. Flowchart of large-scene SAR image matching method based on bridge area features.
[0043] Figure 2. Descriptor range. (a) Image to be matched. (b) Reference image.
[0044] Figure 3. Example of bidirectional matching.
[0045] Figure 4. Example diagram of bridge vertex matching.
[0046] Figure 5. Matching results of the proposed method. (a)-(f) Bridge region extraction results. (g)-(i) Bridge center point matching results. (j)-(l) Bridge region matching results. (m)-(o) Global matching results. Detailed Implementation
[0047] As described in the background section, existing technologies suffer from the following technical problems: In large-scale SAR images, the number of extracted feature points increases rapidly, leading to a large number of non-corresponding feature points with high descriptor similarity. Feature- and template-based matching methods are difficult to implement or have low matching accuracy. Furthermore, while existing SAR-SIFT series methods are robust to multiplicative noise, they are still global matching operations, resulting in incorrect matching of many non-corresponding points with similar descriptors. Multi-scale methods such as SAR-SIFT-Layer heavily rely on the initial matching results of low-resolution layers; errors in the initial matching will lead to subsequent matching failures. Moreover, existing bridge detection methods only focus on bridge identification itself and do not involve using bridge detection results to assist image matching. Existing bidirectional matching methods are only applied to general image matching or contour matching and do not involve technical solutions that combine bidirectional matching strategies with bridge semantic region features. In addition, the land-sea segmentation accuracy of SAR images is limited, and the extracted bridge bounding box vertices often have significant geometric deviations. How to achieve stable matching under conditions of inaccurate segmentation results is also a problem that this invention aims to solve.
[0048] The technical solution adopted by this invention to solve the above-mentioned technical problems is as follows: sea-land segmentation is achieved by using likelihood ratio thresholding and contour merging to obtain the bridge region; the radius and main direction of the bridge descriptor are determined by using the bridge principal axis length and direction, and correct matching between bridges and between bridge bounding box vertices is achieved by using bidirectional matching and bridge bounding box vertex matching to obtain a preliminary transformation matrix; a pre-matched image is obtained by using the preliminary transformation matrix and global matching is achieved by using template matching to improve matching accuracy, and finally accurate matching of SAR images in large scenes is achieved.
[0049] In this invention, the "bridge main axis" refers to the directional axis corresponding to the longer side of the smallest circumscribed rectangle of the bridge area, and its length is denoted as... Its two endpoints are denoted as and The direction of the line connecting the two points must be consistent with the direction of the longest side of the smallest circumscribed rectangle.
[0050] The specific technical solution of the present invention is as follows:
[0051] like Figure 1 As shown, the method proposed in this invention is mainly divided into three modules: bridge region extraction, bridge region matching, and global matching.
[0052] In the bridge region extraction module, the reference image and the image to be matched are segmented into land and sea based on the likelihood ratio threshold, and the land and sea segmentation results are merged to extract the bridge region.
[0053] In the bridge region matching module, the bridge center point is first used as the feature point. The radius and main direction of the bridge descriptor are determined based on the length and direction information of the bridge's main axis. The matching between bridge center points is achieved through a bidirectional matching method, thus completing the correct matching between bridges. Then, the correct matching between vertices is achieved based on the structural order consistency of the bridge bounding box vertices, and the preliminary transformation matrix is obtained based on all vertex matching pairs.
[0054] In the global matching module, the preliminary transformation matrix is used to perform geometric transformation on the image to be matched to generate a pre-matching image. Feature points are selected on the pre-matching image and template matching is performed. Normalized cross-correlation is used as a similarity measure. Finally, the random sampling consensus algorithm is used to remove outliers to obtain the final matching result.
[0055] 1. Bridge region extraction
[0056] Bridge region extraction mainly consists of two stages: land-sea segmentation and bridge extraction. The two stages are implemented using likelihood ratio thresholding and contour merging, respectively.
[0057] 1.1 Land-sea segmentation based on likelihood ratio threshold
[0058] First, the intensity histogram of the SAR image is plotted to cover the possible intensity boundary between water and land areas, thus determining the candidate threshold range. Then, for each candidate threshold, its likelihood ratio is calculated, as shown in the following formula:
[0059]
[0060] Among them, at different thresholds, , and These represent the number of pixels in the water area, the land area, and the entire image, respectively. , and Let represent the arithmetic mean of pixel intensity for water, land, and the entire image, respectively; such that... The maximum threshold is the optimal segmentation threshold, thus achieving land-sea separation.
[0061] 1.2 Bridge Extraction Based on Contour Merging
[0062] After completing the land-sea segmentation, the bridge extraction stage based on contour merging begins. The specific implementation is as follows:
[0063] Connected component labeling is performed on the binary image obtained from land-sea segmentation, and the contours of all water areas are extracted. For any two water area contours... and Calculate the minimum Euclidean distance between its contour boundaries. .like Less than the preset distance threshold (This threshold is set according to the image resolution, usually 5 to 20 pixels), then the two water contours are determined to be adjacent contour pairs, and the potential water contours that the bridge crosses are located in this way, and the land area between the two is the potential bridge area.
[0064] After marking the regions between all adjacent contour pairs as candidate bridge regions, the minimum bounding rectangle of each candidate bridge region is calculated. Based on the elongated shape of bridges, the aspect ratio of the minimum bounding rectangle must be greater than a preset threshold. (Usually 3~8) Based on this standard, non-bridge interference areas are eliminated, and the real bridge areas are finally retained.
[0065] 2. Bridge region matching
[0066] Bridge region matching comprises two stages: bridge center point matching and bridge bounding box vertex matching. In the bridge center point matching stage, the bridge center point is used as a feature point, and correct matching between bridges is achieved through descriptor improvement and bidirectional matching. In the bridge bounding box vertex matching stage, the four vertices of the bridge bounding box are used as feature points, and correct matching between vertices is achieved by utilizing the consistency of the vertex structure order, increasing the number of matching points and constructing a preliminary transformation matrix. The details are as follows:
[0067] 2.1 Bridge center point matching
[0068] The purpose of bridge center point matching is to establish the correspondence between the bridge in the reference image and the image to be matched. This stage includes three steps: feature point extraction, feature point description, and feature point matching.
[0069] (1) Feature point extraction
[0070] For each bridge region obtained in the bridge region extraction stage, its minimum bounding rectangle is calculated. The geometric center of this minimum bounding rectangle is taken as the feature point of the bridge, i.e., the bridge center point. Let the coordinates of the four vertices of the minimum bounding rectangle of a certain bridge be... , , , Then the coordinates of the bridge center point The calculation is as follows:
[0071]
[0072]
[0073] Based on the above calculations, each bridge in the reference image can be represented as a center point. Each bridge in the image to be matched can be represented as a center point. This transforms the bridge matching problem into a matching problem between center points.
[0074] (2) Feature point description
[0075] Traditional feature descriptors use a fixed radius. This design leads to situations where, although the physical size of the described region corresponding to the same radius is the same, the structural information it contains varies significantly across images at different resolutions. For example... Figure 2 As shown, although Figure 2 (b) The description area of the green circular box and Figure 2 In (a), the blue circular boxes cover the same area, but Figure 2 (a) The blue circular frame cannot accurately fit the actual structure of the bridge, making it difficult for the descriptor to effectively represent the features of the corresponding bridge area, severely affecting the matching effect. To avoid this problem, this invention sets the descriptor radius to half the length of the bridge's main axis, so that the description area can exactly cover the entire bridge area, for example... Figure 2 The green circular frame in (a) adjusted by this method, and... Figure 2 (b) The bridge structure and the range of the description area are highly consistent, which significantly improves the similarity and consistency of bridge feature descriptors in different images.
[0076] Furthermore, addressing the issues of traditional descriptor principal directions relying on the maximum value of the gradient direction histogram and being susceptible to multiplicative noise, leading to directional instability, this invention directly defines the descriptor principal direction as the bridge's main axis direction and limits the direction range to 0~180°, effectively avoiding the influence of multiplicative noise. This significantly enhances the stability, controllability, and physical meaning of the descriptor principal direction. The calculation formula is shown below:
[0077]
[0078]
[0079] In the formula Indicates the radius of the descriptor; This represents the length of the main axis of the bridge (i.e., the length of the longest side of the smallest circumscribed rectangle). This indicates the description of the main subdirectory; This is the arctangent function, used to obtain the original direction angle of the bridge's main axis; and These are the two endpoints of the main axis of the bridge (i.e., the two endpoints of the line containing the longest side of the smallest bounding rectangle). The operation strictly limits the main direction to (i.e., 0~180°).
[0080] (3) Feature point matching
[0081] Traditional matching methods require a large number of matching pairs for geometric model estimation, which is impractical in large-scale SAR images where only a few bridge center points exist to be matched. To avoid this problem, this invention employs a bidirectional matching method to achieve effective matching.
[0082] On the one hand, for each bridge in the image to be matched Find the optimal matching bridge with the minimum descriptor difference in the reference image. On the other hand, the reverse is for each bridge in the reference image. Find the optimal matching bridge with the smallest descriptor difference in the images to be matched. Only when and Only when the two bridges are each other's optimal matching bridges are they considered valid matching bridges. This avoids the erroneous matching problems that may occur in one-way matching, i.e., the following conditions must be met:
[0083]
[0084] in, Indicates the bridge to For a valid match, This is indicated as an incorrect match; The Euclidean distance metric for feature descriptors; This represents the total number of bridges in the reference image; This represents the total number of bridges in the image to be matched; Indicates the index that minimizes the descriptor distance; The set of bridges in the image to be matched ( (For the traversal index of the bridge). A collection of bridges for reference images ( (This refers to the traversal index of the bridge). It should be noted that when multiple minimum distances exist, to ensure the uniqueness and stability of the matching, it is agreed that the candidate with the smallest index value is selected as the bridge. The result.
[0085] Figure 3 This diagram illustrates a two-way matching system for bridges. Two-way solid arrows represent mutually optimal valid matches, while one-way solid and dashed arrows represent correct and incorrect matches, respectively. Based on this diagram, two sets of valid matching pairs can be identified. Furthermore, this strategy solves the one-way mismatch problem by eliminating invalid combinations that do not form a bidirectional match through mutual optimal judgment. and ).
[0086] 2.2 Bridge Bounding Box Vertex Matching
[0087] After the bridge center point matching is completed, the correspondence between the bridge in the reference image and the image to be matched can be obtained. To further increase the number of matching points and provide more constraints for subsequent transformation matrix estimation, this stage uses the four vertices of each bridge bounding box (i.e., the minimum bounding rectangle) as feature points to achieve matching between vertices.
[0088] (1) Feature point extraction
[0089] For each matched bridge region, extract the four vertices of its minimum bounding rectangle as feature points. For example, let the four vertices of the minimum bounding rectangle of a bridge in the image coordinate system be denoted in order (clockwise or counterclockwise) as... , , and .
[0090] (2) Feature point description
[0091] The feature point description method for the bridge bounding box vertices is consistent with that for the bridge center point, both using descriptors based on the bridge's principal axis length and principal direction. Specifically, each vertex is used as a feature point location, and the radius of the corresponding bridge descriptor is adopted. and describing the main direction The feature descriptor vector of the vertex is generated in the same local coordinate system.
[0092] (3) Feature point matching
[0093] Feature point matching employs a matching strategy based on structural order consistency. To ensure structural order consistency, the four vertices of the bridge bounding box need to be sorted clockwise. To verify the correctness of this sorting, the bridge bounding box is divided into two triangles. and And calculate the signed area of each triangle using the cross product of vectors, where the triangle The calculation formula is as follows:
[0094]
[0095] in , and The coordinates of the vertices are the coordinates of the triangle. The calculation formula is similar. From this, we can obtain the signed area of the rectangle; specifically, a negative value indicates clockwise order, a positive value indicates counter-clockwise order, and zero indicates collinear points. Therefore, the vertices in both the reference image and the image to be matched are uniformly adjusted to a clockwise order.
[0096] like Figure 4 As shown, for an ordered vertex sequence in the image to be matched... and the ordered vertex sequence in the reference image Considering the potential for vertex order shifts due to bridge rotation, it is necessary to calculate the matching difference for each of the four vertex correspondence methods. and (Original order) (Rotate one position clockwise) (Rotate two positions clockwise) Match the corresponding points by rotating three positions clockwise, and finally select the group with the smallest difference as the correct matching group (i.e., ...). and This method determines the correct correspondence between the four vertices in the two matching bridges. It can simultaneously determine the matching results of all four vertices, thus avoiding potential mismatches that may occur when matching a single vertex alone.
[0097] Due to the accuracy limitations of the bridge region extraction results, the obtained bounding box vertices often have large deviations. Therefore, it is necessary to further determine the matching positions of the four vertices through template matching, and finally calculate the preliminary transformation matrix by combining all matching pairs.
[0098] However, it should be noted that if only one set of correctly matched bridges exists, the preliminary transformation matrix calculated using the four vertices of that bridge can only reflect the geometric relationship of the bridge region. Directly applying this matrix to the global image can easily lead to significant deviations. To address this specific situation, this invention does not directly use the four vertices of the bridge to calculate the preliminary transformation matrix. Instead, it further aligns the images based on the matching of the four vertices. Specifically, firstly, a local transformation matrix is calculated using the four vertices of the matched bridge, and the bridge region in the image to be matched is transformed to achieve basic alignment with the corresponding bridge region in the reference image, thereby effectively eliminating scale and rotation differences between the two images in this local region. Then, to avoid subsequent matching failures due to insufficient feature points in the bridge region itself, the aligned bridge region is expanded outwards: Centered on the minimum bounding rectangle of the bridge, the minimum bounding rectangle is expanded outwards by W pixels (the value of W is related to the image resolution; in this embodiment, W = 150 pixels), and corresponding local regions in the image to be matched and the reference image are extracted as matching sub-regions. Finally, the SAR-SIFT matching method is applied to these two sub-regions to extract feature points and establish matching relationships within the local area, thereby obtaining a preliminary transformation matrix applicable to the region. This strategy increases the number of feature points through region expansion, while utilizing prior alignment information from bridge vertex matching to narrow the search range of SAR-SIFT, effectively improving the robustness and accuracy of local matching.
[0099] 3. Global Matching
[0100] After completing the bridge region matching and obtaining the preliminary transformation matrix, fine-grained matching on a global scale is required to obtain the final accurate transformation parameters. This stage employs a template matching-based method, combined with the preliminary transformation matrix, to achieve global alignment and matching between the reference image and the image to be matched. Specifically, this includes four steps: pre-matching image generation, feature point selection, template matching and similarity measurement, and outlier removal and transformation matrix optimization.
[0101] (1) Pre-matching image generation
[0102] Using the preliminary transformation matrix obtained in the bridge region matching stage, a geometric transformation is performed on the image to be matched to generate a pre-matched image. This pre-matched image is roughly aligned with the reference image, keeping the positional deviation between the actual matching points within a small range. This pre-alignment operation reduces the search range for subsequent template matching from the entire image to a local window, significantly reducing computational complexity.
[0103] (2) Feature point selection
[0104] To uniformly and effectively acquire matching point pairs with significant structural information across the entire image, this invention employs a feature point selection strategy based on block division and corner response value sorting in the pre-matching image. First, the pre-matching image is uniformly divided into several image blocks (e.g., 25 blocks in 5 rows and 5 columns). Then, for each image block, the corner response values of all pixels within the block are calculated and sorted from highest to lowest. The top few pixels with the highest response values are selected as the feature points of that block (e.g., the top 60 pixels). This strategy effectively controls the total number of feature points while ensuring that the feature points are spatially uniformly distributed across the entire image and possess significant corner structural information.
[0105] (3) Template matching and similarity measurement
[0106] For each feature point in the pre-matching image, a rectangular template window is defined centered on that feature point. In the reference image, a search window is defined centered on the coordinates corresponding to the feature point in the pre-matching image. Within the search window, the similarity between the sliding template window and the corresponding sub-region of the reference image is measured. This invention uses Normalized Cross-Correlation (NCC) as the similarity measurement function, and the calculation formula is as follows:
[0107]
[0108] in These are the relative coordinates of each pixel within the template window. Relative coordinates within the template window Pixel intensity value at; Relative coordinates within the corresponding sub-region of the reference image Pixel intensity value at; and These are the average intensity values of all pixels within the template window and the corresponding sub-region of the reference image, respectively. For each feature point, the NCC value is calculated for all possible locations within the search window of the reference image, and the location with the highest NCC value is selected as the matching point.
[0109] (4) Outlier removal and transformation matrix optimization
[0110] The initial matched point pairs may contain outliers with incorrect matches, which can severely affect the estimation accuracy of the transformation matrix. This invention employs the RANSAC algorithm for outlier removal. The algorithm randomly samples the minimum set of samples from the initial set of matched point pairs to calculate a candidate transformation matrix. Then, it substitutes all remaining matched point pairs into this matrix to calculate the error, marking point pairs with errors less than a preset threshold as inliers. This random sampling and verification process is repeated multiple times, selecting the candidate transformation matrix with the most inliers as the optimal model. Finally, the final transformation matrix is re-estimated using all inliers.
[0111] The specific experimental results are given below:
[0112] The experiment was conducted on three sets of SAR images covering three different regions.
[0113] The first set of images uses a TerraSAR-X and RADARSAT-2 SAR image pair from the first region as an example. The reference image is the TerraSAR-X image, with a resolution of 2.06m × 6.59m and an image size of 1750 × 6000 pixels; the image to be matched is the RADARSAT-2 image, with a resolution of 4.73m × 4.80m and an image size of 2100 × 2100 pixels. This image pair has significant differences in resolution, size, and rotation.
[0114] The second set of images uses the GaoFen-3 and RADARSAT-2 SAR image pair from the second region as an example. The reference image is the GaoFen-3 image, with a resolution of 8m × 8m and an image size of 2500 × 2800 pixels; the image to be matched is the RADARSAT-2 image, with a resolution of 4.73m × 4.82m and an image size of 2500 × 1600 pixels. This image pair shows significant differences in resolution and size, but the difference in rotation is not obvious.
[0115] The third set of images uses the GaoFen-3 SAR image pair from the third region as an example. Both images have a resolution of 8m×8m, and their dimensions are 2000×1600 pixels and 2000×2240 pixels, respectively. This image pair exhibits rotational differences and is significantly affected by multiplicative noise.
[0116] In this embodiment, an affine transformation model is used, and the parameters used in the bridge region matching stage are based on the geometric information of the bridge. The template matching method used in the global matching stage has a template size of 51×51 pixels and a search radius of 30 pixels.
[0117] Matching results are as follows Figure 5 As shown. Figure 5 (a)-(f) show the bridge region extraction results, where (a) extracted 6 bridges, (b) extracted 8 bridges, (c) and (d) each extracted 2 bridges, (e) extracted 2 bridges, and (f) extracted 5 bridges. It can be seen that, except for the less obvious bridges in (a) and (e), all other structurally significant bridges were correctly extracted. Figure 5 (g)-(i) show the matching results of the bridge center points. As you can see, except for (i) which is missing a set of correct bridges, all other bridges are correctly matched. Figure 5 (j)-(l) show the matching results for the bridge region, and it can be seen that... Figure 5 (j) and Figure 5 (k) Correct matching was achieved based on the vertices of the bridge bounding box, while Figure 5 (l) A method of local matching based on the entire bridge area was adopted, and a preliminary transformation matrix was obtained. Figure 5 (m)-(o) shows the final global matching results, and it can be seen that the proposed method achieves correct global matching for all three sets of images.
[0118] To verify the effectiveness of this invention, this embodiment compares it with five existing methods: SIFT, BFSIFT, SAR-SIFT, I-SAR-SIFT, and SAR-SIFT-Layer. All comparative experiments were conducted on three sets of image pairs using the same hardware platform and software environment. Table 1 lists the comparison results.
[0119] Table 1. Comparison of SIFT, BFSIFT, SAR-SIFT, I-SAR-SIFT, SAR-SIFT-Layer, and the proposed method
[0120] (RMSE represents the root mean square error)
[0121]
[0122] As shown in Table 1, the proposed method achieved the most matching pairs and the lowest RMSE. Its average running time is approximately 174 seconds. In all three image sets, the number of matching pairs exceeded 20, and the RMSE was less than 2 pixels. For image pair 1, the proposed method's running time was 204.88 seconds, with 36 matching pairs and an RMSE of 1.81 pixels, all superior to the comparison methods. This is because image pair 1 has a significant resolution difference, a large image size, and contains a large number of feature points, making it difficult for traditional descriptors to achieve effective feature representation. For image pair 2, the proposed method's running time was 176.47 seconds, with 191 matching pairs and an RMSE of 1.93 pixels. The RMSE is slightly lower than the SAR-SIFT-Layer method's 1.92 pixels. Although image pair 2 has a large resolution difference, the rotation difference is negligible, allowing most methods to achieve correct matching. For image pair 3, the proposed method's running time was 140.23 seconds, with 25 matching pairs and an RMSE of 1.94 pixels, all superior to the comparison methods. The reason for this is that although all three image pairs were acquired by GaoFen-3 at the same resolution, severe multiplicative noise caused most comparison methods to fail. The above comparative experimental results demonstrate that the present invention has advantages in terms of matching logarithm, matching accuracy, and cross-scene robustness.
[0123] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention without departing from the principles and spirit of the present invention.
Claims
1. A large-scene SAR image matching method based on bridge area features, characterized in that, Includes the following steps: Step 1, Bridge Region Extraction: Perform land-sea segmentation based on likelihood ratio thresholding on the reference image and the image to be matched, and merge the contours of the land-sea segmentation results to extract the bridge region; Step 2, Bridge Region Matching: Using the bridge center point as a feature point, the radius and main direction of the bridge descriptor are determined based on the length and direction information of the bridge's main axis. Matching between bridge center points is achieved through a bidirectional matching method. Then, matching between vertices is achieved based on the structural order consistency of the bridge bounding box vertices, and a preliminary transformation matrix is obtained based on all vertex matching pairs. Step 3, Global Matching: Using the preliminary transformation matrix, a geometric transformation is performed on the image to be matched to generate a pre-matching image. Feature points are selected on the pre-matching image and template matching is performed. Normalized cross-correlation is used as a similarity measure. Finally, the random sampling consensus algorithm is used to remove outliers to obtain the final matching result.
2. The method according to claim 1, characterized in that, In the land-sea segmentation based on the likelihood ratio threshold, the formula for calculating the likelihood ratio is: in, , and These represent the number of pixels in the water area, the land area, and the entire image, respectively. , and Let represent the arithmetic mean of pixel intensity for water, land, and the entire image, respectively; such that... The largest threshold is the optimal segmentation threshold.
3. The method according to claim 1, characterized in that, The contour merging process specifically involves: marking connected components in the binary image obtained from land-sea segmentation and extracting the contours of all water areas; calculating the minimum Euclidean distance between any two water area contours, and determining them as adjacent contour pairs if the distance is less than a preset threshold; marking the area between adjacent contour pairs as candidate bridge areas; calculating the minimum bounding rectangle of each candidate bridge area, and determining it as a bridge area based on the aspect ratio of the minimum bounding rectangle being greater than a preset threshold.
4. The method according to claim 1, characterized in that, The bridge's main axis refers to the directional axis corresponding to the longer side of the smallest circumscribed rectangle of the bridge area, and its length is denoted as... Its two endpoints are denoted as and ; Descriptor radius and main direction The calculation formula is: in The length of the bridge's main axis. It is the arctangent function. The operation limits the main direction to Within the range.
5. The method according to claim 1, characterized in that, The bidirectional matching method is as follows: for each bridge in the image to be matched... Find the optimal matching bridge with the minimum Euclidean distance among all bridges in the reference image; for each bridge in the reference image The optimal matching bridge with the minimum Euclidean distance of the descriptors is found among all bridges in the image to be matched; only if and When two matches are mutually optimal bridges, the matching group is considered a valid match, meaning it meets the following conditions: in, The Euclidean distance metric for feature descriptors; This represents the total number of bridges in the reference image; This represents the total number of bridges in the image to be matched; This represents the index that minimizes the descriptor distance.
6. The method according to claim 1, characterized in that, The structural order consistency matching of the bridge bounding box vertices is specifically as follows: the four vertices of the minimum bounding rectangle of each bridge are sorted in a clockwise direction; for the matched bridge pairs, the sum of the descriptor distances under the four vertex correspondence methods is calculated respectively, and the pair with the smallest total distance is selected as the correct vertex match.
7. The method according to claim 6, characterized in that, The method for sorting the vertices in a clockwise direction is as follows: divide the four vertices into two triangles, calculate the signed area of each triangle through the cross product of vectors, and determine the order of the vertices based on the sign of the signed area, with negative values indicating clockwise order and positive values indicating counterclockwise order.
8. The method according to claim 1, characterized in that, When there is only one correctly matched bridge, the local transformation matrix is calculated using the four vertices of the bridge. The minimum bounding rectangle of the bridge is expanded by W pixels in each direction, and a local sub-region is extracted. SAR-SIFT matching is performed on the local sub-region to obtain the preliminary transformation matrix.
9. The method according to claim 1, characterized in that, The feature point selection method in the global matching is as follows: the pre-matching image is evenly divided into at least two rows and two columns of image blocks, the corner response values of all pixels in each image block are calculated, and the top few pixels with the largest response values are selected as the feature points of the block.
10. The method according to claim 1, characterized in that, The formula for calculating the normalized cross-correlation in template matching is: in These are the relative coordinates of each pixel within the template window. Relative coordinates within the template window Pixel intensity value at; Relative coordinates within the corresponding sub-region of the reference image Pixel intensity value at; and These are the average intensity values of all pixels within the template window and the corresponding sub-region of the reference image.
Citation Information
Patent Citations
Decision-level fusion based bridge recognition method
CN103020605A
SAR image bridge detection method and device based on segnet and storage medium
CN115049927B
A feature matching method for large-scale remote sensing images
CN115984706B
Bridge target detection method based on context features
CN116977847A
