A 3D SAR solution method based on GPU acceleration

By converting the SAR three-dimensional reconstruction problem into a very large system of equations and performing parallel calculations on the GPU, the problem of low computational efficiency of traditional CPUs is solved, a significant increase in calculation speed is achieved, and the problem of long SAR three-dimensional solution time is solved.

CN114419263BActive Publication Date: 2024-10-18SUZHOU AEROSPACE INFORMATION RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111592510.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2024-10-18
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

The SAR stereo three-dimensional solution method running on the traditional CPU is inefficient, has a huge amount of calculation, and takes a long time to solve. Existing research has not yet used GPU acceleration technology to optimize SAR three-dimensional solution.

Method used

Convert the three-dimensional SAR three-dimensional reconstruction problem into a very large system of equations solution problem, and use the GPU to perform parallel calculations. The matrix is ​​expressed in tensor form and calculated in the GPU. The Pytorch optimizer is used to perform iterative calculations until the iteration meets the stopping conditions. .

Benefits of technology

The time complexity is significantly reduced from O(m*n) to O(m), which greatly improves the three-dimensional reconstruction efficiency of stereoscopic SAR and accelerates the calculation speed by 106 times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114419263B_ABST
    Figure CN114419263B_ABST
Patent Text Reader

Abstract

The present invention discloses a SAR stereo solution method based on GPU acceleration, including constructing an equation group based on a slant range-Doppler model, changing the solution problem of the equation group to an objective function optimization solution problem, performing simultaneous calculation of multiple points to be solved, converting the three-dimensional reconstruction problem of the region into a super-large equation group solution problem and a GPU acceleration method. The method of the present invention reduces time consumption, greatly improves the efficiency of stereo SAR three-dimensional reconstruction, and speeds up the calculation speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of three-dimensional reconstruction of spaceborne synthetic aperture radar (SAR) images, and in particular to a three-dimensional SAR solution method based on GPU acceleration. Background Art

[0002] Three-dimensional reconstruction is the goal pursued by many earth observation imaging systems, including SAR, that is, to obtain high-precision three-dimensional structures and complete image information of scenes and targets through SAR three-dimensional reconstruction. Stereo SAR is one of the most common SAR three-dimensional reconstruction methods. It only requires two or more SAR data from different angles as input and has no special requirements for the SAR system. Stereo SAR matches the same-name points of SAR images at different angles, combines the range-Doppler equation, and solves the position in the sense of least squares fitting.

[0003] Since the range Doppler model of SAR stereo imaging is a nonlinear model, the three-dimensional position of the target is generally solved by the Newton iterative solution method under this model, which has many iterations and huge calculation amount. The traditional solution running on the CPU takes a long time to solve and is inefficient.

[0004] At present, some studies have applied the high-performance computing capabilities of GPU in SAR data processing to accelerate the processing of SAR data. However, these studies are mainly focused on SAR echo simulation, imaging, etc., and no relevant research results have been seen in the three-dimensional solution of SAR. For example, in the literature [Liang Yi, Xing Mengdao, Du Fan, et al. Synthetic aperture radar echo simulation method based on GPU:.], the authors proposed a synthetic aperture radar echo simulation method based on GPU, using a frequency domain algorithm based on concentric circles to further improve the performance of echo simulation and shorten the simulation time. In the literature [Meng Dadi, Hu Yuxin, Ding Chibiao. A GPU-based SAR efficient imaging processing algorithm [J]. Journal of Radar, 2013.], an efficient method for SAR imaging on GPU is proposed. Compared with the general GPU processing method, this method reduces the CPU-GPU round-trip data transmission from 4 to 1 during the processing process, and simultaneously utilizes the CPU and GPU computing resources on the workstation, greatly improving the speed of SAR imaging processing. In the literature [Zhang Xiaoling, Pu Liming, Shi Jun, et al. A fast frequency domain back-projection three-dimensional imaging method based on GPU, 2018.], the authors proposed the ability to schedule the rich hardware resources of the graphics processor GPU by using a single-program-multiple-data instruction mode, so that one thread in the graphics processor GPU is responsible for a spectrum grid point, and the back-projection values ​​of the current frequency domain grid point in all array directions are calculated and accumulated in parallel in each thread, and finally a three-dimensional SAR image is obtained through a three-dimensional inverse Fourier transform, thereby greatly improving the operating efficiency of the back-projection algorithm.

