基于FPGA的实时Bayer绿平衡算法与实现

FPGA-based real-time Bayer green balance algorithm and implementation

  • 摘要: 绿通道间不均衡缺陷是一种Bayer图像的典型缺陷,通过绿平衡算法进行校正可以抑制该问题,从而减轻解马赛克后的彩色图像出现的迷宫噪声,提高图像平滑区域的观感。随着图像设备向着高分辨率、大面阵发展,原有的绿平衡算法难以满足低延迟、高像素分辨率等需求,提出了一种基于 FPGA (field programmable gate array) 的实时绿平衡算法。通过图像局部梯度对绿通道不均衡敏感的平滑区域进行提取,从而完成绿通道不均衡校正,在保证分辨率的同时去除了迷宫噪声,且整体延迟不大于2行数据传输的时间。算法针对FPGA硬件特点完成了从前端感光相机、缓存到图像处理、最终输出图像的系统设计,并能够兼容其他图像处理功能。实验结果表明:本文算法在实现微秒级延迟的同时保持了图像像素级纹理信息的分辨率,并对不同程度的绿通道不均衡缺陷和不同场景鲁棒性优异。

     

    Abstract: The green channel imbalance is a typical defect of Bayer image, which can be suppressed by correction of green balance algorithm, so as to reduce the maze noise of the color image after demosaicking, and improve the perception of image smooth area. With the development of image devices towards high resolution and large area array, the past green balance algorithm is difficult to meet the requirements of low delay and high pixel resolution. Therefore, a real-time green balance algorithm based on field programmable gate array (FPGA) was proposed, in which the smooth regions sensitive to the imbalance of green channels through local image gradients were extracted, thereby completing the green channel imbalance correction. While ensuring the resolution, the maze noises were removed, and the overall delay was less than the time of two lines of data transmission. The system design of front-end photosensitive camera, cache, image processing and final output image according to the features of FPGA hardware was completed, and the algorithm also could be compatible with other image processing functions. Experiments show that this algorithm can achieve microsecond-level delay while maintaining the resolution of pixel-level texture information of the image, and has excellent robustness for different levels of green channel imbalance defects and different scenarios.

     

/

返回文章
返回