计算机与现代化

• 图像处理 • 上一篇    下一篇

基于LAB颜色空间的图像阴影检测与去除方法

  

  1. (1.辽宁石油化工大学计算机与通信工程学院,辽宁抚顺113001;2.辽宁石油化工大学理学院,辽宁抚顺113001)
  • 收稿日期:2019-04-02 出版日期:2019-10-28 发布日期:2019-10-29
  • 作者简介:梁永侦(1994-),男(壮族),广西南宁人,硕士研究生,研究方向:计算机视觉,模式识别,机器学习,图像处理,E-mail: 1252936485@qq.com; 通信作者:潘斌(1981-),男,山东潍坊人,副教授,博士,研究方向:计算机视觉,模式识别,机器学习,图像处理,E-mail: panbin@lnpu.edu.cn; 郭小明(1980-),女,辽宁营口人,讲师,硕士,研究方向:计算机视觉,模式识别,机器学习,图像处理,E-mail: guoxiaoming100@163.com; 梁媛(1992-),女,辽宁沈阳人,助教,硕士,研究方向:计算机视觉,模式识别,机器学习,图像处理,E-mail: 15248116015@163.com。
  • 基金资助:
    国家自然科学基金资助项目(61602228,61572290); 辽宁省2018年“兴辽英才计划”青年拔尖人才项目(XLYC1807266); 辽宁省自然科学基金资助项目(2015020041)

Image Shadow Detection and Removal Method Based on LAB Color Space

  1. (1. School of Computer and Communication Engineering, Liaoning Shihua University, Fushun 113001, China;
    2. School of Sciences, Liaoning Shihua University, Fushun 113001, China)
  • Received:2019-04-02 Online:2019-10-28 Published:2019-10-29

摘要: 为实现单幅图像快速去阴影处理,提出基于LAB颜色空间的图像阴影检测与去除方法。首先,将RGB图像转换成LAB图像,再对阴影图像进行边缘检测。然后,通过对不同颜色通道进行分析、计算及重新整合,得到阴影区域与非阴影区域平均色度值相匹配的图像。最后,对图像进行色度校正和边缘校正,实现单幅图像去阴影处理。为验证本文方法的可行性和有效性,分别采用峰值信噪比(PSNR)和结构相似度(SSIM)这2种性能指标,来客观评价图像的去阴影结果,并与2种典型的图像去阴影方法进行比较。结果表明,本文方法的各性能指标最高,如:在3组实验中,PSNR分别达到17.4721、17.6206、17.3048,SSIM分别达到0.8192、0.8344、0.8027。而且去阴影后图像特征信息清晰,保留的结构信息更接近于真实无阴影场景图像,整体取得了很好的去阴影效果。

关键词: 图像阴影去除, LAB颜色空间, 阴影检测, 重新整合, 峰值信噪比, 结构相似度

Abstract: In order to achieve a single image’s fast shadow removal, this paper proposes an image shadow detection and removal method based on LAB color space. Firstly, we convert the RGB image into the LAB image, and then detect the shadow image by the edge detection. Then, the image matching the average chromaticity value of the shadow area and the shadowless area is obtained, through analyzing, calculating and re-integrating different color channels. Finally, single image shadow is removed by color correction and edge correction. In order to verify the feasibility and effectiveness of the proposed method, the performance indexes, that is, peak signal to noise ratio (PSNR) and structural similarity (SSIM) are used to evaluate the image shadow removal results objectively. And we compare the proposed method with two typical image shading methods. The results show that the performance index of this method is the highest. In particular, the PSNR performance indexes of three groups of experiments are 17.4721, 17.6206, 17.3048, while the SSIM performance indexes are 0.8192, 0.8344, 0.8027. And the image feature information is clear after shadow removing. Overall, good shadowless effect has been achieved that the retained structure information is closer to the real shadowless scene image.

Key words: image shadow removal, LAB color space, shadow detection, reintegration, peak signal to noise ratio(PSNR), structural similarity index measure (SSIM)

中图分类号: