5,321
edits
Line 17: | Line 17: | ||
-f/s_x & s & o_x\\ | -f/s_x & s & o_x\\ | ||
0 & -f/s_y & o_y\\ | 0 & -f/s_y & o_y\\ | ||
0 & 0 & 1 | |||
\end{bmatrix} | |||
\end{equation} | |||
\] | |||
E.g. if your camera has a 90 deg FOV on each side and outputs a resolution of <math>256 \times 256</math>, then the intrinsic matrix should project <math>(1,0,1)</math> to <math>(256, 0)</math>: | |||
\[ | |||
\begin{equation} | |||
M_{int} = | |||
\begin{bmatrix} | |||
-128/256 & 0 & 128/256\\ | |||
0 & -128/256 & 128/256\\ | |||
0 & 0 & 1 | 0 & 0 & 1 | ||
\end{bmatrix} | \end{bmatrix} |