CN1658657A - Method and device for backlighting automatic detection and compensation - Google Patents

Method and device for backlighting automatic detection and compensation Download PDF

Info

Publication number
CN1658657A
CN1658657A CN 200510063069 CN200510063069A CN1658657A CN 1658657 A CN1658657 A CN 1658657A CN 200510063069 CN200510063069 CN 200510063069 CN 200510063069 A CN200510063069 A CN 200510063069A CN 1658657 A CN1658657 A CN 1658657A
Authority
CN
China
Prior art keywords
brightness value
brightness
middle body
zonule
imaging region
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.)
Granted
Application number
CN 200510063069
Other languages
Chinese (zh)
Other versions
CN100338944C (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 Corp filed Critical Vimicro Corp
Priority to CNB200510063069XA priority Critical patent/CN100338944C/en
Publication of CN1658657A publication Critical patent/CN1658657A/en
Application granted granted Critical
Publication of CN100338944C publication Critical patent/CN100338944C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This invention discloses a backlighting auto-testing and equalizing method and device. The method includes the following steps: compare the luminance value of the edge part of the imaging area with the one of the central part; ascertain the shooting surroundings to be backlighting under the condition that the luminance value of the edge part is much higher than the one of the central part. This invention efficiently solves the problem of being unable to auto-test the backlighting state and auto-equalize the luminance of the main object in the image when backlighting shooting.

Description

The method and apparatus that backlight detects and compensates automatically
Technical field
The present invention relates to optical imaging field, especially, relate to the method and apparatus of automatic detection of backlight and luminance compensation.
Background technology
Present camera head can mainly comprise by the pattern that changes photometry manually is set as in digital camera, the mobile phone cam: average metering, some photometry, central weighting photometry, specific region weighting photometry etc.Under the average metering pattern, the mean flow rate of entire image is as the foundation of photometry; Under a metering mode, with in the image certain a bit, normally the brightness value of central point is as the foundation of photometry; Under central weighting photometry and specific region weighting metering mode, based on certain regional area, other zones are auxilliary, and mean flow rate multiply by higher weight in the regional area of appointment, other regional mean flow rates multiply by lower weight, and the brightness value that obtains after the statistics is as the foundation of photometry.
In the backlight environment, generally speaking main part is darker, but background parts illumination is stronger.In this case, if do according to come photometry, the image that obtains all be that main part is dark partially usually by the mean flow rate of entire image, severe patient even can not differentiate the details of main part fully.
In this case, can manually be set to specific region weighting metering mode, wherein the specific region is exactly a main part.With 4 * 4 zonules is example, and the principle of specific region weighting metering mode is, obtains the average brightness value Yi of each zonule earlier, and 1<=i<=16 are then according to one 4 * 4 weighting coefficient matrix T, by formula
Y = Σ i Yi × Ti Σ i Ti
These brightness values are weighted on average, draw the brightness value Y after the weighted average, carry out the exposure parameter setting according to the Y value again.The image background of coming though break forth like this is bright partially, and main part brightness is proper, compares with the dark image of doing one of main body, and its effect is more satisfactory.
Yet, when running into backlight, suitable photometry and exposure mode need be set manually.Not big problem for the professional photographer, but for common user or for photographic knowledge understanding people seldom, cumbersome really.
Summary of the invention
The objective of the invention is to, solve when backlight is taken pictures, can not detect the backlight state automatically and automatically to image in the problem that compensates of the brightness of agent object.
According to a first aspect of the invention, provide a kind of formation method, this method may further comprise the steps: compare the brightness value of imaging region marginal portion and the brightness value of middle body; Under the situation of middle body brightness value, determine that shooting environmental is the backlight environment at the marginal portion brightness value.
In first aspect, preferably, further comprising the steps of: according to the ratio of predetermined brightness value with the middle body brightness value, gain coefficient; And, image is carried out brightness regulation according to described gain coefficient.
Preferably, the step of described comparison brightness value comprises, imaging region is divided into some zonules, each zonule is being calculated on the basis of its brightness value the subregional brightness value of the brightness value of edge calculation subregion and central portion respectively.
Preferably, the adjustable size of the zonule of wherein being divided is whole.
Preferably, described brightness value is an average brightness value.
According to a second aspect of the invention, provide a kind of imaging device, this device comprises: the brightness value comparison means is used for the brightness value of comparison imaging region marginal portion and the brightness value of middle body; Backlight is determined device, is used at the marginal portion brightness value under the situation of middle body brightness value, determines that shooting environmental is the backlight environment.
In second aspect, preferably, also comprise gain factor calculation device, be used for according to the ratio of predetermined brightness value with the middle body brightness value, gain coefficient; And brightness regulating apparatus, be used for image being carried out brightness regulation according to described gain coefficient.
Preferably, described brightness value comparison means comprises the area dividing device, is used for imaging region is divided into some zonules; And the brightness value calculation element, be used for the basis of calculating its brightness value respectively, the subregional brightness value of the brightness value of edge calculation subregion and central portion to each zonule.
Preferably, wherein the area dividing device is used for dynamically dividing imaging region, and the adjustable size of the zonule of being divided is whole.
Preferably, described brightness value is an average brightness value.
The present invention can detect the backlight environment automatically, and automatically image subject is carried out luminance compensation after definite shooting environmental is the backlight environment.Effectively overcome the defective that metering mode manually is set when taking under the backlight environment, hardware of the present invention is realized easily.
Description of drawings
Fig. 1 illustrates the imaging region of an embodiment of the present invention and divides schematic diagram.
For understanding the present invention better, the invention will be further described below in conjunction with the drawings and specific embodiments.
Embodiment
The first step marks off 4 * 4 totally 16 zonules, A1-A16 in whole imaging region.With reference to Fig. 1, Fig. 1 divides schematic diagram for the imaging region of an embodiment of the present invention.Preferably, the dividing region method is a dynamic-configuration here, can adjust the size of some zonule as required.For example, in imaging region, realize dynamically dividing these zonules by adjusting 6 parameters.These 6 parameters comprise 3 X coordinates and 3 Y coordinates.Each X coordinate has determined the position of a vertical line, and each Y coordinate has determined the position of a horizontal line.Like this, in imaging region, just obtain the whole zonule of 4 * 4 adjustable size by 3 horizontal lines and 3 vertical lines.
In second step, each zonule is calculated its average brightness value Y1-Y16 respectively.For A1-A16, in each zonule, the brightness of each pixel is added up, then divided by the number of pixel in this zonule, just obtain the average brightness value Y1-Y16 of each zonule A1-A16.
The 3rd step, compare the average brightness value (Y1+Y2+Y3+Y4+Y5+Y8+Y9+Y12)/8 of zonule, marginal portion and the average brightness value (Y6+Y7+Y10+Y11)/4 of middle body zonule, usually, if the former exceeds more than latter's certain proportion, as more than 50%, then think the former much larger than the latter, determine that current environment is the backlight environment.Here 50% is a preferred value.
Since the shooting body object generally be positioned at middle body the zonule (A6, A7, A10, A11), so moderate for the brightness that guarantees agent object, adopt following steps to come reversible-light shooting is carried out the auto brightness compensation:
The 4th step, average brightness value Ymean=(Y6+Y7+Y10+Y11)/4 according to the middle body zonule, and preset brightness mean value Ytarget, calculate required gain coefficient G=Ytarget/Ymean, wherein preset brightness mean value Ytarget is generally normal brightness mean value, as 100 to 150.
The 5th step, according to this gain coefficient, entire image is carried out brightness regulation, promptly this gain coefficient is all multiply by in the brightness of each point in the image, obtain adjusted brightness.
In the above-mentioned steps, described average brightness value is an example of brightness value, and brightness value also can be other brightness values here, as weighting brightness value etc.
This embodiment with in imaging region, mark off 4 * 4 totally 16 zonules be example, the description of property that the invention has been described.In addition, also can mark off the zonule of other numbers in imaging region, this is obvious to those skilled in the art.
Obviously, the present invention described here can have many variations, and this variation can not be thought and departs from the spirit and scope of the present invention.Therefore, the change that all it will be apparent to those skilled in the art all is included within the covering scope of these claims.

Claims (10)

1, a kind of formation method may further comprise the steps:
Compare the brightness value of imaging region marginal portion and the brightness value of middle body;
Under the situation of middle body brightness value, determine that shooting environmental is the backlight environment at the marginal portion brightness value.
2, formation method as claimed in claim 1, after definite shooting environmental is the backlight environment, further comprising the steps of:
According to the ratio of predetermined brightness value with the middle body brightness value, gain coefficient;
According to described gain coefficient, image is carried out brightness regulation.
3, formation method as claimed in claim 1, the step of described comparison brightness value comprises, imaging region is divided into some zonules, each zonule is being calculated on the basis of its brightness value the subregional brightness value of the brightness value of edge calculation subregion and central portion respectively.
4, formation method as claimed in claim 3, wherein the adjustable size of the zonule of being divided is whole.
5, as each described formation method in the claim 1 to 4, described brightness value is an average brightness value.
6, a kind of imaging device comprises:
The brightness value comparison means is used for the brightness value of comparison imaging region marginal portion and the brightness value of middle body;
Backlight is determined device, is used at the marginal portion brightness value under the situation of middle body brightness value, determines that shooting environmental is the backlight environment.
7, imaging device as claimed in claim 6 also comprises:
Gain factor calculation device is used for according to the ratio of predetermined brightness value with the middle body brightness value, gain coefficient;
Brightness regulating apparatus is used for according to described gain coefficient image being carried out brightness regulation.
8, imaging device as claimed in claim 6, described brightness value comparison means comprises the area dividing device, is used for imaging region is divided into some zonules; And the brightness value calculation element, be used for the basis of calculating its brightness value respectively, the subregional brightness value of the brightness value of edge calculation subregion and central portion to each zonule.
9, imaging device as claimed in claim 8, wherein the area dividing device is used for dynamically dividing imaging region, and the adjustable size of the zonule of being divided is whole.
10, as each described imaging device in the claim 6 to 9, described brightness value is an average brightness value.
CNB200510063069XA 2005-04-05 2005-04-05 Method and device for backlighting automatic detection and compensation Expired - Fee Related CN100338944C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510063069XA CN100338944C (en) 2005-04-05 2005-04-05 Method and device for backlighting automatic detection and compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510063069XA CN100338944C (en) 2005-04-05 2005-04-05 Method and device for backlighting automatic detection and compensation

Publications (2)

Publication Number Publication Date
CN1658657A true CN1658657A (en) 2005-08-24
CN100338944C CN100338944C (en) 2007-09-19

Family

ID=35007883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510063069XA Expired - Fee Related CN100338944C (en) 2005-04-05 2005-04-05 Method and device for backlighting automatic detection and compensation

Country Status (1)

Country Link
CN (1) CN100338944C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115149B (en) * 2006-07-24 2010-11-10 Lg电子株式会社 Image processing method
CN101489050B (en) * 2008-01-15 2011-07-20 华晶科技股份有限公司 Automatic exposure control method
US8705886B2 (en) 2006-09-25 2014-04-22 Samsung Electronics Co., Ltd. System, medium, and method compensating brightness of an image
CN104038704A (en) * 2014-06-12 2014-09-10 小米科技有限责任公司 Backlight portrait scene photographing processing method and device
CN104519258A (en) * 2014-12-26 2015-04-15 广东光阵光电科技有限公司 Foreground camera module of VTM machine and shooting method of foreground camera module
CN107465883A (en) * 2016-06-02 2017-12-12 上海小享网络科技有限公司 A kind of vehicle-mounted camera with strong Xanthophyll cycle function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5555324A (en) * 1994-11-01 1996-09-10 Massachusetts Institute Of Technology Method and apparatus for generating a synthetic image by the fusion of signals representative of different views of the same scene
JP2951909B2 (en) * 1997-03-17 1999-09-20 松下電器産業株式会社 Gradation correction device and gradation correction method for imaging device
DE10203421C1 (en) * 2002-01-28 2003-04-30 Daimler Chrysler Ag Automobile display unit for IR night visibility device has image processor for reducing brightness level of identified bright points in night visibility image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115149B (en) * 2006-07-24 2010-11-10 Lg电子株式会社 Image processing method
US8705886B2 (en) 2006-09-25 2014-04-22 Samsung Electronics Co., Ltd. System, medium, and method compensating brightness of an image
CN101489050B (en) * 2008-01-15 2011-07-20 华晶科技股份有限公司 Automatic exposure control method
CN104038704A (en) * 2014-06-12 2014-09-10 小米科技有限责任公司 Backlight portrait scene photographing processing method and device
CN104038704B (en) * 2014-06-12 2018-08-07 小米科技有限责任公司 The shooting processing method and processing device of backlight portrait scene
CN104519258A (en) * 2014-12-26 2015-04-15 广东光阵光电科技有限公司 Foreground camera module of VTM machine and shooting method of foreground camera module
CN107465883A (en) * 2016-06-02 2017-12-12 上海小享网络科技有限公司 A kind of vehicle-mounted camera with strong Xanthophyll cycle function

Also Published As

Publication number Publication date
CN100338944C (en) 2007-09-19

Similar Documents

Publication Publication Date Title
KR20170091517A (en) display system, method of power control and method of generating non-static net power control gain level for the same
CN100338944C (en) Method and device for backlighting automatic detection and compensation
CN105632447B (en) The display brightness method of adjustment and device of a kind of liquid crystal display
US7532191B2 (en) Apparatus, method and computer program product for controlling screen brightness of mobile terminal
US20120092393A1 (en) Techniques for dynamically regulating display images for ambient viewing conditions
CN103973983A (en) Method for intelligently adjusting brightness of picture on basis of detection of environmental brightness in photographing
CN110211548A (en) Adjust the method and electronic equipment of display brightness
TWI406213B (en) Backlight controller, display device using the same and method for controlling backlight module
US20070279373A1 (en) Portable electronic apparatus capable of adjusting backlight automatically and adjusting method of backlight thereof
CN112752023B (en) Image adjusting method and device, electronic equipment and storage medium
CN109147685B (en) Mura compensation method
DE102005027205A1 (en) Ad control system and method
CN104660766B (en) The backlight adjusting method and device of a kind of mobile terminal
JP2005500590A5 (en)
CN108989689A (en) A kind of method and apparatus of adjust automatically exposure gain
CN101673515B (en) Dynamic backlight control method
US20070262947A1 (en) Method for eliminating shadow around support pin of LED backlight
CN104183216A (en) Method and device for controlling brightness of display screen of displayer
CN101079238A (en) Hand-held electronic device for automatically regulating backlight brightness and backlight brightness regulation method
CN110364123A (en) Method, apparatus, electronic equipment and the computer readable storage medium of backlight control
US7773141B2 (en) Monitor control apparatus for optical device
CN114582284B (en) Display driving method, display driver and display device
CN101140184A (en) Method and device for automatic measuring ambient brightness
CN114449175A (en) Automatic exposure adjusting method, automatic exposure adjusting device, image acquisition method, medium and equipment
WO2019184447A1 (en) Backlight control method, device, and computer readable storage medium

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: 20070919

Termination date: 20120405