CN108040209A - A kind of image pickup method and mobile terminal - Google Patents

A kind of image pickup method and mobile terminal Download PDF

Info

Publication number
CN108040209A
CN108040209A CN201711383416.6A CN201711383416A CN108040209A CN 108040209 A CN108040209 A CN 108040209A CN 201711383416 A CN201711383416 A CN 201711383416A CN 108040209 A CN108040209 A CN 108040209A
Authority
CN
China
Prior art keywords
bright
value
dark degree
target
predeterminable
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.)
Granted
Application number
CN201711383416.6A
Other languages
Chinese (zh)
Other versions
CN108040209B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711383416.6A priority Critical patent/CN108040209B/en
Publication of CN108040209A publication Critical patent/CN108040209A/en
Application granted granted Critical
Publication of CN108040209B publication Critical patent/CN108040209B/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/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Abstract

The present invention, which provides a kind of image pickup method and mobile terminal, this method, to be included:Obtain shooting preview image;Detect bright-dark degree's value of each predeterminable area in the shooting preview image;If it is worth at least two inconsistent predeterminable areas in the shooting preview image there are bright-dark degree, then bright-dark degree's value of at least two predeterminable area is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area is less than or equal to preset first threshold value;The difference for generating bright-dark degree's value of each predeterminable area is less than or equal to the picture of the preset first threshold value.In this way, the adjustment of bright-dark degree's value can be carried out according to actual conditions, and then the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to the picture of preset first threshold value.Shooting effect is more preferable.

Description

