A fully automatic geometric precision correction method for remote sensing images

By controlling the patch characteristics by measuring the mean square error of the patch and the data range, combined with the correlation coefficient and the least squares regression method, it solves the problem of high efficiency, convenience and universality of geometric precision correction of remote sensing images, and achieves high-precision geometric correction. Suitable for high-resolution remote sensing images.

CN115063291BActive Publication Date: 2024-10-18长沙银汉空间科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210476021.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-10-18
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

Existing remote sensing image geometric precision correction methods are deficient in efficiency, convenience and universality. It is difficult to ensure that the correction accuracy is within one pixel or even half a pixel, and it cannot effectively solve the problem of automatic removal of gross error control points.

Method used

The mean square error and data range of the pattern patches are used to measure the characteristics of the control pattern patches, and the correlation coefficient is used to measure the matching degree between the pattern patches. The least squares regression method and the iteration method are used to filter out the gross errors of the point pairs with the same name, and based on the binary The second-order polynomial performs geometric correction to generate an image that meets the geometric positioning requirements.

Benefits of technology

It realizes fully automatic geometric precision correction, improves the correction accuracy and efficiency, enhances the universality and robustness of the method, and is suitable for geometric correction of high-resolution remote sensing images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115063291B_ABST
    Figure CN115063291B_ABST
Patent Text Reader

Abstract

The invention discloses a fully automatic geometric precision correction method for remote sensing images, including obtaining a number of control spots from a reference reference image; storing the central longitude and latitude of the control spots and data values ​​in a longitude and latitude index file and a spot data file in sequence; searching for target control spots from the longitude and latitude index file and the spot data file according to the longitude and latitude range of the image to be corrected, using some of the spots to perform rough matching based on correlation coefficients to obtain the overall offset of the image; using all the target control spots to perform image precision matching based on correlation coefficients; performing gross error filtering of pairs of points with the same name; and geometric correction to obtain an image that meets the geometric positioning requirements. The feature significance of the control spots is measured by the mean square error and data range of the spots, and stable and reliable control spots are automatically generated; the matching degree between the spots is measured by the correlation coefficient; the combination of the two realizes fully automatic, high-precision and universal remote sensing image geometric precision correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to remote sensing image processing technology, and in particular to a fully automatic geometric precision correction method for remote sensing images. Background Art

[0002] Remote sensing image fusion, splicing, multi-temporal overlay analysis and change detection applications all place high demands on the geometric positioning accuracy of images, generally requiring the error to be within one pixel or even half a pixel. Fully automatic, high-precision geometric correction is of great significance to the promotion and application of remote sensing technology.

[0003] Patent document CN2021109222553 discloses a geometric precision correction method suitable for high-resolution remote sensing images. The method uses a hash algorithm to estimate the approximate position of the image to be processed in the reference base map, applies the image retrieval method in the field of computer vision to the geometric precision correction of remote sensing images, reduces redundant calculations in the process of matching homonymous points, and improves the running speed; uses Fourier Mellin transform block matching for homonymous points of images, proposes parameters and thresholds suitable for high-resolution remote sensing images, and obtains stable and accurate results. This method requires estimating the approximate position of the image to be processed in the reference base map, which is not efficient and convenient enough; the parameters and thresholds used are only applicable to specific types of remote sensing images, and lack universality; the problem of automatic removal of gross control points is not solved, and it is difficult to ensure that the final correction accuracy is within one pixel or even half a pixel. Summary of the invention

[0004] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a fully automatic geometric precision correction method for remote sensing images.

[0005] To achieve the above object, the technical solution of the present invention is:

[0006] A fully automatic geometric precision correction method for remote sensing images, comprising:

[0007] Obtain several control patches from the benchmark reference image;

[0008] The central longitude and latitude and data values ​​of the plurality of control spots are stored in sequence as a longitude and latitude index file and a spot data file respectively;

[0009] Searching for target control spots from the latitude and longitude index file and the spot data file according to the latitude and longitude range of the image to be corrected, using some of the spots to perform rough matching based on correlation coefficients to obtain the overall offset of the image;

[0010] Use all target control spots, perform precise image matching based on correlation coefficients, and perform preliminary quality control of spots with the same name by setting correlation coefficient thresholds;

[0011] Based on the least squares regression method and iteration method, the gross errors of the same-name point pairs are filtered out;

[0012] Based on the geometric correction of quadratic polynomials, images that meet the geometric positioning requirements are obtained.

[0013] Furthermore, the step of acquiring a plurality of control spots from the benchmark reference image includes:

[0014] The average values ​​of all bands from visible light to near infrared are calculated from the reference image to obtain a panchromatic reference image;

[0015] Reprojecting the panchromatic reference image to obtain a standard panchromatic image with the same projection type and spatial resolution as the image to be corrected;

[0016] Dividing the standard full-color image into blocks, wherein the block size is determined according to the length and width of the image to be corrected and the number of target control points of a single image to be corrected;

[0017] For each standard full-color image block, the central area of ​​the block is taken as the generation area of ​​the control spot;

[0018] In the central area, move the N*N template pixel by pixel, where N is an odd number and is smaller than the side length of the central area; each time it moves to a position, calculate the mean square error and data range of the N*N pattern, and record the image coordinates, mean square error value and data range of the central pixel at that position;

[0019] After the traversal is completed, the patch with the largest data range among the first X patches with the largest mean square error is taken as the control patch of the block; where X is a positive integer.

[0020] Furthermore, the storing of the central longitude and latitude of the plurality of control spots and the data values ​​as a longitude and latitude index file and a spot data file in sequence comprises:

[0021] Calculate the longitude and latitude of the central pixel of the control spot according to the image coordinates of the control spot and the spatial reference information of the standard panchromatic image, and save the N*N pixel values ​​and the longitude and latitude of the center of the control spot;

[0022] The longitude and latitude coordinate index file includes three columns of data, the first column is the storage serial number of the control spot, the second column is the central longitude of the control spot, and the third column is the central latitude of the control spot;

[0023] The spot data file stores N*N pixel values ​​of the control spot in binary format in sequence according to the storage sequence number.

[0024] Further, searching for target control patches from the longitude and latitude index file and the patch data file according to the longitude and latitude range of the image to be corrected, using some of the patches, and performing rough matching based on the correlation coefficient to obtain the overall offset of the image includes:

[0025] Calculating the average value of all bands from visible light to near-infrared in the image to be corrected to obtain a panchromatic image to be corrected;

[0026] Calculating the longitude and latitude coordinates of the four corner points of the panchromatic image to be corrected, calculating the longitude and latitude range of the image to be corrected from the corner point longitude and latitude coordinates, and searching for M target control patches within this range from the index file;

[0027] For each of the target control patches, reading N*N pixel values from the data file according to its storage serial number, and calculating the image coordinates [x1, y1] of the center pixel of this control patch on the panchromatic image to be registered according to its central longitude and latitude coordinates and the spatial reference information of the panchromatic image to be corrected;

[0028] Randomly selecting m rough matching control patches from the M target control patches.

[0029] Further, for each of the rough matching control patches, perform the following operations: taking the image coordinates [x1, y1] of the center pixel of the rough matching control patch as the center, performing pixel-by-pixel traversal search within a range with a radius of L pixels, where L is determined according to the maximum position deviation of the image to be corrected in pixels. For each traversed position, calculate the correlation coefficient between the N*N control patch and the N*N image patch to be corrected, and record the position image coordinates and the correlation coefficient.

[0030] Further, the calculation formula of the correlation coefficient is as follows:

[0031]

[0032] where p i is the i-th pixel value of the control patch, and q i is the i-th pixel value of the panchromatic image to be corrected.

[0033] After the traversal is completed, taking the position with the maximum correlation coefficient as the matching position, the image coordinates [x2, y2] and [x1, y1] of the matching position form a homologous point pair; deleting the point pairs with a correlation coefficient <Tc; calculating the position deviation [Δx, Δy] of each remaining point pair, taking the two point pairs with the closest distance among all position deviations as the accurate matching point pairs, and calculating the average position deviation of the two accurate matching point pairs as the overall deviation of the image to be registered.

[0034] Further, using all the target control patches, performing fine image matching based on the correlation coefficient, and performing preliminary quality control of homologous patches by setting a correlation coefficient threshold includes:

