摘要: 课题主要是基于彩色图像的边缘检测处理的研究,边缘检测处理对进行图片高层次的特征描述、识别等有很大的意义。论文对Roberts算子、Sobel算子、Log算子、Canny算子等算子做了分析,详细研究Robrts算子和Sobel算子进行图像边缘检测的原理算法及其实现过程;同时也对BMP图像和图像的彩色空间及颜色模型进行探讨。设计中,由于基于Roberts算子具有边缘定位准的优点,Sobel 算子对灰度渐变和噪声较多的图像处理得较好原因,程序采用C#语言进行边缘检测设计。课题还对基于Roberts算子和Sobel算子处理结果进行对比,分析这两种算子在实践中的具体表现,找出这两种算子在实际运用中的优劣。在程序运行实验中,图像边缘检测处理实现了良好的结果。
关键词: 彩色图像;边缘检测;Roberts算子;彩色图像边缘检测8361
The Programming of Color Image Processing Edge Detection
Abstract: This article is written mainly to study the edge detection processing, which is of great significance of high-level characterization and identification of pictures, based on color image. The author of this article analyzes the operators, including Roberts, Sobel, Log and Canny, studies the principles and progress of image edge detection with Roberts and Sobel in detail, and discusses BMP images, image color space as well as color model. On processing, the program, through C# language, solves the problems of image, shades of gray and much noise, with the reason that Roberts operator owns the advantages of edge accurate positioning. Research on Roberts operator and Sobel operator processing results were compared based on the analysis of specific performance, the two operators in practice, find out the two operators in the practical application of the pros and cons. In the program to run experiments, edge detection of image processing to achieve good results.
Keywords: Color image ; Edge detection ; The Roberts operator; Color image edge detection
目录
摘要 i
Abstract i
目录 ii
1 数字图像处理概述 1
1.1 数字图像 2
1.1.1 数字图像的概念 2
1.1.2 数字图像的分类 2
1.2 图像颜色与颜色模型 3
1.2.1 图像颜色要素 3
1.2.2 图像颜色模型 3
1.3 数字图像边缘检测处理技术 6
1.4 C#图像处理基础 7
1.4.1 C#特点 7
1.4.2 WinForm与GDI+编程 8
1.4.3 BMP图像 10
2 彩色图像边缘检测原理 15
2.1 彩色图像边缘检测处理算法 15
2.1.1 Roberts边缘算子 15
2.1.2 Sobel边缘算子 15
2.1.3 Prewitt边缘算子 16
2.1.4 Laplacian边缘算子 16
2.1.5 Log边缘算子 17
2.1.6 Canny边缘算子 19
2.2 设计中方法的原理 21
3 彩色图像边缘检测处理的程序设计 23
3.1 BITMAP类的设计实现 23
3.1.1 Bitmap类 23
3.2 图像灰度处理 26