图像信息处理实验模板

效果图
第一页:
在这里插入图片描述
第二页
在这里插入图片描述
源码

\documentclass[UTF8,AutoFakeBold]{ctexart}%支持粗体
\usepackage{geometry}%页边距调整
\usepackage{setspace}%行距调整
\usepackage{graphicx}%图片支持
\usepackage{float}%图片强制放置
\usepackage{amsmath}%公式换行
\usepackage{xcolor} %代码着色
\usepackage{listings}%代码支持
\geometry{
	a4paper,
	left=2.54cm,
	right=1.5cm,
	top=1cm,
	bottom=2.54cm
}%页边距调整
\linespread{2}%行距调整
%代码调整
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\linespread{1.5}%行距调整
\lstset{
	backgroundcolor=\color{white},   % choose the background color
	basicstyle=\footnotesize, % size of fonts used for the code或改成\small\monaco稍大
	numbers=left,                        % 设置行号
	numberstyle=\footnotesize,            % 设置行号字体大小
	columns=fullflexible,
	breaklines=true,                 % automatic line breaking only at whitespace
	captionpos=b,                    % sets the caption-position to bottom
	tabsize=4,                       % 把tab扩展为4个空格,默认是8个太长
	commentstyle=\color{mygreen},    % 设置注释颜色
	keywordstyle=\color{blue},       % 设置keyword颜色
	stringstyle=\color{mymauve},     % string literal style
	frame=single,                        % 设置有边框
	rulesepcolor=\color{red!20!green!20!blue!20},
	identifierstyle=\color{black},
}
\begin{document}
	\begin{figure}[t]
		\centering
		\includegraphics[height=1.1cm,width=4.3cm]{img/logol}
		\textbf{\huge\kaishu 实验报告}
		\qquad\qquad
		\parbox[b]{4cm}{
			专业:计算机科学与技术\\
			
			\vspace{-1.5ex}
			姓名:张三\\
			
			\vspace{-1.5ex}
			学号:3190100000\\
			
			\vspace{-1.5ex}
			日期:2020/10/25\\
		}
	\end{figure}
\vspace{6ex}
\parbox{0.8\linewidth}{
	课程名称:\underline{\hbox to 0.25\linewidth{\hfill 图像信息处理\hfill}}指导老师:\underline{\hbox to 0.2\linewidth{\hfill 宋黎明\hfill}}成绩\underline{\hbox to 0.15\linewidth{\hfill \hfill}}\\
	实验名称:\underline{\hbox to 0.5\linewidth{\hfill \hfill}}
}
\vspace*{6ex}

\textbf{\songti\large 一、实验目的和要求}

$ $

\textbf{\songti\large 二、实验内容和原理 }

简述实验原理

$ $

\textbf{2.1 RGB和YUV颜色空间转换}
\begin{flalign*}
	& RGB\leftarrow YUV &\\
	& Y= 0.299*R + 0.587*G + 0.114*B &\\
	& U= -0.147*R - 0.289*G + 0.435*B = 0.492*(B- Y) &\\
	&V= 0.615*R - 0.515*G - 0.100*B = 0.877*(R- Y)&\\
	&YUV\leftarrow RGB&\\
	&R = Y + 1.140*V&\\
	&G = Y - 0.394*U - 0.581*V&\\
	&B = Y + 2.032*U&
\end{flalign*}


\textbf{\songti\large 三、实验步骤与分析 }

每个步骤结合对应部分的源代码分析

$ $

\textbf{\songti\large 四、实验结果 }

展示实验用到的输入输出图像等

$ $

\textbf{\songti\large 五、心得体会 }

$ $

一段展示代码,来源于网络
\lstset{language=c}
\begin{lstlisting}
\end{lstlisting}

\end{document}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值