A kind of image pickup method and mobile terminal
Technical field
The present invention relates to field of communication technology, more particularly to a kind of image pickup method and mobile terminal.
Background technology
In external environment than in the case of dark, when being taken pictures using mobile terminal, light filling processing can be carried out.It is existing In technology, mainly there are two kinds of light filling schemes.The first scheme, can carry out light filling using screen.When user presses shoot button, The light intensity that screen is sent can be made to reach maximum, and then realize the light filling to subject.Second scheme, Ke Yili Light filling is carried out with equipment such as light compensating lamps.The light intensity that light compensating lamp is sent can be made to reach maximum, and then realized to being taken pair The light filling of elephant.If the regional of subject in preview image may be caused there are many places light source in external environment Bright dark degree is inconsistent, ultimately results in that the bright dark degree of the regional of captured photo is inconsistent, and shooting effect is poor.Cause This, in the prior art, can only carry out subject unified light filling.
The content of the invention
The embodiment of the present invention provides a kind of image pickup method and mobile terminal, can only be to being taken to solve in the prior art Object carries out the problem of unified light filling.
In order to solve the above-mentioned technical problem, the present invention is realized in:In a first aspect, an embodiment of the present invention provides one Kind of image pickup method, applied to mobile terminal, the described method includes:
Obtain shooting preview image;
Detect bright-dark degree's value of each predeterminable area in the shooting preview image;
If there are bright-dark degree in the shooting preview image to be worth inconsistent at least two predeterminable areas, to it is described extremely Bright-dark degree's value of few two predeterminable areas is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area Less than or equal to preset first threshold value;
The difference for generating bright-dark degree's value of each predeterminable area is less than or equal to the picture of the preset first threshold value.
Second aspect, an embodiment of the present invention provides a kind of image pickup method, applied to mobile terminal, the described method includes:
Obtain shooting preview image;
Detect bright-dark degree's value of each predeterminable area in the shooting preview image;
If there are bright-dark degree in the shooting preview image to be worth inconsistent at least two predeterminable areas, to it is described extremely Bright-dark degree's value of few two predeterminable areas is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area Less than or equal to preset first threshold value;
The difference for generating bright-dark degree's value of each predeterminable area is less than or equal to the picture of the preset first threshold value.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Acquisition module, for obtaining shooting preview image;
Detection module, for detecting bright-dark degree's value of each predeterminable area in the shooting preview image;
Module is adjusted, if for being worth at least two inconsistent preset areas in the shooting preview image there are bright-dark degree Domain, then be adjusted bright-dark degree's value of at least two predeterminable area, so that at least two predeterminable area is bright The difference of dark degree value is less than or equal to preset first threshold value;
Generation module, is less than or equal to described default for generating the difference of bright-dark degree's value of each predeterminable area The picture of one threshold value.
Fourth aspect, the embodiment of the present invention also provide a kind of mobile terminal, including processor, memory and are stored in described It is real when the computer program is performed by the processor on memory and the computer program that can run on the processor The step of existing above-mentioned image pickup method.
In this way, in the embodiment of the present invention, shooting preview image is obtained;Detect each preset areas in the shooting preview image Bright-dark degree's value in domain;If being worth at least two inconsistent predeterminable areas in the shooting preview image there are bright-dark degree, Bright-dark degree's value of at least two predeterminable area is adjusted, so that the bright-dark degree of at least two predeterminable area The difference of value is less than or equal to preset first threshold value;The difference for generating bright-dark degree's value of each predeterminable area is less than or waits In the picture of the preset first threshold value.In this way, the adjustment of bright-dark degree's value can be carried out according to actual conditions, and then obtain each The difference of bright-dark degree's value of a predeterminable area is less than or equal to the picture of preset first threshold value.Shooting effect is more preferable.
Brief description of the drawings
Fig. 1 is a kind of flow chart of image pickup method provided in an embodiment of the present invention;
Fig. 2 is that bright-dark degree's value of each predeterminable area is shown in a kind of shooting preview image provided in an embodiment of the present invention It is intended to;
Fig. 3 is the flow chart of another image pickup method provided in an embodiment of the present invention;
Fig. 4 is bright-dark degree's value of each predeterminable area in another shooting preview image provided in an embodiment of the present invention Schematic diagram;
Fig. 5 is bright-dark degree's value of each predeterminable area in another shooting preview image provided in an embodiment of the present invention Schematic diagram;
Fig. 6 is the flow chart of another image pickup method provided in an embodiment of the present invention;
Fig. 7 is bright-dark degree's value of each predeterminable area in another shooting preview image provided in an embodiment of the present invention Schematic diagram;
Fig. 8 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 10 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 11 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 12 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 13 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of image pickup method provided in an embodiment of the present invention, applied to mobile terminal.Such as Shown in Fig. 1, comprise the following steps:
Step 101, obtain shooting preview image.
In a step 101, after the camera for opening mobile terminal, shooting preview image can be obtained.
Bright-dark degree's value of each predeterminable area in step 102, the detection shooting preview image.
In a step 102, mobile terminal can detect the bright-dark degree of each predeterminable area in above-mentioned shooting preview image Value.
If being worth at least two inconsistent predeterminable areas in step 103, the shooting preview image there are bright-dark degree, Bright-dark degree's value of at least two predeterminable area is adjusted, so that the bright-dark degree of at least two predeterminable area The difference of value is less than or equal to preset first threshold value.
In step 103, preset if being worth inconsistent at least two there are bright-dark degree in above-mentioned shooting preview image Region, then can be adjusted bright-dark degree's value of at least two predeterminable areas, so that the light and shade of at least two predeterminable areas The difference of degree value is less than or equal to preset first threshold value.
For example, as shown in Fig. 2, in a kind of shooting preview image each predeterminable area bright-dark degree value schematic diagram. In fig. 2, the border circular areas in shooting preview image includes the inconsistent region of Liang Ge bright-dark degrees value, and a left side for border circular areas The region on side is brighter, and the region on the right of border circular areas is than dark.The right of border circular areas is denoted as mesh than dark region Region is marked, the brighter region in the left side of border circular areas is denoted as other regions.
The luminous intensity of the corresponding screen area in target area can be strengthened, you can to strengthen target area corresponding right half The luminous intensity of screen area, bright-dark degree's value of target area is adjusted to target bright-dark degree value.Under normal conditions, may be used The luminous intensity of the corresponding screen area in target area is arranged to the maximum emission intensity that mobile terminal screen supported.
Next, compared with can bright-dark degree's value in other regions be worth with the target bright-dark degree of target area, The bright-dark degree in the region on the left side of border circular areas can be worth to the target bright-dark degree with the region on the right of border circular areas Value is compared.
If bright-dark degree's value in other regions is worth higher than target bright-dark degree, the corresponding screen in other regions can be reduced The luminous intensity in curtain region, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.It can be reduced The luminous intensity of corresponding left half screen area in his region, target light and shade journey is reduced to by bright-dark degree's value in other regions Angle value.
If bright-dark degree's value in other regions is worth less than target bright-dark degree, the corresponding screen in other regions can be strengthened The luminous intensity in curtain region, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.It can be strengthened The luminous intensity of corresponding left half screen area in his region, target light and shade journey is increased to by bright-dark degree's value in other regions Angle value.In this way, the shooting that the difference that can obtain bright-dark degree's value of each predeterminable area is less than or equal to first threshold is pre- Look at image.
Step 104, the difference of bright-dark degree's value of each predeterminable area of generation are less than or equal to default first threshold The picture of value.
At step 104, the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to default first threshold After the shooting preview image of value, it is possible to generate the difference of bright-dark degree's value of each predeterminable area less than or equal to default The picture of first threshold.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
The image pickup method of the embodiment of the present invention, applied to mobile terminal.Obtain shooting preview image;It is pre- to detect the shooting Look at bright-dark degree's value of each predeterminable area in image;If there are bright-dark degree's value is inconsistent extremely in the shooting preview image Few two predeterminable areas, then be adjusted bright-dark degree's value of at least two predeterminable area, so that described at least two The difference of bright-dark degree's value of predeterminable area is less than or equal to preset first threshold value;Generate the bright-dark degree of each predeterminable area The difference of value is less than or equal to the picture of the preset first threshold value.So, bright-dark degree can be carried out according to actual conditions The adjustment of value, and then the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to the figure of preset first threshold value Piece.Shooting effect is more preferable.
Referring to Fig. 3, Fig. 3 is the flow chart of another image pickup method provided in an embodiment of the present invention, applied to mobile terminal. The present embodiment and the main distinction of previous embodiment are to illustrate by adjusting screen luminous intensity and light compensating lamp Luminous intensity adjust the process of the brightness value of each predeterminable area of shooting preview image.As shown in figure 3, including following step Suddenly:
Step 301, obtain shooting preview image.
In step 301, after the camera for opening mobile terminal, shooting preview image can be obtained.
Step 302, the mobile terminal include a light compensating lamp, open the light compensating lamp.
In step 302, mobile terminal may determine that whether the light intensity of external environment is less than or equal to default the Two threshold values.If mobile terminal judges that the light intensity of external environment is less than or equal to default second threshold, can open Open light compensating lamp.
Bright-dark degree's value of each predeterminable area in step 303, the detection shooting preview image.
In step 303, after opening light compensating lamp, mobile terminal can detect each default in above-mentioned shooting preview image Bright-dark degree's value in region.
If being worth at least two inconsistent predeterminable areas in step 304, the shooting preview image there are bright-dark degree, Determine the target area that bright-dark degree's value is minimum at least two predeterminable area.
In step 304, preset if being worth inconsistent at least two there are bright-dark degree in above-mentioned shooting preview image Region, then can determine the target area that bright-dark degree's value is minimum at least two predeterminable areas.
As shown in figure 4, the schematic diagram for bright-dark degree's value of each predeterminable area in another shooting preview image.Scheming In 4, border circular areas in shooting preview image includes Liang Ge bright-dark degrees and is worth inconsistent region, and the left side of border circular areas Than dark, the region on the right of border circular areas is brighter in region.The left side of border circular areas is denoted as target area than dark region Domain, other regions are denoted as by the brighter region in the right of border circular areas.
If the position of step 305, the light compensating lamp is in the corresponding side in the target area, strengthen the target area The luminous intensity of the corresponding screen area in domain, bright-dark degree's value of the target area is adjusted to the target bright-dark degree Value.
In step 305, if the position of light compensating lamp is in the corresponding side in target area, i.e., if the position of light compensating lamp Left side side more corresponding than dark region, then can first strengthen the luminous intensity of light compensating lamp, make target in border circular areas Region progressively brightens, you can so that the left side progressively brightens than dark region in border circular areas.With the luminous intensity of light compensating lamp Enhancing, bright-dark degree's value of target area and the difference of the bright-dark degree in other regions value are less and less, i.e., in border circular areas Bright-dark degree's value of left area and the difference of bright-dark degree's value of right area in border circular areas are less and less.If light compensating lamp Luminous intensity when being enhanced to some value, bright-dark degree's value of target area is enhanced to bright-dark degree's value phase with other regions Deng, then at this time i.e. obtain each predeterminable area bright-dark degree's value difference less than or equal to first threshold shooting preview figure Picture.
If the luminous intensity of light compensating lamp is enhanced to maximum, bright-dark degree's value of target area still is below other regions Bright-dark degree is worth.I.e. if the luminous intensity of light compensating lamp is enhanced to maximum, in border circular areas, bright-dark degree's value of left area is still So the bright-dark degree less than right area is worth, then can strengthen the luminous intensity of the corresponding screen area in target area, you can with Strengthen the luminous intensity of corresponding left half screen area in target area, bright-dark degree's value of target area is adjusted bright to target Dark degree value.Under normal conditions, the luminous intensity of the corresponding screen area in target area can be arranged to mobile terminal screen The maximum emission intensity supported.
If bright-dark degree's value of step 306, other predeterminable areas is worth higher than the target bright-dark degree, institute is reduced The luminous intensity of the corresponding screen area of other predeterminable areas is stated, bright-dark degree's value of other predeterminable areas is adjusted It is worth to the target bright-dark degree.
Within step 306, the bright-dark degree in other regions can be worth with the target bright-dark degree of target area to be worth and carried out Compare, you can the bright-dark degree in the region on the right of border circular areas to be worth to the target light and shade with the region on the left side of border circular areas Degree value is compared.
If bright-dark degree's value in other regions is worth higher than target bright-dark degree, the corresponding screen in other regions can be reduced The luminous intensity in curtain region, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.It can be reduced The luminous intensity of corresponding right half screen area in his region, target light and shade journey is reduced to by bright-dark degree's value in other regions Angle value.
If bright-dark degree's value of step 307, other predeterminable areas is worth less than the target bright-dark degree, strengthen institute The luminous intensity of the corresponding screen area of other predeterminable areas is stated, bright-dark degree's value of other predeterminable areas is adjusted It is worth to the target bright-dark degree.
In step 307, if bright-dark degree's value in other regions is worth less than target bright-dark degree, other can be strengthened The luminous intensity of the corresponding screen area in region, bright-dark degree's value in other regions is adjusted to target bright-dark degree value. The luminous intensity of corresponding right half screen area in other regions can be strengthened, bright-dark degree's value in other regions is raised It is worth to target bright-dark degree.
If the position of step 308, the light compensating lamp is in the corresponding side of other predeterminable areas, strengthen the mesh The luminous intensity of the corresponding screen area in region is marked, bright-dark degree's value of the target area is adjusted to the target light and shade Degree value.
In step 308, as shown in figure 5, being worth for the bright-dark degree of each predeterminable area in another shooting preview image Schematic diagram.In Figure 5, the border circular areas in shooting preview image includes the inconsistent region of Liang Ge bright-dark degrees value, and circle The region on the left side in shape region is brighter, and the region on the right of border circular areas is than dark.The left side of border circular areas is brighter Region is denoted as other regions, and the right of border circular areas is denoted as target area than dark region.
If the position of light compensating lamp is in the corresponding side in other regions, i.e., if the position of light compensating lamp is in border circular areas The corresponding side in the brighter region in the middle left side, then can first reduce the luminous intensity of light compensating lamp, make other regions progressively dimmed, The region that the left side is brighter in border circular areas can be made progressively dimmed.With the reduction of the luminous intensity of light compensating lamp, other areas The difference that bright-dark degree's value in domain and the bright-dark degree of target area are worth is less and less, i.e., the light and shade of left area in border circular areas The difference of degree value and bright-dark degree's value of right area in border circular areas is less and less.If the luminous intensity of light compensating lamp reduces During to some value, bright-dark degree's value in other regions is reduced to, then at this time i.e. acquisition equal with bright-dark degree's value of target area The difference of bright-dark degree's value of each predeterminable area is less than or equal to the shooting preview image of first threshold.
If the luminous intensity of light compensating lamp is reduced to minimum, bright-dark degree's value in other regions is still higher than target area Bright-dark degree is worth.I.e. if the luminous intensity of light compensating lamp is reduced to minimum, such as light compensating lamp is closed, left area in border circular areas Bright-dark degree's value be still higher than bright-dark degree's value of right area, then can strengthen the hair of the corresponding screen area in target area Luminous intensity, you can to strengthen the luminous intensity of corresponding right half screen area in target area, by the bright-dark degree of target area Value is adjusted to target bright-dark degree value.Under normal conditions, the luminous intensity of the corresponding screen area in target area can be set The maximum emission intensity supported by mobile terminal screen.
If bright-dark degree's value of step 309, other predeterminable areas is worth higher than the target bright-dark degree, institute is reduced The luminous intensity of the corresponding screen area of other predeterminable areas is stated, bright-dark degree's value of other predeterminable areas is adjusted It is worth to the target bright-dark degree.
In a step 309, the bright-dark degree in other regions can be worth with the target bright-dark degree of target area to be worth and carried out Compare, you can the bright-dark degree in the region on the left side of border circular areas to be worth to the target light and shade with the region on the right of border circular areas Degree value is compared.
If bright-dark degree's value in other regions is worth higher than target bright-dark degree, the corresponding screen in other regions can be reduced The luminous intensity in curtain region, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.It can be reduced The luminous intensity of corresponding left half screen area in his region, target light and shade journey is reduced to by bright-dark degree's value in other regions Angle value.
If bright-dark degree's value of step 3010, other predeterminable areas is worth less than the target bright-dark degree, strengthen The luminous intensity of the light compensating lamp, and strengthen the luminous intensity of the corresponding screen area of other described predeterminable areas, by described in Bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value.
In step 3010, if bright-dark degree's value in other regions is worth less than target bright-dark degree, benefit can be opened Light lamp, strengthens the luminous intensity of light compensating lamp, and strengthens the luminous intensity of the corresponding screen area in other regions, by other regions Bright-dark degree's value adjust to target bright-dark degree value.Shining for corresponding left half screen area in other regions can be strengthened Intensity, target bright-dark degree value is increased to by bright-dark degree's value in other regions.Pass through the tune to light compensating lamp luminous intensity Whole and screen luminous intensity adjustment, the difference that can obtain bright-dark degree's value of each predeterminable area are less than or equal to the The shooting preview image of one threshold value.
Step 3011, the difference of bright-dark degree's value of each predeterminable area of generation are less than or equal to default first threshold The picture of value.
In step 3011, the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to default first threshold After the shooting preview image of value, it is possible to generate the difference of bright-dark degree's value of each predeterminable area less than or equal to default The picture of first threshold.
The image pickup method of the embodiment of the present invention, applied to mobile terminal.Bright-dark degree's value can be carried out according to actual conditions Adjustment, and then the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to the picture of preset first threshold value. Further, can be each pre- to adjust shooting preview image by adjusting screen luminous intensity and the luminous intensity of light compensating lamp If the brightness value in region, shooting effect are more preferable.
Referring to Fig. 6, Fig. 6 is the flow chart of another image pickup method provided in an embodiment of the present invention, applied to mobile terminal. The main distinction of the present embodiment and previous embodiment is to illustrate the luminous intensity by adjusting light compensating lamp to adjust The process of the brightness value of each predeterminable area of shooting preview image.As shown in fig. 6, comprise the following steps:
Step 601, obtain shooting preview image.
In step 601, after the camera for opening mobile terminal, shooting preview image can be obtained.
Step 602, mobile terminal include two light compensating lamps of the first light compensating lamp and the second light compensating lamp, open first light filling Lamp and second light compensating lamp.
In step 602, mobile terminal includes two light compensating lamps of the first light compensating lamp and the second light compensating lamp.Mobile terminal can be with Judge whether the light intensity of external environment is less than or equal to default second threshold.If mobile terminal judges external environment Light intensity be less than or equal to default second threshold, then can open the first light compensating lamp and the second light compensating lamp.
Bright-dark degree's value of each predeterminable area in step 603, the detection shooting preview image.
In step 603, after opening the first light compensating lamp and the second light compensating lamp, it is pre- that mobile terminal can detect above-mentioned shooting Look at bright-dark degree's value of each predeterminable area in image.
If being worth at least two inconsistent predeterminable areas in step 604, the shooting preview image there are bright-dark degree, Determine the target area that bright-dark degree's value is minimum at least two predeterminable area.
In step 604, preset if being worth inconsistent at least two there are bright-dark degree in above-mentioned shooting preview image Region, then can determine the target area that bright-dark degree's value is minimum at least two predeterminable areas.
As shown in fig. 7, the schematic diagram for bright-dark degree's value of each predeterminable area in another shooting preview image.Scheming In 7, border circular areas in shooting preview image includes Liang Ge bright-dark degrees and is worth inconsistent region, and the left side of border circular areas Region is brighter, and the region on the right of border circular areas is than dark.The brighter region in the left side of border circular areas is denoted as other areas Domain, target area is denoted as by the right of border circular areas than dark region.
If the position of step 605, first light compensating lamp is in the corresponding side of other predeterminable areas, and described the The position of two light compensating lamps is in the corresponding side in the target area, then strengthens the luminous intensity of second light compensating lamp, will Bright-dark degree's value of the target area is adjusted to target bright-dark degree value.
In step 605, if the position of the first light compensating lamp is in the corresponding side in other regions, and the second light compensating lamp Position is in the corresponding side in target area, then can strengthen the luminous intensity of the second light compensating lamp, by the light and shade of target area Degree value is adjusted to target bright-dark degree value.Under normal conditions, the luminous intensity of the second light compensating lamp can be arranged to the second benefit The maximum emission intensity that light lamp is supported.
If bright-dark degree's value of step 606, other predeterminable areas is worth higher than the target bright-dark degree, institute is reduced The luminous intensity of the first light compensating lamp is stated, bright-dark degree's value of other predeterminable areas is adjusted to the target light and shade journey Angle value.
In step 606, the bright-dark degree in other regions can be worth with the target bright-dark degree of target area to be worth and carried out Compare, you can the bright-dark degree in the region on the left side of border circular areas to be worth to the target light and shade with the region on the right of border circular areas Degree value is compared.
If bright-dark degree's value in other regions is worth higher than target bright-dark degree, shining for the first light compensating lamp can be reduced Intensity, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.The hair of the first light compensating lamp can be reduced Luminous intensity, target bright-dark degree value is reduced to by bright-dark degree's value in other regions.
If bright-dark degree's value of step 607, other predeterminable areas is worth less than the target bright-dark degree, strengthen institute The luminous intensity of the first light compensating lamp is stated, bright-dark degree's value of other predeterminable areas is adjusted to the target light and shade journey Angle value.
In step 607, if bright-dark degree's value in other regions is worth less than target bright-dark degree, first can be strengthened The luminous intensity of light compensating lamp, bright-dark degree's value in other regions is adjusted to target bright-dark degree value.Can be strengthened The luminous intensity of one light compensating lamp, target bright-dark degree value is increased to by bright-dark degree's value in other regions.By to light filling The adjustment of lamp luminous intensity, the difference that can obtain bright-dark degree's value of each predeterminable area are less than or equal to first threshold Shooting preview image.
Step 608, the difference of bright-dark degree's value of each predeterminable area of generation are less than or equal to default first threshold The picture of value.
In step 608, the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to default first threshold After the shooting preview image of value, it is possible to generate the difference of bright-dark degree's value of each predeterminable area less than or equal to default The picture of first threshold.
The image pickup method of the embodiment of the present invention, applied to mobile terminal.Bright-dark degree's value can be carried out according to actual conditions Adjustment, and then the difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to the picture of preset first threshold value. Further, the brightness value of each predeterminable area of shooting preview image can be adjusted by adjusting the luminous intensity of light compensating lamp, Shooting effect is more preferable.
Referring to Fig. 8, Fig. 8 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 8, mobile terminal 800 wraps Acquisition module 801, detection module 802, adjustment module 803 and generation module 804 are included, wherein:
Acquisition module 801, for obtaining shooting preview image;
Detection module 802, for detecting bright-dark degree's value of each predeterminable area in the shooting preview image;
Module 803 is adjusted, if pre- for being worth inconsistent at least two there are bright-dark degree in the shooting preview image If region, then bright-dark degree's value of at least two predeterminable area is adjusted, so that at least two predeterminable area Bright-dark degree value difference be less than or equal to preset first threshold value;
Generation module 804, for generate each predeterminable area bright-dark degree's value difference be less than or equal to it is described pre- If the picture of first threshold.
Optionally, as shown in figure 9, the adjustment module 803 includes:
Determination sub-module 8031, for determining bright-dark degree's value is minimum at least two predeterminable area target area Domain;
Light filling submodule 8032, for carrying out light filling to the target area, by the bright-dark degree of the target area Value is adjusted to target bright-dark degree value;
Adjust submodule 8033, for by least two predeterminable area in addition to the target area other are pre- If bright-dark degree's value in region is adjusted to target bright-dark degree value.
Optionally, as shown in Figure 10, the mobile terminal includes a light compensating lamp, and the mobile terminal further includes:
First opening module 805, for opening the light compensating lamp;
If the position that the light filling submodule 8032 is additionally operable to the light compensating lamp is in the corresponding side in the target area, Then strengthen the luminous intensity of the corresponding screen area in the target area, by bright-dark degree's value of the target area adjust to The target bright-dark degree value;
The adjustment submodule 8033 includes:
First reduces unit 80331, if bright-dark degree's value for other predeterminable areas is higher than the target light and shade Degree value, then reduce the luminous intensity of the corresponding screen area of other described predeterminable areas, by other predeterminable areas Bright-dark degree's value is adjusted to target bright-dark degree value;
First enhancement unit 80332, if bright-dark degree's value for other predeterminable areas is less than the target light and shade Degree value, then strengthen the luminous intensity of the corresponding screen area of other described predeterminable areas, by other predeterminable areas Bright-dark degree's value is adjusted to target bright-dark degree value.
Optionally, as shown in figure 11, if the position that the light filling submodule 8032 is additionally operable to the light compensating lamp is in described The corresponding side of other predeterminable areas, then strengthen the luminous intensity of the corresponding screen area in the target area, by the mesh Bright-dark degree's value in mark region is adjusted to target bright-dark degree value;
The adjustment submodule 8033 further includes:
Second reduces unit 80333, if bright-dark degree's value for other predeterminable areas is higher than the target light and shade Degree value, then reduce the luminous intensity of the corresponding screen area of other described predeterminable areas, by other predeterminable areas Bright-dark degree's value is adjusted to target bright-dark degree value;
Second enhancement unit 80334, if bright-dark degree's value for other predeterminable areas is less than the target light and shade Degree value, then strengthen the luminous intensity of the light compensating lamp, and strengthens shining for the corresponding screen area of other described predeterminable areas Intensity, bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value.
Optionally, as shown in figure 12, the mobile terminal includes two light compensating lamps of the first light compensating lamp and the second light compensating lamp, institute Mobile terminal is stated to further include:
Second opening module 806, for opening first light compensating lamp and second light compensating lamp;
If the position that the light filling submodule 8032 is additionally operable to first light compensating lamp is in other described predeterminable areas pair The side answered, and the position of second light compensating lamp is in the corresponding side in the target area, then strengthens second light filling The luminous intensity of lamp, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
The adjustment submodule 8033 further includes:
3rd reduces unit 80335, if bright-dark degree's value for other predeterminable areas is higher than the target light and shade Degree value, then reduce the luminous intensity of first light compensating lamp, bright-dark degree's value of other predeterminable areas adjusted It is worth to the target bright-dark degree;
3rd enhancement unit 80336, if bright-dark degree's value for other predeterminable areas is less than the target light and shade Degree value, then strengthen the luminous intensity of first light compensating lamp, bright-dark degree's value of other predeterminable areas adjusted It is worth to the target bright-dark degree.
Mobile terminal 800 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1, Fig. 3 and Fig. 6, To avoid repeating, which is not described herein again.And mobile terminal can carry out the adjustment of bright-dark degree's value according to actual conditions, and then obtain The difference for obtaining bright-dark degree's value of each predeterminable area is less than or equal to the picture of preset first threshold value.Shooting effect is more preferable.
Figure 13 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
The mobile terminal 1300 includes but not limited to:Radio frequency unit 1301, mixed-media network modules mixed-media 1302, audio output unit 1303rd, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, storage The components such as device 1309, processor 1310 and power supply 1311.It will be understood by those skilled in the art that the movement shown in Figure 13 Terminal structure does not form the restriction to mobile terminal, and mobile terminal can include components more more or fewer than diagram, or Combine some components, or different components arrangement.In embodiments of the present invention, mobile terminal includes but not limited to mobile phone, puts down Plate computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 1310, for obtaining shooting preview image;
Detect bright-dark degree's value of each predeterminable area in the shooting preview image;
If there are bright-dark degree in the shooting preview image to be worth inconsistent at least two predeterminable areas, to it is described extremely Bright-dark degree's value of few two predeterminable areas is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area Less than or equal to preset first threshold value;
The difference for generating bright-dark degree's value of each predeterminable area is less than or equal to the picture of the preset first threshold value.
Mobile terminal can carry out the adjustment of bright-dark degree's value according to actual conditions, and then obtain the bright of each predeterminable area The difference of dark degree value is less than or equal to the picture of preset first threshold value.Shooting effect is more preferable.
It should be understood that in the embodiment of the present invention, radio frequency unit 1301 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 1310;In addition, by uplink Data sending is to base station.In general, radio frequency unit 1301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1301 can also pass through wireless communication system and network and other Equipment communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 1302 and has accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 1303 can be receiving by radio frequency unit 1301 or mixed-media network modules mixed-media 1302 or in memory It is sound that the voice data stored in 1309, which is converted into audio signal and exports,.Moreover, audio output unit 1303 can be with The relevant audio output of specific function performed with mobile terminal 1300 is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1303 includes loudspeaker, buzzer and receiver etc..
Input unit 1304 is used to receive audio or video signal.Input unit 1304 can include graphics processor (Graphics Processing Unit, GPU) 13041 and microphone 13042, graphics processor 13041 in video to capturing In pattern or image capture mode by image capture apparatus (such as camera) obtain static images or video view data into Row processing.Picture frame after processing may be displayed on display unit 1306.Picture frame after the processing of graphics processor 13041 It can be stored in memory 1309 (or other storage mediums) or be carried out via radio frequency unit 1301 or mixed-media network modules mixed-media 1302 Send.Microphone 13042 can receive sound, and can be voice data by such acoustic processing.Audio after processing Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1301 in the case of telephone calling model Formula exports.
Mobile terminal 1300 further includes at least one sensor 1305, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 13061, proximity sensor can when mobile terminal 1300 is moved in one's ear, Close display panel 13061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity when static, available for identification mobile terminal appearance State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared ray sensor etc. are pressed, details are not described herein.
Display unit 1306 is used for the information for showing by information input by user or being supplied to user.Display unit 1306 can Including display panel 13061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) is managed to configure display panel 13061.
User input unit 1307 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 1307 include contact panel 13071 with And other input equipments 13072.Contact panel 13071, also referred to as touch-screen, collect user on it or neighbouring touch are grasped Make (for example user uses any suitable objects or annex such as finger, stylus on contact panel 13071 or in contact panel Operation near 13071).Contact panel 13071 may include both touch detecting apparatus and touch controller.Wherein, touch The touch orientation of detection device detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1310, Receive the order that processor 1310 is sent and performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The polytypes such as sound wave realize contact panel 13071.Except contact panel 13071, user input unit 1307 can also include Other input equipments 13072.Specifically, other input equipments 13072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 13071 can be covered on display panel 13061, when contact panel 13071 detects After touch operation on or near it, processor 1310 is sent to determine the type of touch event, is followed by subsequent processing device 1310 Corresponding visual output is provided on display panel 13061 according to the type of touch event.Although in fig. 13, contact panel 13071 realize the function that outputs and inputs of mobile terminal with display panel 13061 is the component independent as two, but In some embodiments, contact panel 13071 can be integrated with display panel 13061 and realize outputting and inputting for mobile terminal Function, does not limit specifically herein.
Interface unit 1308 is the interface that external device (ED) is connected with mobile terminal 1300.For example, external device (ED) can include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, the port for connecting the device with identification module, audio input/output (I/O) port, video i/o port, earphone Port etc..Interface unit 1308 can be used for receiving the input (for example, data message, electric power etc.) from external device (ED) simultaneously And one or more elements that the input received is transferred in mobile terminal 1300 or it can be used in mobile terminal Data are transmitted between 1300 and external device (ED).
Memory 1309 can be used for storage software program and various data.Memory 1309 can mainly include storage program Area and storage data field, wherein, storing program area can storage program area, needed at least one function application program (such as Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone Such as voice data, phone directory) etc..In addition, memory 1309 can include high-speed random access memory, can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1310 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 1309, and calls and is stored in storage Data in device 1309, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 1310 may include one or more processing units;Preferably, processor 1310 can integrate application processor and modulation /demodulation Processor, wherein, application processor mainly handles operating system, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1310.
Mobile terminal 1300 can also include the power supply 1311 (such as battery) to all parts power supply, it is preferred that power supply 1311 can be logically contiguous by power-supply management system and processor 1310, so as to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
In addition, mobile terminal 1300 includes some unshowned function modules, details are not described herein.
Optionally, processor 1310 is additionally operable to:
Determine the target area that bright-dark degree's value is minimum at least two predeterminable area;
Light filling is carried out to the target area, bright-dark degree's value of the target area is adjusted to target bright-dark degree Value;
The bright-dark degree of other predeterminable areas at least two predeterminable area in addition to the target area is worth Adjust to target bright-dark degree value.
Optionally, processor 1310 is additionally operable to:
The mobile terminal includes a light compensating lamp, opens the light compensating lamp;
If the position of the light compensating lamp is in the corresponding side in the target area, it is corresponding to strengthen the target area The luminous intensity of screen area, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, other are pre- described in reduction If the luminous intensity of the corresponding screen area in region, bright-dark degree's value of other predeterminable areas is adjusted to the mesh Indicate dark degree value;
If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, other are pre- described in enhancing If the luminous intensity of the corresponding screen area in region, bright-dark degree's value of other predeterminable areas is adjusted to the mesh Indicate dark degree value.
Optionally, processor 1310 is additionally operable to:
If the position of the light compensating lamp is in the corresponding side of other predeterminable areas, strengthen the target area pair The luminous intensity for the screen area answered, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, other are pre- described in reduction If the luminous intensity of the corresponding screen area in region, bright-dark degree's value of other predeterminable areas is adjusted to the mesh Indicate dark degree value;
If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, strengthen the light compensating lamp Luminous intensity, and strengthen the luminous intensity of the corresponding screen area of other predeterminable areas, will other described preset areas Bright-dark degree's value in domain is adjusted to target bright-dark degree value.
Optionally, processor 1310 is additionally operable to:
The mobile terminal includes two light compensating lamps of the first light compensating lamp and the second light compensating lamp, open first light compensating lamp and Second light compensating lamp;
If the position of first light compensating lamp is in the corresponding side of other predeterminable areas, and second light compensating lamp Position be in the corresponding side in the target area, then strengthen the luminous intensity of second light compensating lamp, by the target Bright-dark degree's value in region is adjusted to target bright-dark degree value;
If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, reduces described first and mend The luminous intensity of light lamp, bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value;
If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, strengthens described first and mend The luminous intensity of light lamp, bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value.
Mobile terminal 1300 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this In repeat no more.And mobile terminal 1300 can carry out the adjustment of bright-dark degree's value according to actual conditions, and then obtain each pre- If the difference of bright-dark degree's value in region is less than or equal to the picture of preset first threshold value.Shooting effect is more preferable.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1310, memory 1309, storage On memory 1309 and the computer program that can be run on the processor 1310, the computer program is by processor 1310 Each process of above-mentioned image pickup method embodiment is realized during execution, and identical technique effect can be reached, to avoid repeating, here Repeat no more.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, belongs within the protection of the present invention.

Claims (11)

  1. A kind of 1. image pickup method, applied to mobile terminal, it is characterised in that the described method includes:
    Obtain shooting preview image;
    Detect bright-dark degree's value of each predeterminable area in the shooting preview image;
    If it is worth at least two inconsistent predeterminable areas in the shooting preview image there are bright-dark degree, to described at least two Bright-dark degree's value of a predeterminable area is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area is less than Or equal to preset first threshold value;
    The difference for generating bright-dark degree's value of each predeterminable area is less than or equal to the picture of the preset first threshold value.
  2. 2. the method as described in claim 1, it is characterised in that the bright-dark degree at least two predeterminable area is worth It is adjusted, so that the difference of bright-dark degree's value of at least two predeterminable area is less than or equal to preset first threshold value, Including:
    Determine the target area that bright-dark degree's value is minimum at least two predeterminable area;
    Light filling is carried out to the target area, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
    Bright-dark degree's value of other predeterminable areas at least two predeterminable area in addition to the target area is adjusted The target bright-dark degree value.
  3. 3. method as claimed in claim 2, it is characterised in that the mobile terminal includes a light compensating lamp, in the detection Before the step of bright-dark degree of each predeterminable area is worth in the shooting preview image, the method further includes:
    Open the light compensating lamp;
    It is described that light filling is carried out to the target area, bright-dark degree's value of the target area is adjusted to target bright-dark degree Value, including:
    If the position of the light compensating lamp is in the corresponding side in the target area, strengthen the corresponding screen in the target area The luminous intensity in region, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
    Bright-dark degree's value of other predeterminable areas by least two predeterminable area in addition to the target area Adjust to target bright-dark degree value, including:
    If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, other described preset areas are reduced The luminous intensity of the corresponding screen area in domain, bright-dark degree's value of other predeterminable areas is adjusted bright to the target Dark degree value;
    If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, strengthen other described preset areas The luminous intensity of the corresponding screen area in domain, bright-dark degree's value of other predeterminable areas is adjusted bright to the target Dark degree value.
  4. 4. method as claimed in claim 3, it is characterised in that it is described that light filling is carried out to the target area, by the mesh Bright-dark degree's value in mark region, which is adjusted to target bright-dark degree value, the method, to be further included:
    If the position of the light compensating lamp is in the corresponding side of other predeterminable areas, it is corresponding to strengthen the target area The luminous intensity of screen area, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
    Bright-dark degree's value of other predeterminable areas by least two predeterminable area in addition to the target area Adjust to target bright-dark degree value, the method and further include:
    If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, other described preset areas are reduced The luminous intensity of the corresponding screen area in domain, bright-dark degree's value of other predeterminable areas is adjusted bright to the target Dark degree value;
    If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, strengthen the hair of the light compensating lamp Luminous intensity, and strengthen the luminous intensity of the corresponding screen area of other described predeterminable areas, by other predeterminable areas Bright-dark degree's value is adjusted to target bright-dark degree value.
  5. 5. method as claimed in claim 2, it is characterised in that the mobile terminal includes the first light compensating lamp and the second light compensating lamp Before the step of two light compensating lamps, the bright-dark degree of each predeterminable area is worth in the detection shooting preview image, institute The method of stating further includes:
    Open first light compensating lamp and second light compensating lamp;
    It is described that light filling is carried out to the target area, bright-dark degree's value of the target area is adjusted to target bright-dark degree Value, including:
    If the position of first light compensating lamp is in the corresponding side of other predeterminable areas, and the position of second light compensating lamp Put and be in the corresponding side in the target area, then strengthen the luminous intensity of second light compensating lamp, by the target area Bright-dark degree's value adjust to target bright-dark degree value;
    Bright-dark degree's value of other predeterminable areas by least two predeterminable area in addition to the target area Adjust to target bright-dark degree value, including:
    If bright-dark degree's value of other predeterminable areas is worth higher than the target bright-dark degree, first light compensating lamp is reduced Luminous intensity, bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value;
    If bright-dark degree's value of other predeterminable areas is worth less than the target bright-dark degree, strengthen first light compensating lamp Luminous intensity, bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value.
  6. A kind of 6. mobile terminal, it is characterised in that including:
    Acquisition module, for obtaining shooting preview image;
    Detection module, for detecting bright-dark degree's value of each predeterminable area in the shooting preview image;
    Module is adjusted, if for being worth at least two inconsistent predeterminable areas in the shooting preview image there are bright-dark degree, Then bright-dark degree's value of at least two predeterminable area is adjusted, so that the light and shade journey of at least two predeterminable area The difference of angle value is less than or equal to preset first threshold value;
    Generation module, is less than or equal to default first threshold for generating the difference of bright-dark degree's value of each predeterminable area The picture of value.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the adjustment module includes:
    Determination sub-module, for determining bright-dark degree's value is minimum at least two predeterminable area target area;
    Light filling submodule, for the target area carry out light filling, by bright-dark degree's value of the target area adjust to Target bright-dark degree is worth;
    Submodule is adjusted, for by other predeterminable areas at least two predeterminable area in addition to the target area Bright-dark degree's value is adjusted to target bright-dark degree value.
  8. 8. mobile terminal as claimed in claim 7, it is characterised in that the mobile terminal includes a light compensating lamp, the shifting Dynamic terminal further includes:
    First opening module, for opening the light compensating lamp;
    If the position that the light filling submodule is additionally operable to the light compensating lamp is in the corresponding side in the target area, strengthen institute The luminous intensity of the corresponding screen area in target area is stated, bright-dark degree's value of the target area is adjusted to the target Bright-dark degree is worth;
    The adjustment submodule includes:
    First reduces unit, if bright-dark degree's value for other predeterminable areas is worth higher than the target bright-dark degree, The luminous intensity of the corresponding screen area of other described predeterminable areas is reduced, the bright-dark degree of other predeterminable areas is worth Adjust to target bright-dark degree value;
    First enhancement unit, if bright-dark degree's value for other predeterminable areas is worth less than the target bright-dark degree, The luminous intensity of the corresponding screen area of other described predeterminable areas of enhancing, the bright-dark degree of other predeterminable areas is worth Adjust to target bright-dark degree value.
  9. 9. mobile terminal as claimed in claim 8, it is characterised in that if the light filling submodule is additionally operable to the light compensating lamp Position is in the corresponding side of other predeterminable areas, then strengthens the luminous strong of the corresponding screen area in the target area Degree, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
    The adjustment submodule further includes:
    Second reduces unit, if bright-dark degree's value for other predeterminable areas is worth higher than the target bright-dark degree, The luminous intensity of the corresponding screen area of other described predeterminable areas is reduced, the bright-dark degree of other predeterminable areas is worth Adjust to target bright-dark degree value;
    Second enhancement unit, if bright-dark degree's value for other predeterminable areas is worth less than the target bright-dark degree, Strengthen the luminous intensity of the light compensating lamp, and strengthen the luminous intensity of the corresponding screen area of other described predeterminable areas, will Bright-dark degree's value of other predeterminable areas is adjusted to target bright-dark degree value.
  10. 10. mobile terminal as claimed in claim 7, it is characterised in that the mobile terminal includes the first light compensating lamp and second Two light compensating lamps of light compensating lamp, the mobile terminal further include:
    Second opening module, for opening first light compensating lamp and second light compensating lamp;
    If the position that the light filling submodule is additionally operable to first light compensating lamp is in the corresponding side of other predeterminable areas, And the position of second light compensating lamp is in the corresponding side in the target area, then strengthen the luminous strong of second light compensating lamp Degree, bright-dark degree's value of the target area is adjusted to target bright-dark degree value;
    The adjustment submodule further includes:
    3rd reduces unit, if bright-dark degree's value for other predeterminable areas is worth higher than the target bright-dark degree, The luminous intensity of first light compensating lamp is reduced, bright-dark degree's value of other predeterminable areas is adjusted to the target Bright-dark degree is worth;
    3rd enhancement unit, if bright-dark degree's value for other predeterminable areas is worth less than the target bright-dark degree, Strengthen the luminous intensity of first light compensating lamp, bright-dark degree's value of other predeterminable areas is adjusted to the target Bright-dark degree is worth.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is performed by the processor Any one of image pickup method the step of.
CN201711383416.6A 2017-12-20 2017-12-20 Shooting method and mobile terminal Active CN108040209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711383416.6A CN108040209B (en) 2017-12-20 2017-12-20 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711383416.6A CN108040209B (en) 2017-12-20 2017-12-20 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108040209A true CN108040209A (en) 2018-05-15
CN108040209B CN108040209B (en) 2019-12-13

Family

ID=62099991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711383416.6A Active CN108040209B (en) 2017-12-20 2017-12-20 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108040209B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965728A (en) * 2018-07-06 2018-12-07 维沃移动通信有限公司 A kind of brightness adjusting method and terminal
CN109561258A (en) * 2018-11-15 2019-04-02 维沃移动通信有限公司 A kind of light compensation method and terminal device
CN109688389A (en) * 2018-11-23 2019-04-26 苏州佳世达电通有限公司 Imaging device and parameter regulation means
CN111901519A (en) * 2020-06-23 2020-11-06 维沃移动通信有限公司 Screen light supplement method and device and electronic equipment
CN112449103A (en) * 2019-09-05 2021-03-05 华为技术有限公司 Image processing method and related equipment
WO2023122906A1 (en) * 2021-12-27 2023-07-06 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152523A (en) * 2013-02-27 2013-06-12 华为终端有限公司 Electronic equipment and shooting method and device for electronic equipment
US20150181186A1 (en) * 2013-09-10 2015-06-25 Apple Inc. Image Tone Adjustment using Local Tone Curve Computation
CN104754239A (en) * 2015-04-14 2015-07-01 深圳市欧珀通信软件有限公司 Photographing method and device
CN104853110A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Flash lamp control method and terminal
CN105407295A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Mobile terminal photographing device and method
CN105472268A (en) * 2015-12-24 2016-04-06 Tcl集团股份有限公司 Method and device for filling light during photographing
US20160142600A1 (en) * 2014-11-19 2016-05-19 Noveltek Semiconductor Corporation Method for taking photo with extension flash module of mobile device
CN105744177A (en) * 2016-02-17 2016-07-06 广州视睿电子科技有限公司 Lighting control method and system for video presenter
CN106303280A (en) * 2016-09-09 2017-01-04 广东欧珀移动通信有限公司 One is taken pictures light compensation method, device and terminal
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152523A (en) * 2013-02-27 2013-06-12 华为终端有限公司 Electronic equipment and shooting method and device for electronic equipment
US20150181186A1 (en) * 2013-09-10 2015-06-25 Apple Inc. Image Tone Adjustment using Local Tone Curve Computation
US20160142600A1 (en) * 2014-11-19 2016-05-19 Noveltek Semiconductor Corporation Method for taking photo with extension flash module of mobile device
CN104754239A (en) * 2015-04-14 2015-07-01 深圳市欧珀通信软件有限公司 Photographing method and device
CN104853110A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Flash lamp control method and terminal
CN105407295A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Mobile terminal photographing device and method
CN105472268A (en) * 2015-12-24 2016-04-06 Tcl集团股份有限公司 Method and device for filling light during photographing
CN105744177A (en) * 2016-02-17 2016-07-06 广州视睿电子科技有限公司 Lighting control method and system for video presenter
CN106303280A (en) * 2016-09-09 2017-01-04 广东欧珀移动通信有限公司 One is taken pictures light compensation method, device and terminal
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965728A (en) * 2018-07-06 2018-12-07 维沃移动通信有限公司 A kind of brightness adjusting method and terminal
CN108965728B (en) * 2018-07-06 2021-05-18 维沃移动通信有限公司 Brightness adjusting method and terminal
CN109561258A (en) * 2018-11-15 2019-04-02 维沃移动通信有限公司 A kind of light compensation method and terminal device
CN109688389A (en) * 2018-11-23 2019-04-26 苏州佳世达电通有限公司 Imaging device and parameter regulation means
CN112449103A (en) * 2019-09-05 2021-03-05 华为技术有限公司 Image processing method and related equipment
CN112449103B (en) * 2019-09-05 2022-03-08 华为技术有限公司 Image processing method and related equipment
CN111901519A (en) * 2020-06-23 2020-11-06 维沃移动通信有限公司 Screen light supplement method and device and electronic equipment
WO2023122906A1 (en) * 2021-12-27 2023-07-06 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN108040209B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN107580184B (en) A kind of image pickup method and mobile terminal
CN108040209A (en) A kind of image pickup method and mobile terminal
CN107786817B (en) A kind of photographic method and mobile terminal
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN107957839A (en) A kind of display control method and mobile terminal
CN107592471A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN107943551A (en) A kind of screen display method and mobile terminal
CN108984059A (en) A kind of information display method and mobile terminal
CN108156393A (en) Image capturing method, mobile terminal and computer readable storage medium
CN108063901A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN108628565A (en) A kind of mobile terminal operating method and mobile terminal
CN108398999A (en) Control method, mobile terminal and the readable storage medium storing program for executing of screen display power consumption
CN107820022A (en) A kind of photographic method and mobile terminal
CN107977652A (en) The extracting method and mobile terminal of a kind of screen display content
CN108320263A (en) A kind of method, device and mobile terminal of image procossing
CN107645609A (en) A kind of brightness adjusting method and mobile terminal
CN108347558A (en) A kind of method, apparatus and mobile terminal of image optimization
CN108900695A (en) A kind of display processing method and terminal device
CN108257104A (en) A kind of image processing method and mobile terminal
CN109672822A (en) A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium
CN108363455A (en) Working mode switching method, mobile terminal and computer readable storage medium
CN108513067A (en) A kind of filming control method and mobile terminal
CN108307110A (en) A kind of image weakening method and mobile terminal
CN108363917A (en) Mobile terminal unlocking method, mobile terminal and computer readable storage medium

Legal Events

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