CN104333709B - Method, device and the electronic equipment being controlled to flash lamp - Google Patents

Method, device and the electronic equipment being controlled to flash lamp Download PDF

Info

Publication number
CN104333709B
CN104333709B CN201410717800.5A CN201410717800A CN104333709B CN 104333709 B CN104333709 B CN 104333709B CN 201410717800 A CN201410717800 A CN 201410717800A CN 104333709 B CN104333709 B CN 104333709B
Authority
CN
China
Prior art keywords
image
pupil
user
standard
flash lamp
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
CN201410717800.5A
Other languages
Chinese (zh)
Other versions
CN104333709A (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.)
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co 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 BOE Technology Group Co Ltd, Beijing BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201410717800.5A priority Critical patent/CN104333709B/en
Publication of CN104333709A publication Critical patent/CN104333709A/en
Application granted granted Critical
Publication of CN104333709B publication Critical patent/CN104333709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Stroboscope Apparatuses (AREA)

Abstract

The invention discloses a kind of method being controlled to flash lamp, device and electronic equipment, to improve the control accuracy of flash lamp control.The method of the present invention includes:Obtain the actual size of user's pupil under current shooting environment;The flash intensity of the flash lamp is controlled according to the actual size of the pupil.The embodiment of the present invention greatly reduces the possibility being interfered in ambient light detection process, and then can improve the control accuracy of flash lamp control.

Description

Method, device and the electronic equipment being controlled to flash lamp
Technical field
The present invention relates to IMAQ control technology field, particularly a kind of method being controlled to flash lamp, device And electronic equipment.
Background technology
With the development of science and technology, digital image capture device or possessing other portable electric appts of shoot function Through the standard configuration equipment as each user.
The use of flash lamp has very important effect in photography, and flash of light can be such as used when insufficient light Lamp light filling.
For the control of flash lamp, what is taken mostly in the prior art is to gather ambient brightness using light sensor, And then the scheme whether opened of flash lamp is controlled according to ambient brightness.
And the ambient light detected according to light sensor of prior art controls the scheme of flash lamp to there is false triggering The problem of, it is described as follows.
Generally, user needs handheld device to be photographed, and when the hand of user hides to light sensor formation During gear, then the amount light that light sensor is detected can be reduced, cause ambient light detected value to be less than actual value, so as to cause control The judgement of algorithmic error needs to open flash lamp.
The content of the invention
The purpose of the embodiment of the present invention is a kind of method being controlled to flash lamp of offer, device and electronic equipment, Improve the control accuracy of flash lamp control.
To achieve these goals, controlled the embodiments of the invention provide a kind of flash lamp in image capture device The method of system, including:
Obtain the actual size of user's pupil under current shooting environment;
The flash intensity of the flash lamp is controlled according to the actual size of the pupil.
Above-mentioned method, wherein, the actual size of user's pupil is specially under the acquisition current shooting environment:
The collecting device collection of control described image includes the image of user's pupil;
The actual size of user's pupil is calculated according to the described image collected.
Above-mentioned method, wherein, the step of collecting device collection of control described image includes the image of user's pupil In, control described image collecting device is gathered under standard acquisition parameters includes the original image of user's pupil;
The actual size that the described image that the basis is collected calculates user's pupil includes:
Current pupil image is extracted from the original image;
Selection and the most like standard pupil image of the current pupil image from standard picture set;
The actual size of the corresponding predetermined pupil size of the standard pupil image as user's pupil is exported;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupil Hole pattern picture is the image of the pupil with the pupil diameter photographed under standard acquisition parameters.
Above-mentioned method, wherein, the actual size of user's pupil is the actual diameter or real area of pupil.
Above-mentioned method, wherein, the control described image collecting device collection includes the image tool of user's pupil Body includes:
The first image acquisition units in described image collecting device are controlled to carry out IMAQ;
Judge face whether is can recognize that in the image currently collected, obtain the first judged result;
When the first judged result indicates that None- identified goes out face in the image currently collected, handover operation is performed, by The second image acquisition units collection described first image in described image collecting device, otherwise gathers single by described first image The image that member is currently collected is exported as described first image.
Above-mentioned method, wherein, described first image collecting unit is the front camera of mobile communication terminal, described the Two image acquisition units are the rear camera of mobile communication terminal.
Above-mentioned method, wherein, in addition to:
The first image acquisition units or the second image acquisition units in control described image collecting device carry out image Before collection, described first image collecting unit or the focal length of the second image acquisition units is set to be more than or equal to predetermined threshold.
Above-mentioned method, wherein, the flash intensity for controlling the flash lamp according to the actual size of the pupil is specifically wrapped Include:
According to the actual size computing environment brightness of the pupil;
Light compensation rate is calculated according to ambient brightness;
The flash intensity of flash lamp is calculated according to the smooth compensation rate;
The flash lamp is controlled to be glistened with the flash intensity.
To achieve these goals, the embodiment of the present invention additionally provides a kind of flash lamp in image capture device and carried out The device of control, including:
Dimension acquisition module, the actual size for obtaining user's pupil under current shooting environment;
Intensity control module, the flash intensity for controlling the flash lamp according to the actual size of the pupil.
Above-mentioned device, wherein, the dimension acquisition module is specifically included:
Acquisition control unit, for controlling the collection of described image collecting device to include the image of user's pupil;
Dimension calculating unit, the actual size for calculating user's pupil according to the described image collected.
Above-mentioned device, wherein, the acquisition control unit is used to control described image collecting device to shoot ginseng in standard Several lower collections include the original image of user's pupil;The dimension calculating unit is used to extract from the original image and worked as Preceding pupil image, and selected from standard picture set with after the most like standard pupil image of the current pupil image, inciting somebody to action The corresponding predetermined pupil size of the standard pupil image is exported as the actual size of user's pupil;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupil Hole pattern picture is the image of the pupil with the pupil diameter photographed under standard acquisition parameters.
Above-mentioned device, wherein, the actual size of user's pupil is the actual diameter or real area of pupil.
Above-mentioned device, wherein, the acquisition control unit is used to control the first image in described image collecting device Collecting unit carries out IMAQ, and judges whether can recognize that face in the image currently collected, when what is currently collected When None- identified goes out face in image, handover operation is performed, is adopted by the second image acquisition units in described image collecting device Collect described first image, the image for otherwise currently collecting described first image collecting unit is defeated as described first image Go out.
Above-mentioned device, wherein, described first image collecting unit is the front camera of mobile communication terminal, described the Two image acquisition units are the rear camera of mobile communication terminal.
Above-mentioned device, wherein, in addition to:
Setup module, for the first IMAQ list in acquisition control unit control described image collecting device Member or the second image acquisition units are carried out before IMAQ, set described first image collecting unit or the second IMAQ list The focal length of member is more than or equal to predetermined threshold.
Above-mentioned device, wherein, the intensity control module is specifically included:
Ambient brightness computing unit, according to the actual size computing environment brightness of the pupil;
Compensation rate computing unit, light compensation rate is calculated according to ambient brightness;
Flash intensity computing unit, the flash intensity of flash lamp is calculated according to the smooth compensation rate;
Control unit, controls the flash lamp to be glistened with the flash intensity.
To achieve these goals, the embodiment of the present invention additionally provide it is a kind of including above-mentioned in image capture device The electronic equipment for the device that flash lamp is controlled.
The detection of ambient brightness directly is carried out using light sensor in the prior art, but in many cases, light is passed Sensor, which is likely to be blocked, causes testing result to deviate actual environment brightness, and then causes flash lamp erroneous trigger.And this hair It is that follow-up control decision is carried out based on this human body photo-sensing device of user's pupil in bright specific embodiment.Relative to existing There is the situation that light sensor is blocked in technology, the possibility that pupil is blocked is substantially reduced, therefore it is relative to existing skill The interference that the light sensor of art is subject to is smaller, can more really reflect ambient light intensity.
Therefore relative to prior art, the embodiment of the present invention greatly reduce be interfered in ambient light detection process can Energy property, and then the control accuracy of flash lamp control can be improved.
Brief description of the drawings
Fig. 1 represents the flow for the method that a kind of flash lamp in image capture device of the embodiment of the present invention is controlled Schematic diagram;
Fig. 2 represents to obtain the schematic flow sheet of the actual size of user's pupil under current shooting environment;
Fig. 3 represents to determine the schematic flow sheet of the actual diameter of pupil according only to image;
Fig. 4 represents to obtain the schematic flow sheet for the image for including user's pupil under dual camera scene;
Fig. 5 represents the structure for the device that a kind of flash lamp in image capture device of the embodiment of the present invention is controlled Schematic diagram.
Embodiment
In the method being controlled to flash lamp, device and the electronic equipment of the embodiment of the present invention, pass through current shooting ring The pupil area of user controls the flash intensity of flash lamp under border.Due to pupil area can actual response ambient light it is strong Degree, and pupil be blocked can not truly reflect that the possibility of ambient light intensity is far smaller than that light sensor is blocked can Energy property, therefore relative to prior art, the embodiment of the present invention greatly reduces the possibility that detection is interfered, and then can carry The control accuracy of high flash lamp control.
The method that a kind of flash lamp in image capture device of the embodiment of the present invention is controlled, as shown in figure 1, bag Include:
Step 101, the actual size of user's pupil under current shooting environment is obtained;
Step 102, the flash intensity of the flash lamp is controlled according to the actual size of the pupil.
One important function of flash lamp is exactly that light filling is carried out in relatively dark environment, higher to shoot mass Image, therefore whether flash lamp opened and largely influenceed by ambient light, and flash of light should be opened when ambient light is weaker Lamp.
And be the actual size based on pupil in the specific embodiment of the invention to control flash lamp, below first to that can utilize The actual size of pupil controls the principle of flash lamp to be explained as follows.
Iris in eyes is in the form of annular discs, and there is a small sircle hole centre, here it is pupil, also referred to as " pupil ".
The size of pupil can change, more constant to be maintained at light quantity under different light conditions into intraocular, both full The demand of foot viewing, ensures the eyeball that will not burn again.Generally, the diameter variable of people's pupil is between 1.5-8.0mm, That is the change multiplying power of the diameter of pupil can then change 25 times up to as many as 5 times corresponding to the light-receiving area of pupil.
That is, the size (diameter or area) of pupil has certain corresponding relation between ambient brightness, as long as It is able to detect that the size of pupil, you can the area according to pupil determines the ambient brightness under current environment, and then according to environment Brightness is controlled to flash lamp.
The detection of ambient brightness directly is carried out using light sensor in the prior art, but in many cases, light is passed Sensor, which is likely to be blocked, causes testing result to deviate actual environment brightness, and then causes flash lamp erroneous trigger.And this hair It is that follow-up control decision is carried out based on this human body photo-sensing device of user's pupil in bright specific embodiment.Relative to existing There is the situation that light sensor is blocked in technology, the possibility that pupil is blocked is substantially reduced, therefore it is relative to existing skill The interference that the light sensor of art is subject to is smaller, can more really reflect ambient light intensity.
Therefore relative to prior art, the method for the embodiment of the present invention is greatly reduced in ambient light detection process by dry The possibility disturbed, and then the control accuracy of flash lamp control can be improved.
In a particular embodiment of the present invention, the actual size for obtaining user's pupil under current shooting environment can be by outer The pupil special measurement equipment put is realized, but in order to reduce cost of implementation, in a particular embodiment of the present invention, directly uses figure As collecting device, the shoot function that has obtains the actual size of pupil originally.
Under this mode, it is described obtain current shooting environment under user's pupil actual size as shown in Fig. 2 including:
Step 201, the collection of control described image collecting device includes the image of user's pupil;
Step 202, the actual size of user's pupil is calculated according to the described image collected.
Under aforesaid way, the directly image collecting function that possesses using image capture device gathers the figure including pupil Picture, and then determine according to image the actual size of user's pupil.Therefore above-mentioned mode has been multiplexed image capture device in itself The image collecting function having carries out the measurement of pupil actual size, reduces the cost of implementation of flash lamp control.
In a particular embodiment of the present invention, the actual size of user's pupil how is obtained using image can a variety of Implementation, below exemplified by measuring pupil diameter, is described as follows with regard to several ways therein.
In mode one, final pupil actual diameter is obtained by an image, is described as follows.
Shooting includes the first image of pupil, while being recorded as image focus to the distance of pupil using rangefinder, is used as thing Away from;
Then the image height of pupil in the first image is obtained;
In the specific embodiment of the invention, obtaining image height has two ways, can be directly from the figure of imaging sensor formation As obtaining, display screen can also be shown in, indicates to calculate behind the summit up and down of pupil by user and obtains.When above-mentioned image height is straight Connect from during the image acquisition of imaging sensor formation, image distance is optical focal length, and formed when above-mentioned image height from display screen When image is obtained, then image distance is optical focal length and the product of Digital Zoom.
, it is necessary to the assistance of rangefinder in above-mentioned mode one.
In mode two, final pupil actual diameter is obtained by two images, is described as follows.
First shooting includes the first image of pupil, and after object distance is changed, shooting includes the second image of pupil, while sharp The displacement of image picking-up apparatus between shooting twice is recorded with displacement transducer;
Then the first image height and the second image height of pupil in the first image and the second image are obtained respectively;
The diameter for calculating pupil finally according to such a way is as follows:
First image height × the second image height × object distance is poor/and (the-the first image height of image distance of the second image height × first × second image distance)
Wherein, the first image distance is image distance when shooting the first image of pupil, and the second image distance is the second figure for shooting pupil Image distance during picture.
In the specific embodiment of the invention, obtaining image height has two ways, can be directly from the figure of imaging sensor formation As obtaining, display screen can also be shown in, indicates to calculate behind the summit up and down of pupil by user and obtains.When above-mentioned image height is straight Connect from during the image acquisition of imaging sensor formation, image distance is optical focal length, and formed when above-mentioned image height from display screen When image is obtained, then image distance is optical focal length and the product of Digital Zoom.
Above-mentioned mode needs to obtain the final diameter for determining pupil of image twice.
, it is necessary to the assistance of displacement transducer in above-mentioned mode two.
It can be found that in above-mentioned mode one and mode two, being required for extra hardware device, such as rangefinder and position The support of displacement sensor, in order to further reduce cost of implementation, in mode three, the actual straight of pupil is determined according only to image Footpath, as shown in figure 3, it includes:
Step 301, control described image collecting device is gathered under standard acquisition parameters includes the original of user's pupil Beginning image;
Step 302, current pupil image is extracted from the original image;
Step 303, selection and the most like standard pupil image of the current pupil image from standard picture set;
Step 304, using the corresponding predetermined pupil size of the standard pupil image as the pupil reality Size is exported;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupil Hole pattern picture is the image of the pupil with the pupil diameter photographed under the standard acquisition parameters.
Processing to more than is described as follows.
Under above-mentioned implementation, it is necessary first to set up the standard picture of pupil under different actual pupil sizes, now standard The actual pupil size of image can be obtained according to any means of prior art, mode one and mode two described above For obtaining actual pupil size.
That is, above-mentioned mode, which has been initially set up in a database, the database, saves different actual pupils (because actual size and the intensity of illumination of pupil are closely related, it can be by different for the standard picture of pupil under size Photoenvironment gets off acquisition, such as progressively increases/reduce ambient brightness with certain step-length, then shoots the image of pupil, now It can obtain the standard picture of pupil under different actual pupil sizes).
After above-mentioned database is set up, you can obtain currently practical pupil image, so this is currently practical Pupil image is contrasted with standard picture, it is determined that with the currently practical immediate standard pupil image of pupil image, and then Determine that the corresponding pupil size of the immediate standard pupil image is exported as the current actual size of pupil.
By foregoing description it can be found that aforesaid way needs only to gather image using image capture device, without The assistance of any additional hardware equipment is needed, therefore reduces the cost of implementation of scheme of the embodiment of the present invention.
After the actual size of pupil is obtained through the above way, you can control institute according to the actual size of the pupil State the flash intensity of flash lamp.
During the flash intensity of the flash lamp is controlled according to the actual size of pupil, first have to according to the pupil The actual size computing environment brightness in hole, and then light compensation rate is calculated according to ambient brightness, gauge is then compensated according to the light The flash intensity of flash lamp is calculated, finally controls the flash lamp to be glistened with the flash intensity.
It is by applying signal, output one to flash lamp circuit to control the flash lamp to carry out flash of light with the flash intensity The individual electric signal being directly proportional to flash intensity value, makes flash intensity reach proper exposure amount.
It can be found that during the above-mentioned flash intensity according to the actual size of the pupil control flash lamp, needing This is described as follows according to the actual size computing environment brightness of pupil.
Mention before, the size of pupil can change, enter the light quantity of intraocular more to be maintained under different light conditions It is constant, the demand of viewing had both been met, has ensured the eyeball that will not burn again.Therefore the actual size (diameter or area) and environment of pupil There is certain corresponding relation between brightness, and the corresponding relation between the actual size and ambient brightness of this pupil be can be with Obtain and preserve by advance test.
After the corresponding relation between the actual size and ambient brightness of pupil is preserved, you can closed according to above-mentioned correspondence System calculates the ambient brightness under current shooting environment.
And the corresponding relation between the actual size and ambient brightness of pupil can be function corresponding relation therebetween.
The function for the relation that one of which suitably reflects between pupil area and ambient brightness is as follows:
A=a+be-L/c
Wherein:
A is pupil area, and unit is square millimeter;
L is ambient brightness, and unit is every square metre of candela;
A, b and c are regulation coefficient.
Corresponding relation between the actual size and ambient brightness of certain pupil can also be recorded with forms mode, such as will The actual full-size and minimum dimension of pupil carry out 100 deciles, obtain 100 sampled points, then record each sampled point Corresponding ambient brightness.After the actual size of pupil is obtained, the corresponding environment of immediate sampled point therewith is found bright Degree is used as actual environment brightness.
Method described in the embodiment of the present invention can be used in the various devices with image capture device, in full code-phase Machine, the portable electric appts (such as notebook computer, mobile phone, PDA, tablet personal computer) with camera.
And in now many electronic equipments with image collecting function, much all there is setting for dual image collecting unit Put, facilitate user to see shooting effect in real time while auto heterodyne.
It is described when the method for the specific embodiment of the invention is used for the above-mentioned electronic equipment with dual image collecting unit The collecting device collection of control described image includes the image of user's pupil as shown in figure 4, specifically including:
Step 401, the first image acquisition units in control described image collecting device carry out IMAQ;
Step 402, judge whether can recognize that face in the image currently collected, obtain the first judged result;
Step 403, when the first judged result indicates that None- identified goes out face in the image currently collected, switching is performed Operation, gathers described first image, otherwise by first figure by the second image acquisition units in described image collecting device The image currently collected as collecting unit is exported as described first image.
Pass through above-mentioned mode so that the method for the embodiment of the present invention is used for the above-mentioned electricity with dual image collecting unit During sub- equipment, the switching of image acquisition units can be carried out automatically to gather the image of pupil, manual cut is carried out without user Change, greatly facilitate the use of user.
The first above-mentioned image acquisition units can be the front camera of mobile communication terminal, second IMAQ Unit can be the rear camera of mobile communication terminal.
For image capture device, when focal length becomes big, furthered bat equivalent to object, the work of amplification can be played With, and focal length becomes hour, can photograph bigger scene.
Mention before, need to carry out image recognition in a particular embodiment of the present invention, identify pupil therein, and then Carry out the measurement of pupil actual size.
Therefore, in order to improve the degree of accuracy of identification, in a particular embodiment of the present invention, in addition to:
The first image acquisition units or the second image acquisition units in control described image collecting device carry out image Before collection, described first image collecting unit or the focal length of the second image acquisition units is set to be more than or equal to predetermined threshold.
Bigger pupil can be photographed by above-mentioned setting so that the pupil of identification is more accurate, improves measurement The precision of pupil actual size.And the raising of pupil actual size measurement accuracy, it becomes possible to more accurate ambient brightness is obtained, So that flash of light control is more accurate, the shooting effect of image capture device can be finally improved.
The embodiment of the present invention additionally provides the device that a kind of flash lamp in image capture device is controlled, such as Fig. 5 It is shown, including:
Dimension acquisition module, the actual size for obtaining user's pupil under current shooting environment;
Intensity control module, the flash intensity for controlling the flash lamp according to the actual size of the pupil.
Above-mentioned device, wherein, the dimension acquisition module is specifically included:
Acquisition control unit, for controlling the collection of described image collecting device to include the image of user's pupil;
Dimension calculating unit, the actual size for calculating user's pupil according to the described image collected.
Above-mentioned device, wherein, the acquisition control unit is used to control described image collecting device to shoot ginseng in standard Several lower collections include the original image of user's pupil;The dimension calculating unit is used to extract from the original image and worked as Preceding pupil image, and selected from standard picture set with after the most like standard pupil image of the current pupil image, inciting somebody to action The corresponding predetermined pupil size of the standard pupil image is exported as the actual size of user's pupil;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupil Hole pattern picture is the image of the pupil with the pupil diameter photographed under the standard acquisition parameters.
Above-mentioned device, wherein, the actual size of user's pupil is the actual diameter or real area of pupil.
Above-mentioned device, wherein, the acquisition control unit is used to control the first image in described image collecting device Collecting unit carries out IMAQ, and judges whether can recognize that face in the image currently collected, when what is currently collected When None- identified goes out face in image, handover operation is performed, is adopted by the second image acquisition units in described image collecting device Collect described first image, the image for otherwise currently collecting described first image collecting unit is defeated as described first image Go out.
Above-mentioned device, wherein, described first image collecting unit is the front camera of mobile communication terminal, described the Two image acquisition units are the rear camera of mobile communication terminal.
Above-mentioned device, wherein, in addition to:
Setup module, for the first IMAQ list in acquisition control unit control described image collecting device Member or the second image acquisition units are carried out before IMAQ, set described first image collecting unit or the second IMAQ list The focal length of member is more than or equal to predetermined threshold.
Above-mentioned device, wherein, the intensity control module is specifically included:
Ambient brightness computing unit, according to the actual size computing environment brightness of the pupil;
Compensation rate computing unit, light compensation rate is calculated according to ambient brightness;
Flash intensity computing unit, the flash intensity of flash lamp is calculated according to the smooth compensation rate;
Control unit, controls the flash lamp to be glistened with the flash intensity.
The embodiment of the present invention additionally provides a kind of electronic equipment, including an image capture device with flash lamp, and it is special Levy and be, in addition to the device that the flash lamp in the above-mentioned collecting device to described image is controlled.
Above-mentioned electronic equipment can be digital camera, be provided with the portable electric appts of image capture device (such as pen Remember this computer, mobile phone, PDA etc.) etc. various equipment.
Described above is only the embodiment of the embodiment of the present invention, it is noted that for the ordinary skill of the art For personnel, on the premise of principle of the embodiment of the present invention is not departed from, some improvements and modifications can also be made, these improve and Retouching also should be regarded as the protection domain of the embodiment of the present invention.

Claims (15)

1. a kind of method that flash lamp in image capture device is controlled, it is characterised in that including:
Obtain the actual size of user's pupil under current shooting environment;
The flash intensity of the flash lamp is controlled according to the actual size of user's pupil;
Wherein, it is described to control the flash intensity of the flash lamp to specifically include according to the actual size of the pupil:
According to the actual size computing environment brightness of the pupil;
Light compensation rate is calculated according to ambient brightness;
The flash intensity of flash lamp is calculated according to the smooth compensation rate;
The flash lamp is controlled to be glistened with the flash intensity.
2. according to the method described in claim 1, it is characterised in that the reality for obtaining user's pupil under current shooting environment Size is specially:
The collecting device collection of control described image includes the image of user's pupil;
The actual size of user's pupil is calculated according to the described image collected.
3. method according to claim 2, it is characterised in that the collecting device collection of control described image includes the user In the step of image of pupil, control described image collecting device is gathered under standard acquisition parameters includes user's pupil Original image;
The actual size that the described image that the basis is collected calculates user's pupil includes:
Current pupil image is extracted from the original image;
Selection and the most like standard pupil image of the current pupil image from standard picture set;
The actual size of the corresponding predetermined pupil size of the standard pupil image as user's pupil is exported;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupillogram Image as being the pupil with pupil diameter photographed under the standard acquisition parameters.
4. according to the method in claim 2 or 3, it is characterised in that the actual size of user's pupil is the reality of pupil Border diameter or real area.
5. method according to claim 2, it is characterised in that the control described image collecting device collection includes described The image of user's pupil is specifically included:
The first image acquisition units in described image collecting device are controlled to carry out IMAQ;
Judge face whether is can recognize that in the image currently collected, obtain the first judged result;
When the first judged result indicates that None- identified goes out face in the image currently collected, handover operation is performed, by described The second image acquisition units collection described first image in image capture device, otherwise works as described first image collecting unit Before the image that collects exported as described first image.
6. method according to claim 5, it is characterised in that described first image collecting unit is mobile communication terminal Front camera, second image acquisition units are the rear camera of mobile communication terminal.
7. method according to claim 5, it is characterised in that also include:
The first image acquisition units or the second image acquisition units in control described image collecting device carry out IMAQ Before, described first image collecting unit or the focal length of the second image acquisition units is set to be more than or equal to predetermined threshold.
8. the device that a kind of flash lamp in image capture device is controlled, it is characterised in that including:
Dimension acquisition module, the actual size for obtaining user's pupil under current shooting environment;
Intensity control module, the flash intensity for controlling the flash lamp according to the actual size of the pupil;
The intensity control module is specifically included:
Ambient brightness computing unit, according to the actual size computing environment brightness of the pupil;
Compensation rate computing unit, light compensation rate is calculated according to ambient brightness;
Flash intensity computing unit, the flash intensity of flash lamp is calculated according to the smooth compensation rate;
Control unit, controls the flash lamp to be glistened with the flash intensity.
9. device according to claim 8, it is characterised in that the dimension acquisition module is specifically included:
Acquisition control unit, for controlling the collection of described image collecting device to include the image of user's pupil;
Dimension calculating unit, the actual size for calculating user's pupil according to the described image collected.
10. device according to claim 9, it is characterised in that the acquisition control unit is used to control described image to adopt Collection equipment is gathered under standard acquisition parameters includes the original image of user's pupil;The dimension calculating unit is used for from institute State and current pupil image is extracted in original image, and selection and the current pupil image are most like from standard picture set After standard pupil image, using the corresponding predetermined pupil size of the standard pupil image as user's pupil actual chi Very little output;
Each standard pupil image in the standard picture set is corresponding with a pupil size, each standard pupillogram Image as being the pupil with pupil diameter photographed under the standard acquisition parameters.
11. the device according to claim 9 or 10, it is characterised in that the actual size of user's pupil is pupil Actual diameter or real area.
12. device according to claim 10, it is characterised in that the acquisition control unit is used to control described image to adopt Collect the first image acquisition units in equipment and carry out IMAQ, and judge whether can recognize that face in the image currently collected Portion, when None- identified goes out face in the image currently collected, performs handover operation, by the in described image collecting device Two image acquisition units gather described first image, the image for otherwise currently collecting described first image collecting unit as Described first image is exported.
13. device according to claim 12, it is characterised in that described first image collecting unit is mobile communication terminal Front camera, second image acquisition units be mobile communication terminal rear camera.
14. device according to claim 12, it is characterised in that also include:
Setup module, for the acquisition control unit control described image collecting device in the first image acquisition units or Second image acquisition units are carried out before IMAQ, set described first image collecting unit or the second image acquisition units Focal length is more than or equal to predetermined threshold.
15. a kind of electronic equipment, including an image capture device with flash lamp, it is characterised in that also including claim The device being controlled to the flash lamp in described image collecting device in 8-14 described in any one.
CN201410717800.5A 2014-12-01 2014-12-01 Method, device and the electronic equipment being controlled to flash lamp Active CN104333709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410717800.5A CN104333709B (en) 2014-12-01 2014-12-01 Method, device and the electronic equipment being controlled to flash lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410717800.5A CN104333709B (en) 2014-12-01 2014-12-01 Method, device and the electronic equipment being controlled to flash lamp

Publications (2)

Publication Number Publication Date
CN104333709A CN104333709A (en) 2015-02-04
CN104333709B true CN104333709B (en) 2017-09-29

Family

ID=52408351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410717800.5A Active CN104333709B (en) 2014-12-01 2014-12-01 Method, device and the electronic equipment being controlled to flash lamp

Country Status (1)

Country Link
CN (1) CN104333709B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811609A (en) * 2015-03-03 2015-07-29 小米科技有限责任公司 Photographing parameter adjustment method and device
CN106333643B (en) * 2015-07-10 2020-04-14 中兴通讯股份有限公司 User health monitoring method, monitoring device and monitoring terminal
CN106454106A (en) * 2016-10-31 2017-02-22 维沃移动通信有限公司 A shooting method and a mobile terminal
CN106778414A (en) * 2016-12-12 2017-05-31 北京慧眼智行科技有限公司 A kind of image acquiring method and device
CN110051319A (en) * 2019-04-23 2019-07-26 七鑫易维(深圳)科技有限公司 Adjusting method, device, equipment and the storage medium of eyeball tracking sensor
CN111950462B (en) * 2020-08-13 2022-03-25 深圳市商汤科技有限公司 Brightness adjusting method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102170730A (en) * 2011-04-12 2011-08-31 惠州Tcl移动通信有限公司 Mobile terminal and flash lamp control method thereof
CN102725765A (en) * 2010-01-22 2012-10-10 虹膜技术公司 Device and method for iris recognition using a plurality of iris images having different iris sizes
CN103051795A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for switching front camera and rear camera of mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102725765A (en) * 2010-01-22 2012-10-10 虹膜技术公司 Device and method for iris recognition using a plurality of iris images having different iris sizes
CN102170730A (en) * 2011-04-12 2011-08-31 惠州Tcl移动通信有限公司 Mobile terminal and flash lamp control method thereof
CN103051795A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method for switching front camera and rear camera of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN104333709A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN104333709B (en) Method, device and the electronic equipment being controlled to flash lamp
CN104580924B (en) The method of adjustment and terminal of a kind of flash power
KR102085766B1 (en) Method and Apparatus for controlling Auto Focus of an photographing device
US8593534B2 (en) Auto-triggered camera self-timer based on recognition of subject's presence in scene
CN103591894B (en) The method and apparatus of object length is measured by camera
CN106507087B (en) A kind of terminal imaging method and system
CN101127832B (en) Photographing apparatus and in-focus position searching method
US20140300779A1 (en) Methods and apparatuses for providing guide information for a camera
CN104284074B (en) Image forming method and image forming apparatus
CN103487926B (en) Microscopic visual inspection system depth of field expanding unit and method
CN105141840B (en) Information processing method and electronic equipment
CN107743590A (en) For performing the method and apparatus of exposure estimation using time-of-flight sensor
CN104076481B (en) Auto focusing method and its equipment
CN104159027B (en) A kind of method and device according to picture pace of change automatic camera
CN103795934A (en) Image processing method and electronic device
CN104468916A (en) Test method based on cell phone response time
CN102741796B (en) Electronic installation
TW201611602A (en) Image capturing device and method
CN103017896B (en) Illumination photometry method and illumination photometry device
CN105872351A (en) Method and device for shooting picture in backlight scene
CN105872399A (en) Backlighting detection method and system
Ismail et al. Development of a webcam based lux meter
CN111866374A (en) Image shooting method and device, pan-tilt camera and storage medium
CN104394329B (en) A kind of photographic method, device and mobile terminal
CN106257918B (en) The judgment method of picture pick-up device and light quantity variation characteristic

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant