Matlab课程设计_MATLAB仿真软件进行图像的输入、输出和格式变换
学 号: 0120828460130
课 程 设 计
题 目Matlab课程设计-MATLAB仿真软件进行图像的输入、输出和格式变换学 院学院专 业通信工程班 级姓 名指导教师
2010年月日
课程设计任务书
学生姓名: 专业班级:
指导教师: 工作单位: 信息工程学院
题 目: MATLAB仿真软件进行图像的输入、输出和格式变换
初始条件:
①仿真软件matlab
②数字信号处理与图像处理基础知识。
要求完成的主要任务:
MATLAB仿真软件进行图像的输入、输出和格式变换。
要求:读取、保存和显示不同格式的图像,并进行图像格式的相互变换如索引图像、灰度图像、RGB图像和二值图像的相互转换
时间安排:
第15周:理论讲解.
第20周:理论设计. 仿真调试.撰写试验报告,准备答辩
第21周:答辩
指导教师签名: 2011年12 月 4 日
系主任(或责任教师)签名: 年 月 日
目录
摘要3
Abstract4
第一章 图像文件格式及图像类型5
1.1 MATLAB支持的几种图像文件格式:5
1.2 MATLAB几种图像类型6
第二章 图像的输入9
2.1从图形图像上读取数据9
第三章 图像的输出11
3.1以图像形式输出(图像的显示)11
3.1.1索引图像的显示11
3.1.2灰度图像的显示13
3.1.3二值图像的显示14
3.1.4 RGB图像的显示15
3.2以图像文件的形式输出(图像文件形式之间的转换)15
第四章 图像的保存17
第五章 图像类型转换18
5.1 RGB转换成灰度图像18
5.2 灰度图像转换为索引图像19
5.3 灰度图像转化为二值图像20
5.4 RGB图像转化为索引图像21
课设总结23
参考文献24
摘要
MATLAB是集数值计算,符号运算及图形处理等强大功能于一体的科学计算语言。作为强大的科学计算平台,它几乎能够满足所有的计算需求。MATLAB 本身就是功能强大的数据可视化工具,可以通过各种形式显示分析数据,例如灰度直方图、等高线、蒙太奇混合、像素分析、图层变换以及材质贴图等。利用可视化的图形,不仅能够评估图形图像的特性,还能够分析图像中的色彩分布等情况。MATLAB is a scientific computing language that adds the function of numerical computing and graphics processing, symbols together. As a powerful scientific computing platforms, it can almost satisfy all the calculations that needs. MATLAB itself is a powerful tool of data visualization that can display data through various forms, such as graylevel histogram, contours, montage mixing, pixel analysis, the layer texture and transformation. With visual graphics, it can not only evaluate image characteristics, but also analyze the distribution of color image.
The purpose of the practice of introducing Matlab environment is the most basic of some image processing operations, such as read, write, image information and image format, size and gray telescopic; etc. Through the experiment mastery of image histograms depicts method, deepen the histogram image feature and the relationship between the shape of underst