Skip to main content
QUICK REVIEW

[Paper Review] On the closed-form solution of the rotation matrix arising in computer vision problems

Andriy Myronenko, Xubo Song|ArXiv.org|Apr 9, 2009
Robotics and Sensor-Based LocalizationEngineering10 references50 citations
TL;DR

This paper provides a comprehensive closed-form solution for the optimal rotation matrix R that maximizes tr(AᵀR), a core problem in computer vision. Using SVD of matrix A, the solution is R = UCVᵀ, where C adjusts for determinant constraints, with uniqueness depending on A's rank and singular value structure, including degenerate cases previously overlooked.

ABSTRACT

We show the closed-form solution to the maximization of trace(A'R), where A is given and R is unknown rotation matrix. This problem occurs in many computer vision tasks involving optimal rotation matrix estimation. The solution has been continuously reinvented in different fields as part of specific problems. We summarize the historical evolution of the problem and present the general proof of the solution. We contribute to the proof by considering the degenerate cases of A and discuss the uniqueness of R.

Motivation & Objective

  • To provide a unified, general proof of the closed-form solution for maximizing tr(AᵀR) over rotation matrices R.
  • To resolve inconsistencies and omissions in prior derivations by addressing degenerate cases of matrix A, particularly when rank(A) < D−1 or smallest singular value is non-distinct.
  • To clarify the conditions under which the optimal rotation matrix R is unique or non-unique, especially in numerically sensitive scenarios.
  • To unify and trace the historical evolution of this optimization problem across computer vision, Procrustes analysis, and orthogonal approximation.
  • To offer a robust, numerically stable method for computing R in arbitrary dimensions, with attention to sensitivity under round-off errors.

Proposed method

  • Formulate the constrained optimization problem as maximizing tr(AᵀR) subject to RᵀR = I and det(R) = 1.
  • Apply Lagrange multipliers to derive the optimality condition RᵀA = RᵀAᵀR, leading to the eigenvalue-like structure involving SVD of A.
  • Perform SVD of A as A = UΣVᵀ, where U and V are orthogonal matrices and Σ is diagonal with non-negative singular values.
  • Construct the optimal rotation matrix as R = UCVᵀ, where C is a diagonal matrix with entries 1 for all but the last diagonal element, which is set to det(UVᵀ) to enforce proper rotation (det(R) = 1).
  • Analyze degenerate cases: when rank(A) < D−1 or when the smallest singular value is not distinct and det(A) < 0, showing non-uniqueness of R.
  • Demonstrate that R is highly sensitive to perturbations in A under degenerate conditions, especially when singular values are close or repeated.

Experimental results

Research questions

  • RQ1What is the general closed-form solution for the optimal rotation matrix R that maximizes tr(AᵀR) under the constraints RᵀR = I and det(R) = 1?
  • RQ2Under what conditions is the optimal rotation matrix R unique, and when does non-uniqueness arise?
  • RQ3How do degenerate cases—such as low-rank A or non-distinct smallest singular values—impact the uniqueness and stability of the solution?
  • RQ4Why are previous derivations, including Umeyama’s, incomplete in handling these degenerate scenarios?
  • RQ5How does numerical round-off error affect the computed rotation matrix in degenerate or ill-conditioned cases?

Key findings

  • The optimal rotation matrix is given by R = UCVᵀ, where C = diag(1, ..., 1, det(UVᵀ)), derived from the SVD of A.
  • The solution is unique unless rank(A) < D−1 or det(A) < 0 with non-distinct smallest singular value, in which cases multiple valid R matrices exist.
  • In degenerate cases, the solution remains globally optimal but is highly sensitive to small perturbations in A, including numerical round-off errors.
  • When A is singular with rank(A) = D−1, the solution R is unique only if the last singular value is zero and the determinant constraint is satisfied via C.
  • For non-singular A with distinct singular values, R is uniquely determined even if V is not unique, due to the structure of Σ⁻¹ and the invariance of VΣ⁻¹Vᵀ.
  • The method generalizes to arbitrary dimensions and provides a numerically stable, closed-form solution applicable across computer vision tasks such as absolute orientation, Procrustes analysis, and orthogonal approximation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.