{'fraction_non_alphanumeric': 0.029480763215514544, 'fraction_numerical': 0.012589928057553957, 'mean_word_length': 4.760810810810811, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Accuracy and Efficiency: The Comparison of Different RPC Parameters Solving Methods

As a generalized sensor, the RPC model with its accuracy equally matches the physical sensor model. Moreover, the accurate positioning combining with the flexibility in application leads the RPC model to be the priority in photo-grammetry processing. Generally, the RPC model is calculated through a control grid. Different RPC parameters solving methods and the operation efficiency all serve as variables in the accuracy of the model. In this paper, the ridge estimation iterative method, spectrum correction iteration, and conjugate gradient method are employed to solve RPC parameters; the accuracy and efficiency of three solving methods are analyzed and compared. The results show that ridge estimation iterative method and spectrum correction iteration have obvious advantages in accuracy. The ridge estimation iterative method has fewer iteration times and time consumption, and spectrum correction iteration has more stable precision.


Introduction
Rational polynomial coefficients (RPC) model expresses the coordinates of image points via the ratio of ground coordinate polynomials a generalized sensor model and is a more generalized expression of the rigorous geometric model (Zhang & Liu, 2004;Grodecki & Dial, 2003). Tao and Hu (2001) introduce the solving principle and calculation process of the RPC model in his research and comes up with the least-squares of parameter solution. The positioning accuracy of the RPC model is evaluated by SPOT satellite image and aerial image, and the results show that its accuracy can approach the rigorous geometric model. Zhu, geometric correction of the GF-1 panchromatic image with high accuracy. RPC model is suitable for all kinds of sensors and has a strong application prospect.
The accuracy and efficiency of parameters solving methods become the focus of research.
In the process of RPC parameters solving methods, a large number of RPC parameters are related to each other. The coefficient matrix of the normal equation constructed is ill-conditioned and irreversible, which makes the least-squares adjustment unable to get a high-precision stable solution. Therefore, the following three frequently-used solving methods on the least-squares appear. Among them, ridge estimation (Yuan & Lin, 2008) modifies the state of the RPC model and ensures the stability of the solution by changing the equation equivalence relationship. For the experimental verification of SPOT image and Quick Bird image, ridge estimation based on L-curve method can effectively change the ill-condition of the normal matrix and the positioning accuracy of the RPC model. Spectrum correction iteration [Wang & Liu, 2002;Wang, Liu, & Huang, 2003] which adopts the idea of unbiased estimation estimates the parameters of the RPC model without changing the equation equivalence. Experiments indicate that the method can obtain stable results and is suitable for solving large-scale equations. The conjugate gradient method [Gu, Gui, Zhang, & Wei, 2014;Zhang, 2015] is commonly used in optimization and is suitable for solving large-scale equation optimization problems. It avoids the inversion of the normal matrix by solving iteratively. To overcome the ill condition of the normal matrix, the above algorithms intend to solve the ill condition of the model from different aspects, to obtain a stable solution. In this paper, ridge iterative estimation method, spectrum correction iteration and conjugate gradient method are studied in depth to form an objective and comprehensive comparative analysis, and the TH-1 three-line-array down view image and high-resolution segmented mosaic image are used to verify, and the accuracy and efficiency of different methods are comprehensively compared.

Definition
RPC model connects image coordinate ( , r c ) with corresponding ground coordinate ( , , P L H ) in the form of polynomial ratio [Liu, 2003;Meng, 2015]. To reduce the errors in the course of calculation and enhance the stability of the solution, the image coordinates and ground coordinates are normalized to the range of (−1, 1). RPC model is defined as follows:

RPC Model Parameter Solution
The steps to build a virtual control point grid are as follows: 1) According to the size of the image, establish the uniformly distributed image grid points.
2) Obtain the maximum and minimum elevation value of the image coverage area by using DEM data, and layer uniformly within the elevation range to get the elevation value of each layer.
3) According to the rigorous imaging geometry model, the coordinates of ground points corresponding to each image grid point on each elevation plane are solved (Zhang & Li, 2007).
After the coordinates are normalized by Equation (6), the RPC parameters can be solved. We can transform Equation (1) as Then the error equation is where By the least-squares algorithm, the normal equation is displayed in Equation (9): Simplify Equation (9) to: where ; LS estimation of unknown parameter X is calculated as: When the least-squares algorithm is employed, the normal equation is ill-conditioned because of the huge condition number of the normal matrix. The inversion of the normal matrix is not stable, so it is difficult to get a better least squares estimation. The following describes three RPC solving methods used in this paper.

Ridge Estimation Iterative Method Based on the L-Curve Method
Ridge estimation is an improved biased estimation of the least-squares algorithm. The narrow ridge estimation of the parameter is: where k is the ridge parameter, usually positive decimal; I is the unit matrix; 0 X is the ridge estimator of the ridge parameter.
It can be proved that there is always a value that makes (MSE is the mean square error). That is, for a linear model, there is always a positive decimal k, which makes 0 X better than the least square estimation.
Therefore, the key problem of ridge estimation is to find the optimal value k. The L-Curve method is to utilize lg AX L −   as abscissa λ and lg X   as ordinate φ to draw a graph. Abscissa and ordinate are all functions of k, which fit a curve (Wang & Ou, 2004). i.e., Equation (13),  is the Euclidean two norm, which is the same below; The optimal solution k is at the maximum curvature of the curve. The calculation formula is as follows where ' λ , '' λ , ' φ and '' φ represent the first and second-order forms of the Journal of Geoscience and Environment Protection derivatives of λ and φ respectively. The L-curve method is used to obtain the approximate optimal ridge parameter k, which emphasizes the balance between the data fitting part 2 AX L −   and the part 2 X   . Generally, the ridge estimation method cannot obtain the last levels square error through a single solution, so the iterative method is used to substitute the parameter estimation into the model. Then the ridge estimation method is used to solve the parameter (Wu & Lu, 2019). By substituting 0 X into Equation (8) where 1 m X + and m X are the iteration values of unknown parameters. The purpose of ridge estimation is to diminish the mean square error and make the coefficient test better, but its disadvantage is that the estimator is biased. Equation (12) adds kI to the normal matrix N and the introduction of kI changes the unbiasedness of the least-squares estimator into a biased estimator. The larger k is, the larger the deviation is. The mean square error can be effectively reduced and the stability of parameter estimation can be improved by an iterative solution.

Spectrum Correction Iteration
Now add the parameter solution to both sides of Equation (10) simultaneously, Since the symmetric positive characterization of N, there is no matter in a good or ill condition, ( ) Rank N I n + = is always true, i.e., N I + is a full rank square matrix.
It is noted that both sides of Equation (16) have a parameter X, so it can be solved iteratively as follows: where ( ) n X and ( 1) n X − are the iteration. Equation (17) is the spectrum correction iteration.
Adding X to both ends of Equation (10)

Conjugate Gradient Method
When the linear equations are large-scale equations, the conjugate gradient method is a commonly used effective solution. The steps are as follows: Step 1: Select the initial value 0 X .
Step 2 Step 3: For 1, 2, , k n =  , repeat the following iterative process: Calculate ( 2 ⋅   is the second norm of the European formula), stop iteration and go to step 4. Otherwise, continue iteration.
Step 4: Put the last X + as the approximate solution The conjugate gradient iterates along the gradient direction to find the local optimal solution and obtains the optimal solution of the equations after finite iterations [Li, 2018]. In the process of solving, the inverse of the matrix is avoided.

Experiment and Result Analysis
The experimental hardware environment is Dell G7, CPU main frequency 2.60 G, and 16 G memory. The software platform is Windows 10 and VS 2015.

Experimental Data
To compare the accuracy and efficiency of the three RPC parameters solving methods mentioned in this paper, two TH-1 remote sensing images are selected as experimental data. The first image is a three-line-array nadir image covering Henan Province obtained in 2014, with a size of 12,000 pixels × 12,000 pixels and a ground resolution of 5 m. 8 ground points are accurately measured as control points of image. The accuracy of these points is better than 2 cm, and their distribution is shown in Figure 1(a). The second image is the regional high-resolution segmented mosaic image of Henan Province taken in 2016.
There are 8 segments in total, each of which is 35,000 pixels × 4096 pixels in size.
The ground resolution is 2 m, including 23 ground control points with measurement accuracy better than 2 cm (Figure 1(b)).

Accuracy Verification
In the experiment, the third-order RPC model with different denominators is used, and the RPC parameters solving experiment is carried out under the conditions of establishing the three-line-array image and high-resolution rigorous image respectively. In this paper, three methods are used for RPC parameters solving to test their efficiency. For 8 segments of the high-resolution image, each segment uses a rigorous imaging model to establish virtual control points and then conduct RPC solving respectively to test the accuracy of the RPC model of each segment. The test method is to take the control point (Figure 1)  It can be seen from Table 1 and Figure 2 that: 1) The accuracy of the three methods in the column direction is higher than that in the row direction, which may be caused by the small errors such as platform flutter that affect the positioning quality in the row direction.
2) The positioning accuracy of the ridge estimation iteration method and the spectrum correction iteration is better, and the accuracy of spectrum correction iteration reaches 10 −2 pixel in the row direction and 10 −3 pixel in the column direction.
3) The positioning accuracy of the control points is observed, and there are different degrees of fluctuation between ridge estimation iteration and conjugate gradient method, and the performance of spectrum correction iteration is relatively stable, which may be related to the unbiased estimation characteristics, which is closer to the true value after iteration.
The solution time and the number of iterations is shown in Table 2, and the   solution time is the shortest when the number of iterations of the ridge estimation iteration method is less; the time of the spectrum correction iteration is longer than that of the ridge estimation iteration method. Compared with the other two methods, the conjugate gradient method has lower efficiency in solving time and iterations.

Summary and Prospect
In this paper, three parameters solving methods are used to calculate the parameters of the RPC model, which are ridge estimation iterative method, spectrum correction iteration, and conjugate gradient method. The verification of TH-1 satellite three-line-array nadir image and high-resolution mosaic image data shows that the ridge estimation iterative method and spectrum correction iteration have obvious advantages in the accuracy of the solution and can better improve the positioning accuracy of RPC model. The advantage of the ridge estimation iterative method is that the number of iterations is less and the time is shorter. The advantage of the spectrum correction iteration is an unbiased estimation and the accuracy is more stable. The next step is to study the error propagation law between parameters, further improve the accuracy of the model solution, and improve the efficiency of large-scale ill-conditioned equation solutions.