基于HSL颜色空间的自动白平衡算法  被引量:10

Research of Automatic White Balance Algorithm Based on HSL Color Space

在线阅读下载全文

作  者:莫思特[1] 刘天琪[1] 李碧雄[2] 

机构地区:[1]四川大学电气信息学院,四川成都610065 [2]四川大学能源工程安全与灾害力学教育部重点实验室建筑与环境学院,四川成都610065

出  处:《四川大学学报(工程科学版)》2013年第S1期95-99,共5页Journal of Sichuan University (Engineering Science Edition)

基  金:国家科技支撑计划资助项目(2012BAK10B01);博士点新教师基金资助项目(20070610031)

摘  要:为解决自动白平衡算法对所有像素采用单一颜色修正系数存在的低照度色差过大的问题,提出根据HSL颜色空间亮度分量分段计算颜色修正系数的自动白平衡计算方法。计算图像的HSL颜色空间,将亮度分量分成若干段,同一段像素归为一组,通过同一组中饱和度在灰轴附近像素的各颜色分量平均值计算该组的颜色修正系数,根据本组颜色修正系数对该组像素进行颜色修正。应用作者设计的实验电路,采集标准色卡在多种色温下的图像数据,运用HSL灰轴算法、灰度世界算法和全反射理论算法分别对采集的数据进行自动白平衡计算。对比分析每种算法的计算结果与标准色卡的颜色误差。颜色误差分析表明,HSL灰轴算法具有更好的光环境适应能力和颜色还原能力。A new automatic white balance algorithm was proposed,which could calculate the color modification coefficient according to the lightness in HSL color space.The HSL color space of an image was analyzed in order to divide the lightness into several segments and pixels in each segment were classified into one group.All pixels near to gray axis in the same group were figured out,the color modification coefficient was calculated based on the average value of color components of all pixels,and then the colors of all pixels in this group were modified according to the color modification coefficient.Image data for standard color card in several kinds of color temperature were captured and analyzed respectively according to automatic white balance algorithms,which include HSL gray axis method,gray world method and perfect reflector method.Color error between calculated results of standard cards was analyzed.The result showed that HSL gray axis method has much better light environment adaptability and better color reproduction capability.

关 键 词:颜色 自动 算法 白平衡 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象