Lu WANG, Hong-ji XU, Ruo-xi WANG, et al. Real-time color reduction algorithm based on Bayer format[J]. Chinese journal of liquid crystals and displays, 2019, 34(3): 310-316.
DOI:
Lu WANG, Hong-ji XU, Ruo-xi WANG, et al. Real-time color reduction algorithm based on Bayer format[J]. Chinese journal of liquid crystals and displays, 2019, 34(3): 310-316. DOI: 10.3788/YJYXS20193403.0310.
Real-time color reduction algorithm based on Bayer format
To achieve the accurate real-time restoration of Bayer image from the output of large area array and high frame CMOS camera
restore its true color and reduce the color distortion of the whole image (especially the edge image)
this paper proposes an algorithm that can accurately restore image colors as well as minimize complexity of algorithm. Firstly
the algorithm preprocesses the target image
that is
expands the image and use a unified algorithm to restore the entire image to reduce the amount of computation of channel of pixel at the image edge. Then the improved gradient interpolation is used to calculate the horizontal edge gradient value and vertical edge gradient value in a 5×5 neighborhood. Then
the direction of border is arbitrated by counting the sum of the two direction gradient values. Finally
the interpolation of G component is used to restore the other two components
which can greatly reduce the distortion of color introduced by the conventional algorithm. The proposed algorithm is evaluated by using MSE and PSNR methods. The proposed method can improve the color reproduction of images
sharpen the edges of images
improve the computational efficiency
and reduce the color distortion. This method can achieve 12k×5k@10 f/s image data real-time color restoration. This algorithm is not only superior to the traditional algorithm
but also beneficial to the use of FPGA to realize the real-time color restoration of high-speed image data.
关键词
Keywords
references
KIMMEL R. Demosaicing:image reconstruction from color CCD samples[J]. IEEE Transactions on Image Processing , 1999, 8(9):1221-1228.
HIRAKAWA K, PARKS T W. Adaptive homogeneity-directed demosaicing algorithm[J]. IEEE Transactions on Image Processing , 2005, 14(3):360-369.
GUNTURK B K, ALTUNBASAK Y, MERSEREAU R M. Color plane interpolation using alternating projections[J]. IEEE Transaction on Image Processing , 2002, 11(9):997-1013.
ADAMS J, PARULSKI K, SPAULDING K. Color processing in digital cameras[J]. IEEE Micro , 1998, 18(6):20-30.
HAMILTON J F JR, ADAMS J E JR. Adaptive color plane interpolation in single sensor color electronic camera: US, 5652621[P]. 1997-07-29.
MENON D, ANDRIANI S, CALVAGNO G. Demosaicing with directional filtering and a posteriori decision[J]. IEEE Transactions on Image Processing , 2007, 16(1):132-141.
LEE J, JEONG T, LEE C. Edge-adaptive demosaicking for artifact suppression along line edges[J]. IEEE Transactions on Consumer Electronics , 2007, 53(3):1076-1083.
BAYER B E. Color imaging array: US, 3971065[P]. 1976-07-27.
ZHANG L, WU X L, BUADES A, et al . Color demosaicking by local directional interpolation and nonlocal adaptive thresholding[J]. Journal of Electronic Imaging , 2011, 20(2):023016.
YANG J B, WANG X W, ZHOU Y. Stroboscopic jitter of range-gated detection for moving target[J]. Journal of Optoelectronics·Laser , 2012, 23(2):315-319. (in Chinese)
ZHANG L, DONG W S, WU X L, et al . Spatial-temporal color video reconstruction from noisy CFA sequence[J]. IEEE Transactions on Circuits and Systems for Video Technology , 2010, 20(6):838-847.
LI H, ZHU B, LIU B Y, et al. Design of real-time demosaicking-zooming image acquisition system based on FPGA[J]. Semiconductor Optoelectronics , 2015, 36(2):293-298. (in Chinese)