CN100361019C - Method for implementing automatic exposure - Google Patents
Method for implementing automatic exposure Download PDFInfo
- Publication number
- CN100361019C CN100361019C CNB2004101025360A CN200410102536A CN100361019C CN 100361019 C CN100361019 C CN 100361019C CN B2004101025360 A CNB2004101025360 A CN B2004101025360A CN 200410102536 A CN200410102536 A CN 200410102536A CN 100361019 C CN100361019 C CN 100361019C
- Authority
- CN
- China
- Prior art keywords
- value
- image
- electron gain
- brightness
- time shutter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
The present invention relates to a method for implementing an automatic exposure, which comprises the following steps: step A, whether the brightness value of a current image is within an expected image brightness threshold value is judged; if the brightness value of the current image is within the threshold value, an imager realizes an exposure according to the exposure time and the electrical gain value of the current image; the step B is continued; step B, a parameter value is confirmed according to the brightness value, the exposure time and the electrical gain value of the current image, the expected image brightness threshold value, and a maximum image brightness value which the imager can obtain so that the product of the regulated image exposure time and the regulated electrical gain value is equal to the parameter value; step C, firstly, the regulated electrical gain value is set to be an expected electrical gain value, and the regulated exposure time is calculated; then, the calculated image exposure time is rounded, and the regulated electrical gain value is calculated; step D, the imager realizes the exposure according to the regulated image exposure time and the regulated electrical gain value. The method of the present invention can be adopted for realizing the high-speed automatic exposure.
Description
Technical field
The present invention relates to camera work, refer to a kind of automatic exposure implementation method especially.
Background technology
Along with development of science and technology, digital camera, high-tech products such as camera mobile phone have stepped in people's the life, and a very important function of these products is exactly an automatic exposure function.Automatic exposure function is exactly time shutter and an electron gain of regulating imager (sensor) according to current environment illumination, in the hope of obtaining best exposure effect.
Though technology and material that each cmos imager manufacturer is adopted are all not quite alike, its basic structure is roughly the same, all includes as the lower part:
Optical filter: gather the three primary colours incident light;
Photodiode: with transform light energy is electronics;
Charge/voltage converter: produce voltage signal;
Amplifier: voltage signal is amplified.
Because the different model imager all has difference in above various piece, so we can not make comprehensive analysis.Imager hynix7131gp with Samsung (Samsung) company is an example, and the relation that counts its time shutter and depth of exposure as shown in Figure 1.Three curves among the figure are represented respectively under the situation of electron gain Gain1=0x50, Gain2=0x40, Gain3=0x60, the time shutter of image and the relation curve of depth of exposure, this curve is to obtain some spots according to different time shutter and corresponding depth of exposure value, and again that each is discrete point couples together and obtains.
As can be seen from the figure, the time shutter increases, and the depth of exposure of image is also increasing; But when the time shutter was longer, it is more little to the contribution of imager depth of exposure under the situation of time shutter than weak point that the recruitment of time shutter is compared identical recruitment.
Realize in the prior art that automatic exposure function has following two kinds of methods.
Method one: approximatioss
Realize automatic exposure function, the system that product comprised all must be able to provide a scalar value of the current depth of exposure of reflection, and this value is the basis of realizing automatic exposure function, generally all is to represent depth of exposure with the brightness of image.
As shown in Figure 2, brightness is divided into two zones or three zones, and Ytarget refers to the target image brightness of user or default, and Ycurrent represents current image brightness; Zone between Ytarget-Lock and the Ytarget+Lock is called ' locked ' zone, if current image brightness Ycurrent in this zone, thinks then that the time shutter of imager and electron gain do not need to adjust.Be called the losing lock zone less than Ytarget-Unlock or greater than the zone of Ytarget+Unlock, if current image brightness Ycurrent in these two zones, thinks then that the time shutter of imager and electron gain need to adjust.
(Ytarget-Unlock, Ytarget-Lock) zone and (Ytarget+Lock, Ytarget+Unlock) zone is called transitional region, when Ycurrent when ' locked ' zone enters the zone, system thinks that still current image remains lock-out state, system does not adjust, but when Ycurrent enters transitional region from the losing lock zone, system thinks that current image still needs to gain or the time shutter is regulated, its processing procedure is the same with processing procedure in the losing lock zone, and the purpose that transitional region is set is a number of times of adjusting time shutter and electron gain in order to reduce.
When automatic exposure function will be positioned at the losing lock zone at current image brightness exactly, adjust its electron gain and time shutter, make adjusted brightness of image be positioned at ' locked ' zone.For example: if current Ycurrent<Ytarget, after just if 1 unit electron gain of electron gain increase being adjusted to maximum, then will increase by 1 unit the time shutter, and electron gain is transferred to minimum, so repeatedly, till the Ycurrent that adjusts the back acquisition enters ' locked ' zone.
Method two: look-up table
Look-up table is a kind of improvement to approximatioss in fact, this method need be used an electron gain reconciliation statement, table look-up according to the difference of the brightness value of time shutter of input imagery and current image and object brightness and to find the step-length of the electron gain that needs adjust, difference is big more, step-length is big more, and the data in the table generally all are empirical datas.The specific implementation of this method is similar to method one, and major different is that the step-length that electron gain is regulated changes, and governing speed ratio method one is fast; Concrete control method, as mentioned above, if Ycurrent<Ytarget, need to increase electron gain, after electron gain is adjusted to maximum, increase the time shutter, simultaneously electron gain is adjusted to minimum, so repeatedly, enter ' locked ' zone up to current image brightness.
There is following shortcoming in above-mentioned two kinds of prior art automatic explosion methods:
1, regulates the speed slowly: because the adjustment mode is separately to adjust electron gain and time shutter, and need after new setting comes into force, to continue the inquiry depth of exposure to determine whether to do adjustment next time, therefore often need to adjust repeatedly just to make the brightness of image value enter ' locked ' zone.
2, the setting of adjusting to behind the ' locked ' zone often is not best the setting: because electron gain can not increase the entrained quantity of information of image, can both improve the overall brightness effect of image though that is to say electron gain and time shutter, but have only the time shutter could really reflect the entrained quantity of information of image, and the adjustment of approximatioss is to adjust electron gain earlier in proper order, adjust the time shutter again, so when brightness of image enters ' locked ' zone, electron gain may be very big or very little, makes image effect distortion occur in the part.If adjust the time shutter earlier, adjust electron gain again, because the time shutter is not a linear relationship to the variation that image brightness produced, be difficult to grasp, be easy to make image scintillation to occur.
3, often all be empirical data for the table that uses in the look-up table, the sensitometric characteristic of it and imager has very big relation, has significant limitation.
Summary of the invention
The invention provides a kind of fast automatic exposure method, to solve in the prior art automatic exposure slow problem of regulating the speed.
Automatic exposure implementation method provided by the invention comprises:
Steps A, judge whether the present image brightness value is positioned at the desired image brightness value threshold value of setting, if then imager is realized exposure with the time shutter and the electron gain value of present image; Otherwise, continue the following step;
Step B, according to present image brightness value, time shutter and electron gain value, the hi-vision brightness value that desired image brightness value and imager can obtain, determine a parameter value, make the product of adjusted image exposuring time and adjusted electron gain value equal this parameter value, may further comprise the steps:
B1, the time shutter that makes image, electron gain and brightness value satisfy following relational expression:
In the formula
Y: the image brightness value that the expression imager obtains;
M: the highest image brightness value that the expression imager can obtain;
K: when representing that the time shutter is 1 unit interval, the image brightness that imager obtains;
G: expression electron gain;
X: expression time shutter;
B2, the time shutter of establishing present image are T1, and electron gain is G1, and brightness value is Y1; The time shutter of adjusting the back image is T2, and electron gain is G2, and brightness value is Y2; According to above-mentioned formula (1), can obtain:
B3, adjusted brightness of image value Y2 is made as desired image brightness value Y
Target, the above-mentioned formula of substitution (2) calculates parameter value C:
Step C, earlier adjusted electron gain value is made as the electron gain value of expectation, calculates adjusted image exposuring time; Again the image exposuring time that calculates is rounded, calculate adjusted electron gain value;
Step D, imager are realized exposure with adjusted image exposuring time and adjusted electron gain value.
Described desired images brightness value value is 1/2 of visual maximum brightness, and its optimal threshold value is 1/16 of visual maximum brightness.
The best value of the electron gain value of described expectation is 1 multiplication benefit.
The method of rounding of described image exposuring time is a rounding-off method.
Adopt the inventive method can once approach time shutter and electron gain accurately, realize fast automatic exposure.
Description of drawings
Fig. 1 is the coordinate diagram that concerns of time shutter and depth of exposure;
Fig. 2 is that approximatioss is adjusted synoptic diagram in the prior art;
Fig. 3 is that incident light and exposure concern synoptic diagram;
Fig. 4 is the inventive method process flow diagram.
Embodiment
Referring to Fig. 3, for incident light and exposure concern synoptic diagram.As seen from the figure, the voltage signal of incident light through obtaining amplifying behind the imager, the voltage signal of this amplification and incident light intensity are linear.When environment does not change, how to determine a suitable exposure, make the brightness of image that obtains approach the brightness value of expectation, this is a problem to be solved by this invention.That is to say that the mathematical model that need to determine a voltage transitions be exposure makes exposure after the conversion satisfy the requirement of brightness of image.
The present invention describes relation between the image brightness that electron gain, time shutter and imager obtain with following mathematical model relational expression:
Y: the image brightness that the expression imager obtains;
M: the highest image brightness that the expression imager can obtain, this is the value of a quantification, different imagers can have different values;
K: when representing that the time shutter is 1 unit interval, the image brightness that imager obtains;
X: expression time shutter;
G: expression electron gain.
Brightness of image value and the test result table of comparisons of following table one for using the above-mentioned relation formula to calculate:
Table one:
Time shutter | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
For the first time | Test result | 33 | 67 | 90 | 110 | 128 | 143 | 157 | 169 | 180 |
Model value | 33 | 62 | 91 | 111 | 129 | 144 | 157 | 170 | 180 | |
For the second time | Test result | 30 | 62 | 86 | 105 | 121 | 134 | 146 | 156 | 166 |
Model value | 30 | 56 | 85 | 106 | 123 | 137 | 148 | 159 | 168 | |
For the third time | Test result | 37 | 73 | 99 | 118 | 133 | 146 | 159 | 172 | 183 |
Model value | 37 | 69 | 99 | 122 | 138 | 151 | 162 | 173 | 184 |
The extraordinary test result of approaching of above-mentioned as can be seen from the above table mathematical model.
Have according to formula 1:
Right logarithm is taken from both sides, has:
Suppose present image brightness Y1, the time shutter is T1, and electron gain is G1; Adjusted image brightness is Y2, and the time shutter is T2, and electron gain is G2;
Substitution formula 3 has:
Formula 4 has divided by formula 5:
Order:
Then have:
The purpose of automatic exposure is exactly:
Known, T1, G1, Y1,
Obtain T2, G2 satisfies Y2 in certain threshold range of brightness of image expectation value (Ytarget).
The image brightness scope of supposing expectation is [Ytarget-Threshold, Ytarget+Threshold], and wherein Threshold represents threshold range; The expectation electron gain is Gtarget; According to the mathematical formulae that above-mentioned derivation is come out, fast automatic exposure method flow process of the present invention comprises the steps: as shown in Figure 4
Step 1: judge whether the present image brightness value is positioned at the desired image brightness value threshold value of setting, if, then not needing to start and carry out electron gain and time shutter adjustment process, imager is realized exposure with the time shutter and the electron gain value of present image; Otherwise, continue the following step;
Step 2: with Y
2=Y
TargetSubstitution formula 7 calculates g (Y1);
Step 3: with G
2=G
TargetSubstitution formula 8 calculates T
2
Step 4: with T
2Round substitution formula 9 and calculate G
2
Imager is with the time shutter T of the image that calculates
2With electron gain value G
2Realize exposure.
Because electron gain G
2Can not increase the information that imager obtains image, so G
2Value can not be too big, generally should be between 1-2.
Because the needs of Design of Digital Circuit are as the T that mentions in the explanation of front, G, the relation of Y, T
2, G
2Value can have quantization error, so need execution in step three and step 4, result of calculation is carried out back substitution.
The general value of above-mentioned desired images brightness value is 1/2 of a maximum brightness value, and its optimal threshold value is 1/16.
The best value of the electron gain value of above-mentioned expectation is a multiplication benefit.
The method of rounding of described image exposuring time is a rounding-off method.
As seen from the above description, adopt method of the present invention only to need once to adjust and just can approach time shutter and electron gain accurately, therefore, the present invention can realize fast automatic exposure.
In addition, once be out of shape, can obtain: time shutter T by above-mentioned formula 8
2With electron gain value G
2Product equal a parameter value C:
That is to say, after setting the brightness value of adjusted brightness of image value for expectation, the time shutter T that need ask for
2With electron gain value G
2Inversely proportional funtcional relationship.C value acquiring method disclosed by the invention is according to present image brightness value, time shutter and electron gain value, and the hi-vision brightness value that desired image brightness value and imager can obtain is determined.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.
Claims (4)
1, a kind of automatic exposure implementation method is characterized in that: comprise the following steps:
Steps A, judge whether the present image brightness value is positioned at the desired image brightness value threshold value of setting, if then imager is realized exposure with the time shutter and the electron gain value of present image; Otherwise, continue the following step;
Step B, according to present image brightness value, time shutter and electron gain value, the hi-vision brightness value that desired image brightness value and imager can obtain, determine a parameter value, make the product of adjusted image exposuring time and adjusted electron gain value equal this parameter value, specifically comprise:
B1, the time shutter that makes image, electron gain and brightness value satisfy following relational expression:
In the formula (1)
Y: the image brightness value that the expression imager obtains;
M: the highest image brightness value that the expression imager can obtain;
K: the expression time shutter is 1 unit interval, when this is the minimum step of time shutter, and the image brightness that imager obtains;
G: expression electron gain;
X: expression time shutter;
B2, the time shutter of establishing present image are T1, and electron gain is G1, and brightness value is Y1; The time shutter of adjusting the back image is T2, and electron gain is G2, and brightness value is Y2; According to above-mentioned formula (1), can obtain:
B3, adjusted brightness of image value Y2 is made as desired image brightness value Y
Target, the above-mentioned formula of substitution (2) calculates parameter value C:
Step C, earlier adjusted electron gain value is made as the electron gain value of expectation, calculates adjusted image exposuring time; Again the image exposuring time that calculates is rounded, calculate adjusted electron gain value;
Step D, imager are realized exposure with adjusted image exposuring time and adjusted electron gain value.
2, automatic exposure implementation method as claimed in claim 1 is characterized in that: described desired images brightness value value is 1/2 of visual maximum brightness, and its optimal threshold value is 1/16 of visual maximum brightness.
3, automatic exposure implementation method as claimed in claim 1 is characterized in that: the best value of the electron gain value of described expectation is 1 multiplication benefit.
4, automatic exposure implementation method as claimed in claim 1 is characterized in that: the method for rounding of described image exposuring time is a rounding-off method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101025360A CN100361019C (en) | 2004-12-24 | 2004-12-24 | Method for implementing automatic exposure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101025360A CN100361019C (en) | 2004-12-24 | 2004-12-24 | Method for implementing automatic exposure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1632688A CN1632688A (en) | 2005-06-29 |
CN100361019C true CN100361019C (en) | 2008-01-09 |
Family
ID=34848119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101025360A Expired - Fee Related CN100361019C (en) | 2004-12-24 | 2004-12-24 | Method for implementing automatic exposure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100361019C (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100458541C (en) * | 2005-07-01 | 2009-02-04 | 北京中星微电子有限公司 | Method of automatic exposure regulation and its control system |
CN100458540C (en) * | 2006-10-27 | 2009-02-04 | 北京中星微电子有限公司 | Automatic exposure regulating method and device |
CN101123691B (en) * | 2007-07-24 | 2012-03-14 | 哈尔滨工程大学 | Self-adapted adjustment method for image brightness of high resolution and panorama vision system |
CN101359148B (en) * | 2007-08-03 | 2011-04-06 | 深圳艾科创新微电子有限公司 | Method for automatic exposure regulation and control system |
CN101247480B (en) * | 2008-03-26 | 2011-11-23 | 北京中星微电子有限公司 | Automatic exposure method based on objective area in image |
CN101511033B (en) * | 2008-12-18 | 2011-06-22 | 昆山锐芯微电子有限公司 | Image processing process for CMOS image sensor |
CN102291538A (en) * | 2011-08-17 | 2011-12-21 | 浙江博视电子科技股份有限公司 | Automatic exposure method and control device of camera |
CN104539852B (en) * | 2014-12-26 | 2018-05-29 | 中国科学院西安光学精密机械研究所 | Instantaneous automatic exposure method suitable for instantaneous highlight scene |
CN105450940A (en) * | 2015-11-24 | 2016-03-30 | 长春乙天科技有限公司 | Light modulation control device for low-light camera and light modulation method |
CN107124561A (en) * | 2016-12-27 | 2017-09-01 | 福建新大陆自动识别技术有限公司 | A kind of bar code image exposure adjustment system and method based on CMOS |
CN107071308A (en) * | 2016-12-27 | 2017-08-18 | 福建新大陆自动识别技术有限公司 | A kind of CMOS is quickly adjusted to as system and method |
CN111064900A (en) * | 2019-12-25 | 2020-04-24 | 宜宾凯翼汽车有限公司 | Self-adaptive white balance method and vehicle-mounted panoramic looking-around system |
CN111191643B (en) * | 2020-04-10 | 2021-09-07 | 支付宝(杭州)信息技术有限公司 | Iris image acquisition system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003348422A (en) * | 2002-05-23 | 2003-12-05 | Canon Inc | Imaging apparatus, imaging method, program and storage medium |
JP2004133006A (en) * | 2002-10-08 | 2004-04-30 | Canon Inc | Imaging device, program and recording medium |
CN1504823A (en) * | 2002-12-05 | 2004-06-16 | ӡ�����Ƽ��ɷ�����˾ | Rapid convergence method for correct exposure value |
CN1547074A (en) * | 2003-12-05 | 2004-11-17 | Automatic exposure unit with collaborative digital brightness gain and exposure time |
-
2004
- 2004-12-24 CN CNB2004101025360A patent/CN100361019C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003348422A (en) * | 2002-05-23 | 2003-12-05 | Canon Inc | Imaging apparatus, imaging method, program and storage medium |
JP2004133006A (en) * | 2002-10-08 | 2004-04-30 | Canon Inc | Imaging device, program and recording medium |
CN1504823A (en) * | 2002-12-05 | 2004-06-16 | ӡ�����Ƽ��ɷ�����˾ | Rapid convergence method for correct exposure value |
CN1547074A (en) * | 2003-12-05 | 2004-11-17 | Automatic exposure unit with collaborative digital brightness gain and exposure time |
Also Published As
Publication number | Publication date |
---|---|
CN1632688A (en) | 2005-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100361019C (en) | Method for implementing automatic exposure | |
CN101902550B (en) | Image processing apparatus, image processing method | |
US20060215925A1 (en) | Image processing device, image processing program, image processing method, and electronic camera for controlling degree of noise reduction in image data | |
Berns | Methods for characterizing CRT displays | |
US7995855B2 (en) | Image processing method and apparatus | |
US8804013B2 (en) | Method of calculating lens shading compensation factor and method and apparatus for compensating for lens shading by using the method | |
CN101753797B (en) | Image signal processing apparatus and method | |
JP5148989B2 (en) | Imaging device | |
CN105354801B (en) | A kind of image enchancing method based on HSV color space | |
CN101282417A (en) | Method of and apparatus for image denoising | |
CN102129674A (en) | Self-adaptation color balance correction method for color image | |
EP1392063B1 (en) | Device and method for adjusting colour saturation | |
CN101873429A (en) | Processing method and device of image contrast | |
CN101489035A (en) | Image shooting apparatus and blur correction method | |
US9025820B2 (en) | Image processing apparatus and image processing method | |
US7796830B2 (en) | Adaptive contrast optimization of digital color images | |
CN101686321B (en) | Method and system for reducing noise in image data | |
JPH0983824A (en) | Color correction method | |
US4237481A (en) | Image reproduction using sharp and unsharp signals | |
CN110232659A (en) | A kind of bearing calibration of image color cast, device and electronic equipment | |
CN103905804A (en) | Method of adjusting white balance and electronic equipment | |
JP2005130486A (en) | Video signal processing apparatus | |
JPS603269A (en) | System for emphasizing sharpness of picture | |
US20020171661A1 (en) | Correction of digital images | |
WO2008145029A1 (en) | Auto white balancing by modified grey world and geometric distortion measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080109 Termination date: 20111224 |