CN100542221C - System and method with the backlight detecting for brightness value of subregion in the focusing zone - Google Patents

System and method with the backlight detecting for brightness value of subregion in the focusing zone Download PDF

Info

Publication number
CN100542221C
CN100542221C CNB2007100036060A CN200710003606A CN100542221C CN 100542221 C CN100542221 C CN 100542221C CN B2007100036060 A CNB2007100036060 A CN B2007100036060A CN 200710003606 A CN200710003606 A CN 200710003606A CN 100542221 C CN100542221 C CN 100542221C
Authority
CN
China
Prior art keywords
brightness value
row
focusing
backlight
encoded
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
CNB2007100036060A
Other languages
Chinese (zh)
Other versions
CN101227564A (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.)
Altek Corp
Original Assignee
Altek 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 Altek Corp filed Critical Altek Corp
Priority to CNB2007100036060A priority Critical patent/CN100542221C/en
Publication of CN101227564A publication Critical patent/CN101227564A/en
Application granted granted Critical
Publication of CN100542221C publication Critical patent/CN100542221C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A kind of system and method thereof of utilizing the backlight detecting for brightness value of subregion in the focusing zone, be applied on the image capturing device, with the regional brightness value that is cut into a plurality of subregions and calculates all subregion of focusing, combination results is in order to represent the coding in whole focusing zone after then being converted to 0 and 1 coding according to the brightness value of all subregion, judge each corresponding state value of representing of coding institute through the backlight detecting table that contrast is set up in advance, whether backlight with the main body that decision is taken.

Description

System and method with the backlight detecting for brightness value of subregion in the focusing zone
Technical field
The present invention relates to a kind of system and method thereof of backlight detecting, relate in particular to a kind of system and method thereof of utilizing the backlight detecting for brightness value of subregion in the focusing zone.
Background technology
When the main body that is taken is between light source and the camera, can produce the situation that background luminance is higher than the main body that is taken far away, such situation is called backlight.Generally speaking, background in image shared scope greater than main body, so when backlight, if use the automatic exposure function of camera, then camera will make that the main body exposure that is taken is insufficient and cause the photography failure according to the light status exposure of background.Take failure for fear of using automatic exposure to cause, so should avoid shot object when backlight in the ordinary course of things as far as possible.But still there is certain methods can under condition backlight, avoid the generation of photographing and failing.The main body camera distance that for example is taken is not far, then can open photoflash lamp to improve the brightness of main body.
Along with development of science and technology, the technology whether at present existing main body that can Auto-Sensing be taken is backlight, mostly common mode is image is cut into several zones, for example cut whole image uniformly, or with specific shape cutting (circle for example, other position is cut into some), and after cutting, further give different strippings and slicings different weights, then with the brightness value (overall brightness surpasses a particular value and might take place backlight) of the information and the integral image of stripping and slicing, after data such as scene comparison (the big more expression of the brightness contrast of main body and background more might for backlight) combine, judge whether backlight with the information that combines.
Because mostly existing technology is the focusing zone by after cutting out in whole the image, information such as the contrast of calculating focusing zone and whole image, brightness, but in actual environment, be easy to run into the situation of the main body of the background that comprising high brightness in the focusing zone and low-light level, make to go out real sight backlight by correct response, judge success rate thereby decline in the contrast of calculating focusing zone and whole image.In addition, the fixing method that the focusing zone is cut out also is not suitable for all scenes, and the main body that is taken just can make misjudgment slightly one partially or be in light and shade cutting intersection.
Summary of the invention
In view of causing wrongheaded problem backlight easily by cutting out in whole the image in the focusing zone, the object of the present invention is to provide a kind of method of utilizing the backlight detecting for brightness value of subregion in the focusing zone, by the focusing zone is cut into a plurality of subregions, after calculating the brightness value of each sub regions, produce a group coding with the brightness value of all subregion and judge whether the main body that is taken is backlight, thereby the problem of the generation interpretation mistake that the solution prior art is mentioned, thereby reach purpose and the effect that promotes accuracy of judgement degree backlight.
For reaching above-mentioned purpose and effect, the present invention can reach by System and method for two aspects, system disclosed in this invention includes: the regional setting module of focusing, focusing zone cutting module, brightness calculation module, coding module, memory module, determination module backlight.
The method disclosed in the present includes the following step: the focusing main body is also set the focusing zone; Cutting focusing zone is a plurality of subregions; Calculate the corresponding respectively brightness value of all subregion; Produce a group coding according to each brightness value; Read corresponding state value in the backlight detecting table according to being encoded to of producing,, judge that main body is backlight when the state value of reading is expressed as when backlight.
About detailed features of the present invention and practical operation, conjunction with figs. is described in detail as follows in execution mode, its content is enough to make those of ordinary skills to understand technology contents of the present invention and implements according to this, and according to disclosed content of this specification and accompanying drawing, any those of ordinary skills can understand purpose and the advantage that the present invention is correlated with easily.
Description of drawings
Fig. 1 is the system architecture diagram with the backlight detecting for brightness value of subregion in the focusing zone that the present invention carries;
Fig. 2 is the method flow diagram with the backlight detecting for brightness value of subregion in the focusing zone that the present invention carries;
Fig. 3 is the shooting picture that the embodiment of the invention is carried;
Fig. 4 is the focusing zone carried of the embodiment of the invention and the brightness value summation histogram of corresponding each ranks;
Fig. 5 A is the backlight detecting table that the embodiment of the invention is carried;
Fig. 5 B is the backlight detecting table that the embodiment of the invention is carried.
Wherein, Reference numeral:
100 image capturing devices
The regional setting module of 110 focusings
The regional cutting module of 120 focusings
130 brightness calculation modules
140 coding modules
150 memory modules
160 determination modules backlight
190 status modifier modules
300 focusing zones
301 first row
302 second row
303 the third lines
304 fourth lines
310 first row
311 first subregions
312 second subregions
313 the 3rd subregions
314 the 4th subregions
320 secondary series
330 the 3rd row
340 the 4th row
400 shooting picture
401 main bodys
510 first histograms
519 first critical values
520 second histograms
529 second critical values
600 backlight detecting tables
Step 210 is set the focusing zone
Step 220 object distance is greater than predetermined value
The brightness value in step 230 focusing zone is low excessively
Step 240 cutting focusing zone is a plurality of subregions
Step 250 is calculated the brightness value of subregion
Step 260 produces coding according to the brightness value of subregion
Step 270 judges whether backlight with coding
Step 280 handling procedure backlight
Embodiment
Following elder generation illustrates system operation of the present invention with Fig. 1, and this figure is the system architecture diagram of the backlight detecting for brightness value of subregion in the utilization focusing zone carried of the present invention.As shown in the figure, system of the present invention contains the regional setting module 110 of focusing, the regional cutting module 120 of focusing, brightness calculation module 130, coding module 140, memory module 150, determination module backlight 160.The regional setting module 110 of wherein focusing is responsible for when execution has 100 pairs of main bodys that are taken of image capturing device of the present invention to focus, and sets the focusing zone; The regional cutting module 120 of focusing, the focusing zone that the regional setting module 110 of being responsible for focusing sets generation is cut into a plurality of subregions; Brightness calculation module 130 is responsible for calculating corresponding each brightness value of each sub regions that the regional cutting module of focusing 120 cutting focusing zones produce; Coding module 140 is responsible for using specific rule that each brightness value that 130 pairs of each sub regions computes of brightness calculation module go out is converted to a group coding; Memory module 150 is responsible for storage backlight detecting table; Determination module 160 backlight, read corresponding state value in the backlight detecting table of being responsible for producing that is encoded to memory module 150 storages according to coding module 140, when the state value of reading is expressed as when backlight, determination module 160 backlight will judge that to be clapped the main body of penetrating backlight.
Then explain orally operating system of the present invention and method with Fig. 3 and Fig. 4 as an embodiment, the part of method operating process also please refer to Fig. 2, and this figure is the method flow diagram of the backlight detecting for brightness value of subregion in the utilization focusing zone carried of the present invention.In the present embodiment, image capturing device 100 will be an example with the camera, but the image capturing device 100 that the present invention carried does not exceed with camera; And artificial routine with one by the main body 401 of camera, but the main body that the present invention carried is not exceeded with the people.
Use carrying out when user's desire has camera of the present invention (this is image capturing device 100) to a people (this is the main body 401 that is taken) when taking, the regional setting module 110 of focusing of the present invention can be at camera when the user focuses to the people who is taken, in shooting picture 400, set focusing zone 300 (steps 210), after focusing is finished, the regional cutting module 120 of focusing of the present invention can cutting focusing zone 300 be a plurality of subregions (step 240), in the present embodiment, focusing zone 300 will be cut into 4 * 4 form, as shown in Figure 3, but do not exceed to be cut into 4 * 4 form in focusing zone 300, the present invention can be cut into the focusing zone subregion of various quantity under the prerequisite that can accurately judge situation backlight.
After the regional cutting module of focusing 120 cutting focusing zones 300 are a plurality of subregions (step 240), the present invention can calculate the brightness value (step 250) of each sub regions respectively, as shown in Figure 3, the part image that the people is arranged in the focusing zone 300, so the brightness value of each sub regions that the present invention calculated will be had nothing in common with each other.Below the simple calculation mode of describing, at first one of them is divided into littler a plurality of zones again with each sub regions, take out the Y value among the YCbCr of each divided area, the mean value that calculates the Y value of all divided area is Yavg, and brightness value is log 2(Yavg).
Behind the brightness value (step 250) that calculates each sub regions, coding module 140 of the present invention can produce a group coding (step 260) according to the brightness value of each sub regions, for example with in the zone 300 formed forms of focusing, the summation of the brightness value of the subregion that each row and each column comprised is encoded, just as shown in Figure 4, obtain the brightness value summation of first row 310 after the added luminance with first subregion, 311 to the 4th subregions 314, the rest may be inferred, can obtain secondary series 320, the 3rd row 330, the brightness value summation of the 4th row 340, then a brightness value summation and the critical value with each row compares, when the brightness value summation of each row surpasses critical value, these row that the brightness value summation surpassed critical value are encoded to 1, be depicted as first row 310 as first histogram 510 among Fig. 4, secondary series 320, the 3rd row 330, the brightness value summation of the 4th row 340, wherein first critical value is the dotted line 519 in first histogram 510, by first histogram 510 as can be known, first row 310 and the 4th row 340 surpass first critical value, therefore coding module 140 will be encoded to 1 by first row 310 and the 4th row 340, and coding module 140 can be encoded to 0 with secondary series 320 and the 3rd row 330, in like manner, can learn that by second histogram 520 first row 301 and the third line 303 are because surpass second critical value 529, therefore the module 140 that will be encoded is encoded to 1, and second row 302 will be encoded as 0 with fourth line 304, after each row of each row all are encoded, coding module 140 can make particular sorted order, for example to produce a group coding be 10011010 to first row, 310 to the 4th row, 340, the first row 301 to the order of fourth line 304.Wherein, the result behind the coding of the present invention is not exceeded with above-mentioned 1 or 0, and simultaneously, in the above-described embodiment, coding module 140 also can change above-mentioned 0 the part of being encoded to be encoded to 1, and above-mentioned 1 the part of being encoded to then changes and is encoded to 0.In addition, do real, first critical value 519 will be identical numerical value with second critical value 529.
After coding module 140 produces coding (step 240), judge module backlight of the present invention 160 can be judged the people that be taken whether (step 270) backlight according to the coding that coding module 140 produces, for example in the backlight detecting table 600 shown in Fig. 5 A, use the mode of tabling look-up and the 10011010 corresponding state values of can learning and encode to be "Yes", it is artificially backlight that expression is taken, judge module 160 therefore backlight can judge that main body 401 is backlight, make camera enter handling procedure backlight (step 280), for example start photoflash lamp etc., so, the present invention promptly can solve prior art and put forward the problem that can't judge exactly that main body 401 is whether backlight.
In fact, the mode of coding module 140 codings of the present invention is not exceeded with above-mentioned, what other used that the brightness value of all subregion in the focusing zone 300 is used as coding basis all belongs to the scope that comprises of the present invention, for example judge directly that whether each sub regions is greater than critical value, if the brightness value of first subregion 311 is greater than critical value, then first subregion is encoded to 1, otherwise then be encoded to 0, so after the first to the 16 subregion is encoded, can obtain a group coding is 1110000000001110 (being expressed as 0xE00E with hexadecimal representation), judge module 160 then backlight just can arrive searches corresponding state value in the backlight detecting table shown in Fig. 5 B, thereby judges whether main body 401 is backlight.
The present invention also comprises status modifier module 190, is responsible for finding backlight detecting of the present invention to some extent during deviation the user, provides the user to revise state value in the backlight detecting table 600, makes backlight detecting of the present invention more meet user's behaviour in service.
In addition, because when the main body that is taken is crossed when far away apart from camera, photoflash lamp has no idea to play effectiveness, therefore after the present invention also is included in and sets focusing zone (step 210), judge object distance that focusing produces whether greater than the step (step 220) of a default value, when object distance during greater than default value, the main body hypertelorism that expression is taken, even main body photoflash lamp backlight also can't be brought into play effect, therefore need not carry out handling procedure backlight (step 280) can finish the present invention; When object distance was less than or equal to default value, the expression photoflash lamp can remedy situation backlight, therefore carried out judging whether step backlight (step 240 is to step 280) under this situation again, and so, the present invention can also save the electric power of camera.
In addition, the present invention is after setting focusing zone (step 210), also comprise the step (step 230) whether the brightness value of judging focusing zone 300 is lower than a predetermined value, judge just whether the focusing zone is dark excessively, when the focusing zone is dark excessively, must need to start photoflash lamp, so the present invention will directly carry out the step of handling procedure backlight (step 280), and no longer cut subregion and judge whether step backlight (step 240 is to step 270).
Moreover the method for the backlight detecting for brightness value of subregion can be implemented in the combination of hardware, software or hardware and software in the utilization focusing of the present invention zone.
Though the present invention with aforesaid preferred embodiment openly as above; yet it is not in order to limit the present invention; any those of ordinary skill in the art; without departing from the spirit and scope of the present invention; change of being done and retouching; therefore all belong to scope of patent protection of the present invention, scope of patent protection of the present invention should be looked the scope that this specification appending claims defined and is as the criterion.

Claims (11)

1, a kind of method of utilizing the backlight detecting for brightness value of subregion in the focusing zone is applied on the image capturing device, and this method comprises the following step:
The main body of focusing is also set a focusing zone;
Cut this focusing zone and be a plurality of subregions;
Calculate the respectively corresponding respectively brightness value of this subregion;
Foundation respectively this brightness value produces a plurality of codings, and these a plurality of code set that are encoded to of combination; And
In a backlight detecting table, read a corresponding state value according to this code set,, judge that this main body is backlight when this state value is expressed as when backlight.
2, the method for the backlight detecting for brightness value of subregion in the utilization according to claim 1 focusing zone, wherein the regional step of this focusing of this cutting zone of should focusing is cut into M * N sub regions, and wherein M is greater than one, and N is greater than one.
3, the method for the backlight detecting for brightness value of subregion in the utilization according to claim 2 focusing zone wherein should produce a plurality of codings, and made up these a plurality of steps that are encoded to a code set and also comprise:
Calculate one first brightness value summation of every row N sub regions correspondence in the M row respectively;
When judging that respectively this first brightness value summation is greater than one first critical value, set this first brightness value summation correspondence these row be encoded to 1;
When judging that respectively this first brightness value summation is not more than this first critical value, set this first brightness value summation correspondence these row be encoded to 0;
Calculate respectively N capable in one second brightness value summation of every capable M sub regions correspondence;
When judging that respectively this second brightness value summation is greater than one second critical value, set this second brightness value summation correspondence this row be encoded to 1;
When judging that respectively this second brightness value summation is not more than this second critical value, set this second brightness value summation correspondence this row be encoded to 0; And
Arrange respectively this row and the coding that respectively should be listed as with a particular order, this code set is formed by 0 and 1.
4, the method for the backlight detecting for brightness value of subregion in the utilization according to claim 2 focusing zone, wherein a plurality of codings of this generation and make up these a plurality of steps that are encoded to a code set and also comprise:
Calculate one first brightness value summation of every row N sub regions correspondence in the M row respectively;
When judging that respectively this first brightness value summation is greater than one first critical value, set this first brightness value summation correspondence these row be encoded to 0;
When judging that respectively this first brightness value summation is not more than this first critical value, set this first brightness value summation correspondence these row be encoded to 1;
Calculate respectively N capable in one second brightness value summation of every capable M sub regions correspondence;
When judging that respectively this second brightness value summation is greater than one second critical value, set this second brightness value summation correspondence this row be encoded to 0;
When judging that respectively this second brightness value summation is not more than this second critical value, set this second brightness value summation correspondence this row be encoded to 1; And
Arrange respectively this row and the coding that respectively should be listed as with a particular order, this code set is formed by 0 and 1.
5, the method for the backlight detecting for brightness value of subregion in the utilization according to claim 1 focusing zone, wherein this method also comprises an object distance of this main body generation of judgement focusing greater than a predetermined value, and judge in the time of to reach the effect of light filling to this main body, finish the step of this method.
6, the method for the backlight detecting for brightness value of subregion in the utilization according to claim 1 focusing zone, wherein this method also comprises and revises this backlight detecting table, to adjust the step of this state value of judging that main body is whether backlight.
7, a kind of system that utilizes the backlight detecting for brightness value of subregion in the focusing zone is applied on the image capturing device, and this system comprises:
The regional setting module of one focusing is in order to set a focusing zone;
The regional cutting module of one focusing, the zone was cut into a plurality of subregions in order to focusing;
One brightness calculation module is in order to calculate respectively corresponding each brightness value of this subregion;
One coding module, in order to producing a plurality of codings according to this brightness value respectively, and these a plurality of code set that are encoded to of combination;
One memory module is in order to store a backlight detecting table; And
One determination module backlight in order to reading a corresponding state value according to this code set in this backlight detecting table, when this state value is expressed as when backlight, judges that the main body of focusing is backlight.
8, the system of the backlight detecting for brightness value of subregion in the utilization according to claim 7 focusing zone, wherein the regional cutting module of this focusing zone of should focusing is cut into M * N sub regions, and wherein M is greater than one, and N is greater than one.
9, the system of the backlight detecting for brightness value of subregion in the utilization focusing according to claim 8 zone, wherein this coding module calculate respectively one first brightness value summation of every row N sub regions correspondence in the M row and N capable in one second brightness value summation of every capable M sub regions correspondence, when respectively this first brightness value summation is greater than one first critical value, that sets corresponding these row is encoded to 1, when respectively this first brightness value summation is not greater than this first critical value, that sets corresponding these row is encoded to 0, when respectively this second brightness value summation is greater than one second critical value, that sets corresponding this row is encoded to 1, when respectively this second brightness value summation is not greater than this second critical value, that sets corresponding this row is encoded to 0, and this row respectively with respectively should row encode finish after, arrange respectively this row and the coding that respectively should be listed as with a particular order, this code set is formed by 0 and 1.
10, the system of the backlight detecting for brightness value of subregion in the utilization focusing according to claim 8 zone, wherein this coding module calculate respectively one first brightness value summation of every row N sub regions correspondence in the M row and N capable in one second brightness value summation of every capable M sub regions correspondence, when respectively this first brightness value summation is greater than one first critical value, that sets corresponding these row is encoded to 0, when respectively this first brightness value summation is not greater than this first critical value, that sets corresponding these row is encoded to 1, when respectively this second brightness value summation is greater than one second critical value, that sets corresponding this row is encoded to 0, when respectively this second brightness value summation is not greater than this second critical value, that sets corresponding this row is encoded to 1, and this row respectively with respectively should row encode finish after, arrange respectively this row and the coding that respectively should be listed as with a particular order, this code set is formed by 0 and 1.
11, the system of the backlight detecting for brightness value of subregion in the utilization according to claim 7 focusing zone, wherein this system also comprises a status modifier module, in order to revise this state value of this backlight detecting table.
CNB2007100036060A 2007-01-18 2007-01-18 System and method with the backlight detecting for brightness value of subregion in the focusing zone Expired - Fee Related CN100542221C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100036060A CN100542221C (en) 2007-01-18 2007-01-18 System and method with the backlight detecting for brightness value of subregion in the focusing zone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100036060A CN100542221C (en) 2007-01-18 2007-01-18 System and method with the backlight detecting for brightness value of subregion in the focusing zone

Publications (2)

Publication Number Publication Date
CN101227564A CN101227564A (en) 2008-07-23
CN100542221C true CN100542221C (en) 2009-09-16

Family

ID=39859295

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100036060A Expired - Fee Related CN100542221C (en) 2007-01-18 2007-01-18 System and method with the backlight detecting for brightness value of subregion in the focusing zone

Country Status (1)

Country Link
CN (1) CN100542221C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5272551B2 (en) * 2008-07-15 2013-08-28 株式会社リコー Imaging apparatus and method
CN101778214B (en) * 2009-01-09 2011-08-31 华晶科技股份有限公司 Digital image pick-up device having brightness and focusing compensation function and image compensation method thereof
CN103905739A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Electronic equipment control method and electronic equipment
CN106060404A (en) * 2016-07-15 2016-10-26 深圳市金立通信设备有限公司 Photographing mode selection method and terminal

Also Published As

Publication number Publication date
CN101227564A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
CN100531320C (en) Image processing apparatus, method thereof, and image sensing apparatus
US8294785B2 (en) Method for adjusting photosensitiveness of digital camera
CN100542221C (en) System and method with the backlight detecting for brightness value of subregion in the focusing zone
CN108875648A (en) A method of real-time vehicle damage and component detection based on mobile video stream
CN100565323C (en) Imaging device, imaging apparatus control method
US7848629B2 (en) Auto-focus system and auto-focus method thereof
CN104601893B (en) LED spotlight electric current sets apparatus and method, flash photographing device
CN104092947A (en) Image pick-up apparatus and method of recognizing face
CN1662039A (en) Image pickup apparatus, control method therefor, control program for implementing the control method, and storage medium storing the control program
CN110035203A (en) Image processing equipment and its control method
CN102495511B (en) Automatic exposure regulating method for camera
US7676149B2 (en) System for backlight detection using brightness values of subareas in focus area and method therefor
CN103546675A (en) Brightness adjustment method and electronic equipment
CN102879975A (en) Camera with focus detection unit
CN104184935A (en) Image shooting device and method
US20220053121A1 (en) A method, software product, camera device and system for determining artificial lighting and camera settings
CN103905739A (en) Electronic equipment control method and electronic equipment
CN102316261B (en) Method for regulating light sensitivity of digital camera
CN106506973A (en) Focusing control method, device, electronic equipment and terminal unit
CN1743940A (en) Image pickup apparatus equipped with light emitting device and control method thereof
CN106954017B (en) Laser focusing method and device and photographing equipment
JP2017211982A (en) Face identification system and face identification method
CN111273504B (en) Focusing processing method and device
CN1652010A (en) Image taking apparatus for taking accuracy focusing image and its method
CN103019026A (en) Exposure testing method and exposure testing system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090916

Termination date: 20200118