CN104349068B - A kind of image pickup method and electronic equipment - Google Patents

A kind of image pickup method and electronic equipment Download PDF

Info

Publication number
CN104349068B
CN104349068B CN201310344536.0A CN201310344536A CN104349068B CN 104349068 B CN104349068 B CN 104349068B CN 201310344536 A CN201310344536 A CN 201310344536A CN 104349068 B CN104349068 B CN 104349068B
Authority
CN
China
Prior art keywords
light
subdomain
light filling
area
sub
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
CN201310344536.0A
Other languages
Chinese (zh)
Other versions
CN104349068A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310344536.0A priority Critical patent/CN104349068B/en
Publication of CN104349068A publication Critical patent/CN104349068A/en
Application granted granted Critical
Publication of CN104349068B publication Critical patent/CN104349068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention discloses a kind of image pickup method, and applied to an electronic equipment, the electronic equipment, which includes an image acquiring device and a light compensating apparatus, methods described, to be included:Before the first image of first area is shot by described image acquisition device, judge whether to need to carry out the first area light filling, the first area is the current preview pickup area of described image acquisition device;When it is determined that needing to carry out light filling to the first area, N number of light filling amount corresponding to N number of subdomain in the first area is determined, N is the integer more than or equal to 2;The light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts;While the light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, the first area is shot by described image acquisition device, to obtain described first image.

Description

A kind of image pickup method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of image pickup method and electronic equipment.
Background technology
With the continuous development of scientific technology, electronic technology has also obtained development at full speed, and the species of electronic product is also got over Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics It is standby, enjoy the comfortable life brought with development in science and technology.For example, the electronic equipment such as digital camera has become one in people's life Individual important part, user can use the electronic equipments such as digital camera shooting photo or video, so as to keep life here In fine moment.
If Light To Dark Ratio is excessive in the region captured by the electronic equipments such as digital camera, the most aftereffect of photo can be influenceed Fruit, if to the shadow exposure in region, " blooming " occurs, high light portion branch loses carefully in the photo finally obtained Section, it is ineffective, if to the highlight exposure in region, shadow exposure deficiency occurs, loses dark portion details, effect is not yet It is good.
At present, mainly by some light compensating apparatus, such as reflector, flash lamp etc., to reduce in captured region Light To Dark Ratio, so as to solve the problems, such as that above-mentioned Light To Dark Ratio is excessive.
But the present inventor has found that above-mentioned technology is at least present during the technical scheme in realizing the embodiment of the present invention Following technical problem:
In the prior art, in captured region, the light that is sent by light compensating apparatus such as reflector, flash lamps by it Line is all scattering light, can only be directed to a larger region in captured region and carry out light filling, can not adjust captured area The light filling amount of specific some or multiple subdomains in domain, if in captured the region in only it is therein some or it is multiple Subdomain needs light filling, and other remaining subdomains do not need light filling, then light filling is carried out when taking pictures can then cause not needing light filling Subdomain light exposure is excessive so that the phenomenon of " blooming " occurs in photo in the excessive subdomain of light exposure, so as to influence to be clapped The effect for the photo taken the photograph.Therefore, existing in the prior art can not be according to single in the region captured by the adjustment of actual photographed scene Or the technical problem of the light filling amount of multiple subdomains.
The content of the invention
The embodiment of the present invention provides a kind of image pickup method and electronic equipment, and solving can not basis present in prior art The technical problem of single or multiple subdomains light filling amount in the captured region of actual photographed scene adjustment.
On the one hand the embodiment of the present invention provides a kind of image pickup method, applied to an electronic equipment, the electronic equipment includes One image acquiring device and a light compensating apparatus, methods described include:First area is being shot by described image acquisition device Before first image, judge whether to need to carry out the first area light filling, the first area is that described image obtains dress The current preview pickup area put;When it is determined that needing to carry out light filling to the first area, determine N number of in the first area N number of light filling amount corresponding to subdomain, N are the integer more than or equal to 2;The light compensating apparatus is according to N number of light filling amount to described N number of Subdomain carries out light filling, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts;The light compensating apparatus according to While N number of light filling amount carries out light filling to N number of subdomain, the first area is entered by described image acquisition device Row shooting, to obtain described first image.
Alternatively, it is described to judge whether to need to carry out light filling to the first area, be specially:Judge whether to obtain user The first light filling instruction of input, wherein, when obtaining the first light filling instruction, demonstrate the need for mending the first area Light;Or judge whether the first preview image of the first area meets a preparatory condition, wherein, in first preview image When meeting the preparatory condition, demonstrate the need for carrying out light filling to the first area.
Alternatively, it is described to determine N number of light filling amount corresponding to N number of subdomain in the first area, specifically include:Described in parsing First light filling instructs, and obtains the first corresponding relation between the subdomain of corresponding N number of subdomain and light filling amount;Based on described first Corresponding relation, determine N number of light filling amount.
Alternatively, whether first preview image for judging the first area meets a preparatory condition, specifically includes: First preview image is handled using the first image processing algorithm, first preview image is divided into and the N N number of sub- preview image corresponding to individual subdomain;Obtain N number of light exposure corresponding to N number of sub- preview image;Obtained with described image The spot light-metering mode of device carries out light-metering to N number of subdomain respectively, obtains N number of default corresponding to N number of sub- preview image Light exposure;Judge whether the light exposure of every sub- preview image in N number of sub- preview image is less than and every sub- preview Light exposure is preset corresponding to image;Wherein, i-th of i-th of sub- preview image in N number of sub- preview image at least be present When light exposure is less than i-th of default light exposure corresponding to described i-th sub- preview image, demonstrate the need for entering the first area Row light filling, i are 1 to any one integer between N.
Alternatively, it is described to determine N number of light filling amount corresponding to N number of subdomain in the first area, specifically include:I is taken successively From 1 to N, i-th of the light exposure and described i-th sub- preview graph of i-th of sub- preview image in N number of sub- preview image are obtained I-th of difference between i-th of default light exposure as corresponding to, when i is N, obtains N number of difference, N number of difference is described N number of light filling amount corresponding to N number of subdomain.
Alternatively, the light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, specifically includes:Root According to N number of light filling amount, the light compensating apparatus control projects the intensity of the light of N number of subdomain, wherein, the light filling dress Put that to project in N number of subdomain the intensity of the light of each subdomain corresponding with light filling amount corresponding to each subdomain.
Alternatively, when the light compensating apparatus is specially liquid crystal projection apparatus, the light compensating apparatus control projects the N The intensity of the light of individual subdomain, is specifically included:Liquid crystal panel in the liquid crystal projection apparatus is divided into and N number of subdomain pair The N number of liquid crystal sub-panel answered;Control the light transmittance of N number of liquid crystal sub-panel corresponding with N number of light filling amount so that described Liquid crystal projection apparatus projects the corresponding light filling of the intensity of the light of each subdomain in N number of subdomain with each subdomain Measure corresponding.
Alternatively, when the light compensating apparatus is specially laser projection device, the light compensating apparatus control projects the N The intensity of the light of individual subdomain, is specifically included:Beam splitting mirror unit in the laser projection device is divided into and N number of subdomain Corresponding N number of beam splitting mirror unit;Control the splitting ratio of N number of beam splitting mirror unit corresponding with N number of light filling amount, make The laser projection device to project the intensity of the light of each subdomain in N number of subdomain corresponding with each subdomain Light filling amount it is corresponding.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, including:Casing;Circuit board, it is arranged at the machine In shell;Image acquiring device, it is arranged on the casing, is connected with the circuit board, for obtains the first figure of first area Picture;Light compensating apparatus, it is arranged on the casing, for carrying out light filling to the first area;Processor, it is arranged at the circuit On plate, for before the first image of first area is shot by described image acquisition device, judging whether to need to described First area carries out light filling, and the first area is the current preview pickup area of described image acquisition device, and it is determined that needing When carrying out light filling to the first area, determine N number of light filling amount corresponding to N number of subdomain in the first area, N be more than etc. In 2 integer, the light compensating apparatus is controlled to carry out light filling to N number of subdomain according to N number of light filling amount, wherein, it is described N number of At least differed in light filling amount in the presence of two light filling amounts, and in the light compensating apparatus according to N number of light filling amount to N number of son While domain carries out light filling, the first area is shot by described image acquisition device, to obtain first figure Picture.
Alternatively, the processor is specifically used for judging whether the first light filling instruction for obtaining user's input, wherein, obtaining When obtaining the first light filling instruction, demonstrate the need for carrying out light filling to the first area, or judge the first of the first area Whether preview image meets a preparatory condition, wherein, when first preview image meets the preparatory condition, demonstrate the need for Light filling is carried out to the first area.
Alternatively, the processor is specifically used for parsing the first light filling instruction, obtains in N number of subdomain per height The first corresponding relation between domain and light filling amount corresponding with each subdomain, and first corresponding relation is based on, it is determined that N number of light filling amount.
Alternatively, the processor be specifically used for using the first image processing algorithm to first preview image at Reason, first preview image is divided into N number of sub- preview image corresponding with the N number of subdomain, and obtains N number of sub- preview N number of light exposure corresponding to image, and N number of subdomain is surveyed respectively in a manner of the spot light-metering of described image acquisition device Light, N number of default light exposure corresponding to N number of sub- preview image is obtained, and judged pre- per height in N number of sub- preview image Whether the light exposure of image of looking at is less than default light exposure corresponding with every sub- preview image, wherein, it is pre- in N number of son I-th of the light exposure that i-th of sub- preview image at least be present of looking in image is less than i-th corresponding to described i-th sub- preview image During individual default light exposure, demonstrate the need for carrying out the first area light filling, i is 1 to any one integer between N.
Alternatively, the processor is specifically used for taking i successively from 1 to N, obtains i-th of son in N number of sub- preview image I-th between i-th of light exposure of preview image, i-th of default light exposure corresponding with described i-th sub- preview image is poor Value, when i is N, obtains N number of difference, N number of difference is N number of light filling amount corresponding to N number of subdomain.
Alternatively, the light compensating apparatus is specifically used for projecting N number of subdomain according to N number of light filling amount, control The intensity of light, wherein, the light compensating apparatus project in N number of subdomain the intensity of the light of each subdomain with it is described each Light filling amount is corresponding corresponding to subdomain.
Alternatively, the light compensating apparatus is specially liquid crystal projection apparatus, for by the liquid crystal in the liquid crystal projection apparatus Panel is divided into N number of liquid crystal sub-panel corresponding with the N number of subdomain, and controls light transmittance and the institute of N number of liquid crystal sub-panel It is corresponding to state N number of light filling amount so that the liquid crystal projection apparatus projects the intensity of the light of each subdomain in N number of subdomain It is corresponding with the corresponding light filling amount of each subdomain.
Alternatively, the light compensating apparatus is specially laser projection device, for by the beam splitting in the laser projection device Mirror unit is divided into N number of beam splitting mirror unit corresponding with the N number of subdomain, and controls the light splitting of N number of beam splitting mirror unit Than corresponding with N number of light filling amount so that the laser projection device projects the light of each subdomain in N number of subdomain Intensity it is corresponding with the corresponding light filling amount of each subdomain.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
As a result of light compensating apparatus according to determining that N number of light filling amount corresponding with N number of subdomain mends to N number of subdomain Light, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and pass through image acquiring device while light filling The technical scheme shot to first area, so light filling can be carried out to the subdomain that light filling is needed in first area, without Light filling is carried out to the subdomain that light filling is not needed in first area, therefore does not need the subdomain of light filling will not be because of benefit in first area Light and in the first image occur " blooming " phenomenon, while needed in first area light filling subdomain can because obtain just True light filling amount and clearly details is showed in the first image, efficiently solving can not basis present in prior art The technical problem of single or multiple subdomains light filling amount in the captured region of actual photographed scene adjustment, it is achieved thereby that root Factually border photographed scene adjusts the technique effect of the light filling amount of single or multiple subdomains in captured region, then ensure that electricity The quality of the first image taken by sub- equipment, can be that people leave fine memory by the image.
Brief description of the drawings
Fig. 1 is the flow chart of image pickup method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of the first preview image of digital camera provided in an embodiment of the present invention;
Fig. 3 is the functional block diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of image pickup method and electronic equipment, and solving can not basis present in prior art The technical problem of single or multiple subdomains light filling amount in the captured region of actual photographed scene adjustment.
Technical scheme in the embodiment of the present invention is in order to solve the above technical problems, general thought is as follows:
First, before the first image of first area is shot by image acquiring device, judge whether to need to first Region carries out light filling, and first area is the current preview pickup area of image acquiring device;
Then, when it is determined that needing to carry out light filling to first area, N number of benefit corresponding to N number of subdomain in first area is determined Light quantity, N are the integer more than or equal to 2;
Then, light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, wherein, at least exist in N number of light filling amount Two light filling amounts differ;
Finally, while light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, image acquiring device is passed through First area is shot, to obtain the first image.
It is can be seen that by above-mentioned part as a result of light compensating apparatus according to determining N number of benefit corresponding with N number of subdomain Light quantity carries out light filling to N number of subdomain, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and in the same of light filling When the technical scheme that is shot by image acquiring device to first area, so can be to needing light filling in first area Subdomain carries out light filling, without carrying out light filling to the subdomain that light filling is not needed in first area, therefore need not be mended in first area The subdomain of light the phenomenon of " blooming " will not occur because of light filling in the first image, while light filling is needed in first area Subdomain clearly details can be showed in the first image because correct light filling amount is obtained, efficiently solve existing skill Can not be according to the skill of the light filling amount of single in the region captured by the adjustment of actual photographed scene or multiple subdomains present in art Art problem, it is achieved thereby that adjusting the skill of the light filling amount of single or multiple subdomains in captured region according to actual photographed scene Art effect, the quality of the first image taken by electronic equipment is then ensure that, can be that people leave U.S. by the image Good memory.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
The embodiment of the present invention provides a kind of image pickup method, and applied to an electronic equipment, the electronic equipment obtains including an image Take device and a light compensating apparatus, in actual applications, the electronic equipment can be digital camera or other equipped with taking pictures The electronic equipment of function, such as smart mobile phone, tablet personal computer, image acquiring device can be camera devices, and light compensating apparatus can To be liquid crystal projection apparatus etc., this is not restricted.
, will be so that electronic equipment be digital camera as an example, come description of being illustrated in detail in ensuing part.
Fig. 1 is refer to, Fig. 1 is the flow chart of image pickup method provided in an embodiment of the present invention, and the image pickup method includes:
S1:Before the first image of first area is shot by image acquiring device, judge whether to need to the firstth area Domain carries out light filling, and first area is the current preview pickup area of image acquiring device;
S2:When it is determined that needing to carry out light filling to first area, N number of light filling corresponding to N number of subdomain in first area is determined Amount, N are the integer more than or equal to 2;
S3:Light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, wherein, at least have two in N number of light filling amount Individual light filling amount differs;
S4:While light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, pass through image acquiring device pair First area is shot, to obtain the first image.
In step sl, judge whether to need to carry out light filling to first area, can be the following two kinds feelings specifically Condition:The first light filling for judging whether to obtain user's input instructs;Or judge by image acquiring device shooting first area the Whether one preview image meets a preparatory condition.In the present embodiment, introduction is judged whether to need to mend first area Light, specially judge whether to obtain the situation of the first light filling instruction of user's input, in another embodiment, will introduce judgement is It is no to need to carry out first area light filling, specially judge to shoot the first preview image of first area by image acquiring device Whether the situation of a preparatory condition is met.
The first light filling for judging whether to obtain user's input instructs, and can be that digital camera judgement is in the present embodiment It is no obtain user input the first light filling instruction, such as, user when being shot using the digital camera to first area, It was found that some subdomain or multiple subdomains of first area need light filling, then user can be filled by button, touch screen, voice etc. Put to digital camera and input the instruction of the first light filling, after the first light filling instruction of user's input is obtained, indicate that needs digital camera Light filling is carried out to first area.
In specific implementation process, digital camera can include a display for being used to show the preview image in captured region Unit, after showing the preview image of first area on the display unit of digital camera, digital camera can be by the preview graph Picture is handled using some image segmentation algorithms, e.g. the partitioning algorithm based on threshold value, the partitioning algorithm based on region, base Partitioning algorithm in edge and the partitioning algorithm based on particular theory etc., the preview image is carried out to be divided into N number of sub- preview graph Picture, N number of sub- preview image is corresponding with N number of subdomain of first area, user can according to the actual conditions of the preview image, The light filling amount required for every sub- preview image of N number of sub- preview image in the preview image is determined, passes through button or touch screen (If the display unit of digital camera is touch screen)Or the device such as phonetic entry inputs foregoing determination to digital camera N number of light filling amount, namely to digital camera have input the first light filling instruction.
Digital camera obtains user's input by responding button operation either touch control operation or the phonetic entry of user The first light filling instruction, it is determined that when being shot to first area, it is necessary to first area carry out light filling.
In the present embodiment, exemplified by being a corner by first area, to be described in detail, the corner faces including one The positive wall of user, the side wall being connected with the positive wall and a floor, refer to Fig. 2, and Fig. 2 is number provided in an embodiment of the present invention The schematic diagram of first preview image of camera, as shown in Fig. 2 the first preview image is by foregoing described image segmentation algorithm 3 sub- preview images have been divided into it, sub- preview image corresponding to the subdomain where positive wall is 203, corresponding to the subdomain where side wall Sub- preview image is 202, and sub- preview image corresponding to the subdomain where floor is 201, and user is according to the reality of the preview image Situation, determines 201 sub- preview images and 202 sub- preview images need light filling, and 203 sub- preview images do not need light filling namely its Light filling amount is that the light filling amount that 0,201 sub- preview images need is assumed to be 10 units, and the light filling amount that 202 sub- preview images need is false 20 units are set to, the light filling amount that 203 sub- preview images need is assumed to be 0 unit, and therefore, user can pass through digital camera Button either light filling amount corresponding to the device such as touch screen or phonetic entry to the every sub- preview image of digital camera input, The instruction of the first light filling is have input to digital camera, includes 3 sub- previews in the first preview image in first light filling instruction Corresponding relation between image and 3 light filling amounts, include 3 subdomains and 3 in first area in being instructed equivalent to the first light filling The first corresponding relation between individual light filling amount.
It should be noted that light filling amount or 202 sub- preview graphs in the embodiment of the present invention needed for described 201 sub- preview images As required light filling amount refers to when the relevant parameter of digital camera is a particular value, 201 sub- preview images and 202 sons Light filling amount needed for preview image is respectively just 10 units and 20 units<Such as the unit can be to strangle(Gram department)Second (lx·s)>, because some parameter values of digital camera can all influence finally to shine such as sensitivity, aperture size, shutter speed The light exposure of piece, so under different parameter values, the light filling amount that 201 sub- preview images or 202 sub- preview images need is not Identical, the numerical value in the present embodiment only introduce technical scheme for convenience, rather than for limiting the present invention, herein Just repeat no more.
In step s 2, when it is determined that needing to carry out light filling to first area, determine in first area corresponding to N number of subdomain N number of light filling amount, specifically, may include steps of:First, the first light filling instruction obtained in analyzing step S1, is obtained The first corresponding relation in first area in N number of subdomain between each subdomain and light filling amount corresponding with each subdomain;Then, root According to first corresponding relation, N number of light filling amount corresponding to N number of subdomain in first area is determined.
In specific implementation process, by step S1, user is according to preview graph when inputting the instruction of the first light filling Every actually required light filling amount of sub- preview image of N number of sub- preview image instructs to the first light filling that digital camera inputs as in, Wherein, N number of sub- preview image in preview image is again corresponding with N number of subdomain in first area, therefore, parsed this After the instruction of one light filling, it becomes possible to the light filling amount needed for every sub- preview image of N number of sub- preview image in preview image is obtained, so as to The first corresponding relation between each subdomain and light filling amount corresponding with each subdomain, last basis in N number of subdomain can be obtained First corresponding relation, determine N number of light filling amount corresponding to N number of subdomain in first area.
Please continue to refer to Fig. 2, in the first light filling instruction of user's input, include 201 sub- preview image in preview image The light filling amount needed is 10 units, the light filling amount of 202 sub- preview images needs is 20 units and 203 sub- preview image needs Light filling amount be information as 0, while 201 sub- preview images are corresponding with the subdomain where the floor in first area, 202 Sub- preview image is corresponding with the subdomain where the side wall in first area, so digital camera is parsing the instruction of the first light filling Afterwards, it becomes possible to which the light filling amount corresponding to the subdomain where floor that obtains is light filling amount corresponding to subdomain where 10 units, side walls It is the first corresponding relation as 0 for light filling amount corresponding to the subdomain where 20 units and positive wall.Obtaining first correspondence After relation, it becomes possible to obtain the light filling amount corresponding to each subdomain in first area, in the present embodiment, digital camera just can Light filling amount corresponding to subdomain where acquisition floor is 10 units, and light filling amount corresponding to the subdomain where side wall is 20 lists Position, light filling amount corresponding to the subdomain where positive wall are 0.
In the present embodiment, so that the subdomain for needing light filling is two as an example, it is described in detail, belonging to this area Technical staff, by the introduction of the embodiment of the present invention, the situation of more subdomains for needing light filling can be entered according to actual conditions Row processing, to meet the needs of actual conditions, is just repeated no more herein.
Certainly, in actual applications, the electronic equipment such as digital camera is handling the first preview graph by image segmentation algorithm During picture, the sub- preview image got may have the problem of certain, it is impossible to meet the needs of user, therefore, by first After preview image is divided into N number of sub- preview image, it can be adjusted by user again, for example pass through the side such as touch-screen, button Formula adjusts the size of each sub- preview image, just repeats no more herein.
It is being determined that the embodiment of the present invention carries in first area after N number of light filling amount corresponding to N number of subdomain by step S2 The method of confession enters step S3, i.e.,:Light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, wherein, in N number of light filling amount At least differ in the presence of two light filling amounts, specifically, can include:According to N number of light filling amount, light compensating apparatus control projects N The intensity of the light of individual subdomain, wherein, light compensating apparatus projects the intensity of the light of each subdomain and each subdomain in N number of subdomain Corresponding light filling amount is corresponding.
In the present embodiment, can be that the light filling amount that the subdomain according to where floor in first area needs is 10 lists Position, the light filling amount that the subdomain where side wall needs is 20 units, and the light filling amount that the subdomain where positive wall needs is 0 information, It is the first intensity that light compensating apparatus, which controls and projects the light intensity of the subdomain where floor, projects the light of the subdomain where side wall Line strength is the second intensity, and the light intensity for projecting the subdomain where positive wall is 0 so that digital camera to the firstth area When domain is shot, light filling amount that the subdomain where floor obtains by light compensating apparatus is 10 units, where side wall The light filling amount that subdomain obtains by light compensating apparatus is 20 units, the light filling amount that the subdomain where positive wall obtains by light compensating apparatus For 0.
In specific implementation process, light compensating apparatus can be liquid crystal projection apparatus, and liquid crystal projection apparatus utilizes liquid crystal molecule Arrangement and liquid crystal molecule state in itself change, namely the photoelectric effect using liquid crystal are sent under electric field action, pass through Electric signal controls the intensity of the light through liquid crystal cells exactly, so as to provide different light filling amounts to different subdomains.
Specifically, when light compensating apparatus is specially liquid crystal projection apparatus, light compensating apparatus control projects N number of subdomain Light intensity, can include:Liquid crystal panel in liquid crystal projection apparatus is divided into N number of liquid crystal corresponding with N number of subdomain Panel;Control the light transmittance of N number of liquid crystal sub-panel corresponding with N number of light filling amount so that liquid crystal projection apparatus projects N number of subdomain In each subdomain light intensity light filling amount corresponding with each subdomain it is corresponding.
In the present embodiment, can be divided into the liquid crystal panel in liquid crystal projection apparatus and 3 subdomains in first area Corresponding 3 liquid crystal sub-panels, certainly, the 3 liquid crystal sub-panels that are divided into liquid crystal panel herein are that liquid crystal panel is virtual It is divided into 3 liquid crystal sub-panels;Then 3 liquid crystal sub-panels are driven by electric signal, makes the light transmittance and the of 3 liquid crystal sub-panels The light filling amount that 3 subdomains need in one region is corresponding, and like this, light caused by the light source of liquid crystal projection apparatus passes through The intensity that the light of each subdomain is projected after liquid crystal panel will be corresponding with light filling amount corresponding to each subdomain needs.Example Such as, it is 10% to control the light transmittance of liquid crystal sub-panel corresponding with the subdomain where floor by electric signal, control and side wall place Subdomain corresponding to the light transmittance of liquid crystal sub-panel be 20%, control the saturating of corresponding with the subdomain where positive wall liquid crystal sub-panel Light rate is 0%, so, when liquid crystal projection apparatus carries out light filling to first area, it becomes possible to realize and adjusted according to actual photographed scene The technique effect of single or multiple subdomains light filling amount in whole captured region.
Certainly, in actual applications, the maximum of light filling amount is the maximum power value phase with the bulb of liquid crystal projection apparatus Close, so, if the light filling amount required for some subdomain has exceeded the maximum that the bulb of liquid crystal projection apparatus can provide Light filling amount, the light filling amount that the user can be prompted to input have exceeded scope, in order to avoid damage is produced to liquid crystal projection apparatus, herein Repeat no more.
How above-mentioned introduction light compensating apparatus controls when being liquid crystal projection apparatus projects each height in first area The situation of the intensity of the light in domain, in ensuing part, the situation that light compensating apparatus is laser projection device will be introduced.
In specific implementation process, light compensating apparatus can be laser projection device, and laser projection device is accurate by electric signal The deflection angle of beam splitter really is controlled, so as to control the intensity of the laser through beam splitting mirror unit, so as to different subdomains Different light filling amounts is provided.Beam splitter is that the material of film for example may be used on one layer or the optical glass of plural layers has been plated To be ZnSe and Ge etc., this is not restricted, and when the deflection angle of beam splitter changes, laser is relative to this point Shu Jing incident angle is changed, and so as to which laser can also change in the intensity by the beam splitter, the present invention is implemented Technical scheme in example is that make use of such a characteristic of beam splitter.
When light compensating apparatus is specially laser projection device, light compensating apparatus control projects the intensity of the light of N number of subdomain, Specifically include:Beam splitting mirror unit in laser projection device is divided into N number of beam splitting mirror unit corresponding with N number of subdomain;Control N The deflection angle of individual beam splitting mirror unit is corresponding with N number of light filling amount so that laser projection device projects each in N number of subdomain The intensity of the light of subdomain light filling amount corresponding with each subdomain is corresponding.
In the present embodiment, can be divided into the beam splitting mirror unit in laser projection device and 3 sons in first area 3 beam splitting mirror units corresponding to domain, beam splitting mirror unit are made up of multiple beam splitters, for example, if laser projection device is each The corresponding beam splitter of individual pixel, then multiple beam splitters corresponding to multiple pixels of subdomain where projecting floor are floor Beam splitting mirror unit corresponding to the subdomain of place, multiple beam splitters corresponding to multiple pixels of subdomain where projecting side wall are side Beam splitting mirror unit corresponding to subdomain where wall, multiple beam splitters corresponding to multiple pixels of subdomain where projecting positive wall are Beam splitting mirror unit corresponding to subdomain where positive wall, by electric signal by the deflection angle of 3 beam splitting mirror units and the firstth area The light filling amount that 3 subdomains need in domain is corresponding so that laser projection device projects the light of each subdomain in N number of subdomain Intensity light filling amount corresponding with each subdomain is corresponding, so that in the image acquiring device by digital camera to When one region is shot, light filling amount that the subdomain where floor is obtained is 10 units, corresponding to the subdomain where side wall Light filling amount is 20 units, and light filling amount corresponding to the subdomain where positive wall is 0.
Certainly, laser projection device can provide light filling amount surpasses in the light filling amount of user's input nor infinitely great When crossing the maximum light filling amount that laser projection device can provide, the light filling amount that user can be prompted to input is excessive, in order to avoid to swashing Optical projection device produces damage.
In actual applications, either liquid crystal projection apparatus or laser projection device, its light projected it is effective Distance is all limited, and when more than certain distance, liquid crystal projection apparatus is required for sizable with laser projection device Power can carry out correct light filling to the region for needing light filling, therefore those skilled in the art can be according to actual feelings Condition, suitable power is selected for light compensating apparatus, is just repeated no more herein.
By the introduction of the embodiment of the present invention, the technical staff belonging to this area can select other according to actual conditions Suitable mode to carry out light filling to each subdomain in captured region, to meet the needs of actual conditions, herein just no longer Repeat.
The same of light filling is carried out to N number of subdomain by light compensating apparatus while step S3 is performed, namely according to N number of light filling amount When, while perform step S4, i.e.,:First area is shot by image acquiring device, to obtain the first image.
In specific implementation process, the speed of light propagation is very fast, so being clapped while light filling first area Take the photograph, it becomes possible to the light filling amount that the light filling amount that the subdomain where obtaining floor obtains obtains for the subdomain where 10 units, side walls For where 20 units and positive wall subdomain obtain light filling amount be 0 the first image, so in the first image with first area In subgraph corresponding to 3 subdomains all obtain light exposure desired by user, so as to ensure that taken by digital camera The quality of first image.
Certainly, in actual applications, can be after user inputs the instruction of the first light filling always during light compensating apparatus throw light State in throw light so that the preview image that the electronic equipment such as digital camera provides has been just the preview graph after light filling Picture, light compensating apparatus throw light can also be just controlled in the moment of shooting, this is not restricted, light compensating apparatus throw light always Although when effect it is fine, can expend substantial amounts of electricity, and the moment control light compensating apparatus throw light in shooting can be Electricity is saved to a certain extent, extends the usage time of the electronic equipments such as digital camera, but user can not know clearly light filling The effect of image afterwards, therefore, the technical staff belonging to this area can select suitable mode to meet according to actual conditions The needs of actual conditions, are just repeated no more herein.
It is can be seen that by above-mentioned part as a result of light compensating apparatus according to determining N number of benefit corresponding with N number of subdomain Light quantity carries out light filling to N number of subdomain, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and in the same of light filling When the technical scheme that is shot by image acquiring device to first area, so can be to needing light filling in first area Subdomain carries out light filling, without carrying out light filling to the subdomain that light filling is not needed in first area, therefore need not be mended in first area The subdomain of light the phenomenon of " blooming " will not occur because of light filling in the first image, while light filling is needed in first area Subdomain clearly details can be showed in the first image because correct light filling amount is obtained, efficiently solve existing skill Can not be according to the skill of the light filling amount of single in the region captured by the adjustment of actual photographed scene or multiple subdomains present in art Art problem, it is achieved thereby that adjusting the skill of the light filling amount of single or multiple subdomains in captured region according to actual photographed scene Art effect, the quality of the first image taken by electronic equipment is then ensure that, can be that people leave U.S. by the image Good memory.
Above-described embodiment, which describes, to be judged whether to need to carry out light filling to first area, specially judges whether to obtain user The situation of the first light filling instruction of input, in ensuing embodiment, introduction is judged whether to need to carry out first area Light filling, specially judge whether the first preview image that first area is shot by image acquiring device meets a preparatory condition Situation.
In the present embodiment, judge whether to need to carry out light filling to first area in step S1, specially judge to pass through figure As whether the first preview image of acquisition device shooting first area meets a preparatory condition.
Whether the first preview image for judging to shoot first area by image acquiring device meets a preparatory condition, specifically For, it can include:The first preview image is handled using the first image processing algorithm, by the first preview image be divided into N number of sub- preview image corresponding to N number of subdomain;Obtain N number of light exposure corresponding to N number of sub- preview image;With image acquiring device Spot light-metering mode carries out light-metering to N number of subdomain respectively, obtains N number of default light exposure corresponding to N number of sub- preview image;Judge N number of Whether the light exposure of every sub- preview image is less than default light exposure corresponding with every sub- preview image in sub- preview image, its In, i-th of light exposure at least in the presence of i-th of sub- preview image in N number of sub- preview image is less than i-th of sub- preview image pair During i-th of the default light exposure answered, demonstrate the need for carrying out first area light filling, i is 1 to any one integer between N.
In specific implementation process, the first image processing algorithm can be that the image segmentation introduced in previous embodiment is calculated Method, certainly, by the introduction of the embodiment of the present invention, the technical staff belonging to this area can also use other image processing algorithms To handle the first preview image, just repeat no more herein.
It is corresponding N number of with N number of subdomain of first area being divided into the first preview image by the first image processing algorithm After sub- preview image, N number of light exposure corresponding to N number of sub- preview image, such as aperture and the shutter speed for passing through digital camera are obtained Degree, the intensity of light reflection of sub- preview image calculate the light exposure of every sub- preview image.
Light-metering is carried out to N number of subdomain respectively in a manner of the spot light-metering of image acquiring device, it is corresponding to obtain N number of sub- preview image N number of default light exposure, specifically, the image acquiring device of the electronic equipment such as digital camera typically all has light measurer, When point of use Exposure Metering carries out light-metering to N number of subdomain of first area, can calculate in N number of subdomain needed for each subdomain The optimum exposure wanted, namely the subdomain can obtain the image of best results under the optimum exposure, of the prior art Camera can be accomplished, just repeat no more herein.The light exposure of every sub- preview image in the above-mentioned preview image of acquisition first Default light exposure with obtaining every sub- preview image in the first preview image does not have sequencing, can arbitrarily adjust successively suitable Sequence, it is not limited herein.
The default exposure of the light exposure of every individual sub- preview image and every sub- preview image in the first preview image is obtained After light quantity, judge whether the light exposure of every sub- preview image in N number of sub- preview image is less than corresponding to every sub- preview image Default light exposure, wherein, i-th of the light exposure that i-th of sub- preview image in N number of sub- preview image at least be present is less than i-th Corresponding to individual sub- preview image during i-th of default light exposure, demonstrate the need for carrying out first area light filling, i is 1 to any between N One integer.
In the present embodiment, first area is identical with the first area in previous embodiment, the first preview image also with it is preceding The first preview image in embodiment is identical, please continue to refer to Fig. 2, as shown in Fig. 2 the first preview image is divided into 201 sub- previews Image, 202 sub- preview images and 203 sub- preview images, 201 sub- preview images correspond to the son where the floor in first area Domain, 202 sub- preview images correspond to the subdomain where the side wall in first area, and 203 sub- preview images are corresponded in first area Subdomain where positive wall.Assuming that in the first preview image, the light exposures of 201 sub- preview images is 10 units, 202 sub- previews The light exposure of image is 30 units, and the light exposure of 203 sub- preview images is 80 units, and is obtained using the image of digital camera The spot light-metering mode of device is taken to carry out light-metering, the default exposure of the subdomain where the floor of acquisition to 3 subdomains of first area Measure as 20 units, the default light exposure of the subdomain where side wall is 50 units, the default light exposure of the subdomain where positive wall For 80 units.
Therefore, it is possible to judge that the light exposure for going out 201 sub- preview images is less than default light exposure, 202 sub- previews corresponding to it The light exposure of image is again smaller than default light exposure corresponding to it, the corresponding default exposure of the light exposures of 203 sub- preview images Measure it is equal, so that it is determined that go out to need to first area carry out light filling.
When it is determined that needing to carry out light filling to first area, the method that the present embodiment provides enters step S2, i.e.,:Determine N number of light filling amount corresponding to N number of subdomain in one region, N are the integer more than or equal to 2.
In the present embodiment, N number of light filling amount corresponding to N number of subdomain in first area is determined, specifically, can be included: I is taken successively from 1 to N, obtains i-th of the light exposure and i-th of sub- preview graph of i-th of sub- preview image in N number of sub- preview image I-th of difference between i-th of default light exposure as corresponding to, when i is N, obtains N number of difference, N number of difference is N number of subdomain Corresponding N number of light filling amount.
In the present embodiment, because the first preview image has been divided into 3 sub- preview images, namely N is 3, so taking i successively From 1 to 3, i-th of light exposure for obtaining i-th of sub- preview image in 3 sub- preview images is corresponding with i-th of sub- preview image I-th of difference between i-th of default light exposure, in the present embodiment, 3 differences can be obtained, 201 sub- preview images are corresponding Difference be 10 units, difference corresponding to 202 sub- preview images is 20 units, and difference corresponding to 203 sub- preview images is 0, that is to say, that light filling amount corresponding to the subdomain where floor is 10 units, and light filling amount is corresponding to the subdomain where side wall 20 units, light filling amount corresponding to the subdomain where positive wall are 0.
Certainly, in actual applications, it is possible that the light exposure of certain sub- preview image is higher than its default light exposure Situation, and the subdomain that the light compensating apparatus in the present invention is the insufficient light into captured region carries out light filling so that the son is pre- Look at image light exposure close to the sub- preview image default light exposure, with obtain expose appropriateness image, so can not to drop The light exposure of the low subdomain;By the introduction of the present embodiment, those skilled in the art can adjust the electronics such as digital camera and set Standby relevant parameter so that the light exposure of the sub- preview image drops below the default light exposure corresponding to it, recycles this The technical scheme that inventive embodiments provide carries out light filling to it, it is of course also possible to not handle it, just repeats no more herein .
It is determined that in first area after N number of light filling amount corresponding to N number of subdomain, method provided in an embodiment of the present invention To perform step S3 and S4, i.e.,:Light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, and according to N number of light filling While amount carries out light filling by light compensating apparatus to N number of subdomain, first area is shot by image acquiring device.
Above-mentioned steps S3 and S4 has been carried out describing in detail in the aforementioned embodiment, step in the present embodiment and its Similar, the technical staff belonging to this area has been able to know its specific implementation process according to described above, herein in order to illustrate Book it is succinct, just repeat no more.
It is can be seen that by above-mentioned part as a result of light compensating apparatus according to determining N number of benefit corresponding with N number of subdomain Light quantity carries out light filling to N number of subdomain, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and in the same of light filling When the technical scheme that is shot by image acquiring device to first area, so can be to needing light filling in first area Subdomain carries out light filling, without carrying out light filling to the subdomain that light filling is not needed in first area, therefore need not be mended in first area The subdomain of light the phenomenon of " blooming " will not occur because of light filling in the first image, while light filling is needed in first area Subdomain clearly details can be showed in the first image because correct light filling amount is obtained, efficiently solve existing skill Can not be according to the skill of the light filling amount of single in the region captured by the adjustment of actual photographed scene or multiple subdomains present in art Art problem, it is achieved thereby that adjusting the skill of the light filling amount of single or multiple subdomains in captured region according to actual photographed scene Art effect, the quality of the first image taken by electronic equipment is then ensure that, can be that people leave U.S. by the image Good memory.
Certainly, in actual applications or the electronic equipment such as digital camera first judges to clap by image acquiring device Whether the first preview image for taking the photograph first area meets a preparatory condition, whether meets the preparatory condition in the first preview image When, then the instruction of the first light filling is inputted by user so that electronic equipment can be instructed according to first light filling to enter to first area The suitable light filling of row, this mode combine the subjective initiative of people and the accuracy of electronic equipment, can more accurately to The subdomain of light filling is needed to carry out light filling in first area.This is technical staff belonging to this area skill in understanding the present invention and implementing After the inventive concept of art scheme, rational change and the modification that the technical scheme in the embodiment of the present invention can be made, this The scope for belonging to claims of the present invention protection is should also be as, is just repeated no more herein.
Based on same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, and in actual applications, the electronics is set Standby can be digital camera or smart mobile phone, tablet personal computer etc., not be limited herein.
Fig. 3 is refer to, Fig. 3 is the functional block diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 3, the electricity Sub- equipment includes:
Casing 301;
Circuit board 302, it is arranged in casing 301;
Image acquiring device 303, it is arranged on casing 301, is connected with circuit board 302, for obtains the of first area One image;
Light compensating apparatus 304, it is arranged on casing 301, for carrying out light filling to first area;
Processor 305, it is arranged on circuit board 302, for shooting the of first area by image acquiring device 303 Before one image, judge whether to need to carry out first area light filling, first area is the current preview of image acquiring device 303 Pickup area, and when it is determined that needing to carry out light filling to first area, determine N number of light filling corresponding to N number of subdomain in first area Amount, N are the integer more than or equal to 2, and control light compensating apparatus 304 carries out light filling according to N number of light filling amount to N number of subdomain, wherein, it is N number of At least differ in the presence of two light filling amounts in light filling amount, and N number of subdomain is mended according to N number of light filling amount in light compensating apparatus 304 While light, first area is shot by image acquiring device 303, to obtain the first image.
In specific implementation process, processor 305 is specifically used for judging whether the first light filling instruction for obtaining user's input, Wherein, when obtaining the instruction of the first light filling, demonstrate the need for carrying out light filling to first area, or judge the first preview of first area Whether image meets a preparatory condition, wherein, when the first preview image meets preparatory condition, demonstrate the need for entering first area Row light filling.
In specific implementation process, processor 305 is specifically used for parsing the first light filling instruction, obtains each in N number of subdomain The first corresponding relation between subdomain and light filling amount corresponding with each subdomain, and the first corresponding relation is based on, determine N number of light filling Amount.
In specific implementation process, processor 305 is specifically used for using the first image processing algorithm to the first preview image Handled, the first preview image is divided into N number of sub- preview image corresponding with N number of subdomain, and obtain N number of sub- preview image pair The N number of light exposure answered, and light-metering is carried out to N number of subdomain respectively in a manner of the spot light-metering of image acquiring device 303, obtain N number of son N number of default light exposure corresponding to preview image, and judge whether the light exposure of every sub- preview image in N number of sub- preview image is small In default light exposure corresponding with every sub- preview image, wherein, i-th of sub- preview in N number of sub- preview image at least be present When i-th of light exposure of image is less than i-th of default light exposure corresponding to i-th of sub- preview image, demonstrate the need for the firstth area Domain carries out light filling, and i is 1 to any one integer between N.
In specific implementation process, processor 305 is specifically used for taking i successively from 1 to N, obtains in N number of sub- preview image the I-th between i-th of light exposure of i sub- preview images, i-th of default light exposure corresponding with i-th of sub- preview image is poor Value, when i is N, obtains N number of difference, N number of difference is N number of light filling amount corresponding to N number of subdomain.
In specific implementation process, light compensating apparatus 304 is specifically used for projecting N number of subdomain according to N number of light filling amount, control The intensity of light, wherein, the intensity that light compensating apparatus 304 projects the light of each subdomain in N number of subdomain is corresponding with each subdomain Light filling amount it is corresponding.
In specific implementation process, light compensating apparatus 304 is specially liquid crystal projection apparatus, for by liquid crystal projection apparatus Liquid crystal panel is divided into N number of liquid crystal sub-panel corresponding with N number of subdomain, and controls the light transmittance of N number of liquid crystal sub-panel and N number of light filling Measure corresponding so that the intensity that liquid crystal projection apparatus projects the light of each subdomain in N number of subdomain is corresponding with each subdomain Light filling amount it is corresponding.
In specific implementation process, light compensating apparatus 304 is specially laser projection device, for by laser projection device Beam splitting mirror unit is divided into N number of beam splitting mirror unit corresponding with N number of subdomain, and controls the splitting ratio and N of N number of beam splitting mirror unit Individual light filling amount is corresponding so that laser projection device projects the intensity of the light of each subdomain and each subdomain in N number of subdomain Corresponding light filling amount it is corresponding.
Technical scheme in the embodiments of the present invention, at least has the following technical effect that or advantage:
As a result of light compensating apparatus according to determining that N number of light filling amount corresponding with N number of subdomain mends to N number of subdomain Light, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and pass through image acquiring device while light filling The technical scheme shot to first area, so light filling can be carried out to the subdomain that light filling is needed in first area, without Light filling is carried out to the subdomain that light filling is not needed in first area, therefore does not need the subdomain of light filling will not be because of benefit in first area Light and in the first image occur " blooming " phenomenon, while needed in first area light filling subdomain can because obtain just True light filling amount and clearly details is showed in the first image, efficiently solving can not basis present in prior art The technical problem of single or multiple subdomains light filling amount in the captured region of actual photographed scene adjustment, it is achieved thereby that root Factually border photographed scene adjusts the technique effect of the light filling amount of single or multiple subdomains in captured region, then ensure that electricity The quality of the first image taken by sub- equipment, can be that people leave fine memory by the image.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (14)

1. a kind of image pickup method, applied to an electronic equipment, it is characterised in that the electronic equipment includes an image acquiring device With a light compensating apparatus, methods described includes:
Before the first image of first area is shot by described image acquisition device, judge whether to need to firstth area Domain carries out light filling, and the first area is the current preview pickup area of described image acquisition device;
When it is determined that needing to carry out light filling to the first area, N number of light filling corresponding to N number of subdomain in the first area is determined Amount, N are the integer more than or equal to 2;
The light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, wherein, in N number of light filling amount extremely Differed less in the presence of two light filling amounts;
While the light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, obtained by described image Device is taken to shoot the first area, to obtain described first image;
Wherein, the light compensating apparatus carries out light filling according to N number of light filling amount to N number of subdomain, specifically includes:
According to N number of light filling amount, the light compensating apparatus control projects the intensity of the light of N number of subdomain, wherein, it is described It is relative that light compensating apparatus projects the light filling amount corresponding with each subdomain of the intensity of the light of each subdomain in N number of subdomain Should.
2. the method as described in claim 1, it is characterised in that described to judge whether to need to mend the first area Light, it is specially:
The first light filling for judging whether to obtain user's input instructs, wherein, when obtaining the first light filling instruction, demonstrate the need for Light filling is carried out to the first area;Or
Judge whether the first preview image of the first area meets a preparatory condition, wherein, in first preview image When meeting the preparatory condition, demonstrate the need for carrying out light filling to the first area.
3. method as claimed in claim 2, it is characterised in that N number of corresponding to N number of subdomain in the determination first area Light filling amount, is specifically included:
The first light filling instruction is parsed, obtains the first corresponding relation between the subdomain of corresponding N number of subdomain and light filling amount;
Based on first corresponding relation, N number of light filling amount is determined.
4. method as claimed in claim 2, it is characterised in that whether first preview image for judging the first area Meet a preparatory condition, specifically include:
First preview image is handled using the first image processing algorithm, first preview image is divided into and institute State N number of sub- preview image corresponding to N number of subdomain;
Obtain N number of light exposure corresponding to N number of sub- preview image;
Light-metering is carried out to N number of subdomain respectively in a manner of the spot light-metering of described image acquisition device, obtains N number of sub- preview N number of default light exposure corresponding to image;
Judge whether the light exposure of every sub- preview image in N number of sub- preview image is less than and every sub- preview image Corresponding default light exposure;
Wherein, i-th of the light exposure that i-th of sub- preview image in N number of sub- preview image at least be present is less than described i-th Corresponding to individual sub- preview image during i-th of default light exposure, demonstrate the need for carrying out the first area light filling, i is 1 between N Any one integer.
5. method as claimed in claim 4, it is characterised in that N number of corresponding to N number of subdomain in the determination first area Light filling amount, is specifically included:
I is taken successively from 1 to N, obtains in N number of sub- preview image i-th of light exposure of i-th of sub- preview image and described the I-th of difference between i-th of default light exposure corresponding to i sub- preview images, when i is N, obtains N number of difference, the N Individual difference is N number of light filling amount corresponding to N number of subdomain.
6. the method as described in claim 1, it is characterised in that when the light compensating apparatus is specially liquid crystal projection apparatus, institute The intensity that light compensating apparatus control projects the light of N number of subdomain is stated, is specifically included:
Liquid crystal panel in the liquid crystal projection apparatus is divided into N number of liquid crystal sub-panel corresponding with the N number of subdomain;
Control the light transmittance of N number of liquid crystal sub-panel corresponding with N number of light filling amount so that the liquid crystal projection apparatus is thrown It is corresponding with the corresponding light filling amount of each subdomain to be mapped to the intensity of the light of each subdomain in N number of subdomain.
7. the method as described in claim 1, it is characterised in that when the light compensating apparatus is specially laser projection device, institute The intensity that light compensating apparatus control projects the light of N number of subdomain is stated, is specifically included:
Beam splitting mirror unit in the laser projection device is divided into N number of beam splitting mirror unit corresponding with the N number of subdomain;
Control the deflection angle of N number of beam splitting mirror unit corresponding with N number of light filling amount so that the laser projection dress Put that to project the intensity of the light of each subdomain in N number of subdomain corresponding with the corresponding light filling amount of each subdomain.
8. a kind of electronic equipment, it is characterised in that including:
Casing;
Circuit board, it is arranged in the casing;
Image acquiring device, it is arranged on the casing, is connected with the circuit board, for obtains the first figure of first area Picture;
Light compensating apparatus, it is arranged on the casing, for carrying out light filling to the first area;
Processor, it is arranged on the circuit board, for shooting the first figure of first area by described image acquisition device Before picture, judge whether to need to carry out the first area light filling, the first area is worked as described image acquisition device Preceding preview pickup area, and when it is determined that needing to carry out light filling to the first area, determine N number of subdomain in the first area Corresponding N number of light filling amount, N are the integer more than or equal to 2, control the light compensating apparatus according to N number of light filling amount to described N number of Subdomain carries out light filling, wherein, at least differed in N number of light filling amount in the presence of two light filling amounts, and in the light compensating apparatus root While carrying out light filling to N number of subdomain according to N number of light filling amount, by described image acquisition device to the first area Shot, to obtain described first image;
The light compensating apparatus is specifically used for projecting the intensity of the light of N number of subdomain according to N number of light filling amount, control, Wherein, it is corresponding with each subdomain to project the intensity of the light of each subdomain in N number of subdomain for the light compensating apparatus Light filling amount is corresponding.
9. electronic equipment as claimed in claim 8, it is characterised in that the processor is specifically used for judging whether to obtain user The first light filling instruction of input, wherein, when obtaining the first light filling instruction, demonstrate the need for mending the first area Light, or judge whether the first preview image of the first area meets a preparatory condition, wherein, in first preview image When meeting the preparatory condition, demonstrate the need for carrying out light filling to the first area.
10. electronic equipment as claimed in claim 9, it is characterised in that the processor is specifically used for parsing first benefit Light instructs, and obtains each subdomain and the first corresponding pass between each light filling amount corresponding to subdomain in N number of subdomain System, and first corresponding relation is based on, determine N number of light filling amount.
11. electronic equipment as claimed in claim 9, it is characterised in that the processor is specifically used for using at the first image Adjustment method is handled first preview image, first preview image is divided into corresponding N number of with N number of subdomain Sub- preview image, and N number of light exposure corresponding to N number of sub- preview image is obtained, and surveyed with the point of described image acquisition device Light mode carries out light-metering to N number of subdomain respectively, obtains N number of default light exposure corresponding to N number of sub- preview image, and sentence Whether the light exposure of every sub- preview image is less than corresponding with every sub- preview image in disconnected N number of sub- preview image Default light exposure, wherein, i-th of light exposure at least in the presence of i-th of sub- preview image in N number of sub- preview image is less than Corresponding to i-th of sub- preview image during i-th of default light exposure, demonstrate the need for carrying out light filling to the first area, i is 1 to any one integer between N.
12. electronic equipment as claimed in claim 11, it is characterised in that the processor is specifically used for taking i successively from 1 to N, I-th of light exposure for obtaining i-th of sub- preview image in N number of sub- preview image is corresponding with described i-th sub- preview image I-th of default light exposure between i-th of difference, when i is N, obtain N number of difference, N number of difference is N number of son N number of light filling amount corresponding to domain.
13. electronic equipment as claimed in claim 8, it is characterised in that the light compensating apparatus is specially liquid crystal projection apparatus, is used Liquid crystal panel in by the liquid crystal projection apparatus is divided into N number of liquid crystal sub-panel corresponding with the N number of subdomain, and controls institute The light transmittance for stating N number of liquid crystal sub-panel is corresponding with N number of light filling amount so that the liquid crystal projection apparatus projects the N The intensity of the light of each subdomain is corresponding with the corresponding light filling amount of each subdomain in individual subdomain.
14. electronic equipment as claimed in claim 8, it is characterised in that the light compensating apparatus is specially laser projection device, is used Beam splitting mirror unit in by the laser projection device is divided into N number of beam splitting mirror unit corresponding with the N number of subdomain, and controls The splitting ratio for making N number of beam splitting mirror unit is corresponding with N number of light filling amount so that the laser projection device projects The intensity of the light of each subdomain is corresponding with the corresponding light filling amount of each subdomain in N number of subdomain.
CN201310344536.0A 2013-08-08 2013-08-08 A kind of image pickup method and electronic equipment Active CN104349068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310344536.0A CN104349068B (en) 2013-08-08 2013-08-08 A kind of image pickup method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310344536.0A CN104349068B (en) 2013-08-08 2013-08-08 A kind of image pickup method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104349068A CN104349068A (en) 2015-02-11
CN104349068B true CN104349068B (en) 2017-12-26

Family

ID=52503786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310344536.0A Active CN104349068B (en) 2013-08-08 2013-08-08 A kind of image pickup method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104349068B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948539B (en) * 2015-04-30 2020-07-17 Oppo广东移动通信有限公司 Flash lamp control method and terminal
CN105245790B (en) * 2015-10-15 2019-04-26 Oppo广东移动通信有限公司 A kind of light compensation method, device and mobile terminal
CN105407295B (en) * 2015-10-30 2019-02-22 努比亚技术有限公司 Mobile terminal filming apparatus and method
CN105472268B (en) * 2015-12-24 2019-06-07 Tcl集团股份有限公司 A kind of shooting light compensation method and device
CN105744176B (en) * 2016-02-15 2017-11-21 广东欧珀移动通信有限公司 A kind of screen light compensation method, device and mobile terminal
CN107222687B (en) * 2016-03-21 2020-12-18 联想(北京)有限公司 Electronic device, control method and control device thereof
CN106506945A (en) * 2016-11-02 2017-03-15 努比亚技术有限公司 A kind of control method and terminal
CN107330867B (en) 2017-06-16 2020-02-18 Oppo广东移动通信有限公司 Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN107155063B (en) * 2017-06-19 2020-10-20 深圳市泰衡诺科技有限公司上海分公司 Night scene shooting control method, system and equipment
CN108616689B (en) * 2018-04-12 2020-10-02 Oppo广东移动通信有限公司 Portrait-based high dynamic range image acquisition method, device and equipment
CN108900780A (en) * 2018-06-28 2018-11-27 努比亚技术有限公司 A kind of screen light compensation method, mobile terminal and storage medium
CN111294523B (en) * 2020-03-10 2021-07-06 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834771A (en) * 2005-03-14 2006-09-20 佛山市顺德区顺达电脑厂有限公司 Light compensation method of image
JP2007208922A (en) * 2006-02-06 2007-08-16 Fujifilm Corp Imaging apparatus
CN101834996A (en) * 2009-03-11 2010-09-15 汉王科技股份有限公司 Luminous flux control method of high definition vehicle snapshot system
CN202298429U (en) * 2011-09-01 2012-07-04 华澳融通(北京)科技有限公司 Novel laser-fill-light-technology-based pavement damage detection system
CN102830573A (en) * 2012-09-10 2012-12-19 华为终端有限公司 Method and device for controlling flash

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1834771A (en) * 2005-03-14 2006-09-20 佛山市顺德区顺达电脑厂有限公司 Light compensation method of image
JP2007208922A (en) * 2006-02-06 2007-08-16 Fujifilm Corp Imaging apparatus
CN101834996A (en) * 2009-03-11 2010-09-15 汉王科技股份有限公司 Luminous flux control method of high definition vehicle snapshot system
CN202298429U (en) * 2011-09-01 2012-07-04 华澳融通(北京)科技有限公司 Novel laser-fill-light-technology-based pavement damage detection system
CN102830573A (en) * 2012-09-10 2012-12-19 华为终端有限公司 Method and device for controlling flash

Also Published As

Publication number Publication date
CN104349068A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN104349068B (en) A kind of image pickup method and electronic equipment
US10810705B2 (en) Video dehazing device and method
US9906772B2 (en) Method for performing multi-camera capturing control of an electronic device, and associated apparatus
JP6030396B2 (en) Video processing device
TWI530911B (en) Dynamic exposure adjusting method and electronic apparatus using the same
CN107534737B (en) Method and device for shooting picture
CN103873772B (en) Mobile terminal and image pickup method thereof
US9666165B2 (en) Backlight compensation method, device and terminal
CN105872311B (en) High dynamic range picture changeover method and device
CN103118231A (en) Image data processing method and related device
CN110970001B (en) Screen brightness adjusting method and device, electronic equipment and computer storage medium
CN112118435B (en) Multi-projection fusion method and system for special-shaped metal screen
CN109493831B (en) Image signal processing method and device
CN112312035B (en) Exposure parameter adjusting method, exposure parameter adjusting device and electronic equipment
CN110784659A (en) Exposure control method and device and storage medium
US20130307938A1 (en) Stereo vision apparatus and control method thereof
CN109360229A (en) Laser projection image processing method, device and equipment
CN106657848A (en) Projection method and electronic equipment
CN105657262B (en) A kind of image processing method and device
CN105609088B (en) A kind of display control method and electronic equipment
CN104793910B (en) A kind of method and electronic equipment of information processing
US9237275B2 (en) Flash photography
CN102819332B (en) Multi spot metering method, Multi spot metering equipment and display processing device
CN207439372U (en) Detecting system
KR101219126B1 (en) Control Method And System According to Image Motion Information Estimated with Image 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