1、 全日制普通本科生毕业设计全日制普通本科生毕业设计 字符图像识别系统的预处理算法设计与实现字符图像识别系统的预处理算法设计与实现 DESIGN AND IMPLEMENTATION OF PRE-PROCESSING ALGORITHM ON CHARACTER IMAGE RECOGNITION SYSTEM 目 录 摘 要 1 关键词 1 1 前言 . 2 1.1 研究意义 . 2 1.2 国内外研究现状 . 2 2 MATLAB 软件与图像预处理 4 2.1 MATLAB 简述 4 2.2 MATLAB 软件与图像预处理 5 2.2.1 MATLAB 处理图像的特点 5 2.2.2 MA
2、TLAB 在图像方面的应用 6 3 预处理介绍 . 7 3.1 图像灰度化 . 7 3.1.1 灰度的概念 . 7 3.1.2 图像灰度化介绍 . 7 3.1.3 图像灰度化的常用方法 . 8 3.2 图像增强. 8 3.2.1 灰度变换 . 9 3.2.2 直方图变换 10 3.3 图像平滑去噪 11 3.3.1 图像噪声 11 3.3.2 平滑去噪常用方法 14 3.4 图像二值化 18 3.4.1 图像二值化介绍 18 3.4.1 图像二值化常用方法 18 4 算法设计与实现 19 4.1 总体设计 19 4.2 具体代码 20 4.3 具体实例 23 4.3.1 实例一 23 4.3.
3、1 实例二 25 5 总结 27 参考文献 . 28 致 谢 . 29 1 字符图像识别系统的预处理算法设计与实现字符图像识别系统的预处理算法设计与实现 摘 要:在图像处理的过程中,由于获取图像的工具或手段的影响,使获取图像无法完全体 现原始图像的全部信息。因此,以改善图像数据、抑制不需要的变形或者增强某些对于后续处理来 说比较重要的图像特征为目的的图像预处理在图像处理的过程中就显得非常重要。 常用的图像预处 理手段包括图像大小的修改、图像浓度的扩展,图像由彩色差到灰度的转变、图像二值化、图像的 锐化处理及图像平滑处理等方法。本文在简单介绍数字图像处理技术的基础上,着重讨论了灰度直 方图的构建
4、、直方图均衡、图像平滑、图像二值化和噪声处理的原理及实现方法,并用 MA TLAB 开发工具实现了上述图像预处理算法并给出了各种算法的处理结果。 关键词:图像预处理;图像增强;平滑去噪;中值滤波 Design and Implementation of Pre-Processing Algorithm on Character Image Recognition System Abstract: In the process of image processing, due to the affection of image tools, the acquisition image cant
5、reflect the original image information completely. Therefore, to improve image data, inhibit deformation and enhance image characteristics is very important in image processing.Common image preprocessing method include the image size modification, the image thickness expansion, changing color image
6、to gray, image gray-scale binary, image sharpening and the image smooth processing. Based on the brief introduction of digital image processing technique, this paper discussed the construction of gray histogram, equilibrium of histogram, the image smoothing,image gray-scale binary and noise treatments principle and method. The realizations of all those image preprocessing algorithm which is realized with MA TLAB has been discussed in this paper, and all those result has been given after t