[0035] For each of the target control patches, perform the following operations: Displace the central pixel [x1, y1] of the target control patch After that, with this position as the center, perform pixel-by-pixel traversal search within a range of k pixels in radius, where k is much smaller than L; for each traversed position, calculate the correlation coefficient between the N*N control patch and the N*N image patch to be matched, and record the image coordinates and correlation coefficient at this position; after the traversal is completed, take the position with the maximum correlation coefficient as the best matching position, and the central pixel image coordinates [x2, y2] and [x1, y1] at the matching position form a homologous point pair; delete the point pairs with a correlation coefficient <Tc to obtain an initial set of homologous point pairs.

[0036] Further, the gross error filtering of the homologous point pairs based on the least squares regression method and the iterative method includes the following steps:

[0037] Step 1: Perform multiple linear regression of the least squares method with x1 and y1 as independent variables and x2 and y2 as dependent variables, and calculate the overall error of each homologous point pair according to the regression coefficients; calculate the maximum overall error E among the M homologous point pairs max If E max >T e , then remove the homologous point pair corresponding to this maximum overall error from the set; T e is the target geometric positioning longitude, in pixels;

[0038] Step 2: Iteratively perform Step 1, recalculate the fitting coefficients and calculate the maximum overall error for the new set of homologous point pairs until E max <=T e or the number of remaining homologous point pairs <= 9; the remaining homologous point pairs are used as control points for the image to be corrected.

[0039] Further, divide the image to be corrected into G*G regions, and for each region, perform Steps 1-2 respectively, and use the union of the remaining homologous point pairs in each partition as the control points for the image to be corrected.

[0040] Further, the geometric correction based on the quadratic polynomial to obtain an image that meets the geometric positioning requirements includes:

[0041] Using the control points after gross error filtering, based on the quadratic polynomial method, fit the function mapping relationship from [x1, y1] to [x2, y2], and perform geometric fine correction on the image to be corrected using the resampling method to obtain a geometric positioning accuracy <= T ePixel image.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] The present invention measures the characteristic significance of the control pattern by the mean square error and data range of the pattern, which is convenient for automatically generating stable and reliable control patterns, and measures the matching degree between the patterns by the correlation coefficient. The invention is simple and easy to operate, and has stronger universality. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A flow chart of a fully automatic geometric precision correction method for remote sensing images provided by an embodiment of the present invention;

[0045] Figure 2 is the processed benchmark image;

[0046] Figure 3 The distribution of control points on the image to be corrected;

[0047] Figure 4 This is a schematic diagram comparing the effects before and after correction. DETAILED DESCRIPTION

[0048] Example:

[0049] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0050] Existing image technology mainly uses edge detection features such as SIFT operator to perform image registration, while the present invention measures the feature significance of the control spots by the mean square error and data range of the spots, which is convenient for automatically generating stable and reliable control spots, and measures the matching degree between the spots by the correlation coefficient, which is simple and easy to operate. Figure 1 As shown, the fully automatic geometric precision correction method for remote sensing images provided in this embodiment includes:

[0051] 101. Acquire a number of control spots from a benchmark reference image; the benchmark reference image is a benchmark image with high geometric positioning accuracy;

[0052] 102. The central longitude and latitude and data values ​​of the plurality of control spots are stored in sequence as a longitude and latitude index file and a spot data file respectively;

[0053] 103. Searching for target control spots from the latitude and longitude index file and the spot data file according to the latitude and longitude range of the image to be corrected, using some of the spots to perform rough matching based on correlation coefficients, and obtaining the overall offset of the image;

[0054] 104. Use all target control spots, perform image precise matching based on correlation coefficients, and perform preliminary quality control of spots with the same name by setting correlation coefficient thresholds;

[0055] 105. Based on the least squares regression method and iteration method, the gross errors of the same-name point pairs are filtered out;

[0056] 106. Based on the geometric correction of quadratic polynomials, images that meet the geometric positioning requirements are obtained.

