Research and Realization of Auto White Balance Algorithm Based on Color Temperature Estimation
- Author
- WangMin
- Advisor
- LiBinQiao
- School
- Tianjin University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 301
- Citations
- 0
Abstract
Human visual system has the characteristic of color constancy, so the image that the human eye recepts will not be affected by the light source. CMOS image sensor’s work mimics human visual system, but it doesn’t have the color constancy characteristic, so the auto white balance function is necessary for the image sensor to eliminate the impact of the light source.Based on the research of the existing auto white balance algorithms, in order to settle the failure of the gray world algorithm when the color in the image is too little, and also to resolve the accuracy problem induced by the color space conversation, a new algorithm that based on color temperature estimation which processes in the RGB domain is applied in this paper. The R/G and B/G distribution of different light resources has to be researched as the groundwork, and the look up table of the familiar light resources is set. During the realization of the algorithm, the light resource of the current pixel is estimated based on the pixel’s raw R/G and B/G, and the pixels are dealt one after one. When the whole frame is finished, the color temperature that has the most number of pixels is determined as the light resource. Then R, G, B gain is calculated using the pixels in that color temperature; finally the whole image is adjusted according to the elicited gain, and the white balance function is realized.In order to measure the result of the algorithms, the average hue of the images is employed as the criterion. In this paper, the Matlab model and FPGA test platform is built to test the algorithm, and finally the dc synthesis is realized, and the working performance of the chip is tested. The test result shows that when the color in the image is abundance enough ,the color temperature based algorithm is little better than gray world algorithm ,the average hue of the image is reduced by 19.2%; when the image is occupied by a few main color blocks,the average hue of the image is reduced by 42.8%, the failure that the gray world algorithm faced is avoided effectively; Compared with the procession in other color domains, the result of this algorithm is better, and the precision errors introduced by the conversation between the color domains is eliminated. This algorithm has already been employed in two different chips, one has a 640*480 pixel array, and the other has a320*240 pixel array. Both of them work stably, and meet the requirement of most of the environments.
Table of contents
Summary 3-4
ABSTRACT 4-8
first chapter 8-22
1.1 Background 8-20
1.1.1 of the human visual system 8-10
1.1.2 image sensor system 10-13
1.1.3 simple image processing 13 - 20
1.2 significance 20
1.3 papers arrangement 20-22
chapter existing balance algorithm 22-34 <br / > 2.1 gray world algorithm 22-23
2.2 white block algorithm 23-25 ??
2.3 edge gray world algorithm 25-26
2.4 gamut mapping algorithms 26-29
2.5 color correlation algorithm 29-31
2.6 neural network algorithm 31-32
2.7 based on multi -frame image's white balance adjustment algorithm 32-33
2.8 Summary 33-34
Chapter III automatic white balance algorithm based on color temperature estimation 34-47 <br / > 3.1 the theory of basic research 34-40
3.1.1 RGB and YCbCr color model 34-36
3.1.2 color 36-39 <br / > 3.1.3 common Color R / G, B / G distribution 39-40
3.2 algorithm implementation process 40-42
3.3 algorithm validation 42 - 46
3.3.1 validation criteria 42-43
3.3.2 algorithm validation results 43-46
3.4 Summary 46-47 <br / > The fourth chapter based on color temperature estimation automatic white balance algorithm for hardware implementation and simulation 47-64
4.1 blocks divided 47-48
4.2 statistics and gain calculation module 48-56
4.2.1 port description 48-49
4.2.2 state machine design 49-52
4.2.3 divider design 52-56
4.3 gain entry into force of the control module 56-58
4.3.1 port description 56-57
4.3.2 functions to achieve 57-58
4.4 functional simulation 58-63
4.5 Summary 63-64
Chapter integrated and tested 64-74
5.1 FPGA platform Introduction 64-68
5.1.1 I ~ 2C bus Introduction 64-66
5.1.2 FPGA timing constraints related to basic knowledge 66 -68
5.1.3 FPGA synthesis results 68
5.2 DC comprehensive Introduction 68-70
5.3 chip test validation results 70-73 <br / > 5.4 summary 73-74
Chapter VI summary and Outlook 74-75
References 75-78
published papers and participate research note 78-79
Thanks 79
Related dissertations
- Design of CMOS Image Sensor Automatic White Balance Digital Process Circuit
- Automatic White Balance Algorithm Research and Hardware-Software Implementation
- Research and Circuit Design of Video Image Enhancement Algorithm
- Color Smoke Image Recognition Based on Fractal Dimension
- Research on System of Digital Image Proccessing and Recognition of Instruments
- Study of Face Detection and Localization Based on Skin Color Segmentation
- Research on Related Technologies of Computer Vision-based Object Image Retrieval
- Study on Several Methods for Digital Video/Image Restoration
- Study of Plant Image Segmentation Based on Level Set Method and Graph-cut Algorithm
- Study on the Paper Detection and Localization Technology
- YCrCb Color Space Face Detection Algorithm Based on the Design and Implementation
- Research on Multivariate Compression Technology for Volume Data
- Study on the segmentation algorithm of traffic signs from natural scenes
- Study on Evaluation of the reference image quality without color space based on
- Research on3D Human Model Registration Technology Based on Kinect
- Research in Technology for Image Sensor and Multi-Display Interface Based on FPGA
- Research on the Technology of Digital Image Enhancement Based on FPGA
- The Design of ISP System and FOGA Hardware Implementation
- Research and Implement of Flame Detection Technology Based on Bag of Features
- The Research on Color Consistency of LED Bacldight LCD TV