[0005] In short, the current application of GPU's high-performance computing capabilities in SAR data processing is mainly focused on areas such as echo simulation and imaging. There are no related applications that use GPU acceleration in stereo SAR solution.

[0006] SAR is an active remote sensor, and its lateral image coordinates depend on the propagation time of the radar wave between the antenna and the corresponding ground object point, that is, the spatial distance R from the antenna to the ground object point, so the side-looking radar has the property of slant range projection. At the same time, SAR is synthetic aperture focusing imaging, which conforms to the Doppler physical model. Therefore, based on the slant range measurement and Doppler principle of SAR, a positioning method that conforms to the imaging mechanism of SAR itself can be obtained. Within a range scanning line, any point on the slant range image should meet the following distance and Doppler conditions:

[0007]

[0008] The SAR images obtained from two or more observation angles are combined to obtain the three-dimensional position solution. For n observed images, after matching, the pixels of the target point (X, Y, Z) in each image are obtained, and the corresponding slant range and the corresponding satellite position and velocity parameters can be obtained, so that the equations can be combined, that is:

[0009]

[0010] In the above equations, the three components of the target point coordinates (X, Y, Z) are unknown quantities, and the remaining parameters are known quantities, among which, They are the components of the satellite position on the X-axis at the moment of imaging of n images; They are the components of the satellite position on the Y axis at the moment of imaging of n images; They are the components of the satellite position on the Z axis at the moment of imaging of n images; They are the components of the satellite velocity on the X-axis at the time of imaging of n images; They are the components of the satellite velocity on the Y axis at the time of imaging of n images; They are the components of the satellite velocity on the Z axis at the moment of imaging of n images; are the Doppler center frequencies at the time of imaging of n images; λ represents the radar wavelength; R1, R2, ..., R n are the distances between the satellite position and the target point at the moment of imaging of the n images.

[0011] For traditional algorithms on CPU, to perform 3D reconstruction in an area, it is necessary to establish the above equation for each point in the area and perform point-by-point calculations. The calculation of each point is generally achieved through the Newton iterative solution method, which has many iterations. In addition, the amount of point data is huge when performing regional 3D reconstruction. The amount of calculation using linear point-by-point calculations is very huge. Using traditional CPU calculation methods, the time complexity is O(m*n), where m is the number of iterations and n is the number of image points in the area. The CPU calculation process consumes a lot of time. Summary of the invention

[0012] The purpose of the present invention is to provide a three-dimensional SAR solution method based on GPU acceleration to solve the problems of long solution time and low efficiency caused by CPU linear calculation in traditional solutions.

[0013] The technical solution to achieve the purpose of the present invention is: a three-dimensional SAR solution method based on GPU acceleration, comprising the following steps:

[0014] Step 1: The four equations for single-point stereo spaceborne synthetic aperture radar (SAR) positioning are changed into a single equation for solving the objective function, and all image points in the area to be solved are solved simultaneously, that is, the three-dimensional reconstruction problem of the area is converted into a very large equation solution problem;

[0015] Step 2: Convert the matrix expression of the super-large equation group into tensor form and put the tensor from the memory into the GPU;

[0016] Step 3: In the first iteration, the latitude and longitude of the center point of the main scene image and the average elevation of the scene are used as the initial values ​​of the iteration, and the equations are substituted for calculation. After the calculation results are obtained, the gradient is calculated, and the parameters are back-propagated to update the iteration value.

[0017] Step 4, repeat the process of step 3 until the iteration meets the stopping condition; that is, the number of iterations reaches the set maximum number of iterations or the maximum iteration increment gradNorm (Δx, Δy, Δz) in the equation group is less than the set minimum value;

[0018] Step 5: After the iteration stops, the iteration result is taken out from the GPU and saved locally, that is, the 3D reconstruction result of the area is obtained. The 3D reconstruction result is stored line by line in the form of (latitude, longitude and altitude); then it is written out in geotiff format and can be viewed in third-party software.

[0019] Furthermore, the specific implementation process of step 1 is as follows:

[0020] For any point in the master image, assuming that the point number is i, and the pixel position of the point in the master image and the slave image is known, the corresponding slant range and satellite position and velocity parameters of the point in the master image and the slave image are obtained, and then the following equations are listed based on the range-Doppler principle simultaneous equations:

[0021]

[0022] Among them, (X, Y, Z) is the geographic space coordinates of the target point to be found, (X 1i ,Y 1i ,Z 1i ) and (X 2i ,Y 2i ,Z 2i ) is the satellite position in the main image and the slave image corresponding to the target point at the imaging time, R 1i and R 2i is the slant distance between the main image and the slave image corresponding to the target point at the imaging moment, (VX 1i ,VY 1i ,VZ 1i ) and (VX 2i ,VY 2i ,VZ2i ) is the velocity component of the satellite in three directions in the main image and the slave image corresponding to the target point at the imaging time, f D1i and f D2i is the Doppler center frequency used for imaging, λ 1i and λ 2i is the corresponding wavelength;

[0023] The solution of the three-dimensional position (X, Y, Z) of the target point in the WGS84 coordinate system is changed into the form of the objective function, that is, it is converted into an unconstrained solution problem for the following objective function;

[0024] min(f i1 2 +f i2 2 +f i3 2 +f i4 2 ),in

[0025]

[0026] Assuming that there are n image points in the area, the three-dimensional coordinates of all points to be solved are represented by the following matrix:

[0027]

[0028] When computing resources are sufficient, all points are combined at once to obtain a large set of equations as shown below, which converts the 3D reconstruction problem of the region into a large set of equations solution problem:

[0029]

[0030] Furthermore, in step 3,

[0031] The initial value of the matrix iteration is the coordinate of the center point of the main image; the calculation result F of the first step of the iteration is obtained step1 , use Pytorch's built-in optimizer to calculate the gradient, where x is the initial value, a 3*n matrix, n is the number of image points in the region, lr is the learning rate, momentum is the momentum gradient descent accuracy, optimizer = torch.optim.SGD (parameters = [x], lr = 0.01, momentum = 0.9)

[0032] Perform parameter backpropagation on the calculation results and update the initial value of the iteration

[0033] F step1 .sum().backward(retain_graph=True)

[0034] optimizer.step().

[0035] Compared with the prior art, the present invention has the following significant advantages: (1) By converting point-by-point linear operations into large parallel equations and accelerating them with GPU, the time complexity of the regional equations is improved from O(m*n) to O(m), where m is the number of iterations and n is the number of image points in the region. This is a typical example of using space to trade time, which reduces time consumption and greatly improves the efficiency of stereo SAR 3D reconstruction. (2) A large number of complex matrix calculations are handled by parallel GPUs, which greatly speeds up the calculation speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flow chart of the three-dimensional solution method of stereo SAR based on GPU acceleration of the present invention.

[0037] Figure 2 It is the three-dimensional reconstruction result of the experimental area of ​​the present invention. DETAILED DESCRIPTION

[0038] GPU general computing has become an effective means of data processing due to its strong floating-point computing performance and parallel computing capabilities. The present invention reconstructs the traditional RD solution process. First, the problem of solving the four sets of equations for single-point stereo SAR positioning is changed into the problem of solving the objective function of a single set of equations, and all image points in the area to be solved are solved simultaneously, that is, the three-dimensional reconstruction problem of the area is converted into a problem of solving a super-large set of equations, and data preparation and logic construction are performed. The data is then converted into a tensor form and put into the GPU for mathematical operations, and then the operation results in the GPU are taken out and saved locally.

[0039] The present invention provides a three-dimensional solution method for stereo SAR based on GPU acceleration. Based on the slant range-Doppler model, the equation group is constructed and converted into the objective function optimization solution form. Multiple points to be solved in the region are combined to convert the three-dimensional reconstruction problem of the region into a super-large equation group solution problem. After completing data preparation and logic construction, the data is converted into a tensor form and put into the GPU for mathematical operation, and then the operation results in the GPU are taken out and saved locally.

[0040] Combination Figure 1 The specific implementation process of this method is as follows:

[0041] Step 1: For any point in the master image, assuming that the point number is i, the pixel position of the point in the master image and the slave image is known, and the corresponding slant range and satellite position and velocity parameters of the point in the master image and the slave image can be obtained. Based on the range-Doppler principle, the equations can be combined to form the following equations:

[0042]

[0043] Among them, (X, Y, Z) is the geographic space coordinates of the target point to be found, (X 1i ,Y 1i ,Z 1i ) and (X 2i ,Y 2i ,Z 2i ) is the satellite position in the main image and the slave image corresponding to the target point at the imaging time, R 1i and R 2i is the slant distance between the main image and the slave image corresponding to the target point at the imaging moment, (VX 1i ,VY 1i ,VZ 1i ) and (VX 2i ,VY 2i ,VZ 2i ) is the velocity component of the satellite in three directions in the main image and the slave image corresponding to the target point at the imaging time, f D1i and f D2i is the Doppler center frequency used for imaging, λ 1i and λ 2i is the corresponding wavelength.

[0044] The solution of the three-dimensional position is converted into the form of an objective function, which is converted into an unconstrained solution problem for the following objective function. That is, to find (X, Y, Z) so that the above objective function (the sum of the squares of the slant range errors and the sum of the squares of the azimuth errors under all observations) is minimized.

[0045] min(f i1 2 +f i2 2 +f i3 2 +f i4 2 ),in

[0046]

[0047] Assuming that there are n image points in the area, the three-dimensional coordinates of all points to be solved can be represented by the following matrix:

[0048]

[0049] When there are sufficient computing resources, all points can be combined at once to obtain a large set of equations as shown below, which converts the three-dimensional reconstruction problem of the area into a large set of equations. The number of equations contained in this large set of equations can reach tens of millions or more.

[0050]

[0051] Step 2: Represent the matrix as a tensor and put it into the GPU. Before using the GPU, you can make sure that the GPU is available. Then transfer the data from the memory to the GPU directly using the method .to(device) or .cuda(). device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu");

[0052] Step 3: The initial value of the matrix iteration can be the coordinates of the center point of the main image. The calculation result F of the first step iteration is obtained step1 , use Pytorch's built-in optimizer to calculate the gradient, where x is the initial value, a 3*n matrix, n is the number of image points in the area, lr is the learning rate, and momentum is the momentum gradient descent accuracy. The introduction of this algorithm can accelerate convergence and improve convergence accuracy.

[0053] optimizer=torch.optim.SGD(parameters=[x],lr=0.01,momentum=0.9)

[0054] Perform parameter backpropagation on the calculation results and update the initial value of the iteration

[0055] F step1 .sum().backward(retain_graph=True)

[0056] optimizer.step()

[0057] Step 4: Repeat the above process until the iteration meets the stopping condition, such as the number of iterations reaches the set maximum number of iterations (such as 20000) or the maximum iteration increment gradNorm (Δx, Δy, Δz) in the equation group is less than the set minimum value (such as 0.01).

[0058] Step 5: After the iteration stops, the iteration result is taken out from the GPU and saved locally, that is, the 3D reconstruction result of the area is obtained. The 3D reconstruction result is stored line by line in the form of (latitude, longitude and altitude) and can be viewed in third-party software such as (Arcgis, GlobalMapper, etc.).

[0059] Combination Figure 2, two scenes of GF3 beamforming mode data were selected for the experiment, and the image size was 8000*7000 pixels. The experimental machine was Win7 system, CPU was e6-2683v3*4, memory was 64G, and the traditional CPU operation method was used. It took 49564.9 seconds to process the data in this area. The data was transferred from the memory to the GPU memory. The GPU model was RTX8000, and the memory was 48GB. This method only took 466.8s to process the same size of data, and the acceleration effect reached 106 times. The following figure shows the three-dimensional reconstruction result of the stereo SAR in this area.

[0060] In summary, the method of the present invention first changes the problem of solving the four sets of equations for single-point stereo SAR positioning into the problem of solving the objective function of a single set of equations, and performs the simultaneous solution of all image points in the area to be solved, that is, converting the three-dimensional reconstruction problem of the area into a problem of solving a very large set of equations. Compared with the traditional point-by-point operation of the CPU, the present invention proposes a three-dimensional solution method for stereo SAR based on GPU acceleration. The acceleration part based on the GPU is mainly implemented based on Pytorch, which converts the three-dimensional reconstruction problem of the area from the original point-by-point matrix operation to the problem of solving a very large set of equations, greatly improving the speed of three-dimensional reconstruction based on stereo SAR and changing the traditional point-by-point solution method of three-dimensional solution.

Claims

1. A three-dimensional SAR solution method based on GPU acceleration, characterized in that: The following steps are involved: Step 1: The four equations for single-point stereo spaceborne synthetic aperture radar (SAR) positioning are changed into a single equation for solving the objective function, and all image points in the area to be solved are solved simultaneously, that is, the three-dimensional reconstruction problem of the area is converted into a very large equation solution problem; The specific implementation process of step 1 is as follows: For any point in the master image, assuming that the point number is i, and the pixel position of the point in the master image and the slave image is known, the corresponding slant range and satellite position and velocity parameters of the point in the master image and the slave image are obtained, and then the following equations are listed based on the range-Doppler principle simultaneous equations: Among them, (X, Y, Z) is the geographic space coordinates of the target point to be found, (X 1i ,Y 1i ,Z 1i ) and (X 2i ,Y 2i ,Z 2i ) is the satellite position in the main image and the slave image corresponding to the target point at the imaging time, R 1i and R 2i is the slant distance between the main image and the slave image corresponding to the target point at the imaging moment, (VX 1i ,VY 1i ,VZ 1i ) and (VX 2i ,VY 2i ,VZ 2i ) is the velocity component of the satellite in three directions in the main image and the slave image corresponding to the target point at the imaging time, f D1i and f D2i is the Doppler center frequency used for imaging, λ 1i and λ 2i is the corresponding wavelength; The solution of the three-dimensional position (X, Y, Z) of the target point in the WGS84 coordinate system is changed into the form of the objective function, that is, it is converted into an unconstrained solution problem for the following objective function; min(f i1 2 +f i2 2 +f i3 2 +f i4 2 ),in Assuming that there are n image points in the area, the three-dimensional coordinates of all points to be solved are represented by the following matrix: When computing resources are sufficient, all points are combined at once to obtain a large set of equations as shown below, which converts the 3D reconstruction problem of the region into a large set of equations solution problem: Step 2: Convert the matrix expression of the super-large equation group into tensor form and put the tensor from the memory into the GPU; Step 3: In the first iteration, the latitude and longitude of the center point of the main scene image and the average elevation of the scene are used as the initial values ​​of the iteration, and the equations are substituted for calculation. After the calculation results are obtained, the gradient is calculated, and the parameters are back-propagated to update the iteration value. Step 4: Repeat step 3 until the iteration meets the stopping condition; Step 5: After the iteration stops, the iteration result is taken out from the GPU and saved locally, that is, the 3D reconstruction result of the area is obtained. The 3D reconstruction result is stored line by line in the form of (latitude, longitude and altitude).

2. The GPU-accelerated 3D SAR three-dimensional solution method according to claim 1, characterized in that: In step 3, The initial value of the matrix iteration is the coordinate of the center point of the main image; the calculation result F of the first step of the iteration is obtained step1 , use Pytorch's built-in optimizer to calculate the gradient, where x is the initial value, a 3*n matrix, n is the number of image points in the region, lr is the learning rate, momentum is the momentum gradient descent accuracy, optimizer = torch.optim.SGD (parameters = [x], lr = 0.01, momentum = 0.9) Perform parameter backpropagation on the calculation results and update the initial value of the iteration F step1 .sum().backward(retain_graph=True) optimizer.step().

3. The GPU-accelerated 3D SAR solution method according to claim 1, characterized in that: In step 4, the above process is repeated until the iteration meets the stopping condition, that is, the number of iterations reaches the set maximum number of iterations or the maximum iteration increment gradNorm (Δx, Δy, Δz) in the equation group is less than the set minimum value.

4. The GPU-accelerated 3D SAR solution method according to claim 1, characterized in that: In step 5, after the iteration stops, the iteration result is taken out from the GPU and saved locally, that is, the 3D reconstruction result of the area is obtained. The 3D reconstruction result is stored line by line in the form of (latitude, longitude and altitude), and then written out in geotiff format, which can be viewed in third-party software.

Citation Information

Patent Citations

  • Satellite-borne SAR time parameter calibration method based on direct positioning algorithm

    CN110865346A

  • GPU parallel acceleration satellite image block adjustment method and device

    CN111722922A