摘要: 伪彩色处理是把黑白图像的各个不同灰度级按照线性或非线性的映射函数变换成不同的彩色,得到一幅不同色彩的伪色图像,让原图像某些细节更易辨认,突出识别目标。论文探讨了图像彩色处理和灰度化处理技术理论,设计中运用加权平均法、平均值法和最大值法三种方法,实现了彩色图像的灰度化转换;课题还分析了灰度图像的伪彩色的处理方法,即对仅具有256级亮度信息的灰度图像,使用密度分割法和空间域灰度级——彩色变换法实现图像伪彩色化;程序设计采用C#语言实现彩色图像的伪色空间处理,设计实现了基础的bitmap图像类、灰度化和伪彩色化,为进一步强化细节目标,还设计了反色、锐化、柔化等处理程序。利用C#语言设计的程序,短小精悍,在实验中,程序运行效率高,对处理图像的细节显示取得了良好的效果。
关键词: 数字图像;BMP;灰度处理;伪彩色; 4923
Designed Program for Color Image Processing Based on Pseudo-color Space
Abstract: Pseudo-color processing is a kind of method which turns different kinds of gray level of black-and-white image into pseudo-color image with different color according to the linear or nonlinear mapping function. It makes the original images more easier to identify, and more easier to highlight the target. What’s more, the thesis also discusses the theory of color processing and the gray processing. In the design, by using “weighted average method” and “averaging method” and “maximum method”, it realizes that the color image changes into the gray image. Besides the thesis also analyzes the method which turns a gray image into a pseudo-color image, that by using density slice and Grayscale-color transformation method it realizes the changing from the gray image which only has 256 levels image brightness; To design the program, it uses the C# language to finish the pseudo-color processing, and it also realizes the basic bitmap image classes, the graying and the pseudo-color changing. In order to strengthen the goal, inversing color, sharpen and soften program is added. By using the language of C# makes the program shot but encapsulates. In the experiment, the efficiency of the program is enhanced, and the image detail is displayed.
Keywords: Digital image; BMP; gray-scale processing; pseudo-color;
目录
摘要 i
Abstract i
目录 ii
1 数字图像处理概述 1
1.1 数字图像 1
1.1.1 数字图像的概念 1
1.1.2 数字图像的分类 2
1.1.3 数字图像的格式 3
1.2 灰度图像与伪彩色图像 3
1.2.1 灰度图像 3
1.2.2 假彩色和真彩色图像 4
1.2.3 伪彩色图像 4
1.3 C#图像处理基础 5
1.3.1 C#特点 5
1.3.2 WinForm与GDI+编程 6
1.4 BMP图像 7
2 数字图像处理原理 8
2.1 数字图像处理 8
2.2 数字图像处理技术 8
2.3 灰度处理原理 10
2.3.1 加权平均法 10
2.3.2 平均值法 10
2.3.3 最大值法 11 C#彩色图像的伪色空间处理程序设计:http://www.751com.cn/jisuanji/lunwen_1742.html