Anchors constraint residual matching based geometric precise rectification method for remote sensing image
By using an anchor-constrained residual matching network, the problems of mismatch and unstable positioning in automatic matching of remote sensing images are solved, and stable candidate control point pairs are generated. This is applicable to the geometric correction of images from different remote sensing sensors and improves the geometric positioning accuracy of remote sensing images.
Patent Information
- Application Number
- CN202611679151.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing automatic matching methods for remote sensing images suffer from mismatch, missed match, or unstable positioning when processing images from different remote sensing sensors. They are unable to generate a set of control points that meet the requirements for solving the geometric correction model parameters, and their performance is particularly poor when there are differences in grayscale, spatial resolution, and local texture changes.
An anchor-constrained residual matching method is adopted. Local image block matching is performed through the anchor-constrained residual matching network. By using a dual-stream cross-sensor adaptation module and a multi-scale shared feature encoding module, combined with a local correlation search and control point quality joint prediction module, stable candidate control point pairs are generated and their quality information is output.
It reduces the erroneous drift of candidate control point pairs, improves the stability and quality of matching results, and can better meet the parameter solution requirements of geometric correction models. It is applicable to single or multiple reference images and is suitable for rigorous imaging models and engineering geometric transformation models.
Smart Images

Figure CN123160925A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of remote sensing image processing and satellite geometric calibration technology, specifically relating to a method for fine geometric correction of remote sensing images based on anchor point constraint residual matching. Background Technology
[0002] Remote sensing imagery plays a crucial role in resource surveys, ecological monitoring, disaster assessment, land use analysis, and geographic information updates. However, due to factors such as satellite orbit errors, attitude measurement errors, camera installation errors, imaging model errors, and terrain undulations, raw remote sensing images often exhibit varying degrees of geometric positioning deviation. To improve the spatial positioning accuracy of remote sensing imagery, it is typically necessary to solve for the imaging model parameters or geometric transformation model parameters using control points, and then perform geometric correction accordingly.
[0003] Control points are crucial observational constraints in the geometric calibration and fine-tuning of remote sensing images. Traditional methods primarily rely on manual selection of control points or the use of existing control point databases. Manual selection requires operators to interpret images point by point, resulting in low processing efficiency and susceptibility to operational experience and subjective judgment. Furthermore, the establishment, maintenance, and updating of existing control point databases are costly, and they struggle to meet the demands of automated processing of large-scale remote sensing images when image coverage changes, ground features evolve, or readily available control point data is lacking. Therefore, automatically generating control points using reference images with high positioning accuracy has significant engineering application value.
[0004] Existing automatic remote sensing image matching methods typically employ scale-invariant feature transform (SIFT), accelerated robust feature transfer (SURF), histogram of oriented gradients (HOG), and correlation matching to establish a correspondence between the remote sensing image to be corrected and a reference image. However, different remote sensing sensors vary in band response, grayscale distribution, spatial resolution, noise level, and imaging time. Some image areas may also contain low-texture, repetitive textures, local occlusion, invalid boundaries, mosaic boundaries, and changes in ground features. Traditional local feature matching methods are prone to mismatches, missed matches, or unstable localization in these scenarios, making it difficult to continuously generate a set of control points that meets the requirements for solving the geometric correction model parameters.
[0005] With the development of deep neural networks, image matching methods based on deep features have been gradually applied to image registration, visual localization, and remote sensing image matching. Compared to traditional local feature methods, deep matching networks can utilize contextual structure information to establish image correspondences. However, existing general-purpose deep matching networks typically focus on obtaining matching points from ordinary images, without fully considering the requirements of remote sensing image geometric calibration and fine correction for control point localization stability, anomaly drift suppression, and the integrity of quality information. If the matching points output by general-purpose deep matching networks are directly used to solve the parameters of geometric correction models, problems such as local error jumps, low-quality matching points participating in the solution, and excessive concentration of control points in local areas may still occur.
[0006] Furthermore, there may be significant spatial resolution differences between the remote sensing image to be corrected and the reference image. When the reference image consists of multiple remote sensing images with georeferenced information, it is also necessary to handle the unified coordinate relationship between different reference image tiles. If the physical coverage of local image patches is inconsistent, or if the transformation relationship between local coordinates and global coordinates of the reference image is not unified, it can easily affect the coordinate recovery of candidate control points and the subsequent solution of geometric correction model parameters. Summary of the Invention
[0007] Based on the aforementioned shortcomings and deficiencies in the prior art, one of the objectives of this invention is to at least solve one or more of the aforementioned problems in the prior art. In other words, one of the objectives of this invention is to provide a method for geometric fine correction of remote sensing images based on anchor point constraint residual matching that meets one or more of the aforementioned requirements.
[0008] To achieve the above-mentioned objectives, the present invention adopts the following technical solution: A method for geometric fine correction of remote sensing images based on anchor point constraint residual matching includes the following steps: S1. Acquire remote sensing images to be corrected and reference images with geographic reference information; S2. Perform coarse position matching between the remote sensing image to be corrected and the reference image to obtain the candidate positions in the remote sensing image to be corrected and their initial corresponding positions in the reference image, and use the initial corresponding positions in the reference image as coarse matching anchor points. S3. Construct a local image block of the remote sensing image to be corrected, centered on the candidate location in the remote sensing image to be corrected, and construct a local image block of the reference image, centered on the coarse matching anchor point in the reference image. S4. Input the local image patch of the remote sensing image to be corrected, the local image patch of the reference image, and the coarse matching anchor points into the anchor point constraint residual matching network, and output candidate control point pairs and their quality information; wherein, the candidate control point pairs include the candidate positions in the remote sensing image to be corrected and the refined corresponding positions in the reference image. S5. Based on the quality information of the candidate control point pairs, filter the candidate control point pairs to obtain a set of control point pairs; S6. Based on the set of control points, the interior and exterior orientation elements of the geometric correction model are corrected to obtain the corrected geometric correction model. S7. Use the modified geometric correction model to perform geometric fine correction on the remote sensing image to be corrected.
[0009] As a preferred embodiment, in step S4, the anchor point constraint residual matching network uses the coarse matching anchor point as the initial position constraint and outputs the local position residual on the reference image side; the refined corresponding position in the reference image is determined according to the coarse matching anchor point and the local position residual, and the candidate position in the remote sensing image to be corrected and its corresponding refined corresponding position in the reference image are combined to form a candidate control point pair.
[0010] As a preferred embodiment, the anchor-constrained residual matching network includes a dual-stream cross-sensor adaptation module and a multi-scale shared feature encoding module; The dual-stream cross-sensor adaptation module includes a target image adaptation branch and a reference image adaptation branch. The target image adaptation branch is used to perform feature mapping on local image blocks of the remote sensing image to be corrected, and the reference image adaptation branch is used to perform feature mapping on local image blocks of the reference image. The multi-scale shared feature encoding module is used to encode the local image blocks of the remote sensing image to be corrected and the local image blocks of the reference image after feature mapping, and extract local texture features and contextual structure features to obtain the features of the remote sensing image to be corrected and the features of the reference image, respectively.
[0011] As a preferred embodiment, the anchor point constraint residual matching network further includes an anchor point constraint local correlation search module and a local residual refinement module; The anchor point constraint local correlation search module takes the coarse matching anchor point in the reference image as the center, sets a local search area in the neighborhood of the coarse matching anchor point, and establishes a local correlation relationship between the remote sensing image features to be corrected and the reference image features within the local search area. The local residual refinement module is used to predict the local position residual of the reference image side relative to the coarse matching anchor point based on the local correlation relationship. The local position residual is used to represent the offset of the refined corresponding position of the reference image side relative to the coarse matching anchor point.
[0012] As a preferred embodiment, the process of determining the local search region includes: Image features are extracted from candidate locations in the remote sensing image to be corrected and coarse matching anchor points in the reference image. Based on the features of both images, the cosine similarity between them, and the validity index of the corresponding locations, the search radius is predicted within a preset upper and lower limit, and the local search area is determined with the coarse matching anchor point as the center. The validity index of the location is obtained from the mask of the corresponding image. Pixels containing valid image data are marked as 1, and pixels containing invalid image data are marked as 0. By performing bilinear interpolation on the mask, the validity index with values of 0 to 1 at the candidate locations and coarse matching anchor points is obtained. The process of establishing the local correlation relationship includes: Image features of each candidate location in the local search area are extracted. Linear transformation and normalization are performed on the image features of the candidate locations in the remote sensing image to be corrected and the image features of each candidate location in the reference image. The inner product of the normalized feature vectors is then calculated to obtain the similarity score of each candidate location in the reference image. The similarity score is normalized into a matching probability with a sum of 1, which is used to represent the relative matching support obtained by each candidate location, and is used as the local correlation relationship between the features of the remote sensing image to be corrected and the features of the reference image.
[0013] As a preferred approach, for the i-th candidate control point pair, its coarse matching anchor point in the reference image is represented as: ; in, and These are the x and y coordinates of the coarse matching anchor point, respectively. The superscript r indicates that the coordinates are located in the reference image coordinate system. The processing steps of the local residual refinement module include: Subtract the corresponding coordinates of the coarse matching anchor point from the x and y coordinates of each candidate position in the local search area to obtain the lateral and longitudinal offsets corresponding to the coarse matching anchor point. Then, using the matching probability of each candidate position as a weight, sum the lateral and longitudinal offsets to obtain the preliminary position correction. ; The maximum value of the matching probability of each candidate position is obtained. Using the matching probability as the weight, the squares of the differences between the corresponding components of the horizontal and vertical offsets and the initial position corrections of each candidate position are weighted and summed to obtain the horizontal position variance and the vertical position variance. The square root of the two means is divided by the search radius to obtain the ratio of the position dispersion to the search range. The concatenated feature vector is obtained by concatenating the image features from both sides, the cosine similarity between the two sides, the effectiveness index of the positions on both sides, the maximum value of the matching probability, the square root of the variance of the horizontal and vertical positions, and the ratio of the position dispersion to the search range. The concatenated feature vector is input into the residual adjustment coefficient prediction branch, and the residual adjustment coefficient, with a value between 0 and 1, is obtained through the Sigmoid function. ; Multiply the initial position correction by the residual adjustment factor to obtain the local position residual: ; Adding the coarse matching anchor point coordinates to the local position residual yields the refined corresponding position in the reference image: .
[0014] As a preferred embodiment, the anchor point constraint residual matching network further includes a control point quality joint prediction module, which includes a matchability prediction branch, a positioning uncertainty prediction branch, and an invalid area risk prediction branch. The matching prediction branch is used to predict the matching of the input concatenated feature vector and obtain a matching evaluation value ranging from 0 to 1. The positioning uncertainty prediction branch is used to predict the input spliced feature vector to obtain the positioning uncertainty prediction value, and adds it to the product of the preset positive bias and the square root of the mean of the horizontal position variance and the vertical position variance and the preset positive coefficient to obtain the positioning uncertainty evaluation value. The invalid region risk prediction branch is used to predict the risk of the input spliced feature vector and obtain a network risk prediction value with a value of 0 to 1. It is also used to calculate the invalidity degree based on the validity index of the candidate position in the remote sensing image to be corrected and the refined corresponding position in the reference image. The network risk prediction value and the invalidity degree are weighted and summed and normalized to obtain the invalid region risk evaluation value.
[0015] As a preferred embodiment, in step S5, the matching evaluation value m of the i-th candidate control point pair is used. i Positioning uncertainty evaluation value σ i and ineffective area risk assessment value r i Determine the basic network quality score : ; in, It is a stable term; For each pair of candidate control points generated from local image blocks, candidate control point pairs whose effectiveness indexes for both the candidate position and the corresponding refined position are greater than a preset effectiveness threshold are retained. Then, a preset number of local candidates are retained according to the network's basic quality score from high to low to obtain the initial screening of candidate control point pairs.
[0016] As a preferred embodiment, step S5 further includes: The candidate positions and refined corresponding positions in each initial screening candidate control point pair are restored to the global coordinate system of the remote sensing image to be corrected and the reference image, respectively. For candidate control point pairs whose spatial locations are within a preset neighborhood, the candidate control point pairs with the highest basic network quality scores are selected and retained to form a set of candidate control point pairs; In the remote sensing image to be corrected, a spatial grid is divided. Candidate control point pairs are selected from different spatial grids in order of network basic quality score from high to low, until the preset number of global control point pairs is reached, thus obtaining a set of control point pairs.
[0017] As a preferred embodiment, in step S6, the weighted least squares method is used to solve for the interior orientation element correction and exterior orientation element correction of the geometric correction model based on the control point pair set and the corresponding control point weights; wherein, the control point weights are obtained by normalizing the network basic quality score. The obtained correction values are used to update the corresponding interior and exterior orientation elements in the geometric correction model to obtain the corrected geometric correction model.
[0018] Compared with the prior art, the beneficial effects of this invention are: (1) The present invention uses coarse matching anchor points as initial constraints to transform the large-scale matching problem into a local position correction problem near the anchor points, which can reduce the large-scale error drift of the corresponding position when the candidate control points are aligned with the reference image. (2) The present invention uses a target image adaptation branch and a reference image adaptation branch to process images from different sensors respectively, which helps to reduce the impact of grayscale response differences, contrast differences and local texture differences on the matching results; (3) This invention improves the stability of candidate control point pairs by using multi-scale feature encoding and local correlation search, while retaining local localization information and utilizing contextual structure information. (4) While refining the corresponding position on the output reference image side, the present invention further outputs the matchability, positioning uncertainty and invalid area risk of candidate control point pairs, so that the network output results can better meet the requirements of solving the geometric correction model parameters. (5) The present invention can determine the set of control points by combining the contribution of candidate control points to quality, spatial distribution and parameter constraints, thereby reducing the impact of outliers and uneven distribution on the model parameter estimation results; (6) This invention is applicable to both single-scene reference images and unified reference coordinate systems composed of multiple reference images; it can be used for rigorous imaging model parameter correction and for estimation of commonly used engineering geometric transformation models. Attached Figure Description
[0019] Figure 1This is a schematic diagram illustrating the composition process of candidate control point pairs according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the anchor point constraint residual matching network according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the candidate control point pair set generation and optional post-processing flow according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the geometric correction model parameter solution and geometric fine correction process according to an embodiment of the present invention; Figure 5 This is a flowchart of a remote sensing image geometric fine correction method based on anchor point constraint residual matching, according to an embodiment of the present invention. Figure 6 This is a diagram showing the training and verification results of the anchor point constraint residual matching network according to an embodiment of the present invention. Figure 7 This is a statistical chart of positioning errors before and after anchor point constraint residual refinement in an embodiment of the present invention. Detailed Implementation
[0020] To more clearly illustrate the embodiments of the present invention, specific implementation methods will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.
[0021] This invention presents a method for geometric fine correction of remote sensing images based on anchor point constraint residual matching. While maintaining the overall stability of the initial correspondence by utilizing the results of the preceding coarse matching, it refines the local residuals at the corresponding positions on the reference image side and outputs quality information that can be used for control point selection and geometric correction model parameter solving. It is mainly used to solve the problems of large differences in grayscale response between cross-sensor remote sensing images, unstable local textures, invalid boundaries and stitching boundaries that easily cause incorrect matching, and the difficulty of directly using ordinary matching points to solve geometric correction model parameters.
[0022] like Figure 1As shown, this invention first performs a coarse position matching between the acquired remote sensing image to be corrected and a reference image with geographic reference information to obtain a preliminary coarse matching result. The preliminary coarse matching result includes candidate positions in the remote sensing image to be corrected and their initial corresponding positions in the reference image, and uses the initial corresponding positions in the reference image as coarse matching anchor points. Subsequently, local image blocks with the same or similar physical coverage are constructed, centered on the candidate positions in the remote sensing image to be corrected and the coarse matching anchor points in the reference image. Based on this, an anchor point-constrained residual matching network is used to predict the local position residuals on the reference image side within the neighborhood of the coarse matching anchor points, determine the refined corresponding positions in the reference image, and form candidate control point pairs with the candidate positions in the remote sensing image to be corrected and the refined corresponding positions in the reference image. Compared to directly searching for matching locations over a large area, this invention limits the matching process to the neighborhood of the coarse matching anchor point, allowing the network to focus on solving local location correction problems, thereby reducing large-scale drift caused by local erroneous responses. The specific process is as follows: I. Coarse matching anchor points and local image block construction; For the remote sensing image to be calibrated and the reference image, a preliminary coarse matching result is first obtained between the two. The preliminary coarse matching result includes candidate positions in the remote sensing image to be calibrated and their initial corresponding positions in the reference image. For the i-th preliminary coarse matching result, the candidate positions in the remote sensing image to be calibrated are denoted as follows: The initial corresponding position in the reference image is denoted as and will This serves as the coarse matching anchor point corresponding to the i-th candidate location; where the superscript t indicates that the corresponding coordinates are located in the coordinate system of the remote sensing image to be corrected, and the superscript r indicates that the corresponding coordinates are located in the coordinate system of the reference image. ; in, and These are the x and y coordinates of the i-th coarse matching anchor point in the reference image coordinate system, respectively. Coarse matching anchor points are used to determine the center position of local image patches in the reference image, and also serve as the initial position constraints for subsequent local correlation search and local residual prediction. Specifically, the preliminary coarse matching results are generated by a detectorless local feature matching LoFTR-type deep matching model. This model is used to perform initial matching between the remote sensing image to be corrected and the reference image, and outputs the candidate positions in the remote sensing image to be corrected and their initial corresponding positions in the reference image. Centered on the candidate location in the remote sensing image to be corrected and the coarse matching anchor point in the reference image, crop local image blocks of the remote sensing image to be corrected and local image blocks of the reference image respectively. The two local image blocks should have the same or similar physical coverage. When the spatial resolution of the remote sensing image to be corrected and the reference image are inconsistent, adjust the pixel size of the local image blocks according to the spatial resolution of the two types of images so that the two local image blocks cover the same or similar ground areas. When the reference image consists of multiple images, the multiple reference images are first unified into the same reference coordinate system. Then, a unified reference image region is established through image stitching or virtual mosaic indexing. Subsequent cropping of local image blocks of the reference image and restoration of the global coordinates of candidate control points are all performed in the unified reference coordinate system.
[0023] II. Anchor-constrained residual matching network; This invention employs an anchor-constrained residual matching network to generate candidate control point pairs, and further forms a set of candidate control point pairs; such as Figure 2 As shown, the network mainly includes: a dual-stream cross-sensor adaptation module, a multi-scale shared feature encoding module, an anchor-constrained local correlation search module, a local residual refinement module, and a control point quality joint prediction module; 1. Dual-stream cross-sensor adapter module; The aforementioned dual-stream cross-sensor adaptation module includes a target image adaptation branch and a reference image adaptation branch; The target image adaptation branch is used to process local image patches of the remote sensing image to be corrected, and the reference image adaptation branch is used to process local image patches of the reference image. The parameters of the two branches are set respectively, so that the network can perform feature mapping for the differences in grayscale response, contrast, noise level and texture expression of images from different sensors. After adaptation, the two types of images are mapped to a comparable feature space, providing a basis for subsequent cross-sensor matching; 2. Multi-scale shared feature encoding module; The aforementioned multi-scale shared feature encoding module is used to extract texture features and contextual structure features from local image patches, thereby obtaining the features of the remote sensing image to be corrected and the features of the reference image, respectively. This module retains local structural information such as roads, building edges, shorelines, and plot boundaries, and also uses a wider range of contextual information to help determine whether there is a stable correspondence between local areas; The aforementioned multi-scale shared feature encoding module can employ convolutional neural networks, multi-scale feature pyramids, residual structures, transformer coding structures, or other network structures with multi-scale feature extraction capabilities. 3. Anchor point constraint local correlation search module; The aforementioned anchor-constrained local correlation search module takes the coarse matching anchor point in the reference image as the center, sets up a local search region near the coarse matching anchor point, and establishes a local correlation relationship between the features of the remote sensing image to be corrected and the features of the reference image within this region. The local correlation relationship can be determined by feature inner product, normalized correlation, cosine similarity, local correlation matrix, or local response map. In addition, the local search range can be determined based on the positioning stability of the coarse matching anchor point, the intensity of local feature response, positioning uncertainty, or a preset range. By limiting the search area, the number of candidate control points jumping to far-away erroneous areas can be reduced; 4. Local residual refinement module; The aforementioned local residual refinement module uses the coarse matching anchor points in the reference image as initial position constraints. Based on the local correlation relationships within the neighborhood of the anchor points, it calculates the position correction amount on the reference image side and controls the correction magnitude through the residual adjustment coefficient, ultimately obtaining the refined corresponding position in the reference image. The specific process is as follows: First, based on the matching probability output by the anchor point constraint local correlation search module, the lateral and longitudinal offsets of each candidate position in the reference image relative to the coarse matching anchor point are calculated. Then, using the corresponding matching probability as weight, the lateral and longitudinal offsets are weighted and summed to obtain the preliminary position correction. Subsequently, to avoid excessive position correction causing the refined position to deviate from the coarse matching anchor point, a residual adjustment coefficient was set. This is used to adjust the magnitude of the initial position correction. Specifically, 96-dimensional normalized image features are extracted from the candidate locations of the remote sensing image to be corrected and the coarse matching anchor points of the reference image. These features are combined with the cosine similarity of the features on both sides, the effectiveness index of the locations on both sides, the maximum value of the local matching probability, the square roots of the variances of the horizontal and vertical locations, and the ratio of the location dispersion to the search radius to form a 199-dimensional stitched feature vector. This feature vector is then input into the residual adjustment coefficient prediction branch, passing through a fully connected layer from 199 to 128 dimensions, a GELU activation function, and a fully connected layer from 128 to 1 dimension. Finally, the residual adjustment coefficient, with values ranging from 0 to 1, is obtained through the Sigmoid function. ; Initial position correction Multiply by residual adjustment factor The final local position residual is obtained: ; in, This represents the local positional residual of the corresponding position on the reference image side relative to the coarse matching anchor point after refinement. and These represent the horizontal and vertical position residual components after adjustment by the residual adjustment coefficient; Finally, the coordinates of the coarse matching anchor point are added to the local position residual to obtain the refined corresponding position in the reference image: ; Through the above processing, the network refines the corresponding positions on the reference image side while preserving the initial correspondence of the coarse matching, and the candidate positions on the remote sensing image side to be corrected remain unchanged. 5. Joint prediction module for control point quality; The aforementioned joint prediction module for control point quality is used to output quality information for candidate control point pairs, including... ; in, The matching evaluation value ranges from 0 to 1. It is used to characterize whether there is a stable correspondence between the local features of the remote sensing image to be corrected and the local features of the reference image. The larger the value, the higher the degree of matching of the candidate point pair predicted by the network. The location uncertainty evaluation value is used to characterize the stability of the predicted location of the candidate control point in the refined reference image. The larger the value, the more uncertain the predicted location. The value is the risk assessment value for invalid regions, ranging from 0 to 1. It is used to characterize whether candidate control point pairs may be located in invalid boundaries, occluded regions, splicing boundaries, low-texture regions, or other regions that are not suitable for participating in the solution of geometric correction model parameters. The larger the value, the higher the prediction risk. Specifically, the aforementioned joint prediction module for control point quality includes a matching predictor branch, a location uncertainty predictor branch, and an ineffective area risk predictor branch. The matchability prediction branch is used to predict the matchability of the input concatenated feature vector and obtain a matchability evaluation value ranging from 0 to 1. The positioning uncertainty prediction branch is used to predict the positioning uncertainty of the input spliced feature vector, obtain the positioning uncertainty prediction value, and add it to the preset positive bias and the product of the square root of the mean of the horizontal position variance and the vertical position variance and the preset positive coefficient to obtain the positioning uncertainty evaluation value. The invalid region risk prediction branch is used to predict the risk of the input spliced feature vector and obtain the network risk prediction value with a value of 0 to 1. It is also used to calculate the invalidity degree based on the validity index of the candidate position in the remote sensing image to be corrected and the refined corresponding position in the reference image. The network risk prediction value and the invalidity degree are weighted and summed and normalized to obtain the invalid region risk assessment value. The joint prediction module for control point quality can output quality information of candidate control point pairs based on one or more of the following: image features output by the multi-scale shared feature encoding module, local correlation relationships output by the anchor point constrained local correlation search module, and residual prediction results or residual refinement features generated by the local residual refinement module. The three quality prediction branches all use the same 199-dimensional stitched feature vector as the residual adjustment coefficient prediction branch as input, and each passes through a 199-dimensional to 128-dimensional fully connected layer, GELU activation, and a 128-dimensional to 1-dimensional fully connected layer in sequence. The matching branch output is processed by the Sigmoid function to obtain the matching evaluation value. The positioning uncertainty branch output is processed by the Softplus function, and then a positive bias of 0.25 and the square root of the mean of the horizontal and vertical position variances are added to obtain the positioning uncertainty evaluation value. The risk branch output is processed by the Sigmoid function to obtain the network risk prediction value. The product of the effectiveness index of the candidate position of the image to be corrected and the corresponding position of the refined reference image is subtracted from 1 to obtain the mask invalidity degree. The two are then fused with weights of 0.65 and 0.35, and the result is truncated to 0 to 1 to obtain the invalid region risk evaluation value.
[0024] Based on the matching evaluation value m of the i-th candidate control point pair i Positioning uncertainty evaluation value σ i and ineffective area risk assessment value r i Determine the basic network quality score : ; in, As a stable term, it is generally taken as 1; The aforementioned quality information can be combined to form the network's basic quality score for candidate control point pairs. In practical applications, weighted combination, hierarchical evaluation, or learning-based scoring methods can also be used to determine the quality of candidate control point pairs. The network's basic quality score can be used for screening, ranking, or weighting candidate control point pairs, and can also serve as a component of the control point weights in the subsequent solution of geometric correction model parameters.
[0025] III. Generation of candidate control point pairs and optional post-processing; like Figure 3 As shown, for the i-th candidate control point pair, the candidate locations in the remote sensing image to be corrected are... Refined corresponding positions in reference images Together with the corresponding quality information, they form the candidate control point record; For candidate control point pairs generated from multiple local image blocks of remote sensing images to be calibrated and corresponding local image blocks of reference images, the candidate positions on the remote sensing image side and the refined corresponding positions on the reference image side of the candidate control point pairs are restored to the global coordinate systems of the remote sensing images to be calibrated and the reference images, respectively; when the reference image consists of multiple images, the coordinates of the candidate control points in the reference image should be restored to a unified reference coordinate system. For candidate control point pairs whose spatial locations are within a preset neighboring area, i.e., candidate control point pairs that are spatially close or duplicated, they can be merged, deduplicated, or selectively retained to obtain a set of candidate control point pairs. The set of candidate control point pairs consists of multiple candidate control point pairs. The preset neighboring area can be set according to actual application requirements. Based on this, the geometric consistency, spatial distribution, and parameter constraint contribution of each candidate control point pair in the candidate control point pair set can be further combined to screen, classify, or weight the candidate control point pairs, resulting in a set of screened control point pairs and their corresponding control point weights. Geometric consistency is used to represent the degree of consistency between the candidate control point pair and the local geometric relationship or the global geometric correction model. Spatial distribution is used to represent the coverage and distribution balance of the candidate control point pairs in the image. Parameter constraint contribution is used to represent the constraint ability of the candidate control point pairs on the parameter estimation of the geometric correction model. Specifically, geometric consistency can be determined based on the residuals of candidate control point pairs under local geometric relations or global geometric correction models, interior point determination results, or robust estimation residual weights; spatial distribution can be determined based on the grid coverage, regional coverage, neighboring point distance, local point density, or distribution balance of candidate control point pairs in the image; and parameter constraint contribution can be determined based on one or more of the following: the Jacobian matrix corresponding to the candidate control point pair, information matrix contribution terms, changes in the condition number of the information matrix, changes in the minimum eigenvalue, changes in the determinant, or changes in the reprojection residual. The above post-processing is an optional enhancement method. The set of candidate control point pairs generated by the anchor point constraint residual matching network can be used directly for solving the parameters of the geometric correction model, or it can be used for solving the parameters after filtering or weighting.
[0026] IV. Solving for geometric correction model parameters and fine geometric correction; like Figure 4 As shown, based on the selected set of control point pairs and their corresponding control point weights, the correction amounts of interior and exterior orientation elements are solved using a rigorous imaging model, and the corrected imaging model is used to complete the geometric fine correction of the remote sensing image. Specifically, the ground three-dimensional coordinates of the control points are determined based on the georeferenced information and corresponding ground elevation of the reference image. Candidate locations in the remote sensing image to be corrected are used as the coordinates of the observation points. A rigorous imaging model is established by combining the initial orbital attitude parameters of the satellite and the camera parameters. Among them, the interior orientation elements are corrected using the CCD probe pointing angle model, and the exterior orientation elements are compensated for attitude error using a small-angle linearization method. The probe pointing angle model coefficients and attitude compensation parameters are incorporated into a unified parameter estimation process. Based on the network baseline quality scores of each control point pair, the corresponding control point weights are obtained after normalization. The difference between the observed image point coordinates and the predicted image point coordinates calculated by the rigorous imaging model is used as the observation residual to establish a weighted least squares parameter estimation model. ; in, Let be the coordinates of the i-th control point in the observed image of the remote sensing image to be corrected. Here are the three-dimensional ground coordinates of this control point. To establish a rigorous imaging model, the projection relationship between ground points and image points is required. These are the initial imaging model parameters. The value represents the correction amount for the interior and exterior orientation element parameters to be estimated. Let N be the weight of the i-th control point, and N be the number of control points participating in parameter estimation. By linearizing the imaging observation equation, the weighted least squares method is used to solve the correction values of the interior and exterior orientation elements. The solution results are then used to update the pointing angle model parameters of the charge-coupled device (CCD) probe and the satellite attitude compensation parameters to obtain the corrected rigorous imaging model. Finally, the corrected rigorous imaging model is used to perform geometric positioning, coordinate transformation, and resampling on the remote sensing image to be corrected, resulting in a geometrically finely corrected remote sensing image. The resampling method can employ nearest neighbor interpolation, bilinear interpolation, cubic convolution interpolation, or other image resampling techniques.
[0027] Specifically, such as Figure 5 As shown, the remote sensing image geometric fine correction method based on anchor point constraint residual matching according to an embodiment of the present invention includes the following steps: (1) Acquire the remote sensing image to be corrected and the reference image; Specifically, the remote sensing image to be corrected is a remote sensing image acquired by the BlueCarbon-1 satellite, and the reference image is a Sentinel-2 optical remote sensing image with georeferenced information. When the reference image is composed of multiple Sentinel-2 images, the multiple reference images are first unified into the same reference coordinate system, and a unified reference image area is formed by image stitching or virtual mosaic indexing. Subsequent cropping of local image blocks of the reference image and restoration of global coordinates of control points are all performed in the unified reference coordinate system. (2) Obtain coarse matching anchor points; Specifically, the preliminary coarse matching result is generated by a LoFTR-type deep matching link. This preliminary coarse matching link performs an initial match between the remote sensing image to be corrected and the reference image, outputting candidate locations in the remote sensing image to be corrected and their initial corresponding locations in the reference image. For the i-th preliminary coarse matching result, the candidate location in the remote sensing image to be corrected is denoted as... The initial corresponding position in the reference image is denoted as and will As a coarse matching anchor point on the reference image side; where the anchor point constrained residual matching network does not re-perform the complete global matching, but performs local residual refinement within the neighborhood of the coarse matching anchor point; (3) Constructing local image blocks; Specifically, using candidate locations in the remote sensing image to be corrected and coarse matching anchor points in the reference image as centers, local image blocks in the remote sensing image to be corrected and local image blocks in the reference image are cropped respectively; the two local image blocks have the same or similar physical coverage; when the spatial resolutions of the two types of images are inconsistent, the cropping size is adjusted according to the spatial resolution of the images so that the two local image blocks cover the same or similar ground areas; when a local image block is close to the image boundary, boundary cropping, boundary filling, or effective area masking is performed on the area that exceeds the image range; (4) Anchor point constraint residual matching; Specifically, anchor-constrained residual matching is performed using an anchor-constrained residual matching network. Local image patches from the remote sensing image to be corrected, local image patches from the reference image, and coarse matching anchors are input into the network. The network first processes the two types of local image patches using target image adaptation branches and reference image adaptation branches respectively, and then extracts multi-scale features using a multi-scale shared feature encoding module. Subsequently, with the coarse matching anchor as the center, the correlation relationship between the two types of image features is established within the local search region, and the local location residual is predicted based on the correlation response. For the i-th candidate control point pair, the refined corresponding position in the reference image is: ; While refining the corresponding location on the reference image side, the network outputs the matchability of candidate control point pairs, positioning uncertainty, and risk of invalid areas. (5) Generate a set of candidate control point pairs; Candidate control point pairs are formed by combining candidate locations in the remote sensing image to be calibrated with their refined counterparts in the reference image. For candidate control point pairs generated from multiple local image blocks of the remote sensing image to be calibrated and corresponding local image blocks of the reference image, the candidate locations in the remote sensing image to be calibrated and the refined counterparts in the reference image are restored to the global coordinate systems of the remote sensing image to be calibrated and the reference image, respectively. Candidate control point pairs with similar or overlapping spatial locations are merged and deduplicated. As an example, each local image block pair outputs 16 candidate control point pairs. It should be noted that the number of candidate control point pairs output for each local image block pair can be adjusted according to the size of the local image block, texture, and model parameter solution requirements, and is not limited to 16. Based on the quality information and spatial distribution of candidate control point pairs, a set of control point pairs for solving the geometric correction model parameters is determined from the candidate control point pair set. Specifically, for each pair of candidate control point pairs generated from local image blocks, candidate control point pairs whose effectiveness indices for both the candidate position and the refined corresponding position are greater than a preset effectiveness threshold are retained. Then, a preset number of local candidates are retained according to the network basic quality score from high to low to obtain the initial screening of candidate control point pairs. The candidate positions and refined corresponding positions in each initial screening candidate control point pair are restored to the global coordinate system of the remote sensing image to be corrected and the reference image, respectively. For candidate control point pairs that are duplicated or spatially similar, the candidate control point pair with the highest network basic quality score is selected to form the candidate control point pair set. The remote sensing image to be corrected is divided into spatial grids, and a candidate control point pair is selected from each spatial grid according to the network basic quality score from high to low, until the preset number of global control point pairs is reached to obtain the control point pair set. (6) Solve for the parameters of the geometric correction model; Based on the selected set of control point pairs and their corresponding weights, the parameters of the rigorous imaging model are solved. Specifically, the weighted least squares method is used to solve for the interior and exterior orientation element corrections of the geometric correction model; where the control point weights are obtained by normalizing the network's basic quality scores. During the parameter solution process, an error model for interior and exterior orientation elements is established based on a rigorous imaging model, combining the ground coordinates of control points, the coordinates of image points in the remote sensing image to be corrected, and the satellite orbital attitude parameters. Specifically, interior orientation elements are corrected using a CCD probe pointing angle model, while exterior orientation elements are compensated for attitude errors using a small-angle linearization method. Weights are determined based on the network baseline quality scores of the control points, and a weighted least squares method is used to solve for the correction amounts of interior and exterior orientation elements, thus updating the rigorous imaging model. (7) Complete geometric fine correction to obtain geometrically fine-corrected remote sensing images; The interior and exterior orientation elements of the rigorous imaging model are updated based on the obtained geometric correction model parameters to obtain the corrected rigorous imaging model. The corrected rigorous imaging model is then used to perform coordinate transformation and resampling on the remote sensing image to be corrected to obtain the geometrically corrected remote sensing image, i.e., the geometrically corrected remote sensing image.
[0028] The training process of the anchor point constrained residual matching network is as follows: the training samples consist of local image patch pairs of cross-sensor remote sensing images, and each training sample includes at least: local image patch of the remote sensing image to be corrected, local image patch of the reference image, coarse matching anchor point, corresponding position label in the reference image, and effective region mask. Local location residual labels are determined based on the coordinate differences between the corresponding location labels in the reference image and the coarse matching anchor points: ; in, For the corresponding location label in the reference image; Training labels can be determined based on manually labeled control points, existing control point libraries, high-confidence matching results generated from existing matching links, offline teacher model output results, or candidate control points filtered by geometric consistency. The offline teacher model or existing matching links are only used to construct training labels and do not participate in the actual operation of the anchor-constrained residual matching network. During training, residual localization loss, matchability loss, localization uncertainty loss, invalid region risk loss, and anchor-point safety constraint loss are used. The following formula represents the weighted sum of the above five main losses: ; in, For residual localization loss, the Smooth L1 loss is calculated for the horizontal and vertical coordinates of the refined position and reference position labels respectively, and the sum is averaged for the effective positive samples. For the matchability loss, a binary cross-entropy is calculated between the matchability evaluation value and the matching label, and the average is taken for the effective samples; To locate the uncertainty loss, on the effective positive samples, the square of the ratio obtained by dividing the location error by the prediction uncertainty is added to twice the natural logarithm of the prediction uncertainty, and then the average is taken. To account for the risk loss in invalid regions, a binary cross-entropy is calculated between the risk assessment value and the degree of mask invalidity, and the average is taken for the valid samples. The degree of mask invalidity, which serves as the supervision label, does not participate in gradient backpropagation. To account for the anchor point safety constraint loss, on valid positive samples, the refined positioning error is subtracted from the anchor point positioning error, and then 0.25 pixels is added. The larger value is taken from the result and 0, and then the average is taken. Valid samples refer to non-filled points with a sample placeholder mask of 1. Valid positive samples also require a matching label of 1. , , , , These are the weighting coefficients for the corresponding loss terms, which are 1.00, 0.30, 0.10, 0.12 and 0.55 respectively, in the order of the above formula; the actual total training loss is not only the weighted sum of the above five terms, but also includes 0.05 times the mean of the effective sample residual adjustment coefficient as a gating regularization term; Anchor point safety constraint loss is used to constrain the positioning error after local residual refinement, avoiding significant degradation in positioning accuracy of the refinement result relative to the coarse matching anchor point, thereby improving the stability of the local residual refinement process; Through the above training process, the network is able to predict local location residuals near coarse matching anchor points and output quality information of candidate control point pairs.
[0029] The following details the training process of the anchor-constrained residual matching network and the effect of the local residual refinement module on the localization error of the reference image: Fixed local image patches not used in network training were used as validation samples. During training, the total loss of the training set, the total loss of the validation set, and the localization errors of the coarse matching anchor points and residual refinement results on the validation set were recorded. The results are as follows: Figure 6 As shown, Figure 6 Figure (a) in the figure uses the total loss of the first training set as a common benchmark. The total loss of the training set and the total loss of the validation set in each round are divided by this benchmark and multiplied by 100% to obtain the relative total loss, showing its change with the training rounds. Figure 6 Figure (b) shows the changes in the average localization error and the 90th percentile localization error of the coarse matching anchor points and the residual refinement results with training epochs; the localization error is the Euclidean distance between the predicted position on the reference image side and the corresponding position label, calculated in the 128×128 network input coordinate system, in pixels. As training progresses, the relative total loss of the training set generally decreases, while the relative total loss of the validation set remains relatively stable after decreasing in the early stages of training; the residual refinement results have low average localization error and 90th percentile localization error in each training epoch. After training is completed, the optimal model parameters saved during training are selected for candidate control point generation.
[0030] To further verify the effect of local residual refinement, the positioning error of the predicted position on the reference image side in the reserved verification sample was statistically analyzed, and the verification results are shown in Table 1. Table 1. Reference image-side positioning errors before and after anchor point constraint residual refinement. ; To more intuitively illustrate the changes in positioning error before and after local residual refinement, the cumulative distribution of positioning errors and the main error statistics of the coarse matching anchor points and anchor point constraint residual refinement results are compared. The results are as follows: Figure 7 As shown, Figure 7 Figure (a) shows the cumulative distribution of positioning errors in the refined results of coarse matching anchor points and anchor point constraint residuals. Figure 7 Figure (b) shows the statistical results of the average positioning error and the 90th percentile positioning error for the two results. After local residual refinement, the cumulative error distribution curve shifts towards a smaller positioning error. The average positioning error of the predicted position on the reference image side decreases from 11.00px to 7.77px, and the 90th percentile positioning error decreases from 17.10px to 14.52px. After local residual refinement, the proportion of candidate control points with reduced error is 80.52%. Compared with the coarse matching anchor point, the proportion of candidate control points with an error increase of more than 5px is 1.30%. The proportion of candidate control points with a positioning error of no more than 10px is 71.43%. (See figure below for details.) Figure 7 As shown in Figure (a), the horizontal axis represents the positioning error, and the vertical axis represents the proportion of control points whose positioning errors do not exceed the corresponding values. Compared with the coarse matching anchor points, the cumulative distribution curve after anchor point constraint residual refinement shifts to the upper left, indicating that the positioning errors of more control points are concentrated in a smaller range.
[0031] Furthermore, to verify whether the positioning uncertainty evaluation value output by the network can reflect the actual positioning error of the control points, a statistical analysis was performed on 77 valid matching points in the reserved validation set. The results show that the correlation coefficient between the positioning uncertainty evaluation value and the actual positioning error is 0.568, indicating a positive correlation. This means that control points with higher predicted positioning uncertainty by the network usually also have larger actual positioning errors. This indicates that the positioning uncertainty evaluation value output by the network can reflect the positioning reliability of the control points to a certain extent, providing a basis for subsequent control point quality evaluation and selection. The above results demonstrate that the anchor-constrained residual matching network can further correct the refined corresponding position on the reference image side near the coarse matching anchor point, reducing the positioning error on the reference image side and minimizing positional shifts caused by local error responses. The positioning uncertainty evaluation value output by the network can reflect the stability of the candidate control point's predicted refined corresponding position on the reference image side to a certain extent.
[0032] In addition, this invention also verifies the feasibility of geometric fine correction, demonstrating that the candidate control point pair set generated by the anchor point constraint residual matching network can be used for geometric fine correction of cross-sensor remote sensing images. Four sets of cross-sensor remote sensing image scenes are selected, denoted as experimental area A, experimental area B, experimental area C, and experimental area D, respectively. The remote sensing images to be corrected in the four sets of scenes are all remote sensing images acquired by the Blue Carbon-1 satellite, and the reference images are all Sentinel-2 optical remote sensing images with georeferenced information. Experimental areas A and D use a single Sentinel-2 reference image; experimental areas B and C use two Sentinel-2 reference images. The ntinel-2 reference image was used, and the two reference images were unified to the same reference coordinate system. Each local image block pair output 16 candidate control point pairs. After the candidate control point pairs were restored to the global coordinate system and merged and deduplicated, each scene group formed approximately 1500 to 2800 candidate control point pairs. Subsequently, based on the quality and spatial distribution of the candidate control point pairs, 100 control points were selected from each scene group. An interior and exterior orientation element error model was established in conjunction with a rigorous imaging model. The interior and exterior orientation element correction amount was solved using the least squares method based on control point quality weighting. The corrected imaging model was then used to complete the geometric fine correction of the remote sensing image. Independent checkpoints were obtained through manual interpretation and were used only for evaluating the geometric fine correction results. They were not used for estimating the parameters of the geometric transformation model. The evaluation indicators included root mean square error, average error, 90th percentile error, and the proportion of independent checkpoints with errors not exceeding 50m. The evaluation results are shown in Table 2. Table 2. Feasibility verification results of geometric fine correction for anchor-constrained residual matching networks. ; As shown in Table 2, the candidate control point pair set generated by the anchor point constraint residual matching network can be used for parameter estimation of geometric transformation models in different cross-sensor remote sensing image scenarios. Under the condition of a single reference image and under the condition of multiple reference images being unified to the same reference coordinate system, a control point set for geometric fine correction can be formed. The parameters and evaluation results in Table 2 are used to illustrate the feasibility of the present invention and are not intended to limit the local image patch size, local search range, number of candidate control point pairs, number of control point selections, geometric transformation model type, parameter estimation method, or evaluation threshold.
[0033] The above description is merely a detailed explanation of preferred embodiments and principles of the present invention. For those skilled in the art, there may be changes in specific implementation methods based on the ideas provided by the present invention, and these changes should also be considered within the scope of protection of the present invention.
Claims
1. A method for geometric fine correction of remote sensing images based on anchor point constraint residual matching, characterized in that, Includes the following steps: S1. Acquire remote sensing images to be corrected and reference images with geographic reference information; S2. Perform coarse position matching between the remote sensing image to be corrected and the reference image to obtain the candidate positions in the remote sensing image to be corrected and their initial corresponding positions in the reference image, and use the initial corresponding positions in the reference image as coarse matching anchor points. S3. Construct a local image block of the remote sensing image to be corrected, centered on the candidate location in the remote sensing image to be corrected, and construct a local image block of the reference image, centered on the coarse matching anchor point in the reference image. S4. Input the local image patch of the remote sensing image to be corrected, the local image patch of the reference image, and the coarse matching anchor points into the anchor point constraint residual matching network, and output candidate control point pairs and their quality information; wherein, the candidate control point pairs include the candidate positions in the remote sensing image to be corrected and the refined corresponding positions in the reference image. S5. Based on the quality information of the candidate control point pairs, filter the candidate control point pairs to obtain a set of control point pairs; S6. Based on the set of control points, the interior and exterior orientation elements of the geometric correction model are corrected to obtain the corrected geometric correction model. S7. Use the modified geometric correction model to perform geometric fine correction on the remote sensing image to be corrected.
2. The method for geometrical fine correction of remote sensing images according to claim 1, characterized in that, In step S4, the anchor point constraint residual matching network uses the coarse matching anchor point as the initial position constraint and outputs the local position residual on the reference image side; the refined corresponding position in the reference image is determined according to the coarse matching anchor point and the local position residual, and the candidate position in the remote sensing image to be corrected and its corresponding refined corresponding position in the reference image are combined to form candidate control point pairs.
3. The method for geometrical fine correction of remote sensing images according to claim 1, characterized in that, The anchor point constrained residual matching network includes a dual-stream cross-sensor adaptation module and a multi-scale shared feature encoding module. The dual-stream cross-sensor adaptation module includes a target image adaptation branch and a reference image adaptation branch. The target image adaptation branch is used to perform feature mapping on local image blocks of the remote sensing image to be corrected, and the reference image adaptation branch is used to perform feature mapping on local image blocks of the reference image. The multi-scale shared feature encoding module is used to encode the local image blocks of the remote sensing image to be corrected and the local image blocks of the reference image after feature mapping, and extract local texture features and contextual structure features to obtain the features of the remote sensing image to be corrected and the features of the reference image, respectively.
4. The method for geometrical fine correction of remote sensing images according to claim 3, characterized in that, The anchor point constraint residual matching network also includes an anchor point constraint local correlation search module and a local residual refinement module. The anchor point constraint local correlation search module takes the coarse matching anchor point in the reference image as the center, sets a local search area in the neighborhood of the coarse matching anchor point, and establishes a local correlation relationship between the remote sensing image features to be corrected and the reference image features within the local search area. The local residual refinement module is used to predict the local position residual of the reference image side relative to the coarse matching anchor point based on the local correlation relationship. The local position residual is used to represent the offset of the refined corresponding position of the reference image side relative to the coarse matching anchor point.
5. The method for geometrical fine correction of remote sensing images according to claim 4, characterized in that, The process of determining the local search region includes: Image features are extracted from candidate locations in the remote sensing image to be corrected and coarse matching anchor points in the reference image. Based on the features of both images, the cosine similarity between them, and the validity index of the corresponding locations, the search radius is predicted within a preset upper and lower limit, and the local search area is determined with the coarse matching anchor point as the center. The validity index of the location is obtained from the mask of the corresponding image. Pixels containing valid image data are marked as 1, and pixels containing invalid image data are marked as 0. By performing bilinear interpolation on the mask, the validity index with values of 0 to 1 at the candidate locations and coarse matching anchor points is obtained. The process of establishing the local correlation relationship includes: Image features of each candidate location in the local search area are extracted. Linear transformation and normalization are performed on the image features of the candidate locations in the remote sensing image to be corrected and the image features of each candidate location in the reference image. The inner product of the normalized feature vectors is then calculated to obtain the similarity score of each candidate location in the reference image. The similarity score is normalized into a matching probability with a sum of 1, which is used to represent the relative matching support obtained by each candidate location, and is used as the local correlation relationship between the features of the remote sensing image to be corrected and the features of the reference image.
6. The method for geometrical fine correction of remote sensing images according to claim 5, characterized in that, For the i-th candidate control point pair, its coarse matching anchor point in the reference image is represented as: ; in, and These are the x and y coordinates of the coarse matching anchor point, respectively. The superscript r indicates that the coordinates are located in the reference image coordinate system. The processing steps of the local residual refinement module include: Subtract the corresponding coordinates of the coarse matching anchor point from the x and y coordinates of each candidate position in the local search area to obtain the lateral and longitudinal offsets corresponding to the coarse matching anchor point. Then, using the matching probability of each candidate position as a weight, sum the lateral and longitudinal offsets to obtain the preliminary position correction. ; The maximum value of the matching probability of each candidate position is obtained. Using the matching probability as the weight, the squares of the differences between the corresponding components of the horizontal and vertical offsets and the initial position corrections of each candidate position are weighted and summed to obtain the horizontal position variance and the vertical position variance. The square root of the two means is divided by the search radius to obtain the ratio of the position dispersion to the search range. The concatenated feature vector is obtained by concatenating the image features from both sides, the cosine similarity between the two sides, the effectiveness index of the positions on both sides, the maximum value of the matching probability, the square root of the variance of the horizontal and vertical positions, and the ratio of the position dispersion to the search range. The concatenated feature vector is input into the residual adjustment coefficient prediction branch, and the residual adjustment coefficient, with a value between 0 and 1, is obtained through the Sigmoid function. ; Multiply the initial position correction by the residual adjustment factor to obtain the local position residual: ; Adding the coarse matching anchor point coordinates to the local position residual yields the refined corresponding position in the reference image: 。 7. The method for geometric fine correction of remote sensing images according to claim 6, characterized in that, The anchor point constraint residual matching network also includes a control point quality joint prediction module, which includes a matchability prediction branch, a positioning uncertainty prediction branch, and an invalid area risk prediction branch. The matching prediction branch is used to predict the matching of the input concatenated feature vector and obtain a matching evaluation value ranging from 0 to 1. The positioning uncertainty prediction branch is used to predict the input spliced feature vector to obtain the positioning uncertainty prediction value, and adds it to the product of the preset positive bias and the square root of the mean of the horizontal position variance and the vertical position variance and the preset positive coefficient to obtain the positioning uncertainty evaluation value. The invalid region risk prediction branch is used to perform risk prediction on the input spliced feature vector to obtain a network risk prediction value with a value of 0 to 1. It is also used to calculate the invalidity degree based on the validity index of the candidate position in the remote sensing image to be corrected and the refined corresponding position in the reference image. The network risk prediction value and the invalidity degree are weighted and summed and normalized to obtain the invalid area risk assessment value.
8. The method for geometrical fine correction of remote sensing images according to claim 7, characterized in that, In step S5, the matching evaluation value m of the i-th candidate control point pair is used as the basis for the calculation. i Positioning uncertainty evaluation value σ i and ineffective area risk assessment value r i Determine the basic network quality score : ; in, It is a stable term; For each pair of candidate control points generated from local image blocks, candidate control point pairs whose effectiveness indexes for both the candidate position and the corresponding refined position are greater than a preset effectiveness threshold are retained. Then, a preset number of local candidates are retained according to the network's basic quality score from high to low to obtain the initial screening of candidate control point pairs.
9. The method for geometric fine correction of remote sensing images according to claim 8, characterized in that, Step S5 further includes: The candidate positions and refined corresponding positions in each initial screening candidate control point pair are restored to the global coordinate system of the remote sensing image to be corrected and the reference image, respectively. For candidate control point pairs whose spatial locations are within a preset neighborhood, the candidate control point pairs with the highest basic network quality scores are selected and retained to form a set of candidate control point pairs; In the remote sensing image to be corrected, a spatial grid is divided. Candidate control point pairs are selected from different spatial grids in order of network basic quality score from high to low, until the preset number of global control point pairs is reached, thus obtaining a set of control point pairs.
10. The method for geometrical fine correction of remote sensing images according to claim 9, characterized in that, In step S6, the interior orientation element correction and exterior orientation element correction of the geometric correction model are solved by weighted least squares method according to the control point pair set and the corresponding control point weights; wherein, the control point weights are obtained by normalizing the network basic quality score. The obtained correction values are used to update the corresponding interior and exterior orientation elements in the geometric correction model to obtain the corrected geometric correction model.
