latex公式、图片、表格的插入。(个人笔记)

注意:公式可能要用到 amsmath 宏
1、单个公式自动标号

\begin{equation}
  \label{eq3}
  e(f) = E\left | X(f)-\tilde{X}(f) \right |^{2}
\end{equation}

这里写图片描述
2、单个长公式换行、对齐、自动标号

\begin{equation}
\begin{split}
  \label{eq4}
  e(f) &= E\left | X(f)-G(f)Y(F) \right |^{2} \\
  &= E\left | X(f)-G(f)[H(f)X(f)+V(f)] \right |^2 \\
  &= E\left | [1-G(f)H(f)]X(f)-G(f)V(f) \right |^2
\end{split}
\end{equation}

这里写图片描述

注意:插图可能用到graphicx宏,子图可能用到subfigure宏
3、插图:3个独立大图,横向占两栏

\begin{figure*}[!htb]
  \begin{minipage}[t]{0.33\linewidth}
  \centering
  \includegraphics[width=\hsize]{orignal.png}
  \caption{原始图像}
  \label{fig1}
  \end{minipage}
  \hfill
  \begin{minipage}[t]{0.33\linewidth}
  \centering
  \includegraphics[width=\hsize]{motion.png}
  \caption{运动模糊图像}
  \label{fig2}
  \end{minipage}
  \hfill
  \begin{minipage}[t]{0.33\linewidth}
  \centering
  \includegraphics[width=\hsize]{gaussian.png}
  \caption{高斯模糊图像}
  \label{fig3}
  \end{minipage}
\end{figure*}

这里写图片描述

4、纵向两个子图,各自有描述,总体有描述,单栏

\begin{figure}
\centering
\subfigure[维纳滤波去运动模糊]{
\begin{minipage}[t]{0.33\textwidth}
\includegraphics[width=1\textwidth]{Wiener_motion.png} 
\end{minipage}
}
\subfigure[维纳滤波去高斯模糊]{
\begin{minipage}[t]{0.33\textwidth}
\includegraphics[width=1\textwidth]{Wiener_gaussian.png} 
\end{minipage}
}
\caption{维纳滤波去模糊结果}
\end{figure}

这里写图片描述

5、六个子图,各自有标题,总体有标题,双栏

\begin{figure*}
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{Wiener_motion_curve.png}}
  \centerline{(a) 维纳滤波去运动模糊曲线}
\end{minipage}
\hfill
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{Wiener_motion_curve.png}}
  \centerline{(b) 维纳滤波去高斯模糊曲线}
\end{minipage}
\vfill
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{Reg_motion_curve.png}}
  \centerline{(c) 约束最小二乘滤波去运动模糊曲线}
\end{minipage}
\hfill
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{Reg_gaussian_curve.png}}
  \centerline{(d) 约束最小二乘滤波去高斯模糊曲线}
\end{minipage}
\vfill
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{RL_motion_curve.png}}
  \centerline{(c) Richardson-Lucy去运动模糊曲线}
\end{minipage}
\hfill
\begin{minipage}{0.5\linewidth}
  \centerline{\includegraphics[width=\hsize]{RL_gaussian_curve.png}}
  \centerline{(d) Richardson-Lucy去高斯模糊曲线}
\end{minipage}
\caption{三种复原算法去模糊曲线.}
\label{fig7}
\end{figure*}

这里写图片描述

6、两列表格

\begin{table}
  \centering
  \caption{运动模糊复原图像PSNR}
  \label{tab1}
  \begin{tabular}{l|l}
    \hhline
    复原算法      & PSNR (dB) \\ \hline
    运动模糊图像    & 25.4091 \\ \hline
    维纳滤波   & 33.9526 \\ \hline
    约束最小二乘方滤波   & 36.2202 \\ \hline
    Richardson-Lucy       & 34.2698 \\ 
    \hhline
  \end{tabular}
\end{table}

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值