Movatterモバイル変換


[0]ホーム

URL:


CN101140184B - Method and device for automatically measuring ambient brightness - Google Patents

Method and device for automatically measuring ambient brightness
Download PDF

Info

Publication number
CN101140184B
CN101140184BCN2007101765621ACN200710176562ACN101140184BCN 101140184 BCN101140184 BCN 101140184BCN 2007101765621 ACN2007101765621 ACN 2007101765621ACN 200710176562 ACN200710176562 ACN 200710176562ACN 101140184 BCN101140184 BCN 101140184B
Authority
CN
China
Prior art keywords
time shutter
time
brightness
ambient brightness
gain
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
Application number
CN2007101765621A
Other languages
Chinese (zh)
Other versions
CN101140184A (en
Inventor
邓亚峰
王浩
黄英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro CorpfiledCriticalVimicro Corp
Priority to CN2007101765621ApriorityCriticalpatent/CN101140184B/en
Publication of CN101140184ApublicationCriticalpatent/CN101140184A/en
Application grantedgrantedCritical
Publication of CN101140184BpublicationCriticalpatent/CN101140184B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a method and a device for automatically measuring environment brightness, which is used to provide a technical scheme which is simple, has the low cost and determines the environment brightness. The method provided in the invention presets the first corresponding relations of exposure time range and environment brightness grade, and the method is that the environment brightness grade is determined according to the exposure time range to which the exposure time belongs and the corresponding relations.

Description

A kind of method of automatic measuring ambient brightness and device
Technical field
The present invention relates to the signal processing technology field, relate in particular to a kind of method and device of automatic measuring ambient brightness.
Background technology
Development along with infotech; camera is popularized in a lot of multimedia equipments; these equipment often are operated in the different environment; the monochrome information that obtains surrounding environment according to camera information is very useful sometimes; such as changing according to ambient brightness; change the display brightness of display device (for example the display terminal of notebook, desktop computer and mobile phone etc.), thereby when saving electric energy, protected people's eyesight again.In addition, some special dimension also needs ambient brightness, need measure the sudden change of ambient brightness such as some automatic door bell or warning device.
In the prior art, generally by special photometry sensor (as illuminometer etc.) measurement environment luminance brightness.The precision height that this method is measured, but need separate equipment, use inconvenient in a lot of occasions.
In the prior art, can also adopt photoresistance to measure ambient brightness, still, adopt photoresistance to measure the technical scheme of ambient brightness, owing to need to increase one or more photoresistance, thereby increased cost, also increased the complexity of device simultaneously.
Camera is popularized in a lot of Multimedia Mobile equipment, the information during according to the camera pictures taken, and the estimation ambient brightness is a good selection.In the prior art, method by camera estimation ambient brightness just according to the time shutter simply with ambient brightness rough be divided into several grades, do not consider the influence of image capture device to brightness of image, and, also too simple to the classification of ambient brightness.
Summary of the invention
The embodiment of the invention provides a kind of method and device of automatic measuring ambient brightness, in order to a kind of technical scheme that realizes definite ambient brightness that simple, required cost is low to be provided.
The method that the embodiment of the invention provides sets in advance other first corresponding relation of time shutter scope and ambient light level, and this method comprises:
According to the time shutter scope under the time shutter, and described first corresponding relation, determine the ambient brightness rank.
The device that the embodiment of the invention provides comprises:
The unit is set, is used to store time shutter scope and other first corresponding relation of ambient light level of setting in advance;
Determining unit is used for according to the time shutter scope under the time shutter, and described first corresponding relation, determines the ambient brightness rank.
The embodiment of the invention sets in advance other first corresponding relation of time shutter scope and ambient light level, according to the time shutter scope under the time shutter, and described first corresponding relation, determine the ambient brightness rank.Make that other realization of mensuration ambient light level is simpler, cost is lower.
Description of drawings
The method flow synoptic diagram that Fig. 1 provides for the embodiment of the invention;
The method flow synoptic diagram that Fig. 2 provides for the embodiment of the invention;
The apparatus structure synoptic diagram that Fig. 3 provides for the embodiment of the invention;
The first determining unit structural representation that Fig. 4 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of method and device of automatic measuring ambient brightness, makes that the realization of determining ambient brightness is simpler, and required cost is lower.
The imaging device of mentioning in the embodiment of the invention, all support the imaging device of automatic exposure modes to comprise camera, digital camera, video camera and other.The embodiment of the invention need not to increase additional hardware just can measure ambient brightness according to the exposure parameter of imaging device.
Generally speaking, imaging device all can show the human eye acceptable image for the brightness that conforms under various environmental baseline, all can comprise an automatic exposure module.This module can be according to the difference of ambient brightness, adjusts the time shutter (ET_Step) of sensor devices, thereby all accepts the image of scope at human eye can obtaining brightness of image and contrast under the darker environmental baseline and under the brighter environmental baseline.
General automatic exposure algorithm all can set in advance the brightness range of final output image, according to the brightness of current images acquired, judges this brightness of image whether in final brightness range, if, then do not handle; If do not exist, then regulate ET_Step, when the figure kine bias of gathering is bright, just reduce ET_Step, when the figure kine bias of gathering is dark, then improve ET_Step.Like this, the mean flow rate of image can be stabilized in certain scope, but the value of time shutter is but changing, and this variation has reflected the variation of ambient brightness.Under common indoor illumination condition, time shutter and the ambient brightness relation of being inversely proportional to, promptly when environment was brighter, ET_Step was less; And when environment was dark, ET_Step was bigger.
Generally speaking, ambient brightness is when 30Lux is in the 500lLux scope, and corresponding ET_Step can be transferred to the 1st grade (corresponding time shutter scope is about 0.2 second to 0.01 second) from the 20th grade, and the two all is similar to and is inverse relation.
In actual applications, do not need the fine description of ambient brightness, but the rough rank that only needs to know ambient brightness gets final product, thereby the embodiment of the invention can be measured the rank of ambient brightness according to the scope of ET_Step.
Below in conjunction with accompanying drawing, describing the embodiment of the invention in detail is how to realize automatic measuring ambient brightness.
Referring to Fig. 1, the method that the embodiment of the invention provides comprises:
S101, set in advance time shutter scope and other corresponding relation of ambient light level.
For example, ambient brightness need be divided into the N level, and the brightness at different levels scope of corresponding ET_Step respectively are [TET1n, TET2n), TET wherein1nBe the minimum value of scope of the ET_Step of n level ambient brightness correspondence, TET2nBe the maximal value of scope of the ET_Step of n level ambient brightness correspondence, and satisfyTET2n=TET1n+1,It is the maximal value of the scope of the minimum value of scope of the ET_Step of other ambient brightness correspondence of a certain level ET_Step that equals other ambient brightness correspondence of its upper level.
S102, search the time shutter scope under the current ET_Step.
S103, according to the time shutter scope, determine corresponding ambient brightness rank.
If current ET_Step has dropped on ambient light levels when being n in the pairing time shutter scope, determine that then current environment brightness is the n level.
For example, suppose and need be divided into 5 grades to ambient brightness, can followingly set:
The 1st grade of ambient brightness: TET11Equal the time shutter of the 1st grade of ET_Step correspondence, TET21Equal the time shutter of 3rd level ET_Step correspondence;
The 2nd grade of ambient brightness: TET12Equal the time shutter of 3rd level ET_Step correspondence, TET22Equal the time shutter of the 7th grade of ET_Step correspondence;
Ambient brightness 3rd level: TET13Equal the time shutter of the 7th grade of ET_Step correspondence, TET23Equal the time shutter of the 13rd grade of ET_Step correspondence;
The 4th grade of ambient brightness: TET14Equal the time shutter of the 13rd grade of ET_Step correspondence, TET24Equal the time shutter of the 19th grade of ET_Step correspondence;
The 5th grade of ambient brightness: TET15Equal the time shutter of the 19th grade of ET_Step correspondence, TET25Equal the time shutter of the 20th grade of ET_Step correspondence.
Like this, each constantly all can obtain an ambient light levels, and in application, surround lighting is in the continuous variation, and the brightness degree that above-mentioned steps obtains also can constantly change, and can't stablize.And, when changing, ambient brightness enters the automatic exposure adjustment process, before automatic exposure does not settle out, ET_Step also is in continuous variation, at this moment, the brightness of output image is not in limited range, and ET_Step can't normally reflect the variation of ambient brightness.Therefore, for fear of above-mentioned situation, before judging the ambient brightness rank, step below carrying out.
The average of ET_Step in S104, the computation of Period a period of time TWith variance δET
S105, work as δETLess than pre-set threshold Tσ ET, determine that then automatic exposure this moment is stable.Can think that also the time shutter is constant, then automatic exposure is in steady state (SS), need not to judge according to the time shutter variance.It is constant promptly to work as time shutter ET_Step, perhaps the variance δ of ET_Step in the time TETLess than threshold value Tσ ETThe time, determine that automatic exposure is stable, carry out ambient brightness rank determination step then.
If
Figure S2007101765621D00051
In the pairing time shutter scope, determine that then current environment brightness is the n level when having dropped on ambient light levels and being n.
Even after handling like this,, may appear at the situation of frequently beating between certain two brightness degree, in order to overcome this problem, need to adopt the embodiment of dual threshold, step below promptly carrying out if ambient brightness is in the variation.
S106, according to the time shutter scope of the ambient brightness rank correspondence of determining last time, obtain the first threshold and second threshold value of time shutter.
S107, judgement
Figure S2007101765621D00052
Whether more than or equal to described first threshold, and, less than described second threshold value, if, execution in step S108 then; Otherwise, execution in step S109.
S108, determine that current ambient brightness rank is the ambient brightness rank of determining last time.
S109, basis
Figure S2007101765621D00053
Affiliated time shutter scope, and described corresponding relation are determined corresponding ambient brightness rank.
Suppose that the ambient brightness rank of measuring last time is np, pairing time shutter scope is [TET1n, TET2n), if then
Figure S2007101765621D00054
Drop on [TET1n1, TET2n+ γ2) in the scope, think that ambient light levels still is npOtherwise, judge
Figure S2007101765621D00055
Whether dropped in the time shutter scope of certain ambient light levels correspondence, to determine the current environment brightness degree.Wherein, γ1, γ2Be the preset threshold protection domain, the brightness degree that causes when being used to prevent the ambient brightness variation is beated.
Yet the ET_Step range of adjustment is limited, when ET_Step arrives the adjustable extent end points, can't continue to regulate ET_Step, makes output image brightness in target zone, and ET_Step just can't accurately reflect the variation range of ambient brightness.At this moment, generally can be then adjusting brightness of image entire gain (Global_Gain) and/or sensor devices gain (Sensor_Gain).
Referring to Fig. 2, the method that another embodiment of the present invention provides comprises:
S201, set in advance time shutter scope and other first corresponding relation of ambient light level, and the gain of brightness of image (Gain) scope and other second corresponding relation of ambient light level.
For example, the ambient brightness rank of Gain scope correspondence is the M level, and the ambient brightnesss at different levels scope of corresponding Gain respectively are [TGT1m, TGT2m).
And, Gain=Global_Gain, or Gain=Sensor_Gain, or Gain=Global_Gain*Sensor_Gain.
S202, when ET_Step exceeds time shutter of setting in advance during scope, search the gain margin under the current Gain.
S203, according to the gain margin under the Gain, and described second corresponding relation is determined the ambient brightness rank.
Introduce the device that the embodiment of the invention provides below.
Referring to Fig. 3, the device that the embodiment of the invention provides comprises: first is provided withunit 31, second is provided withunit 32, judges automaticexposure stabilization element 33, first determiningunit 34,trigger element 35 and second determiningunit 36.
First is provided withunit 31, is used to store time shutter scope and other first corresponding relation of ambient light level of setting in advance.
Second is provided withunit 32, is used to store gain margin and other second corresponding relation of ambient light level of the brightness of image that sets in advance.
Judge automaticexposure stabilization element 33, be used for the variance of time shutter in computation of Period a period of time; When described variance during, determine that automatic exposure this moment is stable, and trigger described first determiningunit 34 less than pre-set threshold.
Described first determiningunit 34, when being used to receive the triggering of described judgement automaticexposure stabilization element 33, according to the time shutter scope under the time shutter, and described first corresponding relation, determine the ambient brightness rank.
Described first determiningunit 34 can be according to the time shutter scope under the current time shutter, and described first corresponding relation, determines the ambient brightness rank; Can also be according to the time shutter scope under the average of time shutter in described a period of time, and described first corresponding relation, determine the ambient brightness rank.
In addition, for fear of the problem appearance of the frequent shake of ambient brightness, referring to Fig. 4, preferably, described first determiningunit 34 comprises:dual threshold unit 341, judgingunit 342,first module 343 andsecond unit 344.
Describeddual threshold unit 341 when being used to receive the triggering of described judgement automaticexposure stabilization element 33, according to the time shutter scope of the ambient brightness rank correspondence of determining last time, obtains the first threshold and second threshold value of time shutter.
Whether described judgingunit 342, the average that is used to judge the time shutter in described a period of time more than or equal to described first threshold, and, less than described second threshold value, if then trigger describedfirst module 343; Otherwise, trigger describedsecond unit 344.
Describedfirst module 343 is used for the triggering 342 according to described judging unit, determines that current ambient brightness rank is the ambient brightness rank of determining last time.
Describedsecond unit 344 is used for the triggering 342 according to described judging unit, according to the time shutter scope under the average of time shutter in described a period of time, and described first corresponding relation, determine corresponding ambient brightness rank.
Describedtrigger element 35 is used for exceeding the described time shutter that sets in advance during scope when the described time shutter, triggers described second determiningunit 36;
Described second determiningunit 36, when being used to receive the triggering of describedtrigger element 35, according to the gain margin under the gain of brightness of image, and described second corresponding relation, determine the ambient brightness rank.
The gain of described brightness of image is: the product of brightness of image entire gain, sensor devices gain or brightness of image entire gain and sensor devices gain.
In sum, the embodiment of the invention is for all imaging devices, need not to increase additional hardware and just can measure ambient brightness, utilize the increase cost of measurement environment brightness schemes such as photoresistance and the shortcoming of equipment complexity thereby overcome prior art according to the exposure parameter of imaging device.Further, for device, can also realize the brightness of control display device according to the ambient brightness that records with display device.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. the method for an automatic measuring ambient brightness is characterized in that, this method comprises:
The variance of time shutter in computation of Period a period of time;
When described variance during, determine that automatic exposure is stable less than pre-set threshold;
When definite automatic exposure is stablized, according to the time shutter scope that sets in advance under the time shutter, and the time shutter scope that sets in advance and other first corresponding relation of ambient light level, determine the ambient brightness rank.
2. method according to claim 1 is characterized in that, the described time shutter is the current time shutter.
3. method according to claim 1 is characterized in that, when definite automatic exposure was stablized, the described time shutter was the average of time shutter in described a period of time.
4. method according to claim 1 is characterized in that, when definite automatic exposure was stablized, described other step of definite ambient light level comprised:
According to the time shutter scope of the ambient brightness rank correspondence of determining last time, obtain the first threshold and second threshold value of time shutter;
Whether the average of judging the time shutter in described a period of time more than or equal to described first threshold, and, less than described second threshold value, if determine that then current ambient brightness rank is the ambient brightness rank of determining last time; Otherwise, according to the time shutter scope under the average of time shutter in described a period of time, and described first corresponding relation, determine corresponding ambient brightness rank.
5. method according to claim 1 is characterized in that, this method also comprises the gain margin that sets in advance brightness of image and the step of other second corresponding relation of ambient light level;
Exceed the described time shutter that sets in advance during scope when the described time shutter, according to the gain margin that sets in advance brightness of image under the gain of brightness of image, and described second corresponding relation, determine the ambient brightness rank.
6. method according to claim 5 is characterized in that, the gain of described brightness of image is:
The product of brightness of image entire gain, sensor devices gain or brightness of image entire gain and sensor devices gain.
7. the device of an automatic measuring ambient brightness is characterized in that, this device comprises:
First is provided with the unit, is used to store time shutter scope and other first corresponding relation of ambient light level of setting in advance;
Judge the automatic exposure stabilization element, be used for the variance of the time shutter in computation of Period a period of time; When described variance during less than pre-set threshold, determine that automatic exposure is stable, trigger first determining unit this moment;
First determining unit is used for according to the time shutter scope that sets in advance under the time shutter, and described first corresponding relation, determines the ambient brightness rank.
8. device according to claim 7 is characterized in that, described first determining unit, and according to the time shutter scope under the current time shutter, and described first corresponding relation, determine the ambient brightness rank.
9. device according to claim 7 is characterized in that, described first determining unit, and according to the time shutter scope under the average of time shutter in described a period of time, and described first corresponding relation, determine the ambient brightness rank.
10. device according to claim 7 is characterized in that, described first determining unit comprises: dual threshold unit, judging unit, first module and Unit second;
Described dual threshold unit is used for the time shutter scope according to definite ambient brightness rank correspondence last time, obtains the first threshold and second threshold value of time shutter;
Whether described judging unit, the average that is used to judge the time shutter in described a period of time more than or equal to described first threshold, and, less than described second threshold value, if then trigger described first module; Otherwise, trigger described Unit second;
Described first module is used for the triggering according to described judging unit, determines that current ambient brightness rank is the ambient brightness rank of determining last time;
Described Unit second is used for the triggering according to described judging unit, according to the time shutter scope under the average of time shutter in described a period of time, and described first corresponding relation, determine corresponding ambient brightness rank.
11. device according to claim 7 is characterized in that, this device also comprises: second is provided with unit, trigger element and second determining unit;
Described second is provided with the unit, is used to store gain margin and other second corresponding relation of ambient light level of the brightness of image that sets in advance;
Described trigger element is used for exceeding the described time shutter that sets in advance during scope when the described time shutter, triggers described second determining unit;
Described second determining unit, when being used to receive the triggering of described trigger element, according to the gain margin that sets in advance brightness of image under the gain of brightness of image, and described second corresponding relation, determine the ambient brightness rank.
12. device according to claim 11 is characterized in that, the gain of described brightness of image is:
The product of brightness of image entire gain, sensor devices gain or brightness of image entire gain and sensor devices gain.
CN2007101765621A2007-10-302007-10-30Method and device for automatically measuring ambient brightnessExpired - Fee RelatedCN101140184B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2007101765621ACN101140184B (en)2007-10-302007-10-30Method and device for automatically measuring ambient brightness

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2007101765621ACN101140184B (en)2007-10-302007-10-30Method and device for automatically measuring ambient brightness

Publications (2)

Publication NumberPublication Date
CN101140184A CN101140184A (en)2008-03-12
CN101140184Btrue CN101140184B (en)2010-07-07

Family

ID=39192229

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2007101765621AExpired - Fee RelatedCN101140184B (en)2007-10-302007-10-30Method and device for automatically measuring ambient brightness

Country Status (1)

CountryLink
CN (1)CN101140184B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102377947B (en)*2011-09-022013-11-20深圳市先河系统技术有限公司Exposure control device and method
CN105991931B (en)*2015-02-052019-08-02宇龙计算机通信科技(深圳)有限公司The acquisition method and terminal of video
CN106454099A (en)*2016-10-252017-02-22武汉烽火众智数字技术有限责任公司day-night mode switching method of improved video camera
CN112333898B (en)*2019-08-302023-04-25北京字节跳动网络技术有限公司Lamp brightness adjusting method and device, lamp and storage medium
CN113055580B (en)*2019-12-262023-10-03中兴通讯股份有限公司Environment recognition method, shooting mode switching method, terminal and storage medium
CN113418845B (en)*2021-06-252023-02-24山东诺方电子科技有限公司Maintenance and calibration system and method for dust load acquisition equipment
CN113364993B (en)*2021-07-232023-04-18北京字节跳动网络技术有限公司Exposure parameter value processing method and device and electronic equipment
CN113495422B (en)*2021-09-082021-12-07深圳市火乐科技发展有限公司Projection control method and device, projection equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1547074A (en)*2003-12-052004-11-17 An automatic exposure device with digital brightness gain and exposure time working together
US20050254723A1 (en)*2004-05-132005-11-17Shang-Yun WuExposure correction method for digital images
CN1229976C (en)*2002-01-252005-11-30全视技术有限公司Method of quick automatic exposure and gain control in CMOS image sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1229976C (en)*2002-01-252005-11-30全视技术有限公司Method of quick automatic exposure and gain control in CMOS image sensor
CN1547074A (en)*2003-12-052004-11-17 An automatic exposure device with digital brightness gain and exposure time working together
US20050254723A1 (en)*2004-05-132005-11-17Shang-Yun WuExposure correction method for digital images

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2003-116047A 2003.04.18
杜江涛.数码相加在光环境亮度和颜色测试中的应用.天津大学硕士学位论文.2002,13-14,21,43.*

Also Published As

Publication numberPublication date
CN101140184A (en)2008-03-12

Similar Documents

PublicationPublication DateTitle
CN101140184B (en)Method and device for automatically measuring ambient brightness
US9940902B2 (en)Automatic brightness control for displays
RU2659484C1 (en)Method and device for display brightness adjusting
US12212837B2 (en)Imaging apparatus, imaging method and imaging program
JP5294716B2 (en) Display control apparatus and display control method
US9552754B2 (en)Display method and device for optimizing screen brightness
EP3481051A1 (en)Combining optical and digital zoom under varying image capturing conditions
US20060007223A1 (en)Display control system and method
US7415203B2 (en)Method and apparatus for controlling automatic exposure in a camera
EP2189971A1 (en)Display control apparatus and display control method
JP2007535695A (en) Dynamic display control of portable electronic device display
CN104780320B (en)Ambient light detection method and electronic device
CN106506909A (en)Method and device for adjusting portable electronic device according to optical condition
CN101126661B (en)Method and apparatus for determining ambient light
CN108538265A (en)A kind of the display brightness method of adjustment and device of liquid crystal display
CN101127206A (en)Method and device for automatically determining brightness of display and display
US20240273909A1 (en)Camera shooting parameter adjustment method and apparatus, and electronic device
EP4050882B1 (en)Image capturing apparatus capable of detecting flicker due to periodic change in light amount of object, flicker detecting method, and program
US20150237248A1 (en)Image processing method and image processing device
EP4142299A1 (en)Imaging apparatus, flicker detection method, and program
CN105872355A (en)Focus adjustment device and focus adjustment method
JP2017046072A (en) Image processing apparatus, image processing method, program, and storage medium
US10171742B2 (en)Image capturing apparatus, method, and program with operation state determination based upon angular velocity detection
CN105895057A (en)Backlight regulating method and device, and terminal equipment
US10033939B2 (en)Method and apparatus for automatic stage scene detection

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20100707

Termination date:20201030

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp