2011-05-10 00:34:47 +08:00
|
|
|
\ProvidesPackage{mymath}
|
|
|
|
|
2014-10-31 23:09:19 +08:00
|
|
|
\usepackage{euler}
|
|
|
|
\usepackage{amssymb}
|
|
|
|
\usepackage{amsmath}
|
2014-11-21 16:27:50 +08:00
|
|
|
\usepackage{bbm}
|
2014-10-31 23:09:19 +08:00
|
|
|
|
2011-05-10 00:34:47 +08:00
|
|
|
\newcommand{\matTT}[9]{
|
|
|
|
\[
|
|
|
|
\left|\begin{array}{ccc}
|
|
|
|
#1 & #2 & #3\\
|
|
|
|
#4 & #5 & #6\\
|
|
|
|
#7 & #8 & #9
|
|
|
|
\end{array}\right|
|
|
|
|
\]
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\fork}[4]{
|
|
|
|
\left\{
|
|
|
|
\begin{array}{l l}
|
|
|
|
#1 & \mbox{#2}\\
|
|
|
|
#3 & \mbox{#4}\\
|
|
|
|
\end{array} \right.}
|
|
|
|
\newcommand{\forkthree}[6]{
|
|
|
|
\left\{
|
|
|
|
\begin{array}{l l}
|
|
|
|
#1 & \mbox{#2}\\
|
|
|
|
#3 & \mbox{#4}\\
|
|
|
|
#5 & \mbox{#6}\\
|
|
|
|
\end{array} \right.}
|
2020-05-28 18:59:31 +08:00
|
|
|
\newcommand{\forkfour}[8]{
|
2017-09-07 12:35:39 +08:00
|
|
|
\left\{
|
|
|
|
\begin{array}{l l}
|
|
|
|
#1 & \mbox{#2}\\
|
|
|
|
#3 & \mbox{#4}\\
|
|
|
|
#5 & \mbox{#6}\\
|
|
|
|
#7 & \mbox{#8}\\
|
|
|
|
\end{array} \right.}
|
2011-05-10 00:34:47 +08:00
|
|
|
\newcommand{\vecthree}[3]{
|
|
|
|
\begin{bmatrix}
|
|
|
|
#1\\
|
|
|
|
#2\\
|
|
|
|
#3
|
|
|
|
\end{bmatrix}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\vecthreethree}[9]{
|
|
|
|
\begin{bmatrix}
|
|
|
|
#1 & #2 & #3\\
|
|
|
|
#4 & #5 & #6\\
|
|
|
|
#7 & #8 & #9
|
|
|
|
\end{bmatrix}
|
|
|
|
}
|
2020-08-24 11:21:42 +08:00
|
|
|
|
|
|
|
\newcommand{\cameramatrix}[1]{
|
|
|
|
#1 =
|
|
|
|
\begin{bmatrix}
|
|
|
|
f_x & 0 & c_x\\
|
|
|
|
0 & f_y & c_y\\
|
|
|
|
0 & 0 & 1
|
|
|
|
\end{bmatrix}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\distcoeffs}[]{
|
|
|
|
(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \tau_x, \tau_y]]]]) \text{ of 4, 5, 8, 12 or 14 elements}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\distcoeffsfisheye}[]{
|
|
|
|
(k_1, k_2, k_3, k_4)
|
|
|
|
}
|