CN105744174B - A kind of self-timer method, device and mobile terminal - Google Patents
A kind of self-timer method, device and mobile terminal Download PDFInfo
- Publication number
- CN105744174B CN105744174B CN201610086356.0A CN201610086356A CN105744174B CN 105744174 B CN105744174 B CN 105744174B CN 201610086356 A CN201610086356 A CN 201610086356A CN 105744174 B CN105744174 B CN 105744174B
- Authority
- CN
- China
- Prior art keywords
- color temperature
- screen
- skin
- temperature value
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the invention discloses a kind of self-timer method, device and mobile terminals.This method comprises: controlling screen when monitoring that the screen light filling event of taking pictures is triggered with default screen color temp value and carrying out light filling, and control camera and capture the first image;When the current skin color temperature value for the facial image for including in the first image is not within pre-set skin reference color temperature, target screen color temperature value is determined according to current skin color temperature value;It controls screen and light filling is carried out with target screen color temperature value, and control the camera and capture the second image, taken a picture certainly with generating.The embodiment of the present invention is by using above-mentioned technical proposal, when the skin color temperature value of facial image is undesirable in the case of light filling for the first time, the secondary light filling to face can be realized by readjusting suitable screen color temp, face can obtain better light filling effect at this time, it is captured to take a picture certainly, facial image colour of skin effect is ideal, can be effectively improved self-timer photographic quality, promotes user experience.
Description
Technical field
The present embodiments relate to field of photographing technology more particularly to a kind of self-timer methods, device and mobile terminal.
Background technique
Currently, the mobile terminals such as mobile phone and tablet computer are configured with camera mostly, keep mobile terminal user light
Realize self-timer.But the camera of existing mobile terminal is all not equipped with light compensating lamp, in night or light poor environment
Self-timer can be difficult to obtain ideal self-timer effect because of under-exposure.
In order to obtain suitable exposure in user's self-timer, a kind of existing scheme is in self-timer by lighting screen
(control display screen shows suitable brightness) Lai Peihe camera light filling.However, screen is in existing scheme with fixed color temperature value
Light filling is carried out to all scenery in viewfinder range, and may cause the face skin from taking a picture in different shooting environmentals
Colour cast is yellow or partially blue, and shooting effect is undesirable, is unable to satisfy user demand.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of self-timer method, device and mobile terminal are provided, to solve to mend based on screen
The undesirable problem of middle facial image colour of skin effect of taking a picture certainly of light.
In a first aspect, the embodiment of the invention provides a kind of self-timer methods, comprising:
When monitoring that the screen light filling event of taking pictures is triggered, screen is controlled with default screen color temp value and carries out light filling, and is controlled
Camera processed captures the first image;
Judge whether the current skin color temperature value for the facial image for including in the first image is in pre-set skin colour temperature
Within the scope of, if it is not, then determining target screen color temperature value according to the current skin color temperature value;
It controls the screen and light filling is carried out with the target screen color temperature value, and control the camera and capture the second figure
Picture;
It is generated according to second image and is taken a picture certainly.
Second aspect, the embodiment of the invention provides a kind of self-timers, comprising:
First image capture module when for monitoring that the screen light filling event of taking pictures is triggered, controls screen with default screen
Curtain color temperature value carries out light filling, and controls camera and capture the first image;
Judgment module, for judging whether the current skin color temperature value for the facial image for including in the first image is in
Within pre-set skin reference color temperature;
Target screen color temp determining module, the current skin of the facial image for including in judging the first image
When colour of skin temperature value is not within pre-set skin reference color temperature, target screen color temp is determined according to the current skin color temperature value
Value;
Second image capture module carries out light filling for controlling the screen with the target screen color temperature value, and controls
The camera captures the second image;
From generation module of taking a picture, take a picture certainly for being generated according to second image.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal is integrated with implementation of the present invention
Self-timer in example.
The self-timer scheme provided in the embodiment of the present invention is first controlled when monitoring that the screen light filling event of taking pictures is triggered
Screen carries out light filling with default screen color temp value, and controls camera and capture the first image, then judge include in the first image
Whether the current skin color temperature value of facial image is within pre-set skin reference color temperature, includes in judging the first image
When the current skin color temperature value of facial image is not within pre-set skin reference color temperature, then determined according to current skin color temperature value
Then target screen color temperature value controls screen with target screen color temperature value and carries out light filling, and controls camera and capture the second image,
It is finally generated according to the second image and is taken a picture certainly.By using above-mentioned technical proposal, the facial image in the case of light filling for the first time
When skin color temperature value is undesirable, that is to say, that face complexion and desired skin tone can be closed there are when deviation by readjusting
Suitable screen color temp realizes that face can obtain better light filling effect at this time to the secondary light filling of face in viewfinder range,
Captured to take a picture certainly, facial image colour of skin effect is ideal, can be effectively improved self-timer photographic quality, promote user experience.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for self-timer method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of self-timer method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram for self-timer method that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow diagram for preferred self-timer method that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural block diagram for self-timer method device that the embodiment of the present invention five provides.
Specific embodiment
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.It is understood that
It is that specific embodiment described herein is used only for explaining the present invention rather than limiting the invention.It further needs exist for illustrating
, only the parts related to the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow diagram for the self-timer method that the embodiment of the present invention one provides, and this method can be held by self-timer
Row, wherein the device can be implemented by software and/or hardware, and can generally integrate in the terminal.As shown in Figure 1, this method packet
It includes:
Step 101 when monitoring that the screen light filling event of taking pictures is triggered, is controlled screen and is mended with default screen color temp value
Light, and control camera and capture the first image.
Illustratively, the mobile terminal in the present embodiment concretely match by mobile phone, tablet computer and digital camera etc.
It is equipped with the terminal device of display screen.
Illustratively, before the camera in the present embodiment is concretely fixed on mobile terminal positive (ipsilateral with screen)
Camera is set, the positive rotatable camera of mobile terminal can also be in for current location.
Illustratively, monitoring the screen light filling event of taking pictures to be triggered specifically can refer to monitor that user passes through the modes such as key
It actively triggers screen light filling to take pictures event, also can refer to monitor that mobile terminal automatic trigger screen light filling is taken pictures event.For example, working as
Camera in mobile terminal is in the open state, and screen light filling camera function it is in the open state under when, detect user
After pressing camera button, survey light is carried out by devices such as ambient light sensors, when low comprising current environmental light brightness in photometry result
When predetermined luminance threshold value, automatic trigger screen light filling event.It should be noted that can also be opened detecting that camera is in
State, and screen light filling camera function it is in the open state under when, directly start survey light, when in photometry result include current environment
When brightness is lower than predetermined luminance threshold value, automatic trigger screen light filling is taken pictures event, control screen with default screen color temp value into
Row light filling when detecting that user presses shoot button, then controls camera and captures the first image.
Illustratively, control screen carries out light filling and is often referred to the light filling image that control screen shows higher brightness, shields at this time
The light that curtain issues can be irradiated on the object including face, achieve the purpose that light filling.The color of light filling image can be with
It is measured by color temperature value, the screen color temp value in the present embodiment can be understood as the color temperature value of light filling image.Wherein, colour temperature
(color temperature) is the scale for indicating that light source is photochromic, and unit is K (Kelvin), is also intended to indicate that light source light spectrum
The most general index of quality.The low light of colour temperature is partially yellow, such as incandescent lamp, and color temperature value is in 2800K or so;The high light of colour temperature is partially blue,
Such as ultraviolet light, color temperature value is in 9000K or more.In general, can be by changing three primary colours RGB (red R ed, green Green and indigo plant
Color Blue) mixed proportion, simulate increase and decrease colour temperature effect, that is to say, that can by change light filling image rgb value come
Adjust screen color temp value.
Illustratively, pre-set fixed value (system default when screen color temp value can be mobile terminal factory is preset
Value), it can also be screen color temp value of the user by the modes self-setting such as key or touch-control, for example, default screen color temp value can
It is preset as the white light of 5000K.
Step 102 judges whether the current skin color temperature value for the facial image for including in the first image is in default
Within the scope of skin colour temperature, if it is not, then determining target screen color temperature value according to the current skin color temperature value.
In general, the colour of skin itself due to different user has differences, and different user to preference of the colour of skin etc. not to the utmost
It is identical, so pre-set skin reference color temperature can be preset by designer according to the use groups of mobile terminal, such as may be used
The pre-set skin reference color temperature of system default is set according to the colour of skin feature of yellow;Pre-set skin reference color temperature can also be by user
Independently it is configured.Illustratively, skin color temperature value can be divided by setting rule, generates different scene or effect
Fruit is selected for user by operations such as touch screens or key.For example, can be by designer according to ethnic group (such as yellow, white
Kind of people, black race) or environment (Qiang Tian, cloudy day, rainy day, snowy day etc.) etc. preset different pre-set skins in the terminal
Reference color temperature option, user can select ethnic group according to self-condition, can also select fine day, rainy day or snow according to the preference of oneself
Medium scene.Further, it is intuitively selected in order to facilitate user, can support user's preview on mobile terminal screen
Image effect corresponding to current color temperature value.
Illustratively, judge whether the current skin color temperature value for the facial image for including in the first image is in default
Within the scope of skin colour temperature, two endpoint values of current skin color temperature value and pre-set skin reference color temperature can be compared respectively
Compared with determining whether the current skin color temperature value is within pre-set skin reference color temperature according to comparison result.For example, default skin
Skin reference color temperature is [4500K, 5500K], if current skin color temperature value is greater than or equal to 4500K and is less than or equal to 5500K, is said
Bright current skin color temperature value is in pre-set skin reference color temperature;Conversely, if current skin color temperature value is less than 4500K or is greater than
5500K then illustrates that current skin color temperature value is not in pre-set skin reference color temperature.
If judging, the current skin color temperature value for the facial image for including in the first image is not in pre-set skin color
Within the scope of temperature, photo is directly generated according to the first image if can then prejudge out, the face complexion effect in photo can be paid no attention to
Think.So default screen color temp value be for current shooting environmental it is inappropriate, desired skin tone can not be shot
From taking a picture, colour of skin effect can be improved by adjusting screen color temp value, specifically can determine target according to current skin color temperature value
Screen color temp value.The target screen color temperature value can be regarded as being used to indicate the light filling image for needing to export on mobile terminal screen
Color of object.
In general, according to screen color temp value it is relatively low when, facial image color is easily partially yellow, i.e., skin color temperature value can be inclined
It is low;Conversely, if facial image color is easily partially blue, i.e., skin color temperature value can be higher when the screen color temp value adopted is higher.So
When determining target screen color temperature value according to current skin color temperature value, if current skin color temperature value is less than pre-set skin reference color temperature
Target screen color temperature value can then be determined as being higher than the value of default screen color temp value by minimum value such as the 4500K in the example above;
If the maximum value that current skin color temperature value is greater than pre-set skin reference color temperature then can be by target screen such as the 5500K in the example above
Curtain color temperature value is determined as the value lower than default screen color temp value.
Step 103, the control screen carry out light filling with the target screen color temperature value, and control the camera and capture
Second image.
In this step, screen is controlled with target screen color temperature value and carries out light filling, can refer to mobile terminal for current screen colour temperature
Value is adjusted to target screen color temperature value, namely the corresponding light filling image of control screen displaying target screen color temp value, to object
Carry out light filling.It after carrying out light filling with target screen color temperature value, then controls camera and executes the operation for capturing the second image, can have
Effect improves facial image colour of skin effect.
In this step, it controls the screen and the preferably determining screen color temp of light filling is carried out with the target screen color temperature value
The corresponding relationship of value and light filling image.Specifically, can determine that target screen color temp institute is right according to the corresponding relationship of colour temperature and color
The color answered exports the corresponding monochrome image of the color on mobile terminal screen, controls the screen with the target screen
Color temperature value carries out light filling.Usual various colors can be obtained by tri- kinds of color additions of RGB, and therefore, colour temperature is corresponding with color to close
System preferably according to the corresponding relationship of screen color temp value and RGB, determines the corresponding relationship of screen color temp value Yu light filling image.Also
It is to say, controls the screen with the target screen color temperature value and carry out light filling, concretely: according to screen color temp value and RGB
Corresponding relationship determines RGB parameter corresponding to target screen color temperature value;Obtain monochrome image corresponding to the RGB parameter simultaneously
It exports to the screen of the mobile terminal, so that screen carries out light filling.
Step 104 is generated according to second image and is taken a picture certainly.
Specifically, can refer to according to the process that second image generation is taken a picture certainly existing according to image generation photo
Technology, the present embodiment is not especially limited.For example, carrying out the processing such as encoding to the second image, generates and take a picture certainly.
The self-timer scheme provided in the embodiment of the present invention is first controlled when monitoring that the screen light filling event of taking pictures is triggered
Screen carries out light filling with default screen color temp value, and controls camera and capture the first image, then judge to wrap in the first image
Whether the current skin color temperature value of the facial image contained is within pre-set skin reference color temperature, is judging the first image
In include the current skin color temperature value of facial image when being not within pre-set skin reference color temperature, then according to the current skin
Colour of skin temperature value determines target screen color temperature value, controls the screen then with the target screen color temperature value and carries out light filling, and controls
It makes the camera and captures the second image, finally generated according to second image and taken a picture certainly.By using above-mentioned technical side
Case, when the skin color temperature value of facial image is undesirable in the case of light filling for the first time, that is to say, that face complexion and ideal skin
Color can realize the secondary light filling to face in viewfinder range by readjusting suitable screen color temp there are when deviation, this
When face can obtain better light filling effect, captured to take a picture certainly, facial image colour of skin effect is ideal, can effectively change
Kind self-timer photographic quality, promotes user experience.
Embodiment two
Fig. 2 is a kind of flow diagram of the photographic method based on screen light filling provided by Embodiment 2 of the present invention, this reality
It applies example to optimize based on above-described embodiment, in the present embodiment, step " is judged into the people for including in the first image
Whether the current skin color temperature value of face image is within pre-set skin reference color temperature " optimization are as follows: institute is obtained by recognition of face
State the human face region in the first image;Obtain the current skin color temperature value of the facial image in the human face region;Described in judgement
Whether current skin color temperature value is within pre-set skin reference color temperature.
Further, step " determining target screen color temperature value according to the current skin color temperature value " can also be optimized are as follows:
Target screen color temperature value is determined according to the current skin color temperature value and purported skin color temperature value, wherein the purported skin color
Temperature value is within the pre-set skin reference color temperature.
Correspondingly, the method for the present embodiment includes the following steps:
Step 201 when monitoring that the screen light filling event of taking pictures is triggered, is controlled screen and is mended with default screen color temp value
Light, and control camera and capture the first image.
Step 202 obtains the human face region in the first image by recognition of face.
In general, may include human face region and non-face region in the viewfinder range of the first image, wherein non-face region
It can be body, hat and clothes or the scenery of local environment etc. of people.In the present embodiment, described the is obtained preferably through recognition of face
Human face region in one image.Specifically, face recognition process can refer to existing face recognition technology, the present embodiment is not made to have
Body limits.
Step 203, the current skin color temperature value for obtaining facial image in the human face region.
Illustratively, the corresponding RGB parameter in facial image region can be read, further according to pair between RGB parameter and colour temperature
It should be related to determine current skin color temperature value.
Step 204 judges whether the current skin color temperature value is within pre-set skin reference color temperature, if it is not, executing
Step 205;If so, thening follow the steps 206.
Step 205 determines target screen color temperature value according to the current skin color temperature value and purported skin color temperature value,
In, the purported skin color temperature value is within the pre-set skin reference color temperature.
Illustratively, purported skin color temperature value can be arranged by system default, can be the endpoint of pre-set skin reference color temperature
Value or median, the average value of preferably two endpoint values.Purported skin color temperature value can be regarded as the target skin corresponding to user
Skin color (desired skin tone), usual user have expection to taking a picture certainly, and permissible user presets purported skin color value, to protect
Card reaches oneself expected effect from what is taken a picture;Or it can be by the skin colour temperature within terminal offer pre-set skin reference color temperature
Value, is selected by users, selects in order to facilitate user, can be shown in mobile terminal in a manner of scene or effect etc.
Screen on.
It illustratively, can if mobile terminal judges that current skin color temperature value is not within pre-set skin reference color temperature
Target screen color temperature value is determined according to the size of current skin color temperature value and the gap of purported skin color temperature value.
Step 206 is generated according to the first image and is taken a picture certainly.
If judging, current skin color temperature value is within pre-set skin reference color temperature, can be primarily determined and currently be captured
The current skin color temperature value of the first image meet basic demand of the mobile terminal to desired skin tone effect, or basically reach use
The satisfaction at family can be generated according to the first image and be taken a picture certainly, and then can will be exported from taking a picture to mobile terminal screen, for
Family preview or preservation.
It can refer to the existing skill that photo is generated according to image specifically, generating according to the first image from the process taken a picture
Art, the present embodiment are not especially limited.
Step 207, the control screen carry out light filling with the target screen color temperature value, and control the camera and capture
Second image.
Step 208 is generated according to second image and is taken a picture certainly.
Self-timer method provided by Embodiment 2 of the present invention, after control camera captures the first image, according to the first image
In the current skin color temperature value of facial image of human face region determine target screen color temperature value, further can rationally control screen
Light filling is carried out, effect of taking pictures can be effectively improved, guarantees picture quality, promotes user experience.
Embodiment three
Fig. 3 is a kind of flow diagram for photographic method based on screen light filling that the embodiment of the present invention three provides, this reality
It applies example to optimize based on above-described embodiment, in the present embodiment, by step " according to the current skin color temperature value and mesh
Mark skin color temperature value determines target screen color temperature value " optimization are as follows: calculate the current skin color temperature value and purported skin color temperature value
Current skin-color temperature difference;Target screen color temperature difference value is determined according to the current skin-color temperature difference;According to the target
Screen color temp difference and the default screen color temp value determine target screen color temperature value.
Correspondingly, the method for the present embodiment includes the following steps:
Step 301 when monitoring that the screen light filling event of taking pictures is triggered, is controlled screen and is mended with default screen color temp value
Light, and control camera and capture the first image.
Step 302 judges whether the current skin color temperature value for the facial image for including in the first image is in default
Within the scope of skin colour temperature, if it is not, executing step 303;If so, thening follow the steps 304.
Step 303, the current skin-color temperature difference for calculating the current skin color temperature value and purported skin color temperature value.
If mobile terminal judges that the current skin color temperature value for the facial image for including in the first image is not in default skin
Within the scope of colour of skin temperature, the purported skin color temperature value within pre-set skin reference color temperature can be obtained, with the current skin colour temperature
Value is compared, and obtains the relationship of current skin color temperature value and purported skin color temperature value, specifically, working as described above, can calculate
The current skin-color temperature difference of preceding skin color temperature value and purported skin color temperature value, obtains current skin color temperature value and purported skin color
The difference relationship of temperature value.
Step 304 is generated according to the first image and is taken a picture certainly.
Step 305 determines target screen color temperature difference value according to the current skin-color temperature difference.
Target screen color temperature difference value is determined according to the current skin-color temperature difference, it is preferred that is monitoring screen light filling
Before the event of taking pictures is triggered further include: pre-establish the difference corresponding relationship of screen color temp difference Yu skin-color temperature difference.Into
One step, it can also be by this optimization order are as follows: determine that the current skin-color temperature difference is corresponding according to the difference corresponding relationship
Target screen color temperature difference value.
Illustratively, screen color temp difference and the corresponding relationship of skin-color temperature difference can be one-to-one relationship, can also
For one-to-many relationship.If screen color temp difference and skin-color temperature difference are one-to-one relationship the essence, it can be achieved that image
Quasi- adjustment;In view of the identification of the adjustment amplitude for the photo that visually user shows mobile terminal is limited, mesh may be worked as
When mark screen color temp value adjustment is smaller, usually visually it is not easy directly observation and obtains, it therefore, can be by screen color temp difference and skin
Colour of skin temperature difference is set as one-to-many relationship, i.e., multiple skin-color temperature difference correspond to a screen color temp difference, it will be appreciated that
Correspond to a screen color temp difference for the skin-color temperature difference of setting range.
Specifically, the numerical relation of current skin-color temperature difference and target screen color temperature difference value, can be linear relationship or non-
Linear relationship, for example, current skin-color temperature difference is equal with target screen color temperature difference value or target screen color temperature difference value is to work as
K times of preceding skin-color temperature difference, wherein k is any non-zero numerical value, is set according to the actual situation in a particular application, can also
According to setting rule settings mapping relations, herein and without limitation.
Step 306 determines target screen color temp according to the target screen color temperature difference value and the default screen color temp value
Value.
Illustratively, target screen color temperature value can be made according to the default screen color temp value and target screen color temperature difference value and
Or it is obtained as difference.It further, can also be according to the function of the target screen color temperature difference value and the default screen color temp value
Relationship determines target screen color temperature value, for example, the target screen color temperature difference value and the default screen color temp value are carried out line
Property combine and determine target screen color temperature value, specifically, if indicating target screen color temperature value with y, indicate default screen color temp with a
Value, indicates target screen color temperature difference value with b, then target screen color temperature value can be target screen color temperature difference value and default screen color temp
One linear combination of value, is represented by y=k1a+k2B, wherein k1、k2Value can be set according to the actual situation,
This and without limitation.
Step 307, the control screen carry out light filling with the target screen color temperature value, and control the camera and capture
Second image.
Step 308 is generated according to second image and is taken a picture certainly.
The self-timer method that the embodiment of the present invention three provides, can working as according to current skin color temperature value and purported skin color temperature value
Preceding skin-color temperature difference determines target screen color temperature difference value, and according to the target screen color temperature difference value and the default screen color
Temperature value determines target screen color temperature value, can further improve effect of taking pictures, and guarantees picture quality, promotes user experience.
Example IV
Fig. 4 is a kind of process signal for photographic method for being preferably based on screen light filling that the embodiment of the present invention five provides
Figure, as shown in figure 4, this method comprises:
Step 401 obtains environmental light brightness.
Before shooting photo, mobile terminal can first obtain environmental light brightness, determine current environment light if appropriate for bat
It takes the photograph, to guarantee shooting quality.Illustratively, local environment brightness can be obtained by the ambient light sensor configured in terminal
It takes.Specifically, can also be indicated by the intensity of illumination of local environment since there are corresponding relationships with intensity for the brightness of light.One
As, in different environment or under scene, intensity of illumination be will be different, if the intensity of illumination under burning sun is about 100000
Lux, intensity of illumination when cloudy are about 8000 luxs, and the intensity of illumination under street lamp is about 5 luxs, wherein 1 Le gram
This=1 lumen/square metre, therefore, corresponding environmental light brightness is also different, and the environmental light brightness of different moments is often also not to the utmost
It is identical.
Step 402 judges whether current environmental light brightness is lower than predetermined luminance threshold value, if so, thening follow the steps 403;It is no
Then, this step is repeated.
Wherein, predetermined luminance threshold value can be set according to the actual situation by user, for example, can shoot for user in history
Brightness value corresponding to the high-quality photo chosen in record can be set by user according to the preference of oneself;It can also be knot
The brightness value for the suitable shooting that the performance of the camera of conjunction mobile terminal theoretically obtains, for example, can be passed through to make a thorough investigation of in practice
Test the brightness value of the suitable shooting summed up.If judging, current environmental light brightness not less than predetermined luminance threshold value, can be executed directly
Shooting operation.
Judge whether the current environmental light brightness that gets is lower than predetermined luminance threshold value, can preliminary judgement current environment whether
It is suitble to shooting, preferably meets user demand, guarantees shooting effect.
Step 403 determines screen intensity according to the environmental light brightness.
If judging current environmental light brightness lower than predetermined luminance threshold value, the environment for illustrating that mobile terminal is presently in is darker,
It may be not suitable for shooting.At this point, determine screen intensity according to environmental light brightness, light filling is carried out by adjusting screen intensity, into
And improve the quality of captured image.
Step 404 when monitoring that the screen light filling event of taking pictures is triggered, controls screen with the screen intensity and default screen
Curtain color temperature value carries out light filling, and controls camera and capture the first image.
As described above, when monitoring that the screen light filling event of taking pictures is triggered, can control screen with the screen intensity and
Default screen color temp value carries out light filling, then controls camera and captures the first image, the preliminary shooting quality for guaranteeing the first image.
Step 405 obtains the human face region in the first image by recognition of face.
Step 406, the current skin color temperature value for obtaining facial image in the human face region
Step 407 judges whether the current skin color temperature value is within pre-set skin reference color temperature, if it is not, then holding
Row step 408;If so, thening follow the steps 409.
Step 408 determines target screen color temperature value according to the current skin color temperature value.
Step 409 is generated according to the first image and is taken a picture certainly
Step 410, the control screen carry out light filling with the screen intensity and the target screen color temperature value, and control
The camera captures the second image.
Step 411 is generated according to second image and is taken a picture certainly.
The self-timer method that the embodiment of the present invention four provides, the screen intensity determined according to environmental light brightness control screen
Light filling is carried out with the screen intensity and target screen color temperature value, is closed so that being distributed according to the self-timer lightness that the second image generates
Reason can further improve self-timer effect, guarantee photographic quality, promote user experience.
Embodiment five
Fig. 5 is the structural block diagram for the self-timer that the embodiment of the present invention five provides, which can be by software and/or hardware reality
It is existing, it is typically integrated in mobile terminal, can be taken pictures by executing self-timer method to carry out light filling.As shown in figure 5, the device packet
It includes: the first image capture module 501, judgment module 502, target screen color temp determining module 503, the second image capture module
504 and generation module 505 of taking a picture certainly.
Wherein, the first image capture module 501, for when monitoring that the screen light filling event of taking pictures is triggered, control flow
Curtain carries out light filling with default screen color temp value, and controls camera and capture the first image;Judgment module 502, it is described for judging
Whether the current skin color temperature value for the facial image for including in the first image is within pre-set skin reference color temperature;Target screen
Colour temperature determining module 503, the current skin of the facial image for judging to include in the first image in the judgment module
When colour of skin temperature value is not within pre-set skin reference color temperature, target screen color temp is determined according to the current skin color temperature value
Value;Second image capture module 504 carries out light filling for controlling the screen with the target screen color temperature value, and controls institute
It states camera and captures the second image;From generation module 505 of taking a picture, take a picture certainly for being generated according to second image.
The camera arrangement based on screen light filling that the embodiment of the present invention five provides, the facial image in the case of light filling for the first time
When skin color temperature value is undesirable, that is to say, that face complexion and desired skin tone can be closed there are when deviation by readjusting
Suitable screen color temp realizes that face can obtain better light filling effect at this time to the secondary light filling of face in viewfinder range,
Captured to take a picture certainly, facial image colour of skin effect is ideal, can be effectively improved self-timer photographic quality, promote user experience.
On the basis of the above embodiments, described to can also be used in from generation module of taking a picture: to judge in the judgment module
When the current skin color temperature value for the facial image for including in the first image out is not within pre-set skin reference color temperature, root
It generates according to the first image and takes a picture certainly.
On the basis of the above embodiments, the judgment module may include human face region acquiring unit, current skin colour temperature
Acquiring unit and judging unit.Wherein, human face region acquiring unit, for being obtained in the first image by recognition of face
Human face region;Current skin colour temperature acquiring unit, for obtaining the current skin colour temperature of the facial image in the human face region
Value;Judging unit, for judging whether the current skin color temperature value is within pre-set skin reference color temperature.
On the basis of the above embodiments, the target screen color temp determining module specifically can also be used in: be worked as according to described
Preceding skin color temperature value and purported skin color temperature value determine target screen color temperature value, wherein the purported skin color temperature value is in institute
It states within pre-set skin reference color temperature.
On the basis of the above embodiments, the target screen color temp determining module can further comprise skin-color temperature difference
Computing unit, target screen color temperature difference value determination unit and target screen color temperature value determination unit.Wherein, skin-color temperature difference meter
Unit is calculated, for calculating the current skin-color temperature difference of the current skin color temperature value and purported skin color temperature value;Target screen
Colour temperature difference value determining unit, for determining target screen color temperature difference value according to the current skin-color temperature difference;Target screen color
Temperature value determination unit, for determining target screen color temp according to the target screen color temperature difference value and the default screen color temp value
Value.
On the basis of the above embodiments, the self-timer may also include difference corresponding relation building module, be used for
Before monitoring that the screen light filling event of taking pictures is triggered, it is corresponding with the difference of skin-color temperature difference to pre-establish screen color temp difference
Relationship;Correspondingly, the target screen color temperature difference value determination unit is particularly used in: determining institute according to the difference corresponding relationship
State the corresponding target screen color temperature difference value of current skin-color temperature difference.
On the basis of the above embodiments, the self-timer may also include environmental light brightness acquisition module, for supervising
It measures before the screen light filling event of taking pictures is triggered, obtains environmental light brightness;Correspondingly, the first image capture module may be used also
Including screen intensity determination unit and light filling unit, wherein screen intensity determination unit, for true according to the environmental light brightness
Determine screen intensity;Light filling unit is mended for controlling the screen with the screen intensity and the target screen color temperature value
Light.
On the basis of the above embodiments, the camera is that front camera or current location are in mobile terminal front
Rotatable camera.
Embodiment six
The embodiment of the present invention six provides a kind of mobile terminal, which is integrated with the self-timer in the embodiment of the present invention
Device can be taken pictures by executing self-timer method to carry out light filling.
Illustratively, the mobile terminal in the present embodiment concretely match by mobile phone, tablet computer and digital camera etc.
It is equipped with the terminal device of display screen.
When user is taken pictures using the mobile terminal in the present embodiment, the skin of facial image in the case of light filling for the first time
When colour of skin temperature value is undesirable, that is to say, that face complexion and desired skin tone are there are when deviation, and mobile terminal by adjusting again
Whole suitable screen color temp realizes the secondary light filling to face in viewfinder range, and face can obtain better light filling effect at this time
Fruit, captured to take a picture certainly, facial image colour of skin effect is ideal, can be effectively improved self-timer photographic quality, promote user's body
It tests.
The self-timer and mobile terminal provided in above-described embodiment can be performed it is provided by any embodiment of the invention from
Shooting method has and executes the corresponding functional module of this method and beneficial effect.The not technology of detailed description in the above-described embodiments
Details, reference can be made to self-timer method provided by any embodiment of the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (13)
1. a kind of self-timer method characterized by comprising
When monitoring that the screen light filling event of taking pictures is triggered, screen is controlled with default screen color temp value and carries out light filling, and controls and takes the photograph
As head captures the first image;
Judge whether the current skin color temperature value for the facial image for including in the first image is in pre-set skin reference color temperature
Within, if it is not, then determining target screen color temperature value according to the current skin color temperature value and purported skin color temperature value;Wherein, root
It presets different pre-set skin reference color temperature options in the terminal according to environment, the default skin is therefrom selected by user
Skin reference color temperature;The purported skin color temperature value is within the pre-set skin reference color temperature;
It controls the screen and light filling is carried out with the target screen color temperature value, and control the camera and capture the second image;
It is generated according to second image and is taken a picture certainly;
Wherein, target screen color temperature value is determined according to the current skin color temperature value and purported skin color temperature value, comprising:
Calculate the current skin-color temperature difference of the current skin color temperature value and purported skin color temperature value;
Target screen color temperature difference value is determined according to the current skin-color temperature difference;
Target screen color temperature value is determined according to the target screen color temperature difference value and the default screen color temp value.
2. the method according to claim 1, wherein the facial image for including in the judgement the first image
Current skin color temperature value whether be within pre-set skin reference color temperature, if it is not, then true according to the current skin color temperature value
Set the goal screen color temp value, further includes:
It takes a picture certainly if so, being generated according to the first image.
3. the method according to claim 1, wherein the facial image for including in the judgement the first image
Current skin color temperature value whether be within pre-set skin reference color temperature, comprising:
The human face region in the first image is obtained by recognition of face;
Obtain the current skin color temperature value of the facial image in the human face region;
Judge whether the current skin color temperature value is within pre-set skin reference color temperature.
4. the method according to claim 1, wherein before monitoring that the screen light filling event of taking pictures is triggered,
Further include:
Pre-establish the difference corresponding relationship of screen color temp difference Yu skin-color temperature difference;
Correspondingly, described determine target screen color temperature difference value according to the current skin-color temperature difference, comprising:
The corresponding target screen color temperature difference value of the current skin-color temperature difference is determined according to the difference corresponding relationship.
5. method according to claim 1-4, which is characterized in that monitoring that screen light filling event of taking pictures is touched
Before hair, further includes:
Obtain environmental light brightness;
Correspondingly, the control screen carries out light filling with the target screen color temperature value, comprising:
Screen intensity is determined according to the environmental light brightness;
It controls the screen and light filling is carried out with the screen intensity and the target screen color temperature value.
6. method according to claim 1-4, which is characterized in that the camera is for front camera or currently
Position is in the positive rotatable camera of mobile terminal.
7. a kind of self-timer characterized by comprising
First image capture module, for when monitoring that the screen light filling event of taking pictures is triggered, controlling screen to preset screen
Color temperature value carries out light filling, and controls camera and capture the first image;
Judgment module, for judging whether the current skin color temperature value for the facial image for including in the first image is in default
Within the scope of skin colour temperature;Wherein, different pre-set skin reference color temperature options is preset in the terminal according to environment,
The pre-set skin reference color temperature is therefrom selected by user;
Target screen color temp determining module, the facial image for judging to include in the first image in the judgment module
Current skin color temperature value when being not within pre-set skin reference color temperature, according to the current skin color temperature value and purported skin
Color temperature value determines target screen color temperature value;The purported skin color temperature value is within the pre-set skin reference color temperature;
Second image capture module carries out light filling for controlling the screen with the target screen color temperature value, and described in control
Camera captures the second image;
From generation module of taking a picture, take a picture certainly for being generated according to second image;
Wherein, the target screen color temp determining module includes:
Skin-color temperature difference computing unit, for calculating the current skin of the current skin color temperature value and purported skin color temperature value
Colour temperature difference;
Target screen color temperature difference value determination unit, for determining target screen color temperature difference according to the current skin-color temperature difference
Value;
Target screen color temperature value determination unit, for true according to the target screen color temperature difference value and the default screen color temp value
Set the goal screen color temp value.
8. device according to claim 7, which is characterized in that described to be also used to from generation module of taking a picture:
The judgment module judge the facial image for including in the first image current skin color temperature value be not in it is pre-
If when within the scope of skin colour temperature, being generated according to the first image and being taken a picture certainly.
9. device according to claim 7, which is characterized in that the judgment module includes:
Human face region acquiring unit, for obtaining the human face region in the first image by recognition of face;
Current skin colour temperature acquiring unit, for obtaining the current skin color temperature value of the facial image in the human face region;
Judging unit, for judging whether the current skin color temperature value is within pre-set skin reference color temperature.
10. device according to claim 7, which is characterized in that further include:
Difference corresponding relation building module, for pre-establishing screen before monitoring that the screen light filling event of taking pictures is triggered
The difference corresponding relationship of colour temperature difference and skin-color temperature difference;
Correspondingly, the target screen color temperature difference value determination unit is specifically used for:
The corresponding target screen color temperature difference value of the current skin-color temperature difference is determined according to the difference corresponding relationship.
11. according to the described in any item devices of claim 7-10, which is characterized in that further include:
Environmental light brightness obtains module, for obtaining environmental light brightness before monitoring that the screen light filling event of taking pictures is triggered;
Correspondingly, the first image capture module includes:
Screen intensity determination unit, for determining screen intensity according to the environmental light brightness;
Light filling unit carries out light filling for controlling the screen with the screen intensity and the target screen color temperature value.
12. according to the described in any item devices of claim 7-10, which is characterized in that the camera is front camera or works as
Front position is in the positive rotatable camera of mobile terminal.
13. a kind of mobile terminal, which is characterized in that the mobile terminal is integrated with as described in claim 7-12 any one
Self-timer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086356.0A CN105744174B (en) | 2016-02-15 | 2016-02-15 | A kind of self-timer method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610086356.0A CN105744174B (en) | 2016-02-15 | 2016-02-15 | A kind of self-timer method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105744174A CN105744174A (en) | 2016-07-06 |
CN105744174B true CN105744174B (en) | 2019-03-08 |
Family
ID=56245137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610086356.0A Active CN105744174B (en) | 2016-02-15 | 2016-02-15 | A kind of self-timer method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105744174B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254788A (en) * | 2016-07-21 | 2016-12-21 | 努比亚技术有限公司 | A kind of mobile terminal and control method |
CN106161982A (en) * | 2016-08-03 | 2016-11-23 | 努比亚技术有限公司 | A kind of method of light filling and terminal |
CN106161906B (en) * | 2016-08-31 | 2019-03-01 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN108090405B (en) * | 2016-11-23 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Face recognition method and terminal |
CN106604010A (en) * | 2016-12-15 | 2017-04-26 | 北京小米移动软件有限公司 | Method and device for controlling lighting of screen |
CN106791473A (en) * | 2017-01-20 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of imaging method and terminal |
CN106899768A (en) * | 2017-03-22 | 2017-06-27 | 广东小天才科技有限公司 | Terminal photographing method and device |
CN107609514B (en) * | 2017-09-12 | 2021-08-06 | Oppo广东移动通信有限公司 | Face recognition method and related product |
CN107644396B (en) * | 2017-10-18 | 2021-02-02 | 维沃移动通信有限公司 | Lip color adjusting method and device |
CN107846554B (en) * | 2017-10-31 | 2020-09-01 | 努比亚技术有限公司 | Image processing method, terminal and computer readable storage medium |
CN111345030A (en) * | 2017-11-09 | 2020-06-26 | 深圳传音通讯有限公司 | Photographing method and photographing system based on intelligent terminal |
CN107809599B (en) * | 2017-11-16 | 2020-02-18 | 维沃移动通信有限公司 | Light supplementing method and device and mobile terminal |
CN108764044A (en) * | 2018-04-25 | 2018-11-06 | 维沃移动通信有限公司 | A kind of light compensation method, device and mobile terminal |
CN109005360B (en) * | 2018-06-11 | 2021-02-09 | 北京小米移动软件有限公司 | Light supplementing method and device for shooting environment and computer readable storage medium |
CN109561291A (en) * | 2018-10-23 | 2019-04-02 | Oppo广东移动通信有限公司 | Color temperature compensating method, device, storage medium and mobile terminal |
CN109785228B (en) * | 2018-12-29 | 2021-03-16 | 广州方硅信息技术有限公司 | Image processing method, image processing apparatus, storage medium, and server |
CN114710627B (en) * | 2022-04-06 | 2024-03-29 | Oppo广东移动通信有限公司 | Skin detection method, mobile terminal, computer device and medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI459107B (en) * | 2011-12-16 | 2014-11-01 | Altek Corp | Voltage-controlled light diffusing module, and flash module based on face information |
CN103312986A (en) * | 2013-06-08 | 2013-09-18 | 康佳集团股份有限公司 | Mobile terminal based front photographing fill light method and mobile terminal |
KR102145209B1 (en) * | 2014-02-12 | 2020-08-18 | 삼성전자주식회사 | Flash device, apparatur and method for photographing image |
CN104320578B (en) * | 2014-10-22 | 2018-07-10 | 厦门美图之家科技有限公司 | A kind of method that self-timer sheen compensation is carried out based on screen intensity |
CN108111772B (en) * | 2014-12-04 | 2020-12-22 | Oppo广东移动通信有限公司 | Shooting method and terminal |
CN104967776B (en) * | 2015-06-11 | 2018-03-27 | 广东欧珀移动通信有限公司 | One kind is taken pictures method to set up and user terminal |
-
2016
- 2016-02-15 CN CN201610086356.0A patent/CN105744174B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105744174A (en) | 2016-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105744174B (en) | A kind of self-timer method, device and mobile terminal | |
CN103826066B (en) | Automatic exposure adjusting method and system | |
CN104113688B (en) | A kind of image processing method and its electronic equipment | |
JP6224822B2 (en) | Hair consultation tool apparatus and method | |
CN105791708B (en) | A kind of filming control method, device and intelligent terminal | |
CN104735362B (en) | Photographic method and device | |
CN108337433A (en) | A kind of photographic method, mobile terminal and computer readable storage medium | |
JP4266461B2 (en) | Color illumination color temperature detection method and apparatus | |
US8441544B2 (en) | Electronic camera and medium storing image processing program for skin color correction | |
CN104243793B (en) | Have the camera device and method of image identification mechanism | |
CN103716547A (en) | Smart mode photographing method | |
US9288428B2 (en) | Shooting apparatus and method for controlling shooting apparatus | |
CN109408018A (en) | A kind of screen color temp adjusting method, device and terminal device | |
CN107820069A (en) | A kind of video monitoring equipment ISP adjustment methods | |
US8654210B2 (en) | Adaptive color imaging | |
CN113055605B (en) | Image color temperature adjusting method, device and storage medium | |
EP3140982B1 (en) | Device with a camera and a screen | |
US20090161951A1 (en) | Method for correcting red-eye | |
CN205721623U (en) | Intelligent interactive system | |
US8970729B2 (en) | Image capturing apparatus, control method therefor, and non-transitory computer readable storage medium | |
CN105827977B (en) | A kind of self-timer method, device and mobile terminal | |
TWI594630B (en) | Night photography system and its method | |
CN109803093A (en) | The imaging method and virtual fitting equipment of virtual fitting | |
US20230156318A1 (en) | Imaging apparatus and program | |
WO2022271161A1 (en) | Light compensations for virtual backgrounds |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |