摘要
针对某些特殊光源下,如拍摄色温低于2500K或高于7000K时,图像偏色较严重的现象,提出了一种基于彩色直方图均衡化的自动白平衡算法。首先采用Roberts算子对图像进行边缘检测,对得到的图像进行直方图均衡化处理;然后选择参考白点区域,计算图像各通道的增益,用得到的增益值进行色温校正;最后,使用Matlab进行了仿真验证,直接观察实验结果。通过对比,提出的白平衡算法在特殊光源下也能进行正确调整,使白平衡能调整的色温范围更广且算法时间复杂度相对较低,可以广泛应用于数字图像产品中。
For some special light source,such as the film color temperature is below 2500 k or higher than 8000 k,image color cast serious phenomenon,a kind of automatic white balance algorithm based on color histogram equalization have been proposed. Firstly,edge detectionc was carried on by using Roberts operator to the image,the resulting image was processed by histogram equalization. And then the reference white point area was selected,the image gain of each channel was calculated,and color temperature correction was got on by using the obtained gain value.Finally,the simulation verification was carried on by using MATLAB,the experimental result was observed directly. By contrast,white balance algorithm proposed in this article can adjust properly under the special light source;the color temperature range is wider adjusted by white balance and time complexity is low relatively;so the algorithm can be widely used in digital image products.
出处
《长春理工大学学报(自然科学版)》
2014年第4期104-107,共4页
Journal of Changchun University of Science and Technology(Natural Science Edition)
关键词
色温
彩色直方图均衡化
自动白平衡
仿真验证
color temperature
color histogram equalization
automatic white balance
simulation verification