Abstract
Automatic white balance is one of the most important functions in digital cameras. In addition to effectively correct color bias, the automatic white balance technology should also be fit for resource-constrained hardware and meet its real-time requirements. Based on gray-edge hypothesis, this paper proposes a simple automatic white balance method using image horizontal down-sampling with the averaging filter and horizontal first-order difference on Bayer image, and discusses its algorithm flow on FPGA. The test results show that the proposed method can correct image color bias powerfully. Moreover, the analysis of resource usage on FPGA indicates that the method consumes less hardware resource and achieves high real-time capability, and its parameter selection is unrelated with resource consumption.
Similar content being viewed by others
References
Land, E.: The retinex theory of color vision. Sci. Am. 237(6), 108–128 (1977)
Buchsbaum, G.: A spatial processor model for object colour perception. J. Frankl. Inst. 310(1), 1–26 (1980)
Van, D.W.J., Gevers, T., Gijsenij, A.: Edge-based color constancy. IEEE Trans. Image Process. 16(9), 2207–2214 (2007)
Finlayson, G., Schaefer, G.: Solving for colour constancy using a constrained dichromatic reflection model. Int. J. Comput. Vis. 42(3), 127–144 (2001)
Forsyth, D.: A novel algorithm for color constancy. Int. J. Comput. Vis. 5(1), 5–36 (1990)
Finlayson, G., Hordley, S.: Gamut constrained illumination estimation. Int. J. Comput. Vis. 67(1), 93–109 (2006)
Mosny, M., Funt, B.: Cubical gamut mapping colour constancy. In: Proceedings of IS&T Fifth European Conference on Color in Graphics, Imaging and Vision, Joensuu (2010)
Cardei, V., Funt, B., Barnard, K.: Estimating the scene illumination chromaticity using a neural network. J. Opt. Soc. Am. A. 19(12), 2374–2386 (2002)
Wang, N., Xu, D., Li, B.: Edge-based color constancy via support vector regression. IEICE Trans. Inf. Syst. 92(11), 2279–2282 (2009)
Gijsenij, A., Gevers, T.: Color constancy using natural image statistics and scene semantics. IEEE Trans. Pattern Anal. Mach. Intell. 33(4), 687–698 (2011)
Bianco, S., Ciocca, G., Cusano, C., Schettini, R.: Improving color constancy using indoor-outdoor image classification. IEEE Trans. Image Process. 17(12), 2381–2392 (2008)
Barnard, K., Martin, L., Coath, A., Funt, B.: A comparison of computational color constancy algorithms; part ii: experiments with image data. IEEE Trans. Image Process. 11(9), 985–996 (2002)
Li, B., Xu, D., Xiong, W., Feng, S.: Color constancy using achromatic surface. Color Res. Appl. 35(4), 304–312 (2010)
Huo, J., Chang, Y., Wang, J., Wei, X.: Robust automatic white balance algorithm using gray color points in images. IEEE Trans. Consum. Electron. 52(2), 541–546 (2006)
Chen, H., Shen, C., Tsai, P.: Edge-based automatic white balancing with linear illuminant constraint. In: Proceedings of Visual Communications and Image Processing, San Jose (2007)
Gijsenij, A., Gevers, T., Van D.W.J.: Physics-based edge evaluation for improved color constancy. In: Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Miami Beach, pp. 1–8 (2009)
Gijsenij, A., Gevers, T., Van, D.W.J.: Improving color constancy by photometric edge weighting. IEEE Trans. Pattern Anal. Mach. Intell. 34(5), 918–929 (2012)
Verhoeven, G.J.J.: It’s all about the format—unleashing the power of RAW aerial photography. Int. J. Remote Sens. 31(8), 2009–2042 (2010)
Ramanath, R., Snyder, W.E., Yoo, Y., Drew, M.S.: Color image processing pipeline. IEEE Signal Process. Mag. 22(1), 34–43 (2005)
Gijsenij, A., Gevers, T., Van, D.W.J.: Computational color constancy: survey and experiments. IEEE Trans. Image Process. 20(9), 2475–2489 (2011)
Kehtarnavaz, N., Kim, N., Gamadia, M.: Real-time auto white balancing for digital cameras using discrete wavelet transform-based scoring. J. Real-Time Image Process. 1(1), 89–97 (2006)
Gijsenij, A., Gevers, T., Lucassen, M.P.: Perceptual analysis of distance measures for color constancy algorithms. J. Opt. Soc. Am. A. 26(10), 2243–2256 (2009)
Gehler, P., Rother, C., Blake, A., Minka, T., Sharp, T.: Bayesian color constancy revisited. In: Proceedings of IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Snowbird, pp. 1–8 (2008)
Finlayson, G., Trezzi, E.: Shades of gray and colour constancy. In: Proceedings of IS&T/SID 12th Color Imaging Conference, Scottsdale, pp. 37–41 (2004)
Gijsenij, A., Gevers, T.: Color constancy research website on illumination estimation. http://colorconstancy.com
Shi, L., Funt, B.: Re-processed version of the Gehler color constancy dataset of 568 images. http://www.cs.sfu.ca/~colour/data/
Acknowledgments
The author is grateful to Dr. Yu Liu for stimulating discussions. This work was supported in part by the National Natural Science Foundation (NSFC) of China under Grant No.61175006, No.61175015, No. 60803101 and No.60872150.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Tan, X., Lai, S., Wang, B. et al. A simple gray-edge automatic white balance method with FPGA implementation. J Real-Time Image Proc 10, 207–217 (2015). https://doi.org/10.1007/s11554-012-0318-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11554-012-0318-x