Three-dimensional reconstruction of computer vision (2) (camera calibration)

Calibration diagram
Insert image description here

Calibration target

P ′ = M P w = K [ R   T ] P w P^{'}=MP_w=K[R \space T]P_w P=MPw=K [ R T ] P w
Among them KKK is the internal parameter,[ R T ] [R \space T][ RT ] is an  external parameter. This formula requires the use of at least six pairs of internal and external points to solve the internal and external parameters (11 unknown parameters).

Insert image description here
Insert image description here
Among them R 3 × 3 , T 3 × 1 R_{3 \times 3}, T_{3 \times 1}R3×3,T3×1.

Calibration solution
  • Use a system of homogeneous linear equations
    where the number of equations is greater than the number of unknown parameters to find an approximate solution.
Radial distortion calibration
  • Image magnification decreases with distance from the optical axis

Insert image description here

Compared with the conventional solution, add the distortion factor:

λ = 1 ± ∑ p = 1 3 K P d 2 p d 2 = u 2 + v 2 \lambda =1\pm \sum_{p=1}^{3} K_P d^{2p}\\ d^2=u^2+v^2 l=1±p=13KPd2pd2=u2+v2

Using Newton's method and L − M LMLM method to solve.

Guess you like

Origin blog.csdn.net/qq_44116998/article/details/132348621