CN102547132A - Method and device for carrying out shooting under backlighting condition, and camera - Google Patents

Method and device for carrying out shooting under backlighting condition, and camera Download PDF

Info

Publication number
CN102547132A
CN102547132A CN2011104593623A CN201110459362A CN102547132A CN 102547132 A CN102547132 A CN 102547132A CN 2011104593623 A CN2011104593623 A CN 2011104593623A CN 201110459362 A CN201110459362 A CN 201110459362A CN 102547132 A CN102547132 A CN 102547132A
Authority
CN
China
Prior art keywords
exposure
piece
shooting
subject
taking
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.)
Pending
Application number
CN2011104593623A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2011104593623A priority Critical patent/CN102547132A/en
Publication of CN102547132A publication Critical patent/CN102547132A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)

Abstract

The invention discloses a method and device for carrying out shooting under a backlighting condition, and a camera. The device comprises a normally shooting module for carrying out shooting in an automatic exposure manner to obtain original image data, and a specially shooting module for adjusting an exposure parameter according to a processing result of the original image data and carrying out shooting according to the adjusted exposure parameter. The shooting process is divided into two steps of normally shooting and specially shooting, and is analyzed according to the image data obtained by normal shooting; exposure time is adjusted according to an analysis result and reshooting is carried out, thus the purpose of being capable of clearly shooting a backlight face of an object to be shot under the backlighting condition is achieved.

Description

A kind of method of under the backlight condition, taking and device, a kind of video camera
Technical field
The present invention relates to the image capture techniques field, relate in particular to a kind of method of under the reversible-light shooting condition, taking and device and a kind of video camera that adopts this device.
Background technology
When using video camera to take, no matter be, the situation of reversible-light shooting all possibly take place at indoor or outdoors.This reversible-light shooting often makes subject dark excessively, and background is bright excessively, makes resulting image can't clearly find out subject.For example, adopt the road monitoring video camera on road during round-the-clock shooting vehicular traffic, can run into the problem of reversible-light shooting in section sometime; Meet right strong incident ray with respect to video camera this moment; The front light of vehicle is then dim, and because video camera is met strong incident ray, the photosensitive control link of video camera will be controlled transducer with very short time exposure; Under very short conditions of exposure; The vehicle front can seem in picture very dark (this moment, the vehicle front was called shady face), to such an extent as to can make the car plate in the vehicle front not see, is unfavorable for road monitoring.In addition, as shown in Figure 1, the shooting visual field 10 of video camera with automatic exposure photometry region 11 usually with respect to vehicle 12 than broad, therefore, the brightness deficient change in the photometry region is to judge whether the vehicle process is wherein arranged.And; Be greater than vehicle (being subject) owing to take the visual field shared picture in picture; Under the backlight situation, video camera is according to the light status exposure of taking the visual field, and this makes that the insufficient shady face that causes subject then of subject exposure is very dark and does not have details.
Therefore; How to judge whether that subject gets into the shooting visual field and how to carry out reversible-light shooting to obtain the photographic images of better quality to getting into the subject of taking the visual field; Be the direction of industry ongoing effort, this problem demanding prompt solution especially for road monitoring especially.
Summary of the invention
An aspect according to the embodiment of the invention; A kind of method of under the backlight condition, taking is provided; Comprise: the normal photographing step, take by the automatic exposure mode and to obtain raw image data, special shooting step; According to the result of raw image data being carried out the exposure parameter adjustment, take according to adjusted exposure parameter.
Said special shooting step comprises: the piecemeal step, the predetermined number piecemeal is pressed in zone corresponding with the photometry region of automatic exposure in the said raw image data; Determining step has judged whether that according to the first color characteristic amount of each piece subject gets into photometry region; The exposure set-up procedure gets into photometry region when judgement has subject, according to the second color characteristic amount adjustment time for exposure of each piece; Take step, take according to the adjusted time for exposure.
Said determining step comprises: first characteristic quantity calculates substep, calculates said each piece respectively and distributes in the color saturation of HSI color space; Change and judge substep, judge the color saturation of said each piece distributes whether there is variation, if then showing has subject to get into photometry region.
Said exposure set-up procedure comprises: second characteristic quantity calculates substep; When having subject, judgement gets into photometry region; Calculate the changing value of mean value of the luminous intensity of said each piece respectively, from the changing value of the mean value of the luminous intensity of said each piece, select the maximum of changing value; Time for exposure adjustment substep, according to the said maximum adjustment time for exposure, make the mean value of the piece luminous intensity corresponding that obtains after the exposure with this maximum equal said maximum and with the mean value sum of the luminous intensity of the corresponding piece of this maximum.
Said each piece comprises in the color saturation distribution of HSI color space: the color saturation of each piece that will calculate is made histogram distribution by predetermined step-length; The predetermined number piecemeal is pressed according to the moving direction of subject in the said piecemeal step zone that said photometry region is corresponding.
According to another aspect of the embodiment of the invention, a kind of device of under the backlight condition, taking is provided, comprising: the normal photographing module is used for taking by the automatic exposure mode and obtains raw image data; Special taking module is used for taking according to adjusted exposure parameter according to the result of raw image data being carried out the exposure parameter adjustment.
Said special taking module comprises: the piecemeal module is used for photometry region by the predetermined number piecemeal; Judge module is used for having judged whether that according to the first color characteristic amount of each piece subject gets into photometry region; The exposure adjusting module is used for having subject to get into photometry region when judging, according to the second color characteristic amount adjustment time for exposure of each piece; Taking module is used for taking according to the adjusted time for exposure.
Said judge module comprises: the first characteristic quantity calculating sub module is used for calculating respectively said each piece and distributes in the color saturation of HSI color space; Change and judge submodule, be used to judge the color saturation of said each piece distributes whether there is variation, if then showing has subject to get into photometry region.
Said exposure adjusting module comprises: the second characteristic quantity calculating sub module; Be used for having subject to get into photometry region when judging; Calculate the changing value of mean value of the luminous intensity of said each piece respectively, from the changing value of the mean value of the luminous intensity of said each piece, select the maximum of changing value; Time for exposure adjustment submodule was used for according to the said maximum adjustment time for exposure, make the mean value of the piece luminous intensity corresponding that obtains after the exposure with this maximum equal said maximum and with the mean value sum of the luminous intensity of the corresponding piece of this maximum.
Another aspect according to the embodiment of the invention provides a kind of video camera, uses the aforesaid device of under the backlight condition, taking in this video camera.
The invention has the beneficial effects as follows: shooting process is divided into normal photographing and two steps of special shooting; View data according to normal photographing obtains is analyzed; According to the shooting again again of analysis result adjustment time for exposure, thereby reach the shady face that under the reversible-light shooting condition, also can clearly photograph subject.
Description of drawings
Fig. 1 takes the visual field and exposure photometry region sketch map for video camera;
Fig. 2 is the sketch map with the photometry region piecemeal;
Fig. 3 is the structural representation of the device taken under the backlight condition of a kind of embodiment;
Fig. 4 is the schematic flow sheet of the method for taking under the backlight condition of a kind of embodiment.
Embodiment
Combine accompanying drawing that the present invention is done further explain through embodiment below.
As shown in Figure 3, the device of taking under the backlight condition of a kind of embodiment comprises: normal photographing module and special taking module, normal photographing module are used for taking by the automatic exposure mode and obtain raw image data; Special taking module is used for taking according to adjusted exposure parameter according to the result of raw image data being carried out the exposure parameter adjustment.Here, the normal photographing mode that the normal photographing module is well known to those skilled in the art is promptly taken to obtain raw image data according to the modes of setting in the video camera such as automatic exposure.Special taking module comprises piecemeal module 301, judge module 303, exposure adjusting module 305 and taking module 307.For piecemeal module 301, it is used for the zone that raw image data is corresponding with the photometry region of automatic exposure by the predetermined number piecemeal; Among the embodiment photometry region is carried out piecemeal according to the moving direction of subject by predetermined number, for example be divided into 8, as shown in Figure 2.For judge module 303, it is used for having judged whether that according to the first color characteristic amount of each piece subject gets into photometry region; Particularly; Judge module 303 comprises that the color saturation that is used for calculating respectively the first characteristic quantity calculating sub module that each piece distributes in the color saturation of HSI color space and is used to judge each piece variation that whether has variation that distributes judges submodule; Change if determine to exist, then showing has subject to get into photometry region.For exposure adjusting module 305, it is used for having subject to get into photometry region when judging, according to the second color characteristic amount adjustment time for exposure of each piece; Particularly; Exposure adjusting module 305 comprises: the second characteristic quantity calculating sub module and time for exposure adjustment submodule; The second characteristic quantity calculating sub module is used for having subject to get into photometry region when judging; Calculate the changing value of mean value of the luminous intensity of each piece respectively, from the changing value of the mean value of the luminous intensity of each piece, select the maximum of changing value; Time for exposure adjustment submodule then was used for according to this maximum adjustment time for exposure, make the mean value of the piece luminous intensity corresponding that obtains after the exposure with this maximum equal this maximum and with the mean value sum of the luminous intensity of the corresponding piece of this maximum.307 of taking modules were taken according to the adjusted time for exposure.
Embodiment based on the device of taking under the above-mentioned backlight condition; Another kind of embodiment provides the method for taking under the corresponding backlight condition; Comprise by the automatic exposure mode and take normal photographing step and the special shooting step that obtains raw image data; Special shooting step is taken according to adjusted exposure parameter according to the result of raw image data being carried out the exposure parameter adjustment.Special shooting step comprises: determining step has judged whether that according to the first color characteristic amount of each piece subject gets into photometry region; The exposure set-up procedure gets into photometry region when judgement has subject, according to the second color characteristic amount adjustment time for exposure of each piece; Take step, take according to the adjusted time for exposure.Each module of the device embodiment that takes under each step and the aforementioned backlight condition is corresponding one by one.
Below be example under the reversible-light shooting condition, to take vehicle in the road monitoring; Be divided into some through sailing photometry region into direction by vehicle; Calculate the variation that image takes place in each piece, and control the exposure of video camera in view of the above, thereby reach clear purpose of taking the shady face of subject; As shown in Figure 4, the handling process of this method embodiment comprises:
Step S401 sails photometry region into direction by vehicle and is divided into some;
Step S402 converts the view data of each piece into the HSI color space by rgb color space; Should be understood that taking what obtain in the normal photographing step is not to be visual image, but the view data that exists with the Bayer form, what these view data showed is the information of rgb color space.The transfer algorithm that conversion method can adopt those skilled in the art to know, the algorithm that RGB commonly used is transformed into HSI is shown below:
I = 1 3 ( R + G + B )
S = 1 - 3 ( R + G + B ) [ min ( R , G , B ) ]
H = arccos { [ ( R - G ) + ( R - B ) ] / 2 [ ( R - G ) 2 + ( R - B ) ( G - B ) ] 1 / 2 }
Step S403 calculates the mean value of luminous intensity in each piece (being I component);
Step S404 calculates the distribution of saturation in each piece (being the S component), among the embodiment, the S component is made with the form of histogram distribution by 1% step-length;
Step S405 judges the variation that the S component distributes in each piece, if the variation that the S component distributes appears in certain piece of dividing by vehicle heading, then judging has vehicle to get into photometry region;
Step S406 if there is vehicle to get into photometry region, calculates the changes delta I of mean value of the I component of each piece, and finds out maximum Δ I wherein Max
Step S407, makes adjusted luminous intensity I '=I+ Δ I at the time for exposure of adjusting video camera upper sensor Max
To sum up, embodiment is divided into some through sailing photometry region into direction by vehicle, calculates the variation that image takes place in each piece, and controls the exposure of video camera in view of the above, thereby reaches clear purpose of taking the shady face of subject.
Based on the embodiment of the device of taking under the above-mentioned backlight condition, another kind of embodiment provides a kind of video camera, adopts the device of taking under this backlight condition in this video camera.
The foregoing description is of the present invention giving an example; Although disclose most preferred embodiment of the present invention and accompanying drawing for the purpose of illustration; But it will be appreciated by those skilled in the art that: in the spirit and scope that do not break away from the present invention and appended claim, various replacements, variation and modification all are possible.Therefore, the present invention should not be limited to most preferred embodiment and the disclosed content of accompanying drawing.

Claims (10)

1. a method of under the backlight condition, taking is characterized in that, comprising:
The normal photographing step is taken by the automatic exposure mode and to be obtained raw image data;
Special shooting step according to the result of raw image data being carried out the exposure parameter adjustment, is taken according to adjusted exposure parameter.
2. the method for reversible-light shooting as claimed in claim 1 is characterized in that, said special shooting step comprises:
The piecemeal step is pressed the predetermined number piecemeal with zone corresponding with the photometry region of automatic exposure in the said raw image data;
Determining step has judged whether that according to the first color characteristic amount of each piece subject gets into photometry region;
The exposure set-up procedure gets into photometry region when judgement has subject, according to the second color characteristic amount adjustment time for exposure of each piece;
Take step, take according to the adjusted time for exposure.
3. the method for reversible-light shooting as claimed in claim 3 is characterized in that, said determining step comprises:
First characteristic quantity calculates substep, calculates said each piece respectively and distributes in the color saturation of HSI color space;
Change and judge substep, judge the color saturation of said each piece distributes whether there is variation, if then showing has subject to get into photometry region.
4. like the method for claim 2 or 3 described reversible-light shootings, it is characterized in that said exposure set-up procedure comprises:
Second characteristic quantity calculates substep, gets into photometry region when judgement has subject, calculates the changing value of mean value of the luminous intensity of said each piece respectively, from the changing value of the mean value of the luminous intensity of said each piece, selects the maximum of changing value;
Time for exposure adjustment substep, according to the said maximum adjustment time for exposure, make the mean value of the piece luminous intensity corresponding that obtains after the exposure with this maximum equal said maximum and with the mean value sum of the luminous intensity of the corresponding piece of this maximum.
5. like the method for each described reversible-light shooting of claim 2-4, it is characterized in that said each piece distributes in the color saturation of HSI color space and comprises the color saturation of each piece that calculates is made histogram distribution by predetermined step-length; The predetermined number piecemeal is pressed according to the moving direction of subject in the said piecemeal step zone that said photometry region is corresponding.
6. a device of under the backlight condition, taking is characterized in that, comprising:
The normal photographing module is used for taking by the automatic exposure mode and obtains raw image data;
Special taking module is used for taking according to adjusted exposure parameter according to the result of raw image data being carried out the exposure parameter adjustment.
7. the device of reversible-light shooting as claimed in claim 6 is characterized in that, said special taking module comprises:
The piecemeal module is used for photometry region by the predetermined number piecemeal;
Judge module is used for having judged whether that according to the first color characteristic amount of each piece subject gets into photometry region;
The exposure adjusting module is used for having subject to get into photometry region when judging, according to the second color characteristic amount adjustment time for exposure of each piece;
Taking module is used for taking according to the adjusted time for exposure.
8. the device of reversible-light shooting as claimed in claim 7 is characterized in that, said judge module comprises:
The first characteristic quantity calculating sub module is used for calculating respectively said each piece and distributes in the color saturation of HSI color space;
Change and judge submodule, be used to judge the color saturation of said each piece distributes whether there is variation, if then showing has subject to get into photometry region.
9. like the device of claim 7 or 8 described reversible-light shootings, it is characterized in that said exposure adjusting module comprises:
The second characteristic quantity calculating sub module is used for having subject to get into photometry region when judging, calculates the changing value of mean value of the luminous intensity of said each piece respectively, from the changing value of the mean value of the luminous intensity of said each piece, selects the maximum of changing value;
Time for exposure adjustment submodule was used for according to the said maximum adjustment time for exposure, make the mean value of the piece luminous intensity corresponding that obtains after the exposure with this maximum equal said maximum and with the mean value sum of the luminous intensity of the corresponding piece of this maximum.
10. a video camera is characterized in that, comprises each described device of under the backlight condition, taking like claim 6-9.
CN2011104593623A 2011-12-31 2011-12-31 Method and device for carrying out shooting under backlighting condition, and camera Pending CN102547132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104593623A CN102547132A (en) 2011-12-31 2011-12-31 Method and device for carrying out shooting under backlighting condition, and camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104593623A CN102547132A (en) 2011-12-31 2011-12-31 Method and device for carrying out shooting under backlighting condition, and camera

Publications (1)

Publication Number Publication Date
CN102547132A true CN102547132A (en) 2012-07-04

Family

ID=46352973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104593623A Pending CN102547132A (en) 2011-12-31 2011-12-31 Method and device for carrying out shooting under backlighting condition, and camera

Country Status (1)

Country Link
CN (1) CN102547132A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799872A (en) * 2012-07-17 2012-11-28 西安交通大学 Image processing method based on face image characteristics
CN103810463A (en) * 2012-11-14 2014-05-21 汉王科技股份有限公司 Face recognition device and face image detection method
CN103841337A (en) * 2012-11-23 2014-06-04 北京百度网讯科技有限公司 Backlight compensation method and device
CN103856718A (en) * 2014-03-26 2014-06-11 深圳市中兴移动通信有限公司 Photo synthesis method and photo synthesis device
CN105224932A (en) * 2015-10-21 2016-01-06 北京旷视科技有限公司 A kind of face identification method and system
CN105611140A (en) * 2015-07-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Photographing control method, photographing control device and terminal
CN107241556A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 The light measuring method and device of image capture device
CN107370940A (en) * 2017-06-16 2017-11-21 广东欧珀移动通信有限公司 Image acquiring method, device and terminal device
CN110913123A (en) * 2019-08-15 2020-03-24 厦门亿联网络技术股份有限公司 Anti-backlight automatic exposure method and device based on image blocking filtering and electronic equipment
CN116878402A (en) * 2023-07-11 2023-10-13 北京博科测试***股份有限公司 Non-contact wheel arch measuring sensor and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953515A (en) * 2006-11-21 2007-04-25 北京中星微电子有限公司 A method to automatically regulate the image brightness and automatic imaging device
JP2007166028A (en) * 2005-12-09 2007-06-28 Matsushita Electric Ind Co Ltd Exposure control apparatus and exposure control method
CN101247479A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
JP2009239974A (en) * 2009-07-21 2009-10-15 Casio Comput Co Ltd Automatic exposing device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166028A (en) * 2005-12-09 2007-06-28 Matsushita Electric Ind Co Ltd Exposure control apparatus and exposure control method
CN1953515A (en) * 2006-11-21 2007-04-25 北京中星微电子有限公司 A method to automatically regulate the image brightness and automatic imaging device
CN101247479A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
JP2009239974A (en) * 2009-07-21 2009-10-15 Casio Comput Co Ltd Automatic exposing device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马启新: "基于彩色边缘检测和数学形态学的车牌定位", 《中国优秀硕士学位论文全文数据库》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799872A (en) * 2012-07-17 2012-11-28 西安交通大学 Image processing method based on face image characteristics
CN102799872B (en) * 2012-07-17 2015-04-29 西安交通大学 Image processing method based on face image characteristics
CN103810463A (en) * 2012-11-14 2014-05-21 汉王科技股份有限公司 Face recognition device and face image detection method
CN103841337A (en) * 2012-11-23 2014-06-04 北京百度网讯科技有限公司 Backlight compensation method and device
CN103841337B (en) * 2012-11-23 2017-04-05 北京百度网讯科技有限公司 The method and apparatus of BLC
CN103856718B (en) * 2014-03-26 2017-02-15 努比亚技术有限公司 Photo synthesis method and photo synthesis device
CN103856718A (en) * 2014-03-26 2014-06-11 深圳市中兴移动通信有限公司 Photo synthesis method and photo synthesis device
CN105611140A (en) * 2015-07-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Photographing control method, photographing control device and terminal
WO2017020382A1 (en) * 2015-07-31 2017-02-09 宇龙计算机通信科技(深圳)有限公司 Photography control method, photography control device and terminal
CN105224932A (en) * 2015-10-21 2016-01-06 北京旷视科技有限公司 A kind of face identification method and system
CN107241556A (en) * 2016-03-29 2017-10-10 中兴通讯股份有限公司 The light measuring method and device of image capture device
CN107241556B (en) * 2016-03-29 2021-02-23 中兴通讯股份有限公司 Light measuring method and device of image acquisition equipment
CN107370940A (en) * 2017-06-16 2017-11-21 广东欧珀移动通信有限公司 Image acquiring method, device and terminal device
CN107370940B (en) * 2017-06-16 2019-08-02 Oppo广东移动通信有限公司 Image acquiring method, device and terminal device
CN110913123A (en) * 2019-08-15 2020-03-24 厦门亿联网络技术股份有限公司 Anti-backlight automatic exposure method and device based on image blocking filtering and electronic equipment
CN110913123B (en) * 2019-08-15 2021-06-04 厦门亿联网络技术股份有限公司 Anti-backlight automatic exposure method and device based on image blocking filtering and electronic equipment
CN116878402A (en) * 2023-07-11 2023-10-13 北京博科测试***股份有限公司 Non-contact wheel arch measuring sensor and method

Similar Documents

Publication Publication Date Title
CN102547132A (en) Method and device for carrying out shooting under backlighting condition, and camera
US7535511B2 (en) Automatic exposure control method and automatic exposure compensation apparatus
CN104184958B (en) Automatic exposure control method and device based on FPGA (field programmable Gate array) and suitable for space detection imaging
CN101304489B (en) Automatic exposure method and apparatus
CN100515041C (en) Method for automatically controlling exposure and device for automatically compensating exposure
CN102428700B (en) Monitoring Apparatus
CN101247480B (en) Automatic exposure method based on objective area in image
US7634107B2 (en) Roadway type judgment method and apparatus
CN101834996B (en) Luminous flux control method of high definition vehicle snapshot system
CN102495511B (en) Automatic exposure regulating method for camera
US8077199B2 (en) Target position identifying apparatus
CN104301621A (en) Image processing method, device and terminal
CN106357987A (en) Exposure method and device
EP2913993A1 (en) Method and control unit for controlling exposure of a camera
CN102238339B (en) Method for compensating backlight
CN105812674A (en) Signal lamp color correction method, monitoring method, and device thereof
CN103841337B (en) The method and apparatus of BLC
CN109639994A (en) Embedded onboard camera exposure time dynamic adjusting method
US7342609B2 (en) Exposure adjustment in an imaging apparatus
CN111491103B (en) Image brightness adjusting method, monitoring equipment and storage medium
JP2007166028A (en) Exposure control apparatus and exposure control method
CN116193266A (en) Camera exposure control method
JP2017203674A (en) Change degree derivation device, change degree derivation method, and program
TWI630818B (en) Dynamic image feature enhancement method and system
US10587818B2 (en) Vehicle vision system with enhanced camera brightness control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20120704

C20 Patent right or utility model deemed to be abandoned or is abandoned