Yaming Wang1, Lingling Tong2, Mingfeng Jiang3, Junbao Zheng4. 1. School of Information Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China. ywang@zstu.edu.cn. 2. School of Information Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China. 15705811142@163.com. 3. School of Information Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China. m.jiang@zstu.edu.cn. 4. School of Information Science and Technology, Zhejiang Sci-Tech University, Hangzhou 310018, China. zhengjunbao@zstu.edu.cn.
Abstract
In this paper, the problem of non-rigid structure estimation in trajectory space from monocular vision is investigated. Similar to the Point Trajectory Approach (PTA), based on characteristic points' trajectories described by a predefined Discrete Cosine Transform (DCT) basis, the structure matrix was also calculated by using a factorization method. To further optimize the non-rigid structure estimation from monocular vision, the rank minimization problem about structure matrix is proposed to implement the non-rigid structure estimation by introducing the basic low-rank condition. Moreover, the Accelerated Proximal Gradient (APG) algorithm is proposed to solve the rank minimization problem, and the initial structure matrix calculated by the PTA method is optimized. The APG algorithm can converge to efficient solutions quickly and lessen the reconstruction error obviously. The reconstruction results of real image sequences indicate that the proposed approach runs reliably, and effectively improves the accuracy of non-rigid structure estimation from monocular vision.
In this paper, the problem of non-rigid structure estimation in trajectory space from monocular vision is investigated. Similar to the Point Trajectory Approach (PTA), based on characteristic points' trajectories described by a predefined Discrete Cosine Transform (DCT) basis, the structure matrix was also calculated by using a factorization method. To further optimize the non-rigid structure estimation from monocular vision, the rank minimization problem about structure matrix is proposed to implement the non-rigid structure estimation by introducing the basic low-rank condition. Moreover, the Accelerated Proximal Gradient (APG) algorithm is proposed to solve the rank minimization problem, and the initial structure matrix calculated by the PTA method is optimized. The APG algorithm can converge to efficient solutions quickly and lessen the reconstruction error obviously. The reconstruction results of real image sequences indicate that the proposed approach runs reliably, and effectively improves the accuracy of non-rigid structure estimation from monocular vision.
Recently, non-rigid structure estimation from monocular vision, which can recover the time varying 3D coordinates of points on a non-rigid object from their 2D places in a video sequence, has become a popular research topic. Generally, two major methods, i.e., the trajectory basis method and shape basis method, are often used to solve non-rigid structure estimation problems. The factorization method was first proposed to recover rigid structure by Tomasi and Kanade [1], and the method was extended to solve the non-rigid structure problem in the seminal paper by Bregler et al. [2]. The core idea is that shapes observed from motion can be represented by the linear combination of a compact set of basis shapes. Each instantaneous structure, such as a running person, can be expressed as a point in the linear space of shapes spanned by the shape basis. A large number of methods have subsequently been developed [3,4,5], which promoted improved performances of shape basis. However, the shape basis has some limitations since it has a specific nature and can’t generally apply to all non-rigid bodies. The shape basis of a dancer moving, for example, cannot be recycled to compactly represent a person running. So, as an alternative to a shape space, Akhter et al. [6,7] proposed to represent the time-varying structure of a non-rigid object by using a linear combination of a set of basis trajectories, which was called Point Trajectory Approach (PTA). The primary advantage of PTA was that the trajectory basis can be predefined to be close to many real trajectories, which resulted in a significant reduction in unknowns, and corresponding stability improvement in estimation. Zhu et al. [8] pointed out that the importance of selecting the number of trajectory basis, rather than the more bases used the better, which varied from different models. On this basis, Gotardo and Matinez [9] combined the shape method and trajectory method, which can further improve the reconstruction performance. Recently, Rehan et al. [10] proposed a novel constraint in the form of local rigidity, which gave stable results in challenging realistic scenarios with small camera motions and shorter sequences. Minsk et al. [11] introduced new constraints that were more effective for non-rigid structure estimation, which constrained the motion parameters so that the 3D shapes were most closely aligned to each other, making the rank constraints unnecessary. Then they proposed a new probabilistic model in [12], which incorporated the smoothness constraint without requiring any prior knowledge. This approach regarded the sequence of 3D shapes as a simple stationary Markov process with Procrustes alignment, whose parameters were learned during the fitting process. Antonio et al. [13] proposed an online solution to estimate non- rigid structure, which modeled non-rigid deformations as a linear combination of some mode shapes obtained using modal analysis from continuum mechanics. However, the underlying principle behind most approaches was to model deformations using a low-rank shape [2,9,14,15], and it improved the accuracy of the non-rigid structure estimation.In order to further improve the accuracy of non-rigid structure estimation, low rank condition of structure matrix is also investigated in this paper, and the APG algorithm is proposed to optimize the structure matrix, which can quickly converge to an efficient solution. Many trajectory bases can be used to recover the structure [16], such as the Discrete Cosine Transform (DCT) basis, Walsh Hadamard Transform (WHT) basis and Discrete Wavelet Transform (DWT) basis. In this paper, the predefined DCT basis is introduced to recover the motion and structure of the non-rigid object. For the 2D signal of sample points, the DCT formula can be defined as follows:
where and is the coefficient:In the paper, the APG method is proposed to solve the problem of non-rigid structure estimation. A new constraint, called trace minimization constraint of the rectification matrix, is introduced to narrow the solution space and improve the computiational speed of our algorithm. The proposed method can effectively estimate both 3D structures of non-rigid objects and the camera motion. The experimental results on real image sequences indicate that the proposed approach effectively improves the accuracy of non-rigid structure estimation from monocular vision.This paper is organized as follows: the problems are formally described in Section 2 before briefly introducing how to get the initial structure matrix by using PTA method in Section 3. In Section 4, the APG algorithm is introduced to optimize . Experimental results are presented in Section 5. Finally, a summary and future works are discussed.
2. The Problem of Non-Rigid Structure Estimation
In fact, 3D reconstruction of non-rigid motion from monocular vision is equivalent to the decomposition of the measurement matrix W, that is decomposing the into the rotation matrix of camera and the structure matrix of the non-rigid object. This problem can be simplified to estimate the rectification matrix Q. The PTA method is implemented to estimate the corresponding unknown parameters by a series of constraints, and to recover the structure of the non-rigid object. Then, the APG algorithm is used to reconstruct the structure matrix which is calculated by PTA, and can further improve the accuracy of the non-rigid structure estimation from monocular vision.After feature point correspondence, the measured 2D trajectories can be included in the measurement matrix W, containing the location of N image points across M frames:The measurement matrix W can be decomposed as , where is a matrix, is an orthogonal projection matrix:The structure matrix is a matrix, and the structure at a time instant can be represented as follows:
3. The Calculation of Matrix S Using PTA
The structure matrix S can be decomposed into the trajectory basis matrix and the coefficient matrix , . Defining the equation , the elements of the matrix are as follows:
where:K is the size of the DCT basis. If K is chosen too small, the trajectory is poorly represented, but if it is chosen too large, the system is ill-conditioned and the reconstruction error becomes unlimited, so how to choose a suitable is very important.According to the above mentioned, the measurement matrix W is decomposed as:Factorize with the Singular Value Decomposition (SVD) method:However, the matrices and will not be equal to and respectively, because SVD is not unique. Any non-singular orthogonal matrix [17] can be inserted between , and get a new valid decomposition . The matrix is called the rectification matrix.According to reference [6], instead of computing the whole matrix , only three columns of are sufficient to rectify and . After defining the first, and columns of the rectification matrix as , we can get the :
where denotes the two rows of matrix at positions between and .Due to the inherent ambiguity of the orthogonal constraint, Xiao et al. [18] found that the above method couldn’t obtain a unique solution of the rectification matrix . However, Akhter et al. [14] showed that the inherent ambiguity did not necessarily lead to a fuzzy shape. Experimental results proved that only using the constraint can also recover the unique structure S.The rectification matrix can be estimated precisely by using the trace minimization constraint of the . Once matrix has been computed, the matrix can be estimated by using a nonlinear minimization routine.According to Equation (8), the structure matrix can be calculated by the pseudo-inverse method. Because , , coefficient matrix is calculated as follows:Then the structure matrix is calculated by the equation . The is set as the iterative initial value of the APG algorithm.
4. The Optimization of Matrix S Using the APG Algorithm
4.1. The Trace-Minimization Problem
The goal of this paper is to solve the structure matrix through the equation , where the measurement matrix is known, and the rotation matrix is calculated. Because , the rank of the matrix should meet the requirement of the low-order linear model:The size of DCT basis K is a small constant, so the structure matrix S is a low-rank matrix. Then the low-rank condition is relaxed to a rank-minimization problem [19,20]. Now the structure matrix will be a solution to the rank minimization problem as follows:
according to Dai et al. [21], because the rank-function itself is not very numerically stable and rank-minimization is an NP-hard problem in general. Relaxing the above rank-minimization to a nuclear-norm minimization form in an effective way [22,23], that is min . In principle, the nuclear-norm minimization may be solved by a standard SDP solver [15]. In this study, the size of is . However, when the size is large, the SDP technique cannot work well.
4.2. The Application of the APG Algorithm
Many efficient convex optimization algorithms could be used to solve the problem. In this paper, an effective iterative algorithm, the APG algorithm [24,25], is proposed to optimize the non-rigid structure estimation from monocular vision. According to this algorithm, a closed form solution of the following Equation (15) can be obtained. In Equation (8), is a measurement matrix of the signal , which was obtained by using the calculated matrix . The above minimization Equation (14) can be rewritten in Lagrangian form as follows:
where is a given parameter, and set , ,
.Here, the stopping condition of the APG algorithm is defined as following:
where tol is a moderately small positive number, since when gets close to an optimal solution , the distance between and should become very small. If tol is too large, the non-rigid structure may not be calculated accurately, if tol is too small, the running time will be too long, so we should choose a suitable tol.is the Lipschitz constant of :
where the Lipschitz constant Lf is simply the square of the operator norm of the linear map: .Instead of directly minimizing , the APG method minimizes a sequence of separable quadratic approximation to , denoted as , formed at specially chosen points :Because:
and then the iterative formula is shown as follows:The detailed steps of the APG algorithm are summarized in Algorithm 1.In the Algorithm 1, factorize with SVD method, , .
5. Experiment Results
5.1. The Yoga Sequence Experiment
The experimental dataset consists of a 307-frame sequence of a human practicing yoga, which comes from http://cvlab.lums.edu.pk/non-rigid structure estimation. The database is observed by a perspective camera orbiting the subject on a horizontal plane at a speed of 5° per frame. The reconstruction performances of Akhter et al.’s PTA approach and the APG approach are presented in the following Figure 1 and Figure 2, respectively. In the figures, the blue dots are the ground truth 3D points, and the red circles show the recovered points.
Figure 1
Reconstruction of the yoga sequence using the PTA method with four different K values, (a) K = 4; (b) K = 7; (c) K = 9; and (d) K = 11.
Figure 2
Reconstruction of the yoga sequence using the APG method with four different K values, (a) K = 4; (b) K = 7; (c) K = 9; and (d) K = 11.
As shown in Figure 1 and Figure 2, in general, the APG method reconstruction is better than that of PTA algorithm. Especially, the reconstruction precision of the APG method is increased significantly when K = 9.From Figure 3, it can be found that APG method can improve the reconstruction quality with less reconstruction structure errors than the PTA method with different values of K.
Figure 3
The structure error of different values of K by using PTA and APG algorithms.
From Figure 4, it can be found that APG method can improve the reconstruction quality with less reconstruction rotation errors than the PTA method with different values of K. From the above figures, the proposed method performs effectively, and the reconstruction accuracy of non-rigid structure estimation from monocular vision is improved effectively. The reconstruction results on the real yoga sequence images indicate that not only the structure reconstruction, but also the rotation reconstruction is obviously improved by using the APG algorithm.
Figure 4
The rotation error of different values of K by using PTA and APG algorithms.
Reconstruction of the yoga sequence using the PTA method with four different K values, (a) K = 4; (b) K = 7; (c) K = 9; and (d) K = 11.Reconstruction of the yoga sequence using the APG method with four different K values, (a) K = 4; (b) K = 7; (c) K = 9; and (d) K = 11.The structure error of different values of K by using PTA and APG algorithms.The rotation error of different values of K by using PTA and APG algorithms.
5.2. The Pickup Sequence Experiment
In addition, another experimental dataset is proposed to test the proposed APG method for non-rigid structure estimation. The experimental dataset consists of a 357-frames human pickup sequence, which come from http://cvlab.lums.edu.pk/non-rigid structure estimation. The database is observed by a perspective camera orbiting the subject on a horizontal plane at a speed of 5° per frame. In this paper, the comparison of non-rigid structure estimation from monocular vision between the proposed APG algorithm and PTA algorithm is given, which are presented in terms of the reconstruction result figures and reconstruction error curves with different K values. In the following figures, the blue dots are the ground truth 3D points, and the red circles show the recovered points.From Figure 5 and Figure 6, in general, the APG method reconstruction is better than the PTA algorithm one. When K = 3, the reconstruction precision of the APG method is increased significantly.
Figure 5
PTA reconstruction of the pickup sequence with four different K values, (a) K = 3; (b) K = 7; (c) K = 10; and (d) K = 12.
Figure 6
APG method reconstruction of the pickup sequence with four different K values, (a) K = 3; (b) K = 7; (c) K = 10; and (d) K = 12.
PTA reconstruction of the pickup sequence with four different K values, (a) K = 3; (b) K = 7; (c) K = 10; and (d) K = 12.APG method reconstruction of the pickup sequence with four different K values, (a) K = 3; (b) K = 7; (c) K = 10; and (d) K = 12.From Figure 7, it can be found that APG method can improve the reconstruction quality with less reconstruction structure errors than the PTA method with different values of K.
Figure 7
The structure error of different values of K using the PTA and APG algorithms.
The structure error of different values of K using the PTA and APG algorithms.From Figure 8, it can be found that APG method can improve the reconstruction quality with less reconstruction rotation errors than the PTA method with different values of K. From Figure 7 and Figure 8, we can see the proposed APG method runs reliably, and the accuracy of non-rigid structure estimation is effectively improved. The reconstruction results on the real pickup image sequences indicate that the APG method outperforms the PTA method in terms of reconstruction accuracy of non-rigid structure estimation.
Figure 8
The rotation error of different values of K using the PTA and APG algorithms.
The rotation error of different values of K using the PTA and APG algorithms.
5.3. The Comparison of APG Method and Block Matrix Method
The comparisons of reconstruction results between the APG algorithm and Block Matrix Method (the method of Dai et al. [20]) on the shark sequence are presented in the following figure. The shark sequence contains 240 frames and 91 features.3D reconstruction results on the shark sequence. (a) Reconstruction results using the APG method, where the mean structure error is 0.204; (b) Reconstruction results using the Block Matrix Method, where the mean structure error is 0.242.The comparison of reconstruction errors between the APG algorithm and Block Matrix Method is provided in Table 1, where the number in brackets is the best value of K, which is chosen by exhaustively trying out different numeric values between 2 and 13. In our paper, the best value of is confirmed by the tracked positions of a sequence of non-rigid shapes by using the rank analysis method [26]. As can be seen in Figure 9 and Figure 10 and Table 1, the proposed APG method outperforms the Block Matrix Method when the experiment involves the shark and drink sequences. When the experiment is about other sequences, the APG method is not good as the Block Matrix Method, but the difference is not obvious.
Table 1
The reconstruction error by using APG method and Block Matrix Method.
Database
Shark
Drink
Yoga
Dance
Pickup
Block Matrix Method
0.242(3)
0.019(4)
0.125(9)
0.171(10)
0.138(7)
APG method
0.204(2)
0.017(13)
0.135(9)
0.231(5)
0.202(7)
Figure 9
3D reconstruction results on the shark sequence. (a) Reconstruction results using the APG method, where the mean structure error is 0.204; (b) Reconstruction results using the Block Matrix Method, where the mean structure error is 0.242.
Figure 10
3D reconstruction results on the drink sequence. (a) Reconstruction results using the APG method, where the mean structure error is 0.017; (b) Reconstruction results using the Block Matrix Method, where the mean structure error is 0.019.
3D reconstruction results on the drink sequence. (a) Reconstruction results using the APG method, where the mean structure error is 0.017; (b) Reconstruction results using the Block Matrix Method, where the mean structure error is 0.019.All the structure error mentioned in our paper refers to the mean error of each frame, we call it mean structure error (). The computational formula is as follows:
where
and are respectively the standard deviation of the point coordinates of the t-th frame corresponding to the 3D structure. represents the reconstruction error of the j-th 3D point of the t-th frame. is the structure matrix we reconstructed, while is the actual structure matrix.The reconstruction error by using APG method and Block Matrix Method.
5.4. The Comparison of the APG Method and Existing Methods
Moreover, the comparison of reconstruction error between the APG algorithm and the existing EM-PPCA [17], MP [27], the PTA method [6], and CSF [9] are also provided in Figure 11 and Table 2.
Figure 11
The structure error of five different sequences by using different methods.
Table 2
APG method compared with other methods in terms of reconstruction error.
Database
Methods
EM-PPCA
MP
PTA
CSF
APG
Drink
0.339
0.460
0.025 (3)
0.022 (6)
0.017 (13)
Dance
0.984
0.264
0.296 (5)
0.271 (2)
0.231 (5)
Yoga
0.810
0.804
0.162 (11)
0.147 (7)
0.135 (9)
Shark
0.050
0.157
0.312 (2)
0.254 (2)
0.204 (2)
Pickup
0.582
0.433
0.237 (12)
0.230 (6)
0.202 (7)
The structure error of five different sequences by using different methods.The abscissa of Figure 11 shows five sequences: drink, yoga, pickup, shark and dance, respectively. Its ordinate indicates the structure errors using five different methods. It can be found that the reconstruction results using the APG method are obviously better than those obtained with the other methods.From Figure 11 and Table 2, the reconstruction results on the most real image sequences indicate that reconstruction accuracy is significantly improved by the APG method, which obviously reduces the structure errors. The APG method can further optimize the structures calculated by the PTA method, which is proved to be an effective approach for non-rigid structure estimation from monocular vision. However, for dramatic movement image sequence, the proposed approach cannot improve the accuracy of the non-rigid structure estimation effectively, such as in the shark sequence.In our algorithm, the PTA method is first used to calculate the structure matrix, and then the APG method is used to optimize the structure matrix. In the total execution time of our algorithm (), the percentage of the execution time of APG algorithm () is showedn in Table 3.
Table 3
The percentage of the execution time of APG algorithm.
Time
Drink
Dance
Yoga
Shark
Pickup
T
30.073 s
1.9245 s
2.4637 s
0.8516 s
3.7898 s
t/T
4.99%
19.1%
3.12%
23.9%
2.62%
APG method compared with other methods in terms of reconstruction error.The percentage of the execution time of APG algorithm.Table 3 shows that our APG method runs quickly, and can converge to the best solution in a little time.
6. Conclusions
In this paper, the APG algorithm is proposed to solve the trace-minimization problem of the structure matrix. The initial value of the APG algorithm can be calculated by using the PTA method. The proposed APG method can further improve the structure performance and converge to the optimal solution. Above experimental databases are applied to test the proposed APG method for non-rigid structure estimation from monocular vision. The experimental results show that the proposed method can improve the reconstruction quality of non-rigid structure estimation with less reconstruction error than the PTA method. The APG algorithm can also converge to the best solution quickly, so the time consumption of the proposed method is near that of the PTA method.However, the APG method is not available for reconstructing dramatic movement sequences, so in the future, the APG method will be improved to make it suitable for dramatic movement. Moreover, the selection of the initial value plays an important role in the reconstruction efficiency of the proposed algorithm, and how to select the best initial value is another future work. The structure matrix S can also act as a solution to the rank minimization problem, so in the future, some optimization algorithms, such as the Singular Value Thresholding (SVT) algorithm, will be considered to further reduce the reconstruction error of non-rigid structure estimation from monocular vision.