Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 shows the realization flow chart of photographic method provided in an embodiment of the present invention, and details are as follows:
In step S101, when receive take pictures request when, obtain ambient light intensity.
It should be noted that the executive agent of the embodiment of the present invention can be the mobile terminal with front camera, example
Such as, the smart mobile phone with front camera, tablet computer or PDA (Personal Digital Assistant, a number
Word assistant) etc., or other picture pick-up devices do not limit herein.
In embodiments of the present invention, request of taking pictures includes but not limited to the request of taking pictures based on front camera, video stays
Speech request and video calling request.When receive take pictures request when, ambient light intensity is obtained by ambient light sensor.
In step s 102, the backlight illumination of display screen is adjusted according to the ambient light intensity.
When ambient light intensity is less than preset value, show to be currently in the environment of dark, need to carry out light filling.Increase
The backlight illumination of big display screen can increase the intensity of user's face light.
As one embodiment of the present of invention, when ambient light intensity is less than preset value, the backlight illumination of display screen is adjusted
To maximum value.
As an alternative embodiment of the invention, when ambient light intensity is less than preset value, according to pre-stored mapping
List determines backlight illumination corresponding with ambient light intensity.Ambient light intensity is smaller, and corresponding backlight illumination is bigger;Environmental light intensity
Degree is bigger, and corresponding backlight illumination is smaller.
In step s 103, backlight color of the user according to preconfigured multiple backlight color stencil-chosens is received, and
The current backlight color of the display screen is adjusted to the selected backlight color of user.
In embodiments of the present invention, multiple backlight color templates are pre-set.In the backlight color for adjusting display screen, carry
It is selected for multiple backlight color templates for user, so that user is according to multiple backlight color stencil-chosen backlight color, and root
According to the backlight color of the backlight color adjustment display screen of user's selection, to reach the effect of taking pictures that user wants.For example, backlight face
Color can make the colour of skin from taking a picture more fair and tender for pink colour;Backlight color can reach a kind of pure and fresh effect for chartreuse.
In step S104, taken pictures according to the backlight illumination after adjustment and backlight color.
Optionally, after the backlight illumination that display screen is adjusted according to the ambient light intensity, the method is also wrapped
It includes:
Open postposition flash lamp.
When user is in more closing, narrow space, the light that postposition flash lamp is sent out probably is reflected, from
And increase the intensity of user's face light.
It is described according to the ambient light intensity adjust display screen backlight illumination be specially:
When the ambient light intensity is less than preset value, the display screen is divided into light filling region and preview area, institute
Light filling region is stated for taking pictures light filling, the preview area is taken pictures image for preview;
The backlight illumination in the light filling region is adjusted according to the ambient light intensity;
The backlight color that the display screen is current is adjusted to the selected backlight color of user:
The current backlight color in the light filling region is adjusted to the selected backlight color of user.
As one embodiment of the present of invention, display screen is divided into light filling region and preview area, passes through light filling region
Light filling is carried out, preview image is shown by preview area, so as to carry out light filling under the premise of the preview function for ensureing display screen.
Fig. 2 shows the realization flow charts for the photographic method that another embodiment of the present invention provides, and for convenience of description, only show
Go out and the relevant part of the embodiment of the present invention.With reference to Fig. 2:
In step s 201, when receive take pictures request when, obtain ambient light intensity;
In step S202, when the ambient light intensity is less than preset value, the display screen is divided into light filling region
And preview area, for taking pictures light filling, the preview area is taken pictures image for preview in the light filling region;
In step S203, the backlight illumination in the light filling region is adjusted according to the ambient light intensity;
In step S204, backlight color of the user according to preconfigured multiple backlight color stencil-chosens is received, it will
The current backlight color in the light filling region is adjusted to the selected backlight color of user;
In step S205, taken pictures according to the backlight illumination after adjustment and backlight color.
Preferably, it is described the display screen is divided into light filling region and preview area after, it is described according to the ring
Before border luminous intensity adjusts the backlight illumination in the light filling region, the method further includes:
The area in the light filling region and the area of the preview area are adjusted according to region adjust instruction input by user.
Optionally, the position in light filling region and the position of preview area are adjusted according to region adjust instruction input by user.
Preferably, the backlight illumination according to the ambient light intensity adjustment light filling region is specially:
According to the backlight illumination in light filling region described in the ambient light intensity and the rea adjusting in the light filling region.
In the case where ambient light intensity is certain, the area in light filling region is smaller, and the backlight illumination in light filling region is bigger.
Fig. 3 shows the realization flow chart for the photographic method that another embodiment of the present invention provides, and for convenience of description, only shows
Go out and the relevant part of the embodiment of the present invention.With reference to Fig. 3:
In step S301, when receive take pictures request when, obtain ambient light intensity;
In step s 302, when the ambient light intensity is less than preset value, the display screen is divided into light filling region
And preview area, for taking pictures light filling, the preview area is taken pictures image for preview in the light filling region;
In step S303, the area in the light filling region and described pre- is adjusted according to region adjust instruction input by user
Look at the area in region;
In step s 304, the light filling region according to the ambient light intensity and the rea adjusting in the light filling region
Backlight illumination;
In step S305, backlight color of the user according to preconfigured multiple backlight color stencil-chosens is received, it will
The current backlight color in the light filling region is adjusted to the selected backlight color of user;
In step S306, taken pictures according to the backlight illumination after adjustment and backlight color.
It should be understood that in embodiments of the present invention, the size of the serial number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without coping with the embodiment of the present invention
Into any restriction.
The embodiment of the present invention by when receive take pictures request when, obtain ambient light intensity, adjusted according to ambient light intensity
The backlight illumination of display screen, and the backlight color of backlight color adjustment display screen selected according to user, after adjustment
Backlight illumination carry out light filling, to improve the image quality of photo of taking pictures, and the backlight color by adjusting after reaches user
The effect of taking pictures expected, so as to substantially increase user experience.
Fig. 4 shows the structure diagram of camera arrangement provided in an embodiment of the present invention, the device can be used for service chart 1 to
Photographic method shown in Fig. 3.For convenience of description, it illustrates only and the relevant part of the embodiment of the present invention.
With reference to Fig. 4, which includes:
Ambient light intensity acquiring unit 41, for when receive take pictures request when, obtain ambient light intensity;
Light filling unit 42, for adjusting the backlight illumination of display screen according to the ambient light intensity;
Toning unit 43, for receiving backlight color of the user according to preconfigured multiple backlight color stencil-chosens,
And the current backlight color of the display screen is adjusted to the selected backlight color of user;
Photographing unit 44, for being taken pictures according to the backlight illumination after adjustment and backlight color.
Optionally, described device further includes:
Flash lamp opening unit 45, for opening postposition flash lamp.
Preferably, the light filling unit 42 includes:
Region division subelement 421, for when the ambient light intensity is less than preset value, the display screen to be divided into
Light filling region and preview area, for taking pictures light filling, the preview area is taken pictures image for preview in the light filling region;
Backlight illumination adjusts subelement 422, bright for adjusting the backlight in the light filling region according to the ambient light intensity
Degree;
The toning unit 43 is specifically used for:
The current backlight color in the light filling region is adjusted to the selected backlight color of user.
Preferably, the light filling unit 42 further includes:
Region adjusts subelement 423, for adjusting the face in the light filling region according to region adjust instruction input by user
The area of product and the preview area.
Preferably, the backlight illumination adjustment subelement 422 is specifically used for:
According to the backlight illumination in light filling region described in the ambient light intensity and the rea adjusting in the light filling region.
The embodiment of the present invention by when receive take pictures request when, obtain ambient light intensity, adjusted according to ambient light intensity
The backlight illumination of display screen, and the backlight color of backlight color adjustment display screen selected according to user, after adjustment
Backlight illumination carry out light filling, to improve the image quality of photo of taking pictures, and the backlight color by adjusting after reaches user
The effect of taking pictures expected, so as to substantially increase user experience.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, the corresponding process in preceding method embodiment can be referred to, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied
It closes or is desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication link of unit
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.