Method suitable for automatic measurement of cross-scale satellite line area array image

Through the cross-scale satellite line array image automatic measurement method, the projection difference model, dynamic pyramid resampling and least squares matching technology are used, combined with multi-process parallel processing, to solve the registration problem between different types of satellite images and achieve efficient and automatic Measurement reduces the need for manual intervention and broadens the application scope of remote sensing data.

CN118711074APending Publication Date: 2024-09-27CHINESE PEOPLES LIBERATION ARMY UNIT 61540
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410596259.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

It is difficult to achieve fully automatic measurement between cross-scale satellite line array images with existing technology. In particular, there are large resolution differences and geometric orientation differences in the registration of different types of sensor data, making manual intervention unavoidable. The image distortion is large and it is difficult to achieve high-precision matching.

Method used

A cross-scale satellite line array image automatic measurement method is adopted to obtain point attributes by parsing point information files, using technologies based on projection difference models, dynamic pyramid resampling, dynamic threshold correlation coefficients and least squares matching, combined with multi-process Parallel processing enables automatic matching and correction of image data, reducing the need for manual intervention.

Benefits of technology

It realizes fully automatic measurement of orientation points and connection points, improves processing efficiency, can process image data of different scales and types, broadens the application scope of remote sensing data, provides more accurate and reliable data support, and reduces labor costs. , and improve data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711074A
    Figure CN118711074A
Patent Text Reader

Abstract

The invention belongs to the technical field of remote sensing data processing, and discloses a method suitable for automatic measurement of a cross-scale satellite line area array image. The method comprises the following steps of: 1, analyzing an input point information file to obtain point attribute information, including point type information and coordinate information; and 2, judging a point type. Through the specially-designed cross-scale satellite line area array image automatic measurement method, the technical level of the remote sensing data processing field is remarkably improved, full-automatic measurement of orientation points and connection points in a single type of image is achieved, the requirement for manual intervention is greatly reduced, the processing efficiency is improved, and the method is suitable for popularization and application. Image data from different scales and different sensor types can be processed, the application range of remote sensing data is greatly widened, and more accurate and reliable data support is provided for subsequent geographic information extraction, map making and other applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of remote sensing data processing, and specifically relates to a method suitable for automatic measurement of cross-scale satellite linear array images. Background Art

[0002] Automatic measurement between cross-scale satellite line-array images is actually to obtain the same-name points through automatic image matching technology, which provides accurate and reliable image point coordinates for controlling positioning adjustment calculations. The data sources of automatic measurement between cross-scale satellite line-array images include line array images, small array images and high-precision digital base maps. After years of research, image matching technology has achieved many research results and proposed many methods for different types of images and data. At present, image matching technology at home and abroad mainly solves the registration of images of the same type. For multi-source remote sensing information, especially when they come from sensors with completely different properties, such as line arrays and arrays, or their imaging mechanisms, resolutions, image features, etc. are very different or even completely different, the registration problem between the two has not been solved, and the current implementation of the EFP method is semi-automatic. That is, the matching work of connecting points involves line arrays, small area arrays and high-precision digital base maps, and usually some manual intervention is required, and fully automatic measurement cannot be achieved. In addition, there are large differences in resolution and geometric orientation between the images to be registered, and even large image distortions or obvious geometric correction residual errors need to be matched. In addition, in actual processing, in addition to the different imaging mechanisms, line array images and small area array images also have large radiation differences, and the same ground objects have great differences, which increases the difficulty of high-precision image matching. For this reason, the present invention provides a method suitable for automatic measurement of cross-scale satellite line and area array images, which realizes automatic measurement between cross-scale satellite line and area array images and solves the problem that orientation points and connecting points cannot be automatically acquired in the EFP method. Summary of the invention

[0003] The object of the present invention is to provide a method suitable for automatic measurement of cross-scale satellite linear array images to solve the problems raised in the above background technology.

[0004] In order to achieve the above-mentioned object, the present invention provides the following technical solution: a method suitable for automatic measurement of cross-scale satellite line array images, the specific steps of the measurement method are:

[0005] Step 1: parse the input point information file to obtain point attribute information, including point type information and coordinate information;

[0006] Step 2: determine the point type. If the point is a directional point, obtain the linear image data of the directional point, including the image entity tiff file and the image rpc file.

[0007] Step 3: when the point is a connection point, obtain the linear array image data, small area array image data and high-precision digital base map data of the connection point;

[0008] Step 4: Pack each point information and the image data corresponding to the point into a task set;

[0009] Step 5: Repeat the above steps 1 to 4 until all points are traversed and create a task set for all points;

[0010] Step 6: The main process pushes all task packages to each sub-process;

[0011] Step 7: Determine the midpoint type of each subtask;

[0012] Step 8: Merge and save the task set contract name point pair file, and feed back the sub-process task status to the main process;

[0013] Step 9: The main process receives the return status of each subtask, and after each subtask is completed, merges the point pair files with the same name from each subprocess to generate a standard point file, and the process ends.

[0014] Preferably, the linear array image matching technology in step 1 includes:

[0015] A1, image correction based on projection difference model;

[0016] A2, resolution consistency processing based on dynamic pyramid resampling;

[0017] A3, dynamic threshold correlation coefficient matching;

[0018] A4, least squares matching.

[0019] Preferably, the image correction step based on the projection difference model specifically includes:

[0020] B1, adopts an image transformation algorithm based on DEM (digital elevation model) assistance; firstly, an image transformation model is estimated based on the imaging model, and auxiliary DEM data is introduced to eliminate the influence of projection difference and terrain change on the image template area;

[0021] B2, by adopting projection transformation; projecting the template area to a new viewing plane, considering the mapping from two-dimensional to three-dimensional, and then to another two-dimensional space, by introducing the RPC (rational polynomial coefficients) parameter file attached to the DEM data and the image.

[0022] Preferably, the specific steps of resolution consistency processing based on dynamic pyramid resampling include:

[0023] C1, adopts a dynamic pyramid creation strategy; that is, only dynamically generates pyramid data with consistent resolution in the template area that needs to be matched;

[0024] C2, using pixel averaging as the main generation method; by filtering and resampling the image multiple times, pyramid images of different scales are generated;

[0025] C3, the strategy of pyramid image matching draws on the biological process of people observing things from coarse to fine; matching starts from the top layer of the pyramid. Since the top layer image has been filtered many times, there are more low-frequency components and the parallax search range is smaller, so a rough matching result can be obtained quickly. The matching result of the previous layer is used as a "control" to guide the next layer of higher-frequency images for more precise matching or interpolation.

[0026] Preferably, the specific content of the dynamic threshold correlation coefficient matching is:

[0027] D1, adaptively select pyramid layers with the same or similar resolution to perform layer-by-layer correlation coefficient matching from low resolution to high resolution. In the pyramid matching process, the correlation coefficient matching adopts a dynamic matching threshold mechanism. The matching threshold of the pyramid layer with low resolution is low, and the matching threshold of the pyramid layer with high resolution is high.

[0028] D2, the matching principle of the correlation coefficient is: the target window is moved in a zigzag route in the search window to perform statistics on the correlation coefficient, and the position with the largest correlation coefficient is taken as the best matching point position.

[0029] Preferably, the specific contents of the least squares matching include:

[0030] The criterion for judging similarity in least squares image matching is that the sum of squares of grayscale differences is the smallest. Let the grayscale difference be v, and the formula is as follows:

[0031] ∑vv=min

[0032] In actual calculations, since the size of the image matching window is generally small, the affine transformation relationship is used to represent the geometric distortion between images, as shown in the following formula:

[0033]

[0034] Among them, a0, a1, a2 and b0, b1, b2 are the parameters for geometric deformation correction between the left and right images, that is, the affine transformation parameters, is the pixel coordinate of the left image window, and is the pixel coordinate of the right image window after affine transformation;

[0035] Considering the linear grayscale distortion of the left and right images at the same time, the following formula is obtained:

[0036] g(x,y)+n1(x,y)=h0+h1g2(a0+a1x+a2y,b0+b1x+b2y)+n2(x,y)

[0037] Where g(x,y) and g2(x2,y2) are grayscale functions, n1(x,y) and n2(x,y) are random noises; h0 and h1 are linear distortion parameters;

[0038] After linearizing the above formula, the least square matching error equation can be obtained, as shown in the following formula:

[0039] v=c1dh0+c2dh1+c3da0+c4da1+c5da2+c6db0+c7db1+c8db2-Δg

[0040] Among them, dh0, dh1, da0, ..., db2 are the correction values ​​of the parameters to be determined, Δ g is the grayscale difference of the corresponding pixels, and their initial values ​​are h0=0, h1=1, a0=0, a1=1, a2=0, b0=0, b1=0, b2=1. C1, C2, …, C8 are the coefficients of the error equation, as shown in the following formula, where is the grayscale difference of the image, g2 is the grayscale value, and x and y are the pixel coordinates;

[0041]

[0042] The matrix form of the error equation is as follows:

[0043] V=CX-L

[0044] Where C represents the error equation coefficient matrix, X represents the matrix of unknown parameter corrections, L represents the grayscale difference of the pixels in the window, as shown in the following formula, and T is the transpose of the matrix.

[0045]

[0046] Since the grayscale in image matching is a regular gridded discrete array and the sampling interval is regarded as a unit length, the partial derivative in the calculation can be replaced by the difference, as shown in the following formula:

[0047]

[0048] Least squares image matching is an algorithm that performs matching through iteration. At the beginning of the iteration, the initial values ​​of each parameter are h0=a0=a2=b0=b1=0, h1=a1=b2=1. ..., ...is the parameter of the i-1th deformation, ..., ...is the parameter correction value at the i-th iteration, then the i-th geometric distortion correction parameter value is as follows:

[0049]

[0050] The i-th radiation distortion correction parameter value is shown in the following formula:

[0051]

[0052] Since the accuracy of least squares matching is closely related to the grayscale gradient of the image, the left image can be accurately located by weighted averaging the coordinates using the square weight of the gradient, as shown in the following formula:

[0053]

[0054] in, and Represents the gradient of image grayscale;

[0055] According to the least squares image matching affine transformation, the precise coordinates of the same-name points in the right image can be obtained, as shown in the following formula.

[0056]

[0057] Preferably, the linear array image, planar array and high-precision digital base map matching technology is difficult to match based on correlation coefficient and least squares, but by utilizing the spatial context attributes and multi-directional spatial context features of the image, it can effectively solve the matching problem between the linear array image, planar array image and high-precision digital base map, wherein the specific contents include;

[0058] S1, multi-level multi-directional spatial context feature descriptor construction, creating multi-level feature descriptions by creating multi-level pyramid files for image files;

[0059] S2, Gaussian weighted smoothing, scans the spatial context channels in four directions at multiple levels pixel by pixel, and replaces the value of the central pixel with the weighted average eigenvalue of the pixels in the neighborhood determined by the Gaussian convolution kernel to obtain a new convolution multi-directional spatial context channel;

[0060] S3, feature normalization, the purpose of normalizing the features obtained by feature weighted smoothing is to reduce the impact of illumination changes, contrast changes and image distortion on descriptor matching performance;

[0061] S4, based on the similarity measure of three-dimensional correlation, uses the Fourier transform method to transform the feature template from the spatial domain to the frequency domain, and uses correlation as the similarity measure to accelerate template matching;

[0062] S5, based on MPI multi-process parallel acceleration, significantly reduces the execution time of the entire processing flow through parallel processing.

[0063] Preferably, in step seven, when it is determined that the midpoint of the subtask is an orientation point, a template area is established with each orientation point as the center, and then projection difference correction and pyramid resolution consistency processing are performed on the search areas corresponding to the rearview and frontview images according to RPC parameters and DEM auxiliary data.

[0064] Preferably, in step seven, when the midpoint of the subtask is judged to be a connection point, a template area is established with each connection point as the center, and projection difference correction and pyramid resolution consistency processing are performed on the rearview image, frontview image, small surface array and high-precision digital base map corresponding search area according to RPC parameters and DEM auxiliary data.

[0065] The beneficial effects of the present invention are as follows:

[0066] 1. The present invention significantly improves the technical level in the field of remote sensing data processing through a specially designed cross-scale satellite line-array image automatic measurement method, realizes the fully automatic measurement of orientation points and connection points in a single type of image, greatly reduces the need for manual intervention, improves processing efficiency, and can process image data from different scales and different sensor types. Whether it is a line array image, a small array image or a high-precision digital base map, the present invention can automatically find the same-name points between them, that is, orientation points and connection points through advanced feature extraction and matching algorithms, which greatly broadens the application scope of remote sensing data and provides more accurate and reliable data support for subsequent applications such as geographic information extraction and map making.

[0067] 2. The present invention extracts feature points from linear array images and small array images respectively, and describes these feature points using multi-level and multi-directional spatial context feature descriptors. Then, through an efficient feature matching algorithm, corresponding points of the same name can be found between two different types of images. Due to the accuracy and robustness of the feature descriptors, accurate points of the same name can be found even when the radiation difference is large, and automatic measurement of orientation points and connection points can be achieved. In addition, the present invention has good versatility and scalability. It can not only be applied to automatic measurement between linear array images and small array images, but also can be extended to other types of remote sensing image data. By continuously optimizing and improving the design of feature descriptors, the accuracy and efficiency of automatic measurement are improved, providing more powerful support for research and application in the field of remote sensing data processing.

[0068] 3. The present invention introduces a multi-process parallel acceleration mode architecture based on the message passing interface (MPI), and intelligently combines the directional points and connection points that need to be processed in the EFP method with the line array, small area array and high-precision digital base map to form multiple independent task subsets. Each task subset contains a specific number of directional points and connection points, as well as image data related thereto. Through the parallel distribution mechanism of MPI, the task subsets are assigned to multiple computing nodes for parallel processing, making full use of the powerful computing power of modern computing clusters. Each computing node can independently process one or more task subsets without waiting for the completion of other nodes. This parallel processing method can greatly reduce the overall processing time and improve data processing efficiency. Efficiency In addition, by optimizing the task distribution strategy and load balancing algorithm, it ensures that each computing node can bear the appropriate workload, avoiding resource waste and bottleneck effects. At the same time, by dynamically adjusting the allocation of computing resources, it can cope with data processing tasks of different scales and complexities. Compared with the previous manual assisted operation mode, the multi-process parallel acceleration mode architecture based on MPI can automatically complete the matching of directional points and connection points without manual intervention, thereby greatly reducing labor costs. Secondly, through parallel processing, it can process multiple task subsets at the same time, realize batch processing and high-throughput processing of data, and can also dynamically adjust the allocation of computing resources according to actual needs to adapt to data processing tasks of different scales and complexities. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 It is a flow chart of the technical solution of the present invention. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] like Figure 1 As shown, an embodiment of the present invention provides a method for automatic measurement of cross-scale satellite linear array images, and the specific steps of the measurement method are:

[0072] Step 1: parse the input point information file to obtain point attribute information, including point type information and coordinate information;

[0073] Step 2: determine the point type. If the point is a directional point, obtain the linear image data of the directional point, including the image entity tiff file and the image rpc file.

[0074] Step 3: when the point is a connection point, obtain the linear array image data, small area array image data and high-precision digital base map data of the connection point;

[0075] Step 4: Pack each point information and the image data corresponding to the point into a task set;

[0076] Step 5: Repeat the above steps 1 to 4 until all points are traversed and create a task set for all points;

[0077] Step 6: The main process pushes all task packages to each sub-process;

[0078] Step 7: Determine the midpoint type of each subtask;

[0079] Step 8: Merge and save the task set contract name point pair file, and feed back the sub-process task status to the main process;

[0080] Step 9: The main process receives the return status of each subtask, and after each subtask is completed, merges the point pair files with the same name from each subprocess to generate a standard point file, and the process ends.

[0081] Wherein, the linear array image matching technology in step 1 includes:

[0082] A1, image correction based on projection difference model;

[0083] A2, resolution consistency processing based on dynamic pyramid resampling;

[0084] A3, dynamic threshold correlation coefficient matching;

[0085] A4, least squares matching.

[0086] Among them, the image correction steps based on the projection difference model specifically include:

[0087] B1, adopts an image transformation algorithm based on the assistance of DEM (digital elevation model); firstly, an image transformation model is estimated based on the imaging model, and auxiliary DEM data is introduced to eliminate the influence of projection difference and terrain change on the image template area; specifically, the algorithm will perform image transformation on the template area of ​​the source image. This transformation model not only considers the linear change parameters and translation parameters of the affine transformation, but also fully considers the influence of the terrain. Through DEM data, the algorithm can correct the projection difference caused by terrain undulations, thereby eliminating the distortion of the image template area;

[0088] B2, by adopting projection transformation; the template area is projected onto a new viewing plane, considering the mapping from two-dimensional to three-dimensional, and then to another two-dimensional space. By introducing DEM data and the RPC (rational polynomial coefficients) parameter file attached to the image, the algorithm can correct the projection difference of the target area pixel by pixel, thereby obtaining the corrected target area. This transformation method can take into account the influence of terrain and objects, so that the image matching success rate in mountainous and high mountainous areas is higher, and the matching accuracy is also higher.

[0089] Among them, the specific steps of resolution consistency processing based on dynamic pyramid resampling include:

[0090] C1, adopts a dynamic pyramid creation strategy; that is, it dynamically generates pyramid data with consistent resolution only in the template area that needs to be matched. This greatly improves the efficiency of the matching process, and because the template area is usually small, the pyramid dataset can be directly stored in the memory without writing to the disk, further accelerating the matching speed;

[0091] C2 uses pixel averaging as the main generation method; by filtering and resampling the image multiple times, pyramid images of different scales are generated. The resolution of these pyramid images gradually increases from the top to the bottom, while the range of disparity search gradually decreases.

[0092] C1. The strategy of pyramid image matching draws on the biological process of people observing things from coarse to fine. Matching starts from the top layer of the pyramid. Since the top layer image has been filtered many times, there are more low-frequency components and the parallax search range is smaller, so a rough matching result can be quickly obtained. The matching result of the previous layer is used as a "control" to guide the next layer of higher-frequency images to perform more detailed matching or interpolation, and so on, layer by layer, until an accurate correlation result is obtained on the original image at the bottom layer.

[0093] Among them, the specific content of dynamic threshold correlation coefficient matching is:

[0094] D1, adaptively select pyramid layers with the same or similar resolution to perform layer-by-layer correlation coefficient matching from low resolution to high resolution. In the pyramid matching process, the correlation coefficient matching adopts a dynamic matching threshold mechanism. The matching threshold of the pyramid layer with low resolution is low, and the matching threshold of the pyramid layer with high resolution is high.

[0095] D2, the matching principle of the correlation coefficient is: the target window follows a zigzag route in the search window to count the correlation coefficient, and the position with the largest correlation coefficient is taken as the best matching point position. The correlation coefficient calculation formula is as follows:

[0096]

[0097]

[0098]

[0099] Among them, and are the corresponding pixel grayscale values ​​in the target window and the search window, i and j are the row and column coordinate numbers of the target window, r and c are the row and column coordinate numbers of the corresponding search window; and are the mean calculation formulas for the grayscale in the target window and the search window; is defined as the target window in the rearview image, with a size of (N=1, 2, 3...), is the search window in the frontview image, with a size of (M=1, 2, 3...). Under normal circumstances, the target window is traversed in the window in row and column order, and the normalized correlation coefficient is calculated. When it is the largest and greater than the given threshold, it is determined to be a homonymous point.

[0100] Among them, the specific contents of least squares matching include:

[0101] The criterion for judging similarity in least squares image matching is that the sum of squares of grayscale differences is the smallest. Let the grayscale difference be v, and the formula is as follows:

[0102] ∑vv=min

[0103] Generally, there is geometric deformation between two 2D images. Only by fully considering the geometric deformation of the images can the best image matching results be obtained. In actual calculations, since the size of the image matching window is generally small, the affine transformation relationship is used to represent the geometric distortion between images, as shown in the following formula:

[0104]

[0105] Among them, a0, a1, a2 and b0, b1, b2 are the parameters for geometric deformation correction between the left and right images, that is, the affine transformation parameters, are the pixel coordinates of the left image window, and are the pixel coordinates of the right image window after affine transformation.

[0106] Considering the linear grayscale distortion of the left and right images at the same time, the following formula is obtained:

[0107] g(x,y)+n1(x,y)=h0+h1g2(a0+a1x+a2y,b0+b1x+b2y)+n2(x,y)

[0108] Where g(x,y) and g2(x2,y2) are grayscale functions, n1(x,y) and n2(x,y) are random noises; h0 and h1 are linear distortion parameters.

[0109] After linearizing the above formula, the least square matching error equation can be obtained, as shown in the following formula:

[0110] v=c1dh0+c2dh1+c3da0+c4da1+c5da2+c6db0+c7db1+c8db2-Δg

[0111] Among them, dh0, dh1, da0, ..., db2 are the correction values ​​of the parameters to be determined, Δg is the grayscale difference of the corresponding pixels, and their initial values ​​are h0 = 0, h1 = 1, a0 = 0, a1 = 1, a2 = 0, b0 = 0, b1 = 0, b2 = 1. C1, C2, ..., C8 are the coefficients of the error equation, as shown in the following formula, where is the grayscale difference of the image, g2 is the grayscale value, and x and y are the pixel coordinates;

[0112]

[0113] The matrix form of the error equation is as follows:

[0114] V=CX-L

[0115] Where C represents the error equation coefficient matrix, X represents the matrix of unknown parameter corrections, L represents the grayscale difference of the pixels in the window, as shown in the following formula, and T is the transpose of the matrix.

[0116]

[0117] Since the grayscale in image matching is a regular gridded discrete array and the sampling interval is regarded as a unit length, the partial derivative in the calculation can be replaced by the difference, as shown in the following formula:

[0118]

[0119] Least squares image matching is an algorithm that performs matching through iteration. At the beginning of the iteration, the initial values ​​of each parameter are h0=a0=a2=b0=b1=0, h1=a1=b2=1. ..., ...is the parameter of the i-1th deformation, ..., ...is the parameter correction value at the i-th iteration, then the i-th geometric distortion correction parameter value is as follows:

[0120]

[0121] The i-th radiation distortion correction parameter value is shown in the following formula:

[0122]

[0123] Since the accuracy of least squares matching is closely related to the grayscale gradient of the image, the left image can be accurately located by weighted averaging the coordinates using the square weight of the gradient, as shown in the following formula:

[0124]

[0125] in, and Represents the gradient of image grayscale;

[0126] According to the least squares image matching affine transformation, the precise coordinates of the same-name points in the right image can be obtained, as shown in the following formula.

[0127]

[0128] Among them, the matching technology of line array images, area arrays and high-precision digital base maps is difficult to match based on correlation coefficients and least squares images, but by utilizing the spatial context attributes and multi-directional spatial context features of images, it can effectively solve the matching problem between line array images, area array images and high-precision digital base maps, among which the specific contents include;

[0129] S1, multi-level multi-directional spatial context feature descriptor construction, by creating a multi-level pyramid file for the image file to create a multi-level feature description, the present invention adopts a mean pyramid, for each pixel, the average of the four adjacent neighborhoods is taken to create a mean pyramid, generally created as 4 layers, and a single-level spatial context feature description is established on each layer of the pyramid;

[0130] S2, Gaussian weighted smoothing, scans the spatial context channels in four directions at multiple levels pixel by pixel, and replaces the value of the central pixel with the weighted average eigenvalue of the pixels in the neighborhood determined by the Gaussian convolution kernel to obtain a new convolution multi-directional spatial context channel;

[0131] S3, feature normalization. The purpose of normalizing the features obtained by weighted smoothing is to reduce the impact of illumination changes, contrast changes and image distortion on the descriptor matching performance and improve the robustness of the algorithm. After normalization, the multi-level and multi-directional feature descriptor constructed by this scheme can be obtained.

[0132] S4, based on the similarity measure of three-dimensional correlation, uses the Fourier transform method to transform the feature template from the spatial domain to the frequency domain, and uses correlation as the similarity measure to accelerate template matching;

[0133] S5, based on MPI multi-process parallel acceleration, can significantly reduce the execution time of the entire processing flow through parallel processing, especially when processing large-scale image data, its advantages are more obvious.

[0134] Among them, in step 7, when the midpoint of the subtask is judged to be an orientation point, a template area is established with each orientation point as the center, and then the projection difference correction and pyramid resolution consistency processing are performed on the search areas corresponding to the rearview and frontview images according to the RPC parameters and DEM auxiliary data. The template area performs correlation coefficient and least square matching in the search area to obtain matching point pairs, and the matching point pairs are eliminated for gross errors to obtain the correct same-name point pairs, and the optimal orientation point is selected according to the distance.

[0135] Among them, in step 7, when the midpoint of the subtask is judged to be a connection point, a template area is established with each connection point as the center. According to the RPC parameters and DEM auxiliary data, the rear-view image, the front-view image, the small surface array and the high-precision digital base map corresponding to the search area are corrected for projection differences and pyramid resolution consistency processing. Multi-level and multi-directional spatial context features are established for the target area and the search area, and feature matching is performed to obtain matching point pairs. The matching point pairs are eliminated for gross errors to obtain the correct same-name point pairs, and the optimal orientation point is selected according to the distance.

[0136] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0137] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for automatic measurement of cross-scale satellite line array images. Features: The specific steps of this measurement method are: Step 1: parse the input point information file to obtain point attribute information, including point type information and coordinate information; Step 2: determine the point type. If the point is a directional point, obtain the linear image data of the directional point, including the image entity tiff file and the image rpc file. Step 3: when the point is a connection point, obtain the linear array image data, small area array image data and high-precision digital base map data of the connection point; Step 4: Pack each point information and the image data corresponding to the point into a task set; Step 5: Repeat the above steps 1 to 4 until all points are traversed and create a task set for all points; Step 6: The main process pushes all task packages to each sub-process; Step 7: Determine the midpoint type of each subtask; Step 8: Merge and save the task set contract name point pair file, and feed back the sub-process task status to the main process; Step 9: The main process receives the return status of each subtask, and after each subtask is completed, merges the point pair files with the same name from each subprocess to generate a standard point file, and the process ends.

2. A method for automatic measurement of cross-scale satellite linear array images according to claim 1, Features: The linear array image matching technology in step 1 includes: A1, image correction based on projection difference model; A2, resolution consistency processing based on dynamic pyramid resampling; A3, dynamic threshold correlation coefficient matching; A4, least squares matching.

3. The method for automatic measurement of cross-scale satellite linear array images according to claim 2, Features: The image correction step based on the projection difference model specifically includes: B1, adopts an image transformation algorithm based on DEM (digital elevation model) assistance; firstly, an image transformation model is estimated based on the imaging model, and auxiliary DEM data is introduced to eliminate the influence of projection difference and terrain change on the image template area; B2, using projection transformation; projecting the template area to a new viewing plane, taking into account the mapping from two-dimensional to three-dimensional and then to another two-dimensional space, by introducing the RPC (rational polynomial coefficients) parameter file attached to the DEM data and the image.

4. The method for automatic measurement of cross-scale satellite linear array images according to claim 2, Features: The specific steps of resolution consistency processing based on dynamic pyramid resampling include: C1, adopts a dynamic pyramid creation strategy; that is, only dynamically generates pyramid data with consistent resolution in the template area that needs to be matched; C2, using pixel averaging as the main generation method; by filtering and resampling the image multiple times, pyramid images of different scales are generated; C3, starts matching from the top layer of the pyramid, quickly obtains a rough matching result, and uses the matching result of the previous layer as a "control" to guide the next layer of higher frequency images to perform more precise matching or interpolation.

5. The method for automatic measurement of cross-scale satellite linear array images according to claim 2, Features: The specific content of the dynamic threshold correlation coefficient matching is: D1, adaptively select pyramid layers with the same or similar resolution to perform layer-by-layer correlation coefficient matching from low resolution to high resolution. In the pyramid matching process, the correlation coefficient matching adopts a dynamic matching threshold mechanism. The matching threshold of the pyramid layer with low resolution is low, and the matching threshold of the pyramid layer with high resolution is high. D2, the matching principle of correlation coefficient is: the target window moves in a zigzag route in the search window to perform statistics on the correlation coefficient, and the position with the largest correlation coefficient is taken as the best matching point position.

6. The method for automatic measurement of cross-scale satellite linear array images according to claim 1, Features: The specific contents of the least squares matching include: The criterion for judging similarity in least squares image matching is that the sum of squares of grayscale differences is the smallest. Let the grayscale difference be v, and the formula is as follows: ∑vv=min In actual calculations, since the size of the image matching window is generally small, the affine transformation relationship is used to represent the geometric distortion between images, as shown in the following formula: Among them, a 0 、a 1 、a 2 and b 0 、b 1 、b 2 is the parameter for correcting the geometric deformation between the left and right images, i.e., the affine transformation parameter, is the pixel coordinate of the left image window, and is the pixel coordinate of the right image window after affine transformation; Considering the linear grayscale distortion of the left and right images at the same time, the following formula is obtained: g(x,y)+n 1 (x,y)=h 0 +h 1 g 2 (a 0 +a 1 x+a 2 y,b 0 +b 1 x+b 2 y)+n 2 (x,y) In the formula, g(x,y), g 2 (x 2 ,y2) is the grayscale function, n 1 (x,y),n 2 (x,y) is random noise; h 0 、h 1 is the linear distortion parameter; After linearizing the above formula, the least square matching error equation can be obtained, as shown in the following formula: v=c 1 dh 0 +c 2 dh 1 +c 3 da 0 +c 4 da 1 +c 5 da 2 +c 6 db 0 +c 7 db 1 +c 8 db 2 -Δg Among them, dh 0 , dh 1 , 0 , ..., db 2 is the correction value of the unknown parameter, Δ g is the grayscale difference of the corresponding pixels, and their initial value is h 0 =0,h 1 =1, a 0 =0, a 1 =1, a 2 =0, b 0 =0, b 1 =0, b 2 =1. C 1 , C 2 ,…,C 8 is the error equation coefficient, as shown in the following formula, where is the grayscale difference of the image, g 2 is the gray value, x and y are the pixel coordinates; The matrix form of the error equation is as follows: V=CX-L Among them, C represents the error equation coefficient matrix, X represents the matrix of undetermined parameter correction numbers, L represents the grayscale difference of the pixels in the window, as shown in the following formula, and T is the transpose of the matrix; Since the grayscale in image matching is a regular gridded discrete array and the sampling interval is regarded as a unit length, the partial derivative in the calculation can be replaced by the difference, as shown in the following formula: Least squares image matching is an algorithm that performs matching through iteration. The initial value of each parameter at the beginning of the iteration is h 0 =a 0 =a 2 =b 0 =b 1 =0,h 1 =a 1 =b 2 =1, let is the parameter of the i-1th deformation, is the parameter correction value at the i-th iteration, and the i-th geometric distortion correction parameter value is shown in the following formula: The i-th radiation distortion correction parameter value is shown in the following formula: Since the accuracy of least squares matching is closely related to the grayscale gradient of the image, the left image can be accurately located by weighted averaging the coordinates using the square weight of the gradient, as shown in the following formula: in, and Represents the gradient of the image grayscale; According to the least squares image matching affine transformation, the precise coordinates of the same-name points in the right image can be obtained, as shown in the following formula.

7. The method for automatic measurement of cross-scale satellite linear array images according to claim 2, Features: The linear array image, planar array and high-precision digital base map matching technology is difficult to match based on correlation coefficient and least squares images, but by utilizing the spatial context attributes and multi-directional spatial context features of the image, it can effectively solve the matching problem between the linear array image, planar array image and high-precision digital base map, wherein the specific contents include; S1, multi-level multi-directional spatial context feature descriptor construction, creating multi-level feature descriptions by creating multi-level pyramid files for image files; S2, Gaussian weighted smoothing, scans the spatial context channels in four directions at multiple levels pixel by pixel, and replaces the value of the central pixel with the weighted average eigenvalue of the pixels in the neighborhood determined by the Gaussian convolution kernel to obtain a new convolution multi-directional spatial context channel; S3, feature normalization, the purpose of normalizing the features obtained by feature weighted smoothing is to reduce the impact of illumination changes, contrast changes and image distortion on descriptor matching performance; S4, similarity measurement based on three-dimensional correlation, uses Fourier transform method to transform feature templates from spatial domain to frequency domain, and uses correlation as similarity measure to accelerate template matching; S5, based on MPI multi-process parallel acceleration, significantly reduces the execution time of the entire processing flow through parallel processing.

8. The method for automatic measurement of cross-scale satellite linear array images according to claim 1, Features: In the step 7, when it is determined that the midpoint of the subtask is an orientation point, a template area is established with each orientation point as the center, and then projection difference correction and pyramid resolution consistency processing are performed on the corresponding search areas of the rearview and frontview images according to the RPC parameters and DEM auxiliary data.

9. The method for automatic measurement of cross-scale satellite linear array images according to claim 1, Features: In the step 7, when the midpoint of the subtask is determined to be a connection point, a template area is established with each connection point as the center, and projection difference correction and pyramid resolution consistency processing are performed on the rear-view image, front-view image, small array and high-precision digital base map corresponding search area according to RPC parameters and DEM auxiliary data.