In order to overcome the problem that white balance failure caused by white region detection error in automatic white balance, this paper proposes a white balance method based on dark channel prior. First, get the dark channel image, then extract the white region in the image according to the dark channel, and then remove the region with high saturation. Finally, in order to correct the color and ensure that the image brightness does not change, we calculate the correction gain in the CIE-XYZ color space relative to the luminance channel Y. Experimental results show that our algorithm has achieved good results both in subjective and objective evaluation compared with some classical algorithms, and the rate is greater than 150 frames/s on embedded devices.
An automatic white balance method via dark channel prior
First published at:Jan 15, 2018
1 Lukac R. Refined automatic white balancing[J]. Electronics Letters, 2007, 43 (8): 445-446. DOI:10.1049/el:20070142
2 Zhang B Y, Batur A U. A real-time auto white balance algorithm for mobile phone cameras[C]//Proceedings of 2012 IEEE International Conference on Consumer Electronics, 2012: 1-4.
3 Buchsbaum G. A spatial processor model for object colour perception[J]. Journal of the Franklin Institute, 1980, 310 (1): 1-26. DOI:10.1016/0016-0032(80)90058-7
4 Liu Y C, Chan W H, Chen Y Q. Automatic white balance for digital still camera[J]. IEEE Transactions on Consumer Electronics, 1995, 41 (3): 460-466. DOI:10.1109/30.468045
5 Weng C C, Chen N H, Fuh C S. A novel automatic white balance method for digital still cameras[C]//Proceedings of IEEE International Symposium on Circuits and System, 2005, 4: 3801-3804.
6 Dong C, Loy C C, He Kaiming, et al. Learning a deep convolutional network for image super-resolution[M]//FLEET D, PAJDLA T, SCHIELE B, et al. Computer Vision-ECCV 2014. Cham: Springer, 2014: 184-199.
7 Cheng D L, Price B, Cohen S, et al. Effective learning-based illuminant estimation using simple features[C]//Proceedings of 2015 IEEE Conference on Computer Vision and Pattern Recognition, 2015: 1000-1008.
8 Barron J T. Convolutional color constancy[C]//Proceedings of 2015 IEEE International Conference on Computer Vision, 2015: 379-387.
9 Barron J T. Convolutional color constancy[C]//Proceedings of 2015 IEEE International Conference on Computer Vision, 2015: 379-387.
10 Liu Y C, Chan W H, Chen Y Q. Automatic white balance for digital still camera[J]. IEEE Transactions on Consumer Electronics, 1995, 41(3): 460-466. DOI:10.1109/30.468045
11 He K M, Sun J, Tang X O. Single image haze removal using dark channel prior[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011, 33(12): 2341-2353. DOI:10.1109/TPAMI.2010.168
12 Yeh C H, Kang L W, Lee M S, et al. Haze effect removal from image via haze density estimation in optical model[J]. Optics Express, 2013, 21(22): 27127-27141. DOI:10.1364/OE.21.027127
13 Gehler P V, Rother C, Blake A, et al. Bayesian color constancy revisited[C]//Proceedings of IEEE Conference on Computer Vision and Pattern Recognition, 2008: 1-8.
14 Cheng D L, Prasad D K, Brown M S. Illuminant estimation for color constancy: why spatial-domain methods work and the role of the color distribution[J]. Journal of the Optical Society of America A, 2014, 31 (5): 1049-1058. DOI:10.1364/JOSAA.31.001049
Get Citation: Wang F, Wang W. An automatic white balance method via dark channel prior[J]. Opto-Electronic Engineering, 2018, 45(1): 170549.
Previous: Image super-resolution reconstruction by fusing feature classification and independent dictionary training