[0057] Thus, through the above steps, the feature significance of the control spots is measured by the mean square error and data range of the spots, which facilitates the automatic generation of stable and reliable control spots, and the matching degree between the spots is measured by the correlation coefficient, which is simple and easy to operate. Since the control spots are prepared in advance, the present invention does not need to perform image reprojection and image superposition during correction, which greatly saves processing time. By adopting a reasonable control spot storage structure, the pixel value and longitude and latitude coordinates of the required control spots can be quickly located and read during geometric correction, which not only saves the storage space of the control spots, but also improves the overall efficiency of geometric precision correction. The number and uniform distribution of control points are guaranteed by image partitioning and blocking, and the quality of control points is guaranteed by one control and one screening. The method has strong universality, shows good robustness in practical applications, and can effectively overcome the influence of cloud cover under the premise that the number of control points is sufficient. It is not only suitable for geometric correction preprocessing of ground application systems, but also suitable for on-orbit geometric precision correction of remote sensing satellite images.

[0058] In a specific embodiment, the above step 101 includes:

[0059] 1. Calculate the average values ​​of all bands from visible light to near infrared from the reference image to obtain a full-color reference image;

[0060] 2. Reprojecting the panchromatic reference image to obtain a standard panchromatic image having the same projection type and spatial resolution as the image to be corrected;

[0061] 3. Divide the standard full-color image into blocks, and the block size is determined according to the length and width of the image to be corrected and the number of target control points of a single image to be corrected;

[0062] 4. For each of the panchromatic image blocks, the central area of ​​the block is taken as the generation area of ​​the control spot;

[0063] 5. In the central area, move the N*N template pixel by pixel, where N is an odd number and is smaller than the side length of the central area. Each time it moves to a position, calculate the mean square error and data range of the N*N pattern, and record the image coordinates, mean square error value and data range of the central pixel at that position; where the calculation formula for the mean square error is:

[0064]

[0065] Among them, p i is the pixel value of the i-th pixel, p mean is the average value of all pixels.

[0066] The data range is calculated as:

[0067] RNG=MAX{p1,p2,…,p N*N}-MIN{p1,p2,…,p N*N}

[0068] 6. After the traversal is completed, the patch with the largest data range among the top 10 patches with the largest mean square deviation is taken as the control patch of the block.

[0069] In a specific embodiment, the step 102 includes:

[0070] The longitude and latitude of the central pixel of the control spot are calculated according to the image coordinates of the control spot and the spatial reference information of the standard full-color image, and the N*N pixel values ​​and the longitude and latitude of the central pixel of the control spot are saved.

[0071] The storage structure of the control patch includes the following two files:

[0072] 1. Longitude and latitude coordinate index file, which is convenient for quickly finding the control spots within the image space to be corrected. The coordinate index file includes three columns of data. The first column is the storage serial number of the control spots, the second column is the central longitude of the control spots, and the third column is the central latitude of the control spots.

[0073] 2. Data file, which stores the N*N pixel values ​​of the control pattern in binary format according to the storage sequence. Optionally, the N*N pixel values ​​are linearly stretched to the 0-255 data range, converted to byte type and then written into the binary file.

[0074] In a specific embodiment, the above step 103 includes:

[0075] 1. Calculate the average values ​​of all bands from visible light to near infrared from the image to be corrected to obtain a full-color image to be corrected;

[0076] 2. Calculate the longitude and latitude coordinates of the four corner points of the full-color image to be corrected, calculate the longitude and latitude range of the image to be corrected from the longitude and latitude coordinates of the corner points, and search the index file for M target control spots within the range according to the longitude and latitude range;

[0077] 3. For each of the target control patches, read N*N pixel values from the data file according to its storage serial number, and calculate the image coordinates [x1, y1] of the central pixel of the control patch on the panchromatic image to be registered according to its central longitude and latitude coordinates and the spatial reference information of the panchromatic image to be corrected;

[0078] 4. Coarse matching: Randomly select m coarse matching control patches from M target control patches. For each of the coarse matching control patches, perform the following operations: Taking the image coordinates [x1, y1] of the central pixel of the coarse matching control patch as the center, perform a pixel-by-pixel traversal search within a range with a radius of L pixels, where L is determined according to the maximum position deviation of the image to be corrected in pixels. For each traversed position, calculate the correlation coefficient between the N*N control patch and the N*N image patch of the image to be corrected, and record the image coordinates and the correlation coefficient at this position. The calculation formula of the correlation coefficient is as follows:

[0079]

[0080] where p i is the i-th pixel value of the control patch, and q i is the i-th pixel value of the panchromatic image to be corrected.

