基于VC++ 的图像处理程序设计与开发
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
目录
摘要...................................................................... III Abstract ................................................................... IV 第1章数字图像处理.................................................... - 1 -
1.1 数字图像处理的目的.............................................. - 1 -
1.2 数字图像处理主要研究的内容...................................... - 1 -
1.3 数字图像处理的基本特点......................................... - 2 -
1.4 数字图像处理的优点.............................................. - 3 - 第2章图像的像素表示.................................................. - 5 -
2.1 灰度............................................................ - 5 -
2.2 灰度直方图...................................................... - 5 - 第3章图像变换........................................................ - 8 -
3.1 图像的灰度变换.................................................. - 8 -
3.1.1线性变换:................................................. - 9 -
3.1.2分段线性变换.............................................. - 10 -
3.1.3非线性变换................................................ - 12 -
3.2 图像的对比度增强............................................... - 13 -
3.3 图像的单色化................................................... - 13 - 第4 章几种图像处理效果的实现逻辑及函数................................ - 15 -
4.1 程序的总体逻辑................................................. - 15 -
4.2 灰度处理....................................................... - 15 -
4.3 对比度处理..................................................... - 15 -
4.4 彩色图像单色化.................................................. - 15 - 第5章实例程序的运行与代码.......................................... - 17 -
5.1 图像处理程序及其流程图.......................................... - 17 -
5.1.1图像的单色化函数及其流程.................................. - 17 -
5.1.2图像的对比度处理函数及其流程图............................ - 19 -
5.1.3图像的灰度处理函数及其流程图.............................. - 23 -
5.2 程序运行结果及分析............................................. - 25 - 参考文献............................................................ - 29 - 致谢................................................................... - 30 -
基于VC++ 的图像处理程序设计与开发
摘要
数字图像处理是指将图像信号转换成数字信号并利用计算机对其进行处理的过程。图像处理的主要任务是,将原图像中的像素灰度分布进行某种变换,以改变图像的信息表现方式(如加深对比度),从而满足特殊的显示(如平面处理)与应用需要。灰度变换是指按照某种算法改变各个像素的灰度值的变换方式。对比度是指投影图像最亮和最暗之间的区域之间的比率,比值越大,从黑到白的渐变层次就越多,从而色彩表现越丰富。图像的单色化就是指将一幅图像中所有像素颜色的R、G 、B值按一定的比例重新计算得到一个新的像素值,从而应用于整幅图像,使其都为一种颜色。
关键词:数字图像处理,VC++ ,灰度变换,对比度变换,单色化
Based on VC + + for Image Processing Procedures for Design and
Development
Abstract
Digital image processing refers to the image signals into digital signals and processed by computer process. The main task of image processing is that the original image pixel gray-scale distribution of a transformation to change the performance of image information (such as better contrast), to meet the special display (such as the flat to deal with) and the application needs. Gray-scale transformation algorithm refers to a change in accordance with the gray value of each pixel of the transformation.Contrast refers to the brightest image projection and the dark regions between the ratio the greater the ratio, from black to white gradient, the more levels, so the performance of the more rich colors. Monochromatic images of an image refers to the color of all pixels of the R, G, B by a certain proportion of the value of re-calculate a new pixel value, which applies to the entire image to have a color.
Key words:Digital Image Processing,VC++,Gray-scale transformation, Contrast transformation, Monochromator