1、 课程任务设计书课程任务设计书 题目:图像处理题目:图像处理 课程设计目的:课程设计目的: 编程实现一幅图像的平移、镜像、旋转、缩小和放大。 课程设计内容和要求课程设计内容和要求: : 给出所用算法的理论依据和必要的推导过程;给出原始图像和处理后的图 像。 初始条件初始条件: : 在 matlab 平台上实现功能 时间安排:时间安排: 序号 设 计 内 容 所用时间 1 根据设计任务,分析原理,确定方案 2 天 2 编写程序,测试分析 4 天 3 撰写课程设计报告 1 天 合 计 1 周 指导教师签名:指导教师签名: 年年 月月 日日 系主系主任(或责任教师)签名:任(或责任教师)签名: 年年
2、 月月 日日 2 目录目录 摘要. I Abstract .II 1MA TLAB简介 . 1 1.1 MA TLAB说明 . 1 1.2 MA TLAB的语言特点 . 1 1.3 MA TLAB系统构成 1 2.1 整体原理 3 2.2 各部分原理 3 2.2.1 平移变换 . 3 2.2.2 镜像翻转 . 3 1.2.3 旋转变换 . 4 1.2.4 缩小和放大 . 4 3.1 原始图像选择读取 6 3.2 平移变换 . 7 3.3 镜像翻转 . 7 3.4 旋转变换 . 9 3.5 缩小和放大 . 11 4 总结与分析15 5 心得体会 .16 6 参考文献 .17 附录.18 I 摘要
3、 MATLAB 自产生之日起就具有方便的数据可视化功能,以将向量和矩阵用 图形表现出来,并且可以对图形进行标注和打印。高层次的作图包括二维和三 维的可视化、图象处理、动画和表达式作图。可用于科学计算和工程绘图。新 版本的 MATLAB对整个图形处理功能作了很大的改进和完善,使它不仅在一般 数据可视化软件都具有的功能(例如二维曲线和三维曲面的绘制和处理等)方 面更加完善,而且对于一些其他软件所没有的功能(例如图形的光照处理、色 度处理以及四维数据的表现等) ,MATLAB 同样表现了出色的处理能力。同时 对一些特殊的可视化要求,例如图形对话等,MATLAB 也有相应的功能函数, 保证了用户不同层
4、次的要求。另外新版本的 MATLAB 还着重在图形用户界面 (GUI)的制作上作了很大的改善,对这方面有特殊要求的用户也可以得到满 足。 关键字:matlab 图像处理 II Abstract Since the date of MATLAB produced has convenient data visualization function, to vector and matrix with graphics demonstrated, and can be graph to mark and print. High level of construction including 2 d
5、 and 3 d visualization, image processing, animation and expression mapping. Can be used in scientific computing and engineering drawing. The new version of the MATLAB to the graphics functions made a lot of improvement and perfect, make it not only in the general data visualization software with a f
6、unction (such as 2 d and 3 d curve of surface rendering and processing, etc) to be more perfect, and for some other software not function (such as graphical light treatment, chromaticity processing and four dimensional data performance, etc.), MATLAB also showed good processing capacity. At the same time for some special visual requirements, such as graphics dialogue, MATLAB also has the corresponding function function to ensure that the user