[0081] After the traversal is completed, take the position with the maximum correlation coefficient as the matching position. The image coordinates [x2, y2] and [x1, y1] of the matching position form a pair of homologous points. Delete the pairs of points with a correlation coefficient <Tc. Calculate the position deviation [Δx, Δy] of each remaining pair of points, take the two pairs of points with the closest distance among all position deviations as the accurate matching point pairs, and calculate the average position deviation of the two accurate matching point pairs as the overall deviation of the image to be registered.

[0082] In a specific embodiment, the above step 104 includes:

[0083] Fine matching: For each of the target control patches, perform the following operations: After displacing the central pixel [x1, y1] of the target control patch take this position as the center and perform a pixel-by-pixel traversal search within a range with a radius of k pixels, where k is much smaller than L. For each traversed position, calculate the correlation coefficient between the N*N control patch and the N*N image patch of the image to be matched, and record the image coordinates and the correlation coefficient at this position. After the traversal is completed, take the position with the maximum correlation coefficient as the best matching position. The image coordinates [x2, y2] of the central pixel of the matching position and [x1, y1] form a pair of homologous points. Delete the pairs of points with a correlation coefficient <Tc to obtain the initial set of homologous point pairs.

[0084] In a specific embodiment, the above step 105 includes:

[0085] The steps for automatic filtering of gross error control points are as follows:

[0086] 1. Take x1 and y1 as independent variables and x2 and y2 as dependent variables to perform the least squares multivariate linear regression. The formula is as follows:

[0087] x2=a1·x1+b1·y1+c1·x1·y1+d1

[0088] y2=a2·x1+b2·y1+c2·x1·y1+d2

[0089] The overall error of each pair of points with the same name is calculated based on the regression coefficient. The error calculation formula is as follows:

[0090]

[0091] Among them, [x′2, y′2] is the predicted value calculated based on the regression coefficient.

[0092] Calculate the maximum overall error E among M pairs of points with the same name max , if E max >T e , then the same-name point pair corresponding to the maximum overall error is removed from the set. e The longitude for the target geometry, in pixels, such as 1.0 or 0.5.

[0093] 2. Repeat step 1 in a loop, recalculate the fitting coefficients and the maximum overall error for the new set of points with the same name, until E max <=T e Or until the number of remaining pairs of points with the same name is less than or equal to 9. The remaining pairs of points with the same name are used as control points of the image to be corrected.

[0094] Preferably, the image to be corrected is equally divided into G*G regions, and for each region, automatic filtering of gross error control points is performed (steps 1-2), and the union of the remaining pairs of points with the same name in each partition is used as the control points of the image to be corrected.

[0095] Using the control points after gross error filtering, based on the quadratic polynomial method, the function mapping relationship from [x1, y1] to [x2, y2] is fitted, and the image to be corrected is geometrically corrected using an appropriate resampling method to obtain a geometric positioning accuracy <= T e This function mapping relationship is also applicable to the geometric correction of secondary products derived from the image to be corrected, such as index products such as NDVI or classification products.

[0096] The present invention is further described below with reference to an application scenario example:

[0097] Taking the geometric precision correction of the 16-meter resolution image of the domestically produced Gaofen-1 satellite in Hunan Province as an example, the method and technical process used in the present invention are described in detail.

[0098] First, we downloaded the Landsat8 OLI panchromatic image covering Hunan Province as the reference image. The image has high geometric positioning accuracy and a spatial resolution of 15 meters. We reprojected it to the Albers projection and resampled the spatial resolution to 16 meters, which is consistent with the resolution of the Gaofen-1 image. All processed images were stitched together, as shown in the attached figure. Figure 2 shown.

[0099] The coverage area of ​​a single GF-1 image is about 200km*200km. In order to ensure that at least 400 control spots can be obtained from any GF-1 image, the reference image is divided into blocks, each block is 600 pixels*600 pixels, that is, 9.6km*9.6km. For each block, the ideal spot is found within the 300*300 pixel range in its central area. A 19 pixel*19 pixel window is moved pixel by pixel in the target area, and the mean square error SDE and data range RNG of the pixel values ​​in the sliding window at each position are calculated. The calculation formula is as follows:

[0100]

[0101] RNG=MAX{p1,p2,…,p N*N}-MIN{p1,p2,…,p N*N}

[0102] Take the 10 positions with the largest SDE among all positions, and select the spot at the position with the largest RNG as the ideal spot among the 10 positions, write the 19*19 pixel value of the spot into a binary file, and calculate the longitude and latitude coordinates of the center pixel of the spot, and write the storage serial number, longitude and latitude into another longitude and latitude index file.

[0103] When all the blocks of the reference image are processed, a total of 4480 control patches are generated, and the control patch preparation work for the entire Hunan Province is completed. The total size of the latitude and longitude index file and the patch binary data file is less than 7M, while 3G of space is required to store the reference image.

[0104] A Gaofen-1 image was downloaded from the China Resources Satellite Application Center. The image name is GF1_WFV2_E112.4_N27.6_20191211_L1A0004466109.zip. After radiometric calibration, rapid atmospheric correction and RPC orthorectification, a 16-meter resolution image of the Albers projection was obtained. The average value of all four bands was calculated to obtain an approximate panchromatic image. The longitude and latitude coordinates of the four corner points were calculated, and the longitude and latitude range of the image was obtained: 111.00421 degrees to 113.73613 degrees east longitude, 26.36083 degrees to 28.83947 degrees north latitude.

[0105] The storage serial numbers and central longitude and latitude of 4480 control spots are read from the index file. The longitude and latitude range of the image to be corrected is used as the selection condition, and a total of 806 index information within the range is obtained. 80 index information are randomly selected from the 806 index information as the index information of the coarse matching control spots. For each coarse matching index information, the pointer is quickly located from the binary file storing the control spot data according to the storage serial number and 19*19 control spot data values ​​are read. According to the longitude and latitude and the spatial reference information of the image to be corrected, the row and column number [x1, y1] of the central pixel of the control spot on the image to be corrected is calculated. If [x1, y1] is outside the image to be corrected or the pixel value of the image to be corrected at this position is the background value, the match is abandoned. Otherwise, the sliding window is matched within a radius of 20 pixels centered on [x1, y1], and the correlation coefficient between the control spot and the image spot to be corrected at each position is calculated. The correlation coefficient calculation formula is as follows:

[0106]

[0107] Take the position with the maximum correlation coefficient as the best matching position [x2, y2], calculate the displacement [Δx, Δy] between [x2, y2] and [x1, y1], calculate the difference between the displacements, take the two sets of displacements with the smallest difference, and calculate their average value As the overall displacement of the image to be corrected. is [2,6].

[0108] For each of the 806 index information, the following operations are performed: the pointer is quickly located from the binary file storing the control spot data according to the storage sequence number and 19*19 control spot data values ​​are read. The row and column numbers [x1, y1] of the center pixel of the control spot on the image to be corrected are calculated according to the longitude and latitude and the spatial reference information of the image to be corrected. After displacement, [x1′, y1′] is obtained. If [x1′, y1′] is outside the image to be corrected or the pixel value of the image to be corrected at this position is the background value, the match is abandoned. Otherwise, a sliding window with a radius of 5 pixels centered on [x1′, y1′] is used for matching, and the correlation coefficient between the control spot and the image spot to be corrected at each position is calculated. The maximum correlation coefficient of all positions is calculated. If the maximum correlation coefficient is less than 0.65, the same-name point pair is discarded. Otherwise, the row and column number [x2, y2] of the best matching position is recorded, and it forms a same-name point pair with [x1, y1]. After all index information processing is completed, 201 groups of same-name point pairs remain.

[0109] Although the condition that the correlation coefficient is greater than 0.65 has preliminarily controlled the quality of the control points with the same name, it cannot guarantee that each point pair is matched correctly. No matter how good the matching algorithm is, mismatched point pairs are inevitable. Therefore, it is necessary to filter out gross errors for the remaining 204 groups of point pairs with the same name. The process is as follows: Take x1 and y1 as independent variables and x2 and y2 as dependent variables to perform multiple linear regression:

[0110] x2=a1·x1+b1·y1+c1·x1·y1+d1

[0111] y2=a2·x1+b2·y1+c2·x1·y1+d2

[0112] Substituting the coefficients obtained from regression into the above formula, we get the predicted value [x′2,y′2] of [x2,y2], and calculate the overall error of each point pair. The calculation formula is:

[0113]

[0114] Calculate the maximum overall error E of all point pairs max , if E max >1, the point pair with the largest error is deleted. Repeat the above process iteratively until E max <=1 or the number of remaining point pairs <=9. After filtering, 93 groups of point pairs with the same name remain. Their distribution on the image to be corrected is shown in the attached figure. Figure 3 Their overall error is within 1 pixel and can be used for geometric precision correction of the image to be corrected.

[0115] Using the above-mentioned set of points with the same name, the correction method of quadratic polynomial fitting and the resampling method of bilinear interpolation are used to perform geometric precision correction on the image to be corrected. Figure 4 This is a schematic diagram comparing the effects before and after correction. From the figure, it can be seen that there was obvious misalignment of the river before correction, but it was well corrected after correction.

[0116] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable ordinary technicians in the field to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made based on the essence of the content of the present invention should be included in the protection scope of the present invention.

Claims

1. A fully automatic geometric precision correction method for remote sensing images, characterized in that: include: Obtain several control patches from the benchmark reference image; The central longitude and latitude and data values ​​of the plurality of control spots are stored in sequence as a longitude and latitude index file and a spot data file respectively; Searching for target control spots from the latitude and longitude index file and the spot data file according to the latitude and longitude range of the image to be corrected, using some of the spots to perform rough matching based on correlation coefficients to obtain the overall offset of the image; Use all target control spots, perform precise image matching based on correlation coefficients, and perform preliminary quality control of spots with the same name by setting correlation coefficient thresholds; Based on the least squares regression method and iteration method, the gross errors of the same-name point pairs are filtered out; Based on the geometric correction of quadratic polynomials, images that meet the geometric positioning requirements are obtained.

2. The fully automatic geometric precision correction method for remote sensing images according to claim 1, characterized in that: The step of acquiring a plurality of control spots from the benchmark reference image comprises: The average values ​​of all bands from visible light to near infrared are calculated from the reference image to obtain a panchromatic reference image; Reprojecting the panchromatic reference image to obtain a standard panchromatic image with the same projection type and spatial resolution as the image to be corrected; Dividing the standard full-color image into blocks, wherein the block size is determined according to the length and width of the image to be corrected and the number of target control points of a single image to be corrected; For each standard full-color image block, the central area of ​​the block is taken as the generation area of ​​the control spot; In the central area, move the N*N template pixel by pixel, where N is an odd number and is smaller than the side length of the central area; each time it moves to a position, calculate the mean square error and data range of the N*N pattern, and record the image coordinates, mean square error value and data range of the central pixel at that position; After the traversal is completed, the patch with the largest data range among the first X patches with the largest mean square error is taken as the control patch of the block; where X is a positive integer.

3. The fully automatic geometric precision correction method for remote sensing images according to claim 2, characterized in that: The storing of the central longitude and latitude and data values ​​of the plurality of control spots in sequence as a longitude and latitude index file and a spot data file comprises: Calculate the longitude and latitude of the central pixel of the control spot according to the image coordinates of the control spot and the spatial reference information of the standard panchromatic image, and save the N*N pixel values ​​and the longitude and latitude of the center of the control spot; The longitude and latitude coordinate index file includes three columns of data, the first column is the storage serial number of the control spot, the second column is the central longitude of the control spot, and the third column is the central latitude of the control spot; The spot data file stores N*N pixel values ​​of the control spot in binary format in sequence according to the storage sequence number.

4. The fully automatic geometric precision correction method for remote sensing images according to claim 3, characterized in that: The step of searching for the target control spots from the latitude and longitude index file and the spot data file according to the latitude and longitude range of the image to be corrected, using part of the spots, performing rough matching based on correlation coefficients, and obtaining the overall offset of the image includes: Calculate the average values ​​of all bands from visible light to near infrared from the image to be corrected to obtain a full-color image to be corrected; Calculate the longitude and latitude coordinates of the four corner points of the full-color image to be corrected, calculate the longitude and latitude range of the image to be corrected from the longitude and latitude coordinates of the corner points, and search the index file for M target control spots within the range according to the longitude and latitude range; For each of the target control spots, N*N pixel values ​​are read from the data file according to its storage sequence number, and the image coordinates [x1, y1] of the central pixel of the control spot on the panchromatic image to be registered are calculated according to its central longitude and latitude coordinates and the spatial reference information of the panchromatic image to be corrected; Randomly select m rough matching control spots from M target control spots.

5. The fully automatic geometric precision correction method for remote sensing images according to claim 4, characterized in that: For each of the coarse matching control spots, the following operations are performed: taking the image coordinates [x1, y1] of the central pixel of the coarse matching control spot as the center, a pixel-by-pixel traversal search is performed within a range of L pixels in radius, wherein L is determined according to the maximum position deviation of the image to be corrected in pixels. Each time a position is traversed, the correlation coefficient between the N*N control spot and the N*N image spot to be corrected is calculated, and the image coordinates and correlation coefficient of the position are recorded.

6. The fully automatic geometric precision correction method for remote sensing images according to claim 5, characterized in that: The calculation formula of the correlation coefficient is as follows: where p i is the i-th pixel value of the control spot, q i is the i-th pixel value of the full-color image to be corrected; After the traversal is completed, the position with the largest correlation coefficient is taken as the matching position, and the image coordinates [x2, y2] and [x1, y1] at the matching position form a homologous point pair; the point pairs with a correlation coefficient <Tc are deleted; the position deviation [Δx, Δy] of each remaining point pair is calculated, and the two point pairs with the closest distance among all the position deviations are taken as the accurate matching point pairs, and the average position deviation of the two accurate matching point pairs is calculated. As the overall deviation of the image to be registered.

7. The fully automatic geometric precision correction method for remote sensing images according to claim 6, characterized in that: The method of using all target control spots, performing precise image matching based on correlation coefficients, and performing preliminary quality control of spots with the same name by setting a correlation coefficient threshold comprises: For each of the target control patches, perform the following operations: Displace the central pixel [x1, y1] of the target control patch After that, with this position as the center, perform a pixel-by-pixel traversal search within a range of k pixels in radius, where k is much smaller than L; for each traversed position, calculate the correlation coefficient between the N*N control patch and the N*N image patch to be matched, and record the image coordinates and the correlation coefficient of this position; after the traversal is completed, take the position with the maximum correlation coefficient as the best matching position, and the image coordinates [x2, y2] of the central pixel at the matching position and [x1, y1] form a homologous point pair; delete the point pairs with a correlation coefficient < Tc to obtain the initial homologous point pair set.

8. The fully automatic geometric precision correction method for remote sensing images according to claim 7, characterized in that: The method of filtering out gross errors of pairs of homonymous points based on the least squares regression method and the iteration method comprises the following steps: Step 1: Take x1 and y1 as independent variables and x2 and y2 as dependent variables, perform least squares multivariate linear regression, calculate the overall error of each pair of homonymous points according to the regression coefficients; calculate the maximum overall error E among M pairs of homonymous points max , if E max >T e , then the same-name point pair corresponding to the maximum overall error is removed from the set; T e Longitude for the target geometry, in pixels; Step 2: Repeat step 1 iteratively, recalculate the fitting coefficients and the maximum overall error for the new set of same-name point pairs until E max <=T e Or until the number of remaining pairs of points with the same name is less than or equal to 9; the remaining pairs of points with the same name are used as control points of the image to be corrected.

9. The fully automatic geometric precision correction method for remote sensing images according to claim 8, characterized in that: The image to be corrected is equally divided into G*G regions. For each region, steps 1-2 are performed respectively, and the union of the remaining pairs of points with the same name in each partition is used as the control points of the image to be corrected.

10. The fully automatic geometric precision correction method for remote sensing images according to claim 8, characterized in that: The geometric correction based on the quadratic polynomial to obtain an image that meets the geometric positioning requirements includes: Using the control points after gross error filtering, based on the quadratic polynomial method, the function mapping relationship from [x1, y1] to [x2, y2] is fitted, and the image to be corrected is geometrically corrected using the resampling method to obtain a geometric positioning accuracy <= T e Pixel image.

Citation Information

Patent Citations

  • An object-level land cover change detection method based on dual constraints

    CN109523516A

  • Method and device for quickly detecting ecological environment change plaque based on time sequence image

    CN113298755A