A novel hardware-software co-design for automatic white balance

As electronic techniques is continuous improved rapidly cameras or video camcorders used for image retrieval technology and development become digitalized. The color of the photographs would look very different due to differences in light projection illumination when we take a picture. Human eyes are able to automatically adjust the color when the illuminations of the light source vary. However, the most frequently used image sensor, charge coupled device, CCD device can not correct the color as human eyes. This paper presents a hardware-software co-design method based on Lam's automatic white balance algorithm, which combines both Gray World Assumption and Perfect Reflector Assumption algorithms [1]. The execution steps of Lam's algorithm were divided into three stages. The hardware-software co-design and analysis for each stage was realized. Three factors including processing time, Slices and DSP48s of hardware resources were used to formulate the objective function, which was employed to evaluate the system performance and hardware resource cost. Experimental results shows suitable partitions of hardware-software co-designs were achieved. An embedded processor, MicroBlaze developed by Xilinx and a floating point processor were used to deal with the software part of the algorithm. The hardware part of the algorithm was implemented using an IP-based method. It is able to reduce the memory and CPU resources of PC as well as to have the properties of easy modification and function expansion by using such system on programmable chip architecture.

[1]  Shoji Kawamura Capturing images with digital still cameras , 1998, IEEE Micro.

[2]  Francesca Gasparini,et al.  Color correction for digital photographs , 2003, 12th International Conference on Image Analysis and Processing, 2003.Proceedings..

[3]  Wayne H. Wolf A Decade of Hardware/Software Codesign , 2003, Computer.

[4]  E.Y. Lam,et al.  Combining gray world and retinex theory for automatic white balance in digital photography , 2005, Proceedings of the Ninth International Symposium on Consumer Electronics, 2005. (ISCE 2005)..

[5]  Huanhuan Chen,et al.  HW-SW partitioning based on genetic algorithm , 2004, Proceedings of the 2004 Congress on Evolutionary Computation (IEEE Cat. No.04TH8753).

[6]  Zoran Bojkovic,et al.  Proceedings of the 6th WSEAS International Conference on Multimedia, Internet & Video Technologies , 2006 .