计算机科学 ›› 2019, Vol. 46 ›› Issue (6A): 211-214.

• 模式识别与图像处理 • 上一篇    下一篇

基于白平衡修正的室外光照估计算法

方靖1, 张锐1,2, 崔巍3, 韩慧健1,2   

  1. 山东财经大学计算机科学与技术学院 济南2500141;
    山东省信息可视化与计算经济工程技术研究中心 济南2500142;
    科学技术部信息中心 北京1008623
  • 出版日期:2019-06-14 发布日期:2019-07-02
  • 作者简介:方 靖(1994-),男,硕士生,主要研究方向为增强现实、计算机图形学;张 锐(1979-),男,博士,副教授,硕士生导师,CCF会员,主要研究方向为增强现实、计算机辅助几何设计,E-mail:zhchchao@sina.com;崔 巍(1982-),男,博士,高级工程师,主要研究方向为网络安全、数字签名、云计算安全;韩慧健(1971-),男,博士,教授,博士生导师,CCF会员,主要研究方向为计算机图形学、计算机辅助几何设计。
  • 基金资助:
    本文受国家自然科学基金项目(61303089,61472221,61772309)资助。

Outdoor Lighting Estimation Algorithm Based on White Balance Correction

FANG Jing1, ZHANG Rui1,2, CUI Wei3, HAN Hui-jian1,2   

  1. School of Computer Science and Technology,Shandong University of Finance and Economics,Jinan 250014,China1;
    Shandong Province Research Center of Information Visualization and Computational Economy Engineering Technology,Jinan 250014,China2;
    Information Center of Ministry of Science and Technology,Beijing 100862,China3
  • Online:2019-06-14 Published:2019-07-02

摘要: 针对不同天气情况下同一太阳位置拍摄的室外场景图像,提出了一种无需用户交互的快速估计室外光照参数的算法。该算法首先通过K-means算法检测阴影区域来获取初始天空光参数,同时使用Grey-World算法获取初始太阳光参数,进而进行基图像求解,并利用白平衡修正对基图像进行校正,从而迭代优化出更准确的光照参数。实验数据表明,所提算法得到的重构图像比现有算法得到的重构图像误差更小。与现有算法相比,该算法更为快速、方便,且准确性更高,可以很好地应用于增强现实。

关键词: 白平衡修正, 光照估计, 灰度世界算法

Abstract: This paper proposed a fast algorithm for estimating outdoor illumination parameters without user interaction for outdoor scene images taken from the same sun position under different weather conditions.K-means algorithm is used to detect the shadow area to obtain the initial sky light parameters,and Grey-World algorithm is used to obtain the initial sun light parameters.Then the base image is solved,and the white balance correction is used to correct the base image,so as to iteratively optimize the illumination parameters more accurately.Experimental results show that the reconstructed image obtained by the proposed algorithm has less error than the reconstructed image obtained by the exi-sting algorithm.Compared with the existing algorithms,the proposed algorithm is faster,more convenient and more accurate.So it can be well applied to augmented reality.

Key words: Grey-world, Illumination estimation, White balance correction

中图分类号: 

  • TP391
[1]KREVELEN R V,POELMAN R.A Survey of Augmented Rea-lity Technologies,Applications and Limitations[J].The International Journal of Virtual Reality,2010,9(2):1-20.
[2]刘万奎,刘越.用于增强现实的光照估计研究综述[J].计算机辅助设计与图形学学报,2016,28(2):197-207.
[3]LIU Y L,QIN X Y,XU S H,et al.Light source estimation of outdoor scenes for mixed reality[J].The Visual Computer,2009,25(5-7):637-646.
[4]张锐,钟凡,彭群生,等.室外场景光照估计的基图像分解算法[J].计算机辅助设计与图形学学报,2013,25(4):442-449.
[5]XING G Y,LIU Y L,QIN X Y,et al.A practical approach for real-time illumination estimation of outdoor videos[J].Compu-ters & Graphics,2012,36(7):857-865.
[6]XING G Y,ZHOU X H,PENG Q S,et al.Lighting simulation of augmented outdoor scene based on a legacy photograph[J].Computer Graphics Forum,2013,32(7):101-111.
[7]ZHANG R,ZHONG F,LIN L L,et al.Basis image decomposition of outdoor time-lapse videos[J].The Visual Computer,2013,29(11):1197-1210.
[8]MARTIN S,POTOCˇNIK B.Combinational illumination estimation method based on image-specific PCA filters and support vector regression[J].Machine Vision & Applications,2017(12):1-9.
[9]LI B,XIONG W,HU W,et al.Multi-Cue Illumination Estimation via a Tree-Structured Group Joint Sparse Representation[J].International Journal of Computer Vision,2016,117(1):21-47.
[10]付文晓,张锐,林丽丽,等.雾天室外场景光照参数估计[J].软件学报,2014,25(S2):268-277.
[11]DEBEVEC P E,MALIK J.Recovering high dynamic range radiance maps from photographs[C]∥Conference on Computer Graphics and Interactive Techniques.ACM Press/Addison-Wesley Publishing Co,1997:369-378.
[12]YAMAKAWA M,SUGITA Y.Image enhancement using Reti-nex and image fusion techniques[J].Electronics & Communications in Japan,2018,101(8):360-368.
[13]唐正,刘宏哲,袁家政.单一光照颜色恒常性计算研究进展[J].计算机科学,2016,43(11):12-18.
[14]史榕.自动白平衡算法的研究与实现[J].信息技术,2012(3):85-88.
[15]武红玉.阈值分割算法在图像处理中的应用[J].科技信息,2012(27):201-202.
[16]张锐,韩慧健,梁秀霞,等.基于色度一致性的室外场景光照参数估计[J].计算机科学,2018,45(3):58-62.
[1] 冯一凡, 赵雪青, 师昕, 杨坤.
基于光照叠加的颜色恒常计算方法
Light Superposition-based Color Constancy Computational Method
计算机科学, 2021, 48(11A): 386-390. https://doi.org/10.11896/jsjkx.210200053
[2] 张锐,韩慧健,梁秀霞,方靖,张彩明.
基于色度一致性的室外场景光照参数估计
Illumination Parameter Estimation of Outdoor Scene Using Chromaticity Consistency
计算机科学, 2018, 45(3): 58-62. https://doi.org/10.11896/j.issn.1002-137X.2018.03.009
[3] 唐正,刘宏哲,袁家政.
单一光照颜色恒常性计算研究进展
Advances Research on Color Constancy Computation under Single Illuminant
计算机科学, 2016, 43(11): 12-18. https://doi.org/10.11896/j.issn.1002-137X.2016.11.003
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!