next up previous
Next: Rendering Up: Calibration Previous: Calibration


Using Homographies

Finding the projection matrix between the lenslet display and the image display would certainly solve the calibration problem. However, a neat insight is that instead of solving for the projection matrix, one can find a homography such that when applied to an image, its projected image in the lenslet array is aligned correctly [And]. Figure 3 illustrates this idea.

Figure 3: The goal is to find homography h.
\begin{figure}
\centerline{\psfig{figure=figs/homo-calib.ps,width=3in}}
\end{figure}

Given an image A, its image in the display via projection matrix p is A'. We want to find a homography h such that B' = Ahp is a correctly calibrated image. Given a point $p$, projection matrix M and the projected point $p'$ in homogeneous coordinates:

\begin{displaymath}
\left\vert\begin{array}{ccc}
M_{11} & M_{12} & M_{13} \\ 
...
...egin{array}{c}
x'\\
y'\\
1'\\
\end{array} \right\vert
\end{displaymath}

Let $M_i$ be the $i$'th row of M. Then
\begin{displaymath}
M_1p = \lambda x'
\end{displaymath} (1)


\begin{displaymath}
M_2p = \lambda y'
\end{displaymath} (2)


\begin{displaymath}
M_3p = \lambda
\end{displaymath} (3)

The scale factor $\lambda$ is unknown. However, we can take the ratios of Equations 1 and 2. Similarly for Equations 1 and 3 then we have:
\begin{displaymath}
y'(M_1p)-x'(M_2p) = 0
\end{displaymath} (4)


\begin{displaymath}
M_1p-x'(M_3p) = 0
\end{displaymath}

For each point $p$ there are such two equations. With 9 unknowns, we need 4 points (each with 2 equations) to create a matrix A of rank 8. The matrix A is composed of only point coordinates, and the vector m comprises the values of the matrix M.

\begin{displaymath}
\left\vert\begin{array}{ccccc}
xy' & yy' & y' & -xx' & \ld...
...
M_{13}\\
M_{21}\\
\vdots
\end{array}\right\vert
=
0
\end{displaymath}

The first row of A is shown with respect to equation 4. Since A is rank deficient, its null space exists and in this case is of dimension 1 (the constant scale factor). Vector m can be recovered using SVD techniques as the column of V corresponding to the zero singular value of A [TV98] [HZ00]. In practice, correspondence between points through a homography is known up to a noise factor, so many more points are used, forming an overconstrained system and the column of V corresponding to the smallest singular value of A is used. However, in this case of calibrating the autostereoscopic display, corresponding point are exactly known as explained in section 3.
next up previous
Next: Rendering Up: Calibration Previous: Calibration
Billy Chen 2002-06-10