摘 要
数字图像处理(Digital Image Processing)又称为计算机图像处理,它是指将图像信号转换成数字信号并利用计算机对其进行处理的过程。在数字图像处理过程中,输入的是质量低的图像,输出的是改善质量后的图像,常用的图像处理方法有图像增强、复原、编码、压缩等。MATLAB既是一种直观、高效的计算机语言,同时又是一个科学计算平台。它为数据分析和数据可视化、算法和应用程序开发提供了最核心的数学和高级图形工具。根据它提供的500多个数学和工程函数,工程技术人员和科学工作者可以在它的集成环境中交互或编程以完成各自的计算。
本次毕业设计需要设计一个GUI界面,调用了MATLAB里的函数来处理图像,突出的地方是对于对话框的应用,使用户在处理图像时可以灵活的设定所需要的参数,不受设计者的限制,增加功能如截图等,是使用更加的人性化。计一个数字图像处理的可视化平台,基本要求:利用MATLAB图像处理工具箱,根据需求进行程序的功能分析和界面设计,实现数字图像的灰度处理、亮度处理、截图、缩放、旋转、噪声、滤波、直方图统计、频谱分析、颜色模型转换等。
关键词:数字图像;处理;MATLAB;GUI
Abstract
Digital image processing (Digital Image Processing),also called computer image processing,refers to the process of converting image signal into digital signal and processing it by computer. In the process of digital image processing,the input is a low quality image,the output is the image after improving the quality,the commonly used image processing methods are image enhancement,restoration,coding,compression and so on. MATLAB is an intuitive and efficient computer language. At the same time,it is also a scientific computing platform. It provides the core number for data analysis and data visualization,algorithm and application development Learn and advanced graphics tools. According to its more than 500 mathematical and engineering functions,engineers and scientists can interact or program in its integrated environment to complete their own calculations.
This graduation project needs to design a GUI interface,calling the functions in MATLAB to process the image,the outstanding place is the application of the dialog box,so that the user can flexibly set the required parameters when processing the image,not restricted by the designer. Adding features such as screenshots is more user-friendly. The basic requirements of a visualization platform for digital image processing are as follows: using the MATLAB image processing toolbox,the function analysis and interface design of the program are carried out according to the demand,so as to realize the grayscale processing,luminance processing,screenshot,scaling and rotation of the digital image. Noise,filtering,histogram statistics,spectrum Analysis,color model conversion,etc.
Keywords: digital image;processing;MATLAB;GUI
目 录
摘 要 I
Abstract II
第1章 绪论 1
1.1选题背景及意义 1
1.2国内外研究现状 2
1.2.1国内研究现状 2
1.2.2国外研究现状 3
1.3研究主要内容 3
第2章 数字图像处理系统设计 5
2.1设计概括 5
2.2文件 6
2.2.1打开 6
2.2.2保存 6
2.2.3退出 6
2.3图像变形 7
2.3.1图像缩放 7
2.3.2图像旋转 7
2.3.3图像翻转 8
2.3.3.2左右翻转 9
2.4噪声处理 10
2.4.1图像去噪 10
2.4.2图像加噪 12
2.5图像增强 15
2.5.1对比度增强 15
2.5.2亮度增强 15
2.5.2直方图均衡 16
2.5.3图像锐化 17
2.6图像变换 17
2.6.1图像二值化 17
2.6.2直方图分布 18
2.6.3边缘检测 18
2.6.4傅里叶变换 19
2.6.5小波变换(边沿增强) 19
2.7彩色图像处理 20
2.7.1颜色模型转换(RGB-HSV) 20
2.7.2RGB直接增强 21
2.7.3伪彩色增强 21
2.7.4假彩色增强 22
第3章 程序调试及结果分析 23
3.1实现功能 23
3.1.1软件基本操作 24
3.1.2实验结果 25
3.2边缘检测 25
3.2.1.实验原理 25
3.2.3实验结果 26
3.3提高要求 26
3.3.1实验原理 26
3.3.2实验步骤 27
3.4实验要求拓展 28
总 结 32
参考文献 33
附 录 34