The invention discloses a low illumination image enhancement method, adaptive and dark colors based on bilateral filtering steps are: low illumination image reversal after the calculation of the transmittance, and estimate the image depth of dark channel image, the low illumination image from RGB space to HSV space to V space image and dark color images color after mapping fusion, then bilateral filtering of the V space fused image, the image of S space H space V space images, images of low illumination image after filtering and low illumination image combination, and finally the image combination after conversion from HSV space to RGB space, so as to obtain the final image enhancement. The method of the invention realizes the adaptive enhancement of the image, and uses the characteristics of the dark primary image of the low illumination image to enhance the detail information of the image, and uses the bilateral filtering to filter the image noise. This method can not only improve the overall brightness and local contrast of the image, but also highlight the details of the image and reduce noise.
【技术实现步骤摘要】
基于暗原色和双边滤波的低照度图像自适应增强方法
本专利技术属计算机图像处理领域,尤其涉及一种用于低照度图像的增强方法。
技术介绍
在光照不足的场景如傍晚或夜晚等环境下拍摄的图像存在曝光不足、对比度低和噪声严重等缺点,这对交通路况、视频监控和罪犯特征识别等应用造成了极大的影响。因此,研究低照度图像增强具有重要的应用价值。现有的低照度图像增强方法主要有直方图均衡化算法[6]、基于图像融合的算法、色调映射算法[3]以及基于暗原色先验的算法[5]。色调映射方法通过映射函数对像素进行灰度变换,提高图像暗区的亮度,其算法简单,计算速度快,但目前的色调映射方法在映射时容易将图像中的噪声放大。基于暗原色先验的方法[2]利用低照度图像反转与雾天图像的相似性[5],根据大气散射模型对低照度图像进行增强。该方法能较好地提升图像整体亮度,但由于假定透射率在局部区域内恒定而易产生块效应。增强后的低照度图像需要使用合适的滤波方法滤除图像中的噪声,主要有均值滤波、中值滤波和双边滤波[4]方法。双边滤波将像素距离和像素强度差作为权重影响因子,该方法能较好地在滤除图像噪声的同时保持景物的边缘信息。[参考文献][1]F.Drago,K.Myszkowski,T.AnnenandN.Chiba,“Adaptivelogarithmicmappingfordisplayinghighcontrastscenes”,inProc.EUROGRAPHICS,vol.22,no.3,pp.419-426,2003.[2]HeK,SunJ,TangX.Singleimagehazeremovalusin ...
【技术保护点】
一种基于暗原色和双边滤波的低照度图像自适应增强方法,其特征在于,包括以下步骤:步骤1、输入的低照度图像为图像I(x),将图像I(x)反转得反转后图像
【技术特征摘要】
1.一种基于暗原色和双边滤波的低照度图像自适应增强方法,其特征在于,包括以下步骤:步骤1、输入的低照度图像为图像I(x),将图像I(x)反转得反转后图像其中,c∈(r,g,b);计算反转后图像的暗原色将像素的暗原色值由大到小排列,取前1%暗原色的均值作为大气光值A;计算反转后图像的透射率:步骤2、根据图像深度与透射率的关系利用公式估计图像深度,使用归一化函数Normalize()对图像深度进行归一化:步骤3、计算图像I(x)的暗原色,得到暗原色图像Idark(x),其中,Ω(x)为以x为中心5×5大小的邻域内所有像素的集合,y为Ω(x)中任意一个像素;标记图像I(x)中的光源区域β取0.8;将图像I(x)从RGB空间转到HSV空间,求取图像I(x)在V空间的整体亮度:步骤4、对图像I(x)的V空间图像IV(x)和暗原色图像Idark(x)分别进行色调映射,其中,对V空间图像IV(x)进行色调映射的映射函数为:
【专利技术属性】
技术研发人员:杨爱萍,宋曹春洋,白煌煌,王建,
申请(专利权)人:天津大学,
类型:发明
国别省市:天津,12
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。