空间域下基于直方图处理的图像增强算法
- 格式:pdf
- 大小:691.50 KB
- 文档页数:2
基于直方图处理的图像的增强方法研究中文摘要通过直方图均衡算法,使输出图像直方图近似服从均匀分布,在此算法基础上利用小波变换,对图像进行二维小波分解,突出图像中的有用信息,消减图像中的无用信息,使图像中特定信息得倒增强,并提高图像的对比度,提高图像质量。
直方图规定化是基于自适应直方图规定化函数引导的动态分层图像增强算法,在对比指纹图像的灰度直方图增强的技术的基础上,针对均衡化算法的不足和现有直方图规定化算法中映射规则计算量大的情形,提出一种改进的规定化算法。
直方图规定化可以将图像的直方图转化为需要的形状,有目的地增加某个灰度区间的图像,使用户获得感兴趣的信息。
关键词:图像增强,直方图均衡化,小波变换,直方图规定化AbstractThrough the histogram equalization algorithm, make the output image histogram approximation obey uniform distribution. Based on the algorithm,using the imagine of the two dimensional wavelet decomposition, highlight the useful information and cut the useless information in the imagine. The imagine of a specific information will be enhanced, and the contrast of imagine will be improved , then the imagine quality will be improved.Key words: imagine enhancement; histogram equalization; wavelet transform一:引言图像变换是数字图像处理中的一种综合变换,如直方图变换。
基于直⽅图的图像增强算法1 对⽐度和直⽅图均衡HE“对⽐度contrast ratio”这⼀概念,类似于“动态范围dynamic range”,衡量的是图像中亮区与暗区的⽐例。
对⽐度实际上没有统⼀的测量标准,参见:维基百科但我们知道,对⽐度是影响图像视觉效果的重要因素。
对⽐度⼩的图像,其⾊彩层次少,看起来要么太亮,要么太暗。
如下图:利⽤MATLAB内置的histeq函数,可以得到对⽐度增强的图⽚:img=imread('View.jpg');rimg=img(:,:,1);gimg=img(:,:,2);bimg=img(:,:,3);resultr=histeq(rimg);resultg=histeq(gimg);resultb=histeq(bimg);result=cat(3,resultr,resultg,resultb);subplot(1,2,1)plot(img);title('原图');subplot(1,2,2)plot(result);title('histeq均衡后图');直⽅图均衡的本质是灰度值映射。
⽽映射函数可以由分布曲线(累积直⽅图)得到:D B =D maxA 0D A ∑i =0H i其中 A 0 是像素总数(图像⾯积),D max 是最⼤灰度值,D A 、D B 分别是转换前、后的灰度值,H i 是第 i 级灰度的像素个数。
例如原直⽅图为:灰度值0到120,累积像素个数都为0,因此灰度值0到120都映射到灰度值0;此后⿊线开始上升,其纵坐标就是映射到的灰度值(当然还有系数 D maxA 0 )。
灰度值200左右,⿊线饱和,因此其后的灰度值都映射到最⼤灰度值255。
经过均衡后的直⽅图为:综上,HE后的直⽅图实际上是原直⽅图的拉伸,只是左右拉伸程度是变化的,取决于原直⽅图的幅度变化。
2 HE的问题以上是直⽅图均衡Histogram Equalization的简单应⽤。
程序课程设计报告2012年 7 月 9 日图像增强专业:*****班级:*****题目:图像增强小组成员: ***指导教师:***时间:2012年6月-7月摘要:图像增强是图像处理的一个重要分支, 它对图像整体或局部特征能有效地改善;直方图是图像处理中最重要的基本概念之一,它能有效地用于图像增强。
本文主要探讨了直方图的理论基础,直方图均衡化的概念及理论,同时用MATLAB语言加以实现, 给出标准的数字图像在各种处理前与处理后的对照图像及直方图。
实验结果表明, 用直方图均衡化的算法, 能有效改善灰度图像的对比度差和灰度动态范围,使处理后的图像视觉效果得以改善。
关键词:图像增强直方图均衡化Abstract: Image enhancement is an important branch of image processing, its image as a whole or partial characteristics can effectively improve. Histogram is one of the most important basic concepts of image processing, it can effectively be used for image enhancement. This paper mainly discusses the theoretical basis of the histogram, histogram equalization, the concepts and theories. We use the MATLAB language and give the standard digital images in various treatment and processing of the control image and histogram. The experimental results show that the histogram equalization algorithm can effectively improve the poor contrast and gray scale dynamic range of the grayscale image, the visual effects of the processed image can be improved. Keywords: Image enhancement Histogram Equalization1 引言图像增强是图像处理中的基本内容之一,在图像处理中占有非常重要的地位。
基于直方图均衡化的图像增强改进算法研究摘要:通过直方图均衡化算法,使输出图像直方图近似服从均匀分布,在此算法基础上利用小波变换,对图像进行二维小波分解,突出图像中的有用信息,削减图像中的无用信息,使图像中特定信息得到增强,并提高图像的对比度,提高图像质量。
关键字:图像增强;直方图均衡化;小波变换;中文分类号:文本标识码:文章编号:Research on algorithm of image enhancement based onhistogram equalizationYU Wei-bo, CHEN Xiaodong(School of Electrical &Electronic Engineering,Changchun University of Technology,Changchun 130012,China) Abstract:Through the histogram equalization algorithm, make the output image histogram approximation obey uniform distribution. Based on the algorithm, using the image of the two-dimensional wavelet decomposition, highlight the useful information and cut the useless information in the image. The image of a specific information will be enhanced, and the contrast of images will be improved,then the image quality will be improved.Key words:image enhancement;histogram equalization; wavelet transform0引言图像增强是图像处理的基本内容之一。