CN104853109B - A kind of method and camera terminal for automatically adjusting flash of light - Google Patents

A kind of method and camera terminal for automatically adjusting flash of light Download PDF

Info

Publication number
CN104853109B
CN104853109B CN201510217867.7A CN201510217867A CN104853109B CN 104853109 B CN104853109 B CN 104853109B CN 201510217867 A CN201510217867 A CN 201510217867A CN 104853109 B CN104853109 B CN 104853109B
Authority
CN
China
Prior art keywords
angle value
target
bright angle
information
flashing bright
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.)
Active
Application number
CN201510217867.7A
Other languages
Chinese (zh)
Other versions
CN104853109A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510217867.7A priority Critical patent/CN104853109B/en
Publication of CN104853109A publication Critical patent/CN104853109A/en
Application granted granted Critical
Publication of CN104853109B publication Critical patent/CN104853109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses it is a kind of automatically adjust flash of light method, including:Obtain the luminance information of the distance between camera terminal and target to be captured object information and current environment;According to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information;Flash of light shooting is carried out to the target to be captured object according to the flashing bright angle value.The embodiment of the invention also discloses a kind of camera terminals.Using the present invention, the flashing bright angle value of flash of light can be automatically adjusted, to carry out accurate light filling to target to be captured object, promotes shooting effect.

Description

A kind of method and camera terminal for automatically adjusting flash of light
Technical field
The present invention relates to electronic technology field more particularly to a kind of methods and camera terminal for automatically adjusting flash of light.
Background technology
In photography, glisten for the illumination compensation carried out under low light environment, to ensure to shoot in the case that dim The photo that picture clearly becomes clear.Wherein, to make the apparent under low light environment distinguishable, it is necessary to which flash of light has accurate flashing bright Angle value is set.
But in existing camera terminal during flash of light shooting is carried out, the brightness value of flash of light is mostly fixed setting Numerical value, this so that, when the distance between target to be captured object and camera terminal are closer, flash lighting is too bright to be caused Target to be captured object overexposure, when the distance between target to be captured object and camera terminal are distant, flash lighting is too weak Target to be captured object is caused to owe to expose so that target to be captured object burnt hair.This results in the target to be captured object in image It exposes incorrect so that terminal user can not obtain satisfied photo.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, provides a kind of method for automatically adjusting flash of light and shooting eventually End.The flashing bright angle value of flash of light can be automatically adjusted, to carry out accurate light filling to target to be captured object, promotes shooting effect.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides it is a kind of automatically adjust flash of light method, including:
Obtain the luminance information of the distance between camera terminal and target to be captured object information and current environment;
According to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information;
Flash of light shooting is carried out to the target to be captured object according to the flashing bright angle value.
Wherein, the brightness letter for obtaining the distance between camera terminal and target to be captured object information and current environment Breath includes:
The image acquisition luminance information currently gathered according to camera, using the luminance information as the current environment Luminance information.
Wherein, the brightness letter for obtaining the distance between camera terminal and target to be captured object information and current environment Breath includes:
Between the image acquisition camera terminal and the target to be captured object that are currently gathered according to the camera away from From information, alternatively,
Start distance-measuring device measurement the distance between camera terminal and the target to be captured object information.
Wherein, it is described according to presetting rule, with reference to the range information and the luminance information obtain flashing bright angle value it Before include:
Between correspondence and flashing bright angle value and luminance information between preset flashing bright angle value and range information The rule of correspondence;
It is described according to presetting rule, obtaining flashing bright angle value with reference to the range information and the luminance information includes:
According to the correspondence between the flashing bright angle value and range information and flashing bright angle value and luminance information it Between correspondence, obtain the range information and the flashing bright angle value corresponding to luminance information.
Wherein, it is described according to the flashing bright angle value to above-mentioned photographic subjects object carry out flash of light shooting include:
The brightness value of flash lamp is adjusted to the flashing bright angle value;
Flash of light shooting is carried out to the target to be captured object.
Correspondingly, the embodiment of the present invention additionally provides a kind of camera terminal, including:
First acquisition unit, for obtaining the distance between camera terminal and target to be captured object information and current environment Luminance information;
Second acquisition unit, for according to presetting rule, flash of light to be obtained with reference to the range information and the luminance information Brightness value;
Shooting unit, for carrying out flash of light shooting to the target to be captured object according to the flashing bright angle value.
Wherein, the first acquisition unit is specifically used for:
The image acquisition luminance information currently gathered according to camera, using the luminance information as the current environment Luminance information.
Wherein, the first acquisition unit includes:
Subelement is obtained, for image acquisition camera terminal and the mesh to be captured currently gathered according to the camera Mark the distance between object information;
Subelement is measured, for starting between distance-measuring device measurement camera terminal and the target to be captured object Range information.
Wherein, the terminal includes:
Preset unit, for the correspondence between preset flashing bright angle value and range information and flashing bright angle value with it is bright Spend the rule of the correspondence between information;
The second acquisition unit is specifically used for:
According to the correspondence between the flashing bright angle value and range information and flashing bright angle value and luminance information it Between correspondence, obtain the range information and the flashing bright angle value corresponding to luminance information.
Wherein, the shooting unit includes:
Regulator unit, for adjusting the brightness value of flash lamp to the flashing bright angle value;
Subelement is shot, for carrying out flash of light shooting to the target to be captured object.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention is by obtaining the distance between camera terminal and target to be captured object information and current environment Luminance information, according to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information, according to described Flashing bright angle value carries out flash of light shooting to the target to be captured object so that camera terminal according to range information and can work as front ring The luminance information in border determines the flashing bright angle value of flash lamp, so that camera terminal can automatically adjust the flash luminance of flash of light Value to carry out accurate light filling to target to be captured object, promotes shooting effect.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of first embodiment flow diagram of method for surveying light provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment structure chart of terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment structure chart of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment belongs to the scope of protection of the invention.
Camera terminal described in the embodiment of the present invention may include:Mobile phone, tablet computer, palm PC and single-lens anti- Light camera etc. has shooting function or can carry out the terminal of rotary taking, wherein, above-mentioned camera terminal is only citing rather than poor It lifts, including but not limited to above-mentioned camera terminal.
S100 obtains the luminance information of the distance between camera terminal and target to be captured object information and current environment.
In embodiments of the present invention, when camera terminal, which receives, starts shooting instruction, device can first determine whether to work as front ring Whether border, which needs to open to glisten, carries out flash of light shooting, i.e., camera terminal judges whether to meet flash of light unlocking condition.Wherein, camera terminal Judge whether that it can be the luminance information that camera terminal obtains current environment to meet flash of light unlocking condition, judge the bright of current environment Spend whether information is less than default threshold value, when the luminance information of current environment is less than default threshold value, then camera terminal can be true It is fixed to meet flash of light unlocking condition.When the luminance information of current environment is greater than or equal to default threshold value, then camera terminal can be true Surely flash of light unlocking condition is unsatisfactory for, camera terminal is shot without opening or cleaning flash lamp using natural light.
In embodiments of the present invention, when camera terminal judges to meet flash of light unlocking condition, camera terminal can obtain shooting The distance between terminal and target to be captured object information, wherein, range information can be distance value.Camera terminal can be according to taking the photograph The distance between the image acquisition camera terminal and target to be captured object that are currently gathered as head information.Specifically, camera terminal It can be in the image for the image lock target to be captured object that camera currently gathers.Specifically, camera terminal locks mesh to be captured Marking the image of object can be:Camera terminal can carry out target to be captured object to the acquisition image for the present frame that camera collects Physical examination is surveyed.Wherein, target to be captured object may include:Face, plant, personage etc..Camera terminal can be according to required shooting pair As preset at least one target to be captured object detecting method, it may include:Method for detecting human face, plnat monitoring method or personage Detection method etc..Camera terminal can carry out target to be captured object detection according to required on acquisition image, obtain mesh to be captured Subject image is marked, so as to lock target to be captured subject image;Alternatively, camera terminal can also receive user by Touch Screen into Row clicks on the operational order of generation, and target to be captured subject image is locked according to the operational order, such as:User can be in shooting eventually The camera acquired image of camera terminal is checked on the display screen at end, and is being shown according to the target object of required shooting The image of target to be captured object is clicked on screen, so that camera terminal is locked according to operational order input by user Determine target to be captured object;Alternatively, camera terminal can also focus, using the object of focusing as target to be captured object.When After camera terminal locking target to be captured subject image, camera terminal can be obtained according to the target to be captured subject image of locking and treated The distance between photographic subjects object and camera terminal value.Wherein, camera terminal can calculate the target to be captured object figure of locking The depth of field of picture, and can be using the depth of field of target to be captured subject image as the distance between target to be captured object and camera terminal Value, so as to obtain the distance between camera terminal and target to be captured object value.Further, when there is multiple target to be captured objects During body, the exportable prompting of camera terminal user to be reminded to specify a target to be captured object, is specified when camera terminal acquisition After target to be captured object, camera terminal can will obtain the distance between the target to be captured object specified value, so as to obtain The distance between camera terminal and target to be captured object value, alternatively, when there is multiple target to be captured objects, camera terminal can Multiple corresponding distance values of target to be captured object are calculated, are averaged according to multiple corresponding distance values of target to be captured object Distance value, using average distance value as the distance between camera terminal and target to be captured object value.Further, camera terminal Distance-measuring device can also be started to measure the distance between camera terminal and target to be captured object value, such as camera terminal Start range sensor to measure the distance between camera terminal and target to be captured object value.
In embodiments of the present invention, when camera terminal judges to meet flash of light unlocking condition, camera terminal, which can also obtain, works as The luminance information of preceding environment.Specifically, camera terminal can be according to the image acquisition luminance information that camera currently gathers, it and will be bright Information is spent as the luminance information under current environment.Wherein, camera terminal can be in preset gray scale and the luminance information table of comparisons The luminance information corresponding to the half-tone information of image is obtained, using the luminance information as the luminance information under current environment.Into one Step, camera terminal can also measure the luminance information of current environment by sensor, such as be surveyed by illumination photometer or photo resistance Measure the luminance information of current environment.
According to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information by S101.
In embodiments of the present invention, camera terminal can be between preset flashing bright angle value and range information correspondence and The rule of correspondence between flashing bright angle value and luminance information.When camera terminal gets range information and luminance information Afterwards, the flashing bright angle value that camera terminal can be according to corresponding to above preset rule obtains range information and luminance information.Wherein, Correspondence can be between the preset flashing bright angle value of camera terminal and range information:Developer waits to clap by experiment test It takes the photograph object to be shot under different distances from camera terminal, determines that different distances corresponds to optimal sudden strain of a muscle according to shooting effect Brightness values, and record the optimal flashing bright angle value, so as to developer can be established according to test result flashing bright angle value with The correspondence is simultaneously preset in camera terminal by correspondence between range information.Further, the preset sudden strain of a muscle of camera terminal Correspondence between brightness values and luminance information can be:Developer is by experiment test camera terminal in shooting environmental It is shot under different luminance informations, determines that different luminance informations corresponds to optimal flashing bright angle value according to shooting effect, And record the optimal flashing bright angle value, so as to developer can be established according to test result flashing bright angle value and luminance information it Between correspondence and the correspondence is preset in camera terminal.
Further, camera terminal can obtain one group according to the correspondence between preset flashing bright angle value and range information Flash luminance Value Data and camera terminal can be obtained according to the correspondence between preset flashing bright angle value and luminance information Another group of flash luminance Value Data, camera terminal can analyze this two groups of data, find out two groups of data and include identical data conduct Flashing bright angle value needed for camera terminal.
Further, camera terminal also can be used preset computational algorithm to the luminance information that is obtained and range information into Row calculates, and obtains flashing bright angle value.Wherein, preset computational algorithm can according to demand be carried out preset by user.
S102 carries out flash of light shooting according to the flashing bright angle value to the target to be captured object.
In embodiments of the present invention, camera terminal according to the flashing bright angle value got, can adjust the brightness value of flash lamp To flashing bright angle value so that flash lamp flash of light shooting is carried out according to the flashing bright angle value.Further, camera terminal can also be defeated Going out includes the prompt message of flashing bright angle value, user to be prompted to carry out the manual brightness for adjusting flash lamp according to the flashing bright angle value Value.
In embodiments of the present invention, when camera terminal receives shooting instruction, camera terminal is controlled in moment to be dodged Light lamp is glittering once to carry out flash of light shooting or camera terminal control flash lamp is always on mode and carries out flash of light shooting, glistens at this time The flash luminance of lamp is the flashing bright angle value of above-mentioned acquisition.
The embodiment of the present invention is by obtaining the distance between camera terminal and target to be captured object information and current environment Luminance information, according to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information, according to described Flashing bright angle value carries out flash of light shooting to the target to be captured object so that camera terminal according to range information and can work as front ring The luminance information in border determines the flashing bright angle value of flash lamp, so that camera terminal can automatically adjust the flash luminance of flash of light Value to carry out accurate light filling to target to be captured object, promotes shooting effect.
It is a kind of first embodiment structure chart of camera terminal provided in an embodiment of the present invention referring to Fig. 2.The present invention is implemented Camera terminal described in example, including:
First acquisition unit 100, for obtaining the distance between camera terminal and target to be captured object information and current The luminance information of environment.
Second acquisition unit 200, for according to presetting rule, obtaining and dodging with reference to the range information and the luminance information Brightness values.
Shooting unit 300, for carrying out flash of light shooting to the target to be captured object according to the flashing bright angle value.
In embodiments of the present invention, when camera terminal, which receives, starts shooting instruction, device can first determine whether to work as front ring Whether border, which needs to open to glisten, carries out flash of light shooting, i.e., camera terminal judges whether to meet flash of light unlocking condition.Wherein, camera terminal Judge whether that it can be the luminance information that camera terminal obtains current environment to meet flash of light unlocking condition, judge the bright of current environment Spend whether information is less than default threshold value, when the luminance information of current environment is less than default threshold value, then camera terminal can be true It is fixed to meet flash of light unlocking condition.When the luminance information of current environment is greater than or equal to default threshold value, then camera terminal can be true Surely flash of light unlocking condition is unsatisfactory for, camera terminal is shot without opening or cleaning flash lamp using natural light.
In embodiments of the present invention, when camera terminal judges to meet flash of light unlocking condition, first acquisition unit 100 can obtain The distance between camera terminal and target to be captured object information are taken, wherein, range information can be distance value.First obtains list Member 100 can be according to the distance between the image acquisition camera terminal and target to be captured object that camera currently gathers information.Tool Body, first acquisition unit 100 can be in the image for the image lock target to be captured object that camera currently gathers.Specifically, First acquisition unit 100 lock target to be captured object image can be:First acquisition unit 100 can collect camera Present frame acquisition image carry out target to be captured object detection.Wherein, target to be captured object may include:Face, plant, Personage etc..Camera terminal can be according to the required preset at least one target to be captured object detecting method of reference object, it may include: Method for detecting human face, plnat monitoring method or human detection method etc..First acquisition unit 100 can be schemed according to required in acquisition As upper progress target to be captured object detection, target to be captured subject image is obtained, so as to lock target to be captured subject image; Alternatively, first acquisition unit 100 can also receive the operational order that user by Touch Screen click on generation, according to the operation Instruction locking target to be captured subject image, such as:User can check taking the photograph for camera terminal on the display screen of camera terminal As head acquired image, and according to the target object of required shooting on the display screen to the image of target to be captured object into Row is clicked on, so that first acquisition unit 100 locks target to be captured object according to operational order input by user;Alternatively, First acquisition unit 100 can also focus, using the object of focusing as target to be captured object.When first acquisition unit 100 After locking target to be captured subject image, first acquisition unit 100 can be obtained according to the target to be captured subject image of locking and treated The distance between photographic subjects object and camera terminal value.Wherein, first acquisition unit 100 can calculate the target to be captured of locking The depth of field of subject image, and can be using the depth of field of target to be captured subject image as between target to be captured object and camera terminal Distance value, so as to obtain the distance between camera terminal and target to be captured object value.Further, it is multiple to be captured when having During target object, 100 exportable prompting of first acquisition unit, user to be reminded to specify a target to be captured object, when first After the target to be captured object that the acquisition of acquiring unit 100 is specified, first acquisition unit 100 can will obtain the mesh to be captured with specifying The distance between object value is marked, so as to obtain the distance between camera terminal and target to be captured object value, alternatively, multiple when having During target to be captured object, first acquisition unit 100 can calculate multiple corresponding distance values of target to be captured object, according to multiple The corresponding distance value of target to be captured object obtains average distance value, using average distance value as camera terminal and target to be captured The distance between object value.Further, first acquisition unit 100 can also start distance-measuring device to measure shooting eventually End and the distance between target to be captured object value, as camera terminal start range sensor measure camera terminal with it is to be captured The distance between target object value.
In embodiments of the present invention, when camera terminal judges to meet flash of light unlocking condition, first acquisition unit 100 may be used also Obtain the luminance information of current environment.Specifically, the image acquisition that first acquisition unit 100 can currently be gathered according to camera is bright Information is spent, and using luminance information as the luminance information under current environment.Wherein, first acquisition unit 100 can be in preset ash Degree is with obtaining the luminance information corresponding to the half-tone information of image in the luminance information table of comparisons, using the luminance information as working as front ring Luminance information under border.Further, first acquisition unit 100 can also measure the brightness letter of current environment by sensor Breath such as measures the luminance information of current environment by illumination photometer or photo resistance.
In embodiments of the present invention, camera terminal can be between preset flashing bright angle value and range information correspondence and The rule of correspondence between flashing bright angle value and luminance information.When first acquisition unit 100 gets range information and bright After spending information, second acquisition unit 200 can be according to the sudden strain of a muscle corresponding to above preset rule acquisition range information and luminance information Brightness values.Further, second acquisition unit 200 can be according to the correspondence between preset flashing bright angle value and range information Obtain one group of flash luminance Value Data and second acquisition unit 200 can according to preset flashing bright angle value and luminance information it Between correspondence obtain another group of flash luminance Value Data, second acquisition unit 200 can analyze this two groups of data, find out two groups Data include identical data as the flashing bright angle value needed for camera terminal.
Further, second acquisition unit 200 also can be used preset computational algorithm to the luminance information that is obtained and away from It is calculated from information, obtains flashing bright angle value.Wherein, preset computational algorithm can according to demand be carried out preset by user.
In embodiments of the present invention, shooting unit 300 can adjust the brightness of flash lamp according to the flashing bright angle value got Value to flashing bright angle value so that flash lamp flash of light shooting is carried out according to the flashing bright angle value.Further, shooting unit 300 The also exportable prompt message for including flashing bright angle value, user to be prompted to carry out adjusting flash lamp manually according to the flashing bright angle value Brightness value.
In embodiments of the present invention, when shooting unit 300 receives shooting instruction, shooting unit 300 is in moment Control flash lamp is glittering once to carry out flash of light shooting or shooting unit 300 flash lamp is controlled to be always on mode carrying out flash of light shooting, The flash luminance of flash lamp is the flashing bright angle value of above-mentioned acquisition at this time.
The embodiment of the present invention is by obtaining the distance between camera terminal and target to be captured object information and current environment Luminance information, according to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information, according to described Flashing bright angle value carries out flash of light shooting to the target to be captured object so that camera terminal according to range information and can work as front ring The luminance information in border determines the flashing bright angle value of flash lamp, so that camera terminal can automatically adjust the flash luminance of flash of light Value to carry out accurate light filling to target to be captured object, promotes shooting effect.
It is a kind of second embodiment structure chart of camera terminal provided in an embodiment of the present invention referring to Fig. 3.The present invention is implemented Camera terminal described in example, including:
First acquisition unit 100, for obtaining the distance between camera terminal and target to be captured object information and current The luminance information of environment.
Second acquisition unit 200, for according to presetting rule, obtaining and dodging with reference to the range information and the luminance information Brightness values.
Shooting unit 300, for carrying out flash of light shooting to the target to be captured object according to the flashing bright angle value.
Wherein, the camera terminal further includes:
Preset unit 400, for the correspondence and flashing bright angle value between preset flashing bright angle value and range information The rule of correspondence between luminance information.
In embodiments of the present invention, preset unit 400, correspondence that can be between preset flashing bright angle value and range information And the rule of the correspondence between flashing bright angle value and luminance information.Wherein, the preset flashing bright angle value of preset unit 400 The rule of correspondence can be between range information:Developer is existed by experiment test object to be shot and camera terminal It is shot under different distances, determines that different distances corresponds to optimal flashing bright angle value according to shooting effect, and record and be somebody's turn to do Optimal flashing bright angle value, so as to developer can be established according to test result it is corresponding between flashing bright angle value and range information The correspondence is simultaneously preset in preset unit 400 by relation.Further, 400 preset flashing bright angle value of preset unit with it is bright Degree information between correspondence can be:Developer is believed by experiment test camera terminal in the different brightness of shooting environmental It is shot under breath, determines that different luminance informations corresponds to optimal flashing bright angle value according to shooting effect, and it is optimal to record this Flashing bright angle value, so as to which developer can establish correspondence between flashing bright angle value and luminance information according to test result And the correspondence is preset in preset unit 400.
The first acquisition unit 100 is specifically used for:
The image acquisition luminance information currently gathered according to camera, using the luminance information as the current environment Luminance information.
The first acquisition unit 100 is specifically used for:
Between the image acquisition camera terminal and the target to be captured object that are currently gathered according to the camera away from From information;
Start distance-measuring device measurement the distance between camera terminal and the target to be captured object information.
The second acquisition unit 200 is specifically used for:
According to the correspondence between the flashing bright angle value and range information and flashing bright angle value and luminance information it Between correspondence, obtain the range information and the flashing bright angle value corresponding to luminance information.
The shooting unit is specifically used for:
The brightness value of flash lamp is adjusted to the flashing bright angle value;
Flash of light shooting is carried out to the target to be captured object.
In the specific implementation, the specific reality of above-mentioned first acquisition unit 100, second acquisition unit 200 and shooting unit 300 Existing process can be found in the step S100- in the first embodiment of the method for automatic adjustment flash of light provided in an embodiment of the present invention S102, details are not described herein.
The embodiment of the present invention is by obtaining the distance between camera terminal and target to be captured object information and current environment Luminance information, according to presetting rule, flashing bright angle value is obtained with reference to the range information and the luminance information, according to described Flashing bright angle value carries out flash of light shooting to the target to be captured object so that camera terminal according to range information and can work as front ring The luminance information in border determines the flashing bright angle value of flash lamp, so that camera terminal can automatically adjust the flash luminance of flash of light Value to carry out accurate light filling to target to be captured object, promotes shooting effect.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.

Claims (6)

  1. A kind of 1. method for automatically adjusting flash of light, which is characterized in that the described method includes:
    When detecting that light source changes, at least one shot to object to be shot under different range informations is obtained The corresponding flashing bright angle value of a captured image;
    The different corresponding flash luminances of range information is determined in the corresponding flashing bright angle value of at least one captured image Value;
    Establish the correspondence between flashing bright angle value and range information;
    When camera terminal, which receives, starts shooting instruction, according to the brightness for the image acquisition current environment that camera currently gathers Information, judges whether the luminance information of the current environment is less than default threshold value;
    When the luminance information for determining current environment is less than default threshold value, is locked in the image currently gathered in camera and wait to clap The image of target object is taken the photograph, the depth of field of the image of the target to be captured object is calculated based on the image currently gathered, and Using the depth of field of the target to be captured subject image as the distance between target to be captured object and camera terminal information;
    Believed according to the correspondence between preset flashing bright angle value and range information and preset flashing bright angle value with brightness Correspondence between breath obtains the flashing bright angle value corresponding to the luminance information of the range information and the current environment;
    Flash of light shooting is carried out to the target to be captured object according to the flashing bright angle value.
  2. 2. the method as described in claim 1, which is characterized in that described according between preset flashing bright angle value and range information Correspondence and preset flashing bright angle value and luminance information between correspondence, obtain the range information and described Include before the flashing bright angle value corresponding to the luminance information of current environment:
    The rule of correspondence between preset flashing bright angle value and luminance information.
  3. 3. method as claimed in claim 2, which is characterized in that it is described according to the flashing bright angle value to above-mentioned photographic subjects object Body, which carries out flash of light shooting, to be included:
    The brightness value of flash lamp is adjusted to the flashing bright angle value;
    Flash of light shooting is carried out to the target to be captured object.
  4. 4. a kind of camera terminal, which is characterized in that the terminal includes:
    First acquisition unit, for obtaining the bright of the distance between camera terminal and target to be captured object information and current environment Spend information,
    Wherein, the first acquisition unit:When detecting that light source changes, obtain to object to be shot in different distances The corresponding flashing bright angle value of at least one captured image shot under information, it is corresponding at least one captured image The different corresponding flashing bright angle value of range information is determined in flashing bright angle value, is established between flashing bright angle value and range information Correspondence,
    The first acquisition unit is additionally operable to:When camera terminal, which receives, starts shooting instruction, currently gathered according to camera Image acquisition current environment luminance information, judge the current environment luminance information whether be less than default threshold value;
    When the luminance information for determining current environment is less than default threshold value, is locked in the image currently gathered in camera and wait to clap The image of target object is taken the photograph, the depth of field of the image of the target to be captured object is calculated based on the image currently gathered, and Using the depth of field of the target to be captured subject image as the distance between target to be captured object and camera terminal information;
    Second acquisition unit, for according to presetting rule, flash luminance to be obtained with reference to the range information and the luminance information Value,
    Wherein, the second acquisition unit is used for, according to the correspondence between preset flashing bright angle value and range information with And the correspondence between preset flashing bright angle value and luminance information, obtain the bright of the range information and the current environment Spend the flashing bright angle value corresponding to information;
    Shooting unit, for carrying out flash of light shooting to the target to be captured object according to the flashing bright angle value.
  5. 5. terminal as claimed in claim 4, which is characterized in that the terminal includes:
    Preset unit, for the rule of the correspondence between preset flashing bright angle value and luminance information.
  6. 6. terminal as claimed in claim 5, which is characterized in that the shooting unit includes:
    Regulator unit, for adjusting the brightness value of flash lamp to the flashing bright angle value;
    Subelement is shot, for carrying out flash of light shooting to the target to be captured object.
CN201510217867.7A 2015-04-30 2015-04-30 A kind of method and camera terminal for automatically adjusting flash of light Active CN104853109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510217867.7A CN104853109B (en) 2015-04-30 2015-04-30 A kind of method and camera terminal for automatically adjusting flash of light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510217867.7A CN104853109B (en) 2015-04-30 2015-04-30 A kind of method and camera terminal for automatically adjusting flash of light

Publications (2)

Publication Number Publication Date
CN104853109A CN104853109A (en) 2015-08-19
CN104853109B true CN104853109B (en) 2018-05-29

Family

ID=53852440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510217867.7A Active CN104853109B (en) 2015-04-30 2015-04-30 A kind of method and camera terminal for automatically adjusting flash of light

Country Status (1)

Country Link
CN (1) CN104853109B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245787B (en) * 2015-09-14 2019-04-02 努比亚技术有限公司 Filming control method and its mobile terminal
CN106534707A (en) * 2015-09-14 2017-03-22 中兴通讯股份有限公司 Photographing method and device
CN105245790B (en) * 2015-10-15 2019-04-26 Oppo广东移动通信有限公司 A kind of light compensation method, device and mobile terminal
CN107302654A (en) * 2016-04-15 2017-10-27 中兴通讯股份有限公司 A kind of image pickup method and device
CN106303276B (en) * 2016-08-19 2019-03-26 广州杰赛科技股份有限公司 A kind of image-pickup method and detecting ball based on detecting ball
CN106331505A (en) * 2016-09-30 2017-01-11 西安易朴通讯技术有限公司 Shooting method and device
CN107071272B (en) * 2017-02-17 2020-10-16 奇酷互联网络科技(深圳)有限公司 Method and device for controlling brightness of camera fill-in light and terminal
CN107135368A (en) * 2017-03-20 2017-09-05 广东小天才科技有限公司 The picture light adjusting method and device of a kind of video calling
CN107454313A (en) * 2017-06-19 2017-12-08 中国烟草总公司广东省公司 The photographic method and camera system of agricultural intelligent device
CN107317976A (en) * 2017-06-23 2017-11-03 深圳市沃特沃德股份有限公司 Preceding flash adjustment method and device
CN107295269A (en) * 2017-07-31 2017-10-24 努比亚技术有限公司 A kind of light measuring method and terminal, computer-readable storage medium
CN107888842B (en) * 2017-12-28 2021-04-20 上海传英信息技术有限公司 Flash lamp control method and control system based on intelligent terminal
CN110099221A (en) * 2019-03-27 2019-08-06 深圳市万普拉斯科技有限公司 Flash lamp control method, device, computer equipment and storage medium
CN110290330B (en) * 2019-06-26 2022-03-29 Oppo广东移动通信有限公司 Control method, electronic device, and storage medium
CN112188109B (en) * 2019-07-04 2022-04-19 深圳市航盛电子股份有限公司 Camera debugging method and device and electronic equipment
CN112243582A (en) * 2019-08-30 2021-01-19 深圳市大疆创新科技有限公司 Light supplement control method, device and system and storage medium
CN111212228B (en) * 2020-01-13 2021-06-22 维沃移动通信有限公司 Image processing method and electronic device
CN113016175A (en) * 2020-07-20 2021-06-22 深圳市大疆创新科技有限公司 Method, system, movable platform and storage medium for determining exposure parameters of main camera device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1090064A (en) * 1992-10-23 1994-07-27 三星航空产业株式会社 Can detect the camera and the control method thereof of deficiency in light quantity of flash
CN1493911A (en) * 2002-10-31 2004-05-05 ӡ�����Ƽ��ɷ����޹�˾ Method of sensing distance and brightness of target object using multic times flashing
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN101685194A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN102413280A (en) * 2010-09-17 2012-04-11 佳能株式会社 Imaging apparatus and method for controlling same
CN103118163A (en) * 2011-11-16 2013-05-22 中兴通讯股份有限公司 Method and terminal of controlling photographing flash light
CN103167133A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Mobile phone dynamic camera flash lamp luminance compensation system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221341A (en) * 2007-01-08 2008-07-16 华晶科技股份有限公司 Initialization method for field depth composition
CN101430477B (en) * 2007-11-09 2011-06-08 鸿富锦精密工业(深圳)有限公司 Method for judging object distance
WO2009072070A1 (en) * 2007-12-05 2009-06-11 Nxp B.V. Flash light compensation system for digital camera system
CN101750848B (en) * 2008-12-11 2011-03-30 鸿富锦精密工业(深圳)有限公司 Pick-up device and light filling method
JP5451316B2 (en) * 2009-10-28 2014-03-26 キヤノン株式会社 Imaging apparatus and light emission control method
CN102478743A (en) * 2010-11-26 2012-05-30 英业达股份有限公司 Photographic device and control method thereof
CN104539923A (en) * 2014-12-03 2015-04-22 深圳市亿思达科技集团有限公司 Depth-of-field adaptive holographic display method and device thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1090064A (en) * 1992-10-23 1994-07-27 三星航空产业株式会社 Can detect the camera and the control method thereof of deficiency in light quantity of flash
CN1493911A (en) * 2002-10-31 2004-05-05 ӡ�����Ƽ��ɷ����޹�˾ Method of sensing distance and brightness of target object using multic times flashing
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN101685194A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Automatic focusing device and automatic focusing method
CN102413280A (en) * 2010-09-17 2012-04-11 佳能株式会社 Imaging apparatus and method for controlling same
CN103118163A (en) * 2011-11-16 2013-05-22 中兴通讯股份有限公司 Method and terminal of controlling photographing flash light
CN103167133A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Mobile phone dynamic camera flash lamp luminance compensation system and method

Also Published As

Publication number Publication date
CN104853109A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
CN104853109B (en) A kind of method and camera terminal for automatically adjusting flash of light
CN105554413B (en) A kind of screen light filling photographic method, device and mobile terminal
US9146106B2 (en) Laser receiver using a smart device
CA3011428A1 (en) Systems and methods for determining distance from an object
WO2017008351A1 (en) White balance adjusting method and photographing terminal
CN102104724B (en) Image processing apparatus and image processing method
US7124053B2 (en) Image processing method and apparatus therefor
CN105915803B (en) Photographing method and system based on sensor
CN105611140A (en) Photographing control method, photographing control device and terminal
CN110443802B (en) Image detection method and device, equipment and storage medium
Ismail et al. Development of a webcam based lux meter
CN108055532A (en) Automate the method and apparatus of matching test card
CN110784659B (en) Exposure control method and device and storage medium
US8090253B2 (en) Photographing control method and apparatus using strobe
CN113545028B (en) Gain control for facial authentication
CN105575361A (en) Screen brightness adjusting method and apparatus thereof
KR100865275B1 (en) Method for photographing image of tongue
CN113992904B (en) Information processing method, device, electronic equipment and readable storage medium
CN111044261B (en) Method, device, storage medium and system for detecting illumination uniformity of eye fundus camera
JP2005196252A (en) Object region detecting device, photographing device, target region detecting method and computer program
CN108876891A (en) Face image data acquisition method and face image data acquisition device
CN110534072B (en) Real-time correction method for portable diagnosis display
CN113703203B (en) Automatic testing method for display uniformity of LCD screen
CN108111755A (en) A kind of recognition methods of picked angle of human body and device
CN114339209B (en) Method for measuring and calculating image inclination value, image acquisition system, device and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder