CN106161906B - A kind of photographic method and mobile terminal - Google Patents
A kind of photographic method and mobile terminal Download PDFInfo
- Publication number
- CN106161906B CN106161906B CN201610793527.3A CN201610793527A CN106161906B CN 106161906 B CN106161906 B CN 106161906B CN 201610793527 A CN201610793527 A CN 201610793527A CN 106161906 B CN106161906 B CN 106161906B
- Authority
- CN
- China
- Prior art keywords
- colour temperature
- flash lamp
- mobile terminal
- image
- output
- 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/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- 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/56—Cameras or camera modules comprising electronic image sensors; Control thereof provided with 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/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/70—Circuitry for compensating brightness variation in the scene
- H04N23/76—Circuitry for compensating brightness variation in the scene by influencing the image signals
Abstract
The embodiment of the invention provides a kind of photographic method and mobile terminals.The photographic method includes: the output colour temperature that the flash lamp of the mobile terminal is arranged, and keeps the output colour temperature different from the colour temperature of environment light;It controls the flash lamp and carries out light filling according to target area of the output colour temperature to the reference object;It takes pictures to the reference object after light filling, obtains the first shooting image of the reference object;The white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach preset color temperature threshold value;According to the first shooting image after the adjusting white balance parameter, the second shooting image is generated.The embodiment of the present invention can be realized the effect that highlights to target area, and user experience is good.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods and mobile terminal.
Background technique
With the rapid development of mobile terminals, people increasingly tend to clap using mobile terminal (such as mobile phone)
According to, and in order to make the image of shooting that there is more good-looking color (for example, obtaining the better colour of skin effect when shooting portrait),
It is generally necessary to using the flash lamp of double-colored temperature as important light filling equipment come to shooting image carry out light filling, with shooting effect
Better image.
Currently, when the mobile device using the flash lamp with double-colored temperature is to carry out light filling shooting to reference object, it is main
If, to adjust the colour temperature of double-colored temperature flash lamp, being made according to the colour temperature of the environment light (such as light) of reference object local environment
The colour temperature of double-colored temperature flash lamp after adjusting is consistent with the colour temperature of environment light, can thus make the light irradiation that glistened by double-colored temperature
Reference object partial region color benign environment light colour temperature it is consistent.Then total painting is carried out to obtained image data again
The color temperature adjustment in face makes the white balance of target area (such as head portrait) reach best.
When taking pictures, since flash lamp can only carry out light filling to the partial region (such as head portrait) of shooting image, then
In existing this photographic schemes, because the colour temperature of double-colored temperature flash lamp is consistent with the colour temperature of environment light, then by light filling
It will be consistent by the colour temperature of the background area of light filling under the irradiation of environment light in the colour temperature and shooting image of head portrait.Cause
This, captured by image key object (such as head portrait) can't be highlighted, the shooting in foreground and background region
Effect is identical, lacks the shooting effect for the object that gives top priority to what is the most important, and user experience is poor.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, is deposited with solving photographic schemes in the prior art
Shooting image do not have the problem of effect highlighted to key object.
In a first aspect, being applied to mobile terminal, the photographic method packet the embodiment of the invention provides a kind of photographic method
It includes:
The output colour temperature of the flash lamp of the mobile terminal is set, keeps the output colour temperature different from the colour temperature of environment light;
It controls the flash lamp and carries out light filling according to target area of the output colour temperature to the reference object;
It takes pictures to the reference object after light filling, obtains the first shooting image of the reference object;
The white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach preset color temperature threshold
Value;
According to the first shooting image after the adjusting white balance parameter, the second shooting image is generated.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
Setup module, the output colour temperature of the flash lamp for the mobile terminal to be arranged, makes the output colour temperature and environment
The colour temperature of light is different;
Supplementary lighting module, for control the flash lamp according to the output colour temperature to the target area of the reference object into
Row light filling;
Photo module obtains the first shooting image for taking pictures to the reference object after light filling;
First adjustment module keeps the target area corresponding for adjusting the white balance parameter of the first shooting image
The colour temperature of image data reach preset color temperature threshold value;
First generation module, for generating shooting image according to the first shooting image after the adjusting white balance parameter.
In this way, the embodiment of the present invention is by setting the colour temperature different from environment light for the output colour temperature of flash lamp, in this way
Can make shooting image in it is different from the colour temperature of background area by the colour temperature of the target area of flash lighting, reach and highlight
The effect of target area;And the image data by obtaining to shooting carries out the adjusting of white balance parameter, can make target area
The colour temperature in domain obtains returning to normally, realizes the effect that highlights to target area, user experience is good.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2 is the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 is the block diagram of another mobile terminal of third embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 5 is the structural schematic diagram of the mobile terminal of fifth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
Referring to Fig.1, the flow chart of the photographic method of one embodiment of the invention is shown, mobile terminal is applied to, it is described
Method can specifically include following steps:
Step 101, the output colour temperature of the flash lamp of the mobile terminal is set, the color of the output colour temperature and environment light is made
It is warm different;
Wherein, since when being taken pictures using mobile terminal to reference object, the range of flash of light light irradiation used is general
A part of object is only shone, not entire reference object (i.e. entire shooting picture).Therefore, in order to make by by flash of light light irradiation
Target area from not by flash of light light irradiation but the background area penetrated by ambient lighting shows different effects, that is, have a master
The protrusion object wanted.Here, the embodiment of the present invention can carry out the output colour temperature of the flash lamp of mobile terminal (such as mobile phone)
Setting keeps the output colour temperature different from the irradiation colour temperature of environment light, can thus make the colour temperature and background of above-mentioned target area
The colour temperature in region is different.
Step 102, the flash lamp is controlled to mend the target area of the reference object according to the output colour temperature
Light;
Wherein, when taking pictures, it can control and adjusted the flash lamp of colour temperature come (such as people is sitting on chair to reference object
Picture) target area (such as face) carry out light filling.
Step 103, it takes pictures to the reference object after light filling, obtains the first shooting figure of the reference object
Picture;
Wherein it is possible to take pictures to the entire shooting picture after light filling, so that it may obtain the image of entire shooting picture
Data.
Step 104, the white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach default
Colour temperature threshold value;
So, in order to protrude target area, keep the color effect of target area more preferable, for example, face it is more pale, it is clear,
Really, the white balance parameter of obtained image data can be adjusted, to make the color of the corresponding image data in target area
Temperature reaches preset color temperature threshold value (such as 5500 Kelvin (k) of normal color temperature).Wherein, since target area and background area are divided
The colour temperature of not corresponding image data is inherently different, one be flash lamp colour temperature, one be environment light colour temperature, because
This, the entire picture after adjusting white balance parameter still can make target area different with the colour temperature of background area, in this manner it is possible to
Achieve the effect that highlight target area.
Step 105, according to the first shooting image after the adjusting white balance parameter, the second shooting image is generated.
Wherein, shooting image, i.e. photo are generated using the image data after adjusting white balance parameter, in the photo,
Human face target region be it is prominent evident from, and background area is then slightly aobvious virtualization, in short, the display effect of the two is complete
It is different.
In this way, the embodiment of the present invention is by setting the colour temperature different from environment light for the output colour temperature of flash lamp, in this way
Can make shooting image in it is different from the colour temperature of background area by the colour temperature of the target area of flash lighting, reach and highlight
The effect of target area;And the image data by obtaining to shooting carries out the adjusting of white balance parameter, can make target area
The colour temperature in domain obtains returning to normally, realizes the effect that highlights to target area, user experience is good.
Second embodiment
According to another embodiment of the invention, a kind of photographic method is additionally provided, mobile terminal, this method packet are applied to
Include following steps:
In the present embodiment, to the flash lamp of three kinds of colour temperatures of mobile terminal configuration, i.e. output low color temperature (such as 1000k
~5500k) Yellow Red flash lamp, export normal color temperature (5500k or so) white color system flash lamp and output high color temperature
The blue series flash lamp of (5500k~10000k).Wherein, colour temperature is higher, and color seems more blue, and colour temperature is lower, and color seems more
It is yellow.And white balance is then a parameter with colour temperature in turn, and it is normal its object is to return colour temperature, that is, allow a white object
The color of body seems or white.
So it can be obtained by various degree using the combination of orange and white color system flash lamp different-colour output intensity
Low color temperature, similarly, blue and white color system flash lamp different-colour output intensity combination can be obtained by it is different degrees of
High color temperature.
And in another embodiment, in order to make flash lamp export different-colour, the same flash of light can also be used
Lamp realizes the output of different-colour by way of configuring different color chips.
That is, the present invention does not make the concrete operations scheme how to be configured to the output colour temperature of flash lamp
It is specific to limit, as long as flash lamp can be made to export different colour temperatures.
In the present embodiment, colour temperature deviation normal color temperature (5500k) of flash lamp output is more serious, finally adjusts white balance
It is also more that the background color of the photo obtained afterwards deviates normal color temperature, correspondingly, the color of background color and target area is also
Deviation is more.
In the present embodiment, if user opens camera, i.e., the camera of the described mobile terminal is in the open state, just
Photographing mode can be entered, in photographing mode, user, which can choose, opens colour temperature flash lamp photographing mode, that is, in the mould of taking pictures
It may be implemented to carry out highlighted effect to target object under formula.After user opens colour temperature flash lamp photographing mode, just
Can the output colour temperature to flash lamp be configured.
In the present embodiment, by acquiring the colour temperature of environment light, and the colour temperature of the environment light according to acquisition, Lai Shixian
The output colour temperature of the flash lamp of the mobile terminal is configured, makes the output colour temperature and the colour temperature of the environment light not
Together.
And in another embodiment, when the output colour temperature of flash lamp of the mobile terminal is arranged, user can also be with
It is configured according to individual aesthetic come the output colour temperature to flash lamp, user can be according to the numerical value of above-mentioned low color temperature and high color temperature
Rule is configured flash of light light color output colour temperature, if that receive user's setting to the output colour temperature of the flash lamp
Operation is set, then sets the setting for the output colour temperature of the flash lamp and operates corresponding colour temperature, wherein likewise, still
It needs to keep the output colour temperature different from the colour temperature of environment light.Such as user wishes that the background of photo is partially more yellow, then can incite somebody to action
The output colour temperature of flash lamp is arranged higher.
Further, since in the above-described embodiments, being easy to make user by the scheme that user is directly configured output colour temperature
What kind of the specific effect for not knowing about the output colour temperature being specifically arranged is, be easy to cause the unsatisfied situation of the photo to be formed.
Therefore, in another embodiment, before the output colour temperature of flash lamp of the mobile terminal is arranged, according to this
The corresponding multiple shooting effect figures of different output colour temperatures of flash lamp can also be shown by the method for inventive embodiments;
If in this way, executing the setting operation for receiving user to the output colour temperature of the flash lamp, by the output of the flash lamp
When colour temperature is set as the step of the corresponding colour temperature of the setting operation, so that it may be accomplished by the following way: if receiving institute
User is stated to the selection operation of the multiple shooting effect figure, then sets selected bat for the output colour temperature of the flash lamp
Take the photograph the corresponding output colour temperature of effect picture.
In the prior art, the 5500k that the output colour temperature of flash lamp corresponds to white is being arranged in the present embodiment
When the colour temperature of flash lamp, orange color chips can be configured to flash lamp, so that it exports colour temperature as 4000k, also, the color of environment light
Temperature is different from 4000k.
Then, so that it may be focused and be surveyed light to reference object using mobile terminal;
Then, so that it may control the flash lamp according to the output colour temperature of 4000k to the target area of the reference object
(such as needing highlighted human face region) carries out light filling and is exposed the reference object after light filling to take pictures, and obtains
The image data of the reference object;
Wherein, in one embodiment, above-mentioned light filling and step of taking pictures can be accomplished by the following way, if receiving
For the shooting instruction (i.e. user clicks button of taking pictures) of the reference object, then the flash lamp is controlled according to the output
Colour temperature carries out light filling to the target area of the reference object;The camera is controlled to expose the reference object after light filling
Photoimaging processing obtains the image data of the reference object.
In the present embodiment, showed by the human face region of flash lighting it is orange, and not by the region of flash of light light irradiation
Solid colour of the color of (such as the body of people and the chair etc. sat) also with environment light.
Then, so that it may which the white balance parameter for adjusting described image data makes the corresponding image data in the target area
Colour temperature reach preset color temperature threshold value;
Specifically, generating image data, the graphics processor (GPU) in mobile terminal can be right after end exposure
Image data carries out post-processing, that is, the white balance parameter of image data is adjusted, so that the image data of human face region
Colour temperature return to normal color temperature (be here 5500k), 5500k can make the color of human face region return to the color of reality here,
Avoid image fault.And due to being the adjusting carried out to the white balance parameter of the image data of whole image, background area
(such as body part and chair of people) then can because of white balance parameter adjusting and partially blue effect is presented.
Likewise, can also add blue color chips to flash lamp, in light filling, blue will be presented in target area in this way, and
After adjusting white balance parameter, the color of target area can return normal script color, and background area can then present it is orange
Effect.
Finally, generating shooting image according to the image data (the i.e. first shooting image) after the adjusting white balance parameter
(the i.e. second shooting image).In this shooting image, the color in the color and background region of target area can be completely different
, the changes in temperature contrastive colours of the colour of skin and environment are different from normal photographing method positive effect in the prior art, can more protrude mesh
Mark region.
In addition, hereinbefore also referring to provide the embodiment of the shooting effect figure of different output colour temperatures, then according to choosing
For the embodiment for selecting shooting effect figure, in process only when the output colour temperature of flash lamp is arranged, come according to the style of selection
Setting, and it is subsequent adjust white balance and etc. process and the output colour temperature of flash lamp is directly set by configuring color chips scheme
Similar, details are not described herein.
Optionally, in one embodiment, since the region of flash lighting is limited, it is thus possible to certain customers can be made to think
The region to be highlighted has not been able to highlight, the situation for causing image of the user to shooting less satisfied.Therefore, in the present embodiment
In, image is being shot according to first after the adjusting white balance parameter, after generating the step of image is taken the photograph in bat second, according to this
Inventive embodiments method further include: according to user to the pressing operation of the second shooting image, determine the pressing operation
Pressing position;Identify image outline corresponding to the pressing position;If the profile of described image profile and the target area
Difference then adjusts the white balance parameter of the second shooting image, and the colour temperature of image-region reaches where making described image profile
The preset color temperature threshold value;According to the second shooting image after the adjusting white balance parameter, generates third and shoot image.
Specifically, when user is dissatisfied to the image of shooting, with can be to wishing highlighted in shooting image
Region and the region not being highlighted is clicked, then system is assured that click location, then identify the position pair
The image outline (such as human arm profile) answered, and secondary tune is carried out to the white balance parameter of the image data of entire shooting image
Section, make adjust after the shooting image in the corresponding image data of image outline colour temperature reach preset color temperature threshold value (here for
Normal color temperature 5500k).
Certainly, in another embodiment, if user is dissatisfied to shooting photo, shooting photograph can also directly be dragged
Item is arranged in the white balance of piece, to adjust the white balance of entire photo, until user sees that the photo after adjusting is satisfied with position.Cause
This, the colour temperature of prominent object is not necessarily located in 5500k in the photo after adjusting here, carries out free setting with user entirely, in this way
The more image making enjoyment of user can be given.
By means of the technical solution of the above embodiment of the present invention, the embodiment of the present invention can set the output colour temperature of flash lamp
Be set to the colour temperature different from environment light, can make in this way shooting image in by the colour temperature of the target area of flash lighting with
The colour temperature of background area is different, achievees the effect that highlight target area;And the progress of the image data by obtaining to shooting is white
The adjusting of balance parameters can make the colour temperature of target area obtain returning to normally, both realize and highlight effect to target area,
The shooting effect of target area can be made undistorted again, user experience is good.
3rd embodiment
Referring to Fig. 2, the block diagram of the mobile terminal of one embodiment of the invention is shown.The packet of mobile terminal 200 shown in Fig. 2
It includes:
Setup module 201, the output colour temperature of the flash lamp for the mobile terminal to be arranged, makes the output colour temperature and ring
The colour temperature of border light is different;
Supplementary lighting module 202, for controlling target area of the flash lamp according to the output colour temperature to the reference object
Domain carries out light filling;
Photo module 203 obtains the first shooting image for taking pictures to the reference object after light filling;
First adjustment module 204 makes the target area for adjusting the white balance parameter of the first shooting image
Colour temperature reaches preset color temperature threshold value;
First generation module 205, for generating shooting figure according to the first shooting image after the adjusting white balance parameter
Picture.
Referring to Fig. 3, on the basis of Fig. 2, the mobile terminal 200 further include:
Acquisition module 206 acquires the colour temperature of the environment light if the camera for the mobile terminal is opened;
The setup module 201, including the first setting submodule 2011, for the color according to the environment light of acquisition
Temperature is configured the output colour temperature of the flash lamp of the mobile terminal, makes the colour temperature of the output colour temperature and the environment light
It is different.
The setup module 201 further include:
Second setting submodule 2012, if being operated for receiving user to the setting of the output colour temperature of the flash lamp,
The setting then is set by the output colour temperature of the flash lamp and operates corresponding colour temperature, wherein the output colour temperature and environment
The colour temperature of light is different.
Display module 207, for opening up the corresponding multiple shooting effect figures of different output colour temperatures of flash lamp
Show;
Described second, which is arranged submodule 2012, includes:
Setting unit 20121 is selected, if for receiving the user to the selection operation of the multiple shooting effect figure,
Then the corresponding output colour temperature of selected shooting effect figure is set by the output colour temperature of the flash lamp.
Determining module 208 determines the pressing operation for the pressing operation according to user to the second shooting image
Pressing position;
Identification module 209, for identification image outline corresponding to the pressing position;
Second adjustment module 210, if different from the profile of the target area for described image profile, described in adjusting
The white balance parameter of the image data of second shooting image, the colour temperature of image-region reaches described pre- where making described image profile
If colour temperature threshold value;
Second generation module 211, for generating third shot according to the second shooting image after the adjusting white balance parameter
Take the photograph image.
What mobile terminal 200 can be realized that mobile terminal in the first and second embodiments of the method realizes dashes forward to target area
Effective fruit, the good effect of user experience, to avoid repeating, which is not described herein again.
Fourth embodiment
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 400 shown in Fig. 4 includes: at least
One processor 401, memory 402, at least one network interface 404 and user interface 403.It is each in mobile terminal 400
Component is coupled by bus system 405.It is understood that bus system 405 is logical for realizing the connection between these components
Letter.Bus system 405 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in Fig. 4 various buses are all designated as bus system 405.
Wherein, user interface 403 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 402 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 402 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 4022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 4022.
In embodiments of the present invention, by the program or instruction of calling memory 402 to store, specifically, can be application
The program or instruction stored in program 4022, processor 401 are used to be arranged the output colour temperature of the flash lamp of the mobile terminal, make
The output colour temperature is different from the colour temperature of environment light;The flash lamp is controlled according to the output colour temperature to the reference object
Target area carries out light filling;It takes pictures to the reference object after light filling, obtains the first shooting figure of the reference object
Picture;The white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach preset color temperature threshold value;According to
The first shooting image after adjusting the white balance parameter, generates the second shooting image.
The method that the embodiments of the present invention disclose can be applied in processor 401, or be realized by processor 401.
Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing
Device 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 402, and processor 401 reads the information in memory 402, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits
(ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function
In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 401 is also used to: if the camera of the mobile terminal is opened, acquiring the environment light
Colour temperature;Correspondingly, being set according to the colour temperature of the environment light of acquisition to the output colour temperature of the flash lamp of the mobile terminal
It sets, keeps the output colour temperature different from the colour temperature of the environment light.
Mobile terminal 400 can be realized the effect that highlights to target area that mobile terminal is realized in previous embodiment, use
The good effect of family experience sense, to avoid repeating, which is not described herein again.
5th embodiment
Fig. 5 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 5
500 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (RadioFrequency, RF) circuit 510, memory 520, input list
Member 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) module 580 and power supply
590。
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 531.Touch panel 531, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 531 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 531 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 560 is given again, and can be received order that processor 560 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 531.In addition to touch panel 531, input unit
530 can also include other input equipments 532, other input equipments 532 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 540 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 541.
It should be noted that touch panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device
560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage
Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 521 in software program and/or module and/
Or the data in the second memory 522, processor 560 are used to be arranged the output colour temperature of the flash lamp of the mobile terminal, make
The output colour temperature is different from the colour temperature of environment light;The flash lamp is controlled according to the output colour temperature to the reference object
Target area carries out light filling;It takes pictures to the reference object after light filling, obtains the first shooting figure of the reference object
Picture;The white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach preset color temperature threshold value;According to
The first shooting image after adjusting the white balance parameter, generates the second shooting image.
Optionally, if camera of the processor 560 for the mobile terminal is opened, the colour temperature of the environment light is acquired;
The output colour temperature of the flash lamp is set according to the colour temperature of the environment light of acquisition, makes the output colour temperature and the environment light
Colour temperature it is different.
It optionally, will if processor 560 is used to receive user and operates to the setting of the output colour temperature of the flash lamp
The output colour temperature of the flash lamp is set as the setting and operates corresponding colour temperature, wherein the output colour temperature and environment light
Colour temperature is different.
Optionally, processor 560 be used for by the corresponding multiple shooting effect figures of different output colour temperatures of flash lamp into
Row is shown;If receiving the user to the selection operation of the multiple shooting effect figure, by the output color of the flash lamp
Temperature is set as the corresponding output colour temperature of selected shooting effect figure.
Optionally, processor 560 is used for the pressing operation according to user to the second shooting image, determines the pressing
The pressing position of operation;Identify image outline corresponding to the pressing position;If described image profile and the target area
Profile it is different, then adjust the white balance parameter of the second shooting image, the color of image-region where making described image profile
Temperature reaches the preset color temperature threshold value;According to the second shooting image after the adjusting white balance parameter, third shooting figure is generated
Picture.
As it can be seen that the embodiment of the present invention can be realized that mobile terminal in previous embodiment realizes effect is highlighted to target area
Fruit, the good effect of user experience, to avoid repeating, which is not described herein again.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of photographic method, it is applied to mobile terminal, which is characterized in that the photographic method includes:
The output colour temperature of the flash lamp of the mobile terminal is set, keeps the output colour temperature different from the colour temperature of environment light;
It controls the flash lamp and carries out light filling according to target area of the output colour temperature to reference object;
It takes pictures to the reference object after light filling, obtains the first shooting image of the reference object;
The white balance parameter for adjusting the first shooting image, makes the colour temperature of the target area reach preset color temperature threshold value;
According to the first shooting image after the adjusting white balance parameter, the second shooting image is generated.
2. photographic method according to claim 1, which is characterized in that the flash lamp of the setting mobile terminal it is defeated
Out before the step of colour temperature, the photographic method further include:
If the camera of the mobile terminal is opened, the colour temperature of the environment light is acquired;
The output colour temperature of the flash lamp of the setting mobile terminal includes: to be arranged according to the colour temperature of the environment light of acquisition
The output colour temperature of the flash lamp keeps the output colour temperature different from the colour temperature of the environment light.
3. photographic method according to claim 1, which is characterized in that the flash lamp of the setting mobile terminal it is defeated
The step of colour temperature out, comprising:
If receiving user to operate the setting of the output colour temperature of the flash lamp, the output colour temperature of the flash lamp is arranged
Corresponding colour temperature is operated for the setting, wherein the output colour temperature is different from the colour temperature of environment light.
4. photographic method according to claim 3, which is characterized in that the flash lamp of the setting mobile terminal it is defeated
Out before the step of colour temperature, the photographic method further include:
The corresponding multiple shooting effect figures of different output colour temperatures of flash lamp are shown;
If the setting operation for receiving user to the output colour temperature of the flash lamp, by the output colour temperature of the flash lamp
Being set as the corresponding colour temperature of the setting operation includes:
If receiving the user to the selection operation of the multiple shooting effect figure, the output colour temperature of the flash lamp is set
It is set to the corresponding output colour temperature of selected shooting effect figure.
5. photographic method according to claim 1, which is characterized in that it is described according to adjust after the white balance parameter the
After the step of one shooting image, generation the second shooting image, the photographic method further include:
According to user to the pressing operation of the second shooting image, the pressing position of the pressing operation is determined;
Identify image outline corresponding to the pressing position;
If described image profile is different from the profile of the target area, the white balance ginseng of the second shooting image is adjusted
Number, the colour temperature of image-region reaches the preset color temperature threshold value where making described image profile;
According to the second shooting image after the adjusting white balance parameter, generates third and shoot image.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Setup module, the output colour temperature of the flash lamp for the mobile terminal to be arranged make the output colour temperature and environment light
Colour temperature is different;
Supplementary lighting module carries out light filling according to target area of the output colour temperature to reference object for controlling the flash lamp;
Photo module obtains the first shooting image for taking pictures to the reference object after light filling;
First adjustment module makes the corresponding figure in the target area for adjusting the white balance parameter of the first shooting image
As the colour temperature of data reaches preset color temperature threshold value;
First generation module, for generating the second shooting image according to the first shooting image after the adjusting white balance parameter.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Acquisition module acquires the colour temperature of the environment light if the camera for the mobile terminal is opened;
The setup module, including the first setting submodule, for the colour temperature according to the environment light of acquisition, to the movement
The output colour temperature of the flash lamp of terminal is configured, and keeps the output colour temperature different from the colour temperature of the environment light.
8. mobile terminal according to claim 6, which is characterized in that the setup module further include:
Second setting submodule will be described if operating for receiving user to the setting of the output colour temperature of the flash lamp
The output colour temperature of flash lamp is set as the setting and operates corresponding colour temperature, wherein the colour temperature of the output colour temperature and environment light
It is different.
9. mobile terminal according to claim 8, which is characterized in that the mobile terminal further include:
Display module, for being shown the corresponding multiple shooting effect figures of different output colour temperatures of flash lamp;
Described second, which is arranged submodule, includes:
Setting unit is selected, if for receiving the user to the selection operation of the multiple shooting effect figure, it will be described
The output colour temperature of flash lamp is set as the corresponding output colour temperature of selected shooting effect figure.
10. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Determining module determines the pressing of the pressing operation for the pressing operation according to user to the second shooting image
Position;
Identification module, for identification image outline corresponding to the pressing position;
Second adjustment module adjusts the second count if different from the profile of the target area for described image profile
The white balance parameter for taking the photograph the image data of image, the colour temperature of image-region reaches the preset color temperature where making described image profile
Threshold value;
Second generation module, for generating third and shooting image according to the second shooting image after the adjusting white balance parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610793527.3A CN106161906B (en) | 2016-08-31 | 2016-08-31 | A kind of photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610793527.3A CN106161906B (en) | 2016-08-31 | 2016-08-31 | A kind of photographic method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106161906A CN106161906A (en) | 2016-11-23 |
CN106161906B true CN106161906B (en) | 2019-03-01 |
Family
ID=57344532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610793527.3A Active CN106161906B (en) | 2016-08-31 | 2016-08-31 | A kind of photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161906B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7204456B2 (en) * | 2018-12-04 | 2023-01-16 | キヤノン株式会社 | Strobe device and its control method and program |
CN112734602A (en) * | 2020-12-11 | 2021-04-30 | 浙江大丰实业股份有限公司 | Scenic spot thing allies oneself with system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103354601A (en) * | 2013-07-31 | 2013-10-16 | 广东欧珀移动通信有限公司 | Method and system for improving shooting effect of flash lamp |
CN104581099A (en) * | 2014-12-04 | 2015-04-29 | 广东欧珀移动通信有限公司 | Shooting method and terminal |
WO2016009699A1 (en) * | 2014-07-16 | 2016-01-21 | 富士フイルム株式会社 | Image processing device, image capturing apparatus, image processing method, and program |
CN105744174A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Selfie method and device and mobile terminal |
-
2016
- 2016-08-31 CN CN201610793527.3A patent/CN106161906B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103354601A (en) * | 2013-07-31 | 2013-10-16 | 广东欧珀移动通信有限公司 | Method and system for improving shooting effect of flash lamp |
WO2016009699A1 (en) * | 2014-07-16 | 2016-01-21 | 富士フイルム株式会社 | Image processing device, image capturing apparatus, image processing method, and program |
CN104581099A (en) * | 2014-12-04 | 2015-04-29 | 广东欧珀移动通信有限公司 | Shooting method and terminal |
CN105744174A (en) * | 2016-02-15 | 2016-07-06 | 广东欧珀移动通信有限公司 | Selfie method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106161906A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11128802B2 (en) | Photographing method and mobile terminal | |
CN105959553B (en) | A kind of switching method and terminal of camera | |
CN105827990B (en) | A kind of automatic explosion method and mobile terminal | |
CN105872148B (en) | A kind of generation method and mobile terminal of high dynamic range images | |
CN106056533B (en) | A kind of method and terminal taken pictures | |
CN106231178B (en) | A kind of self-timer method and mobile terminal | |
CN106648382B (en) | A kind of picture browsing method and mobile terminal | |
CN106101553B (en) | A kind of photographic method and mobile terminal | |
CN105959544B (en) | A kind of image processing method and mobile terminal of mobile terminal | |
CN106657793B (en) | A kind of image processing method and mobile terminal | |
CN106658141B (en) | A kind of method for processing video frequency and mobile terminal | |
CN106993139B (en) | A kind of image pickup method and mobile terminal | |
CN106227488B (en) | A kind of display methods and mobile terminal of reminder message | |
CN107340948B (en) | A kind of video playing control method and mobile terminal | |
CN106777329B (en) | A kind of processing method and mobile terminal of image information | |
CN107037659B (en) | A kind of sheen lamp control method and mobile terminal | |
CN105959564B (en) | A kind of photographic method and mobile terminal | |
CN106952235B (en) | A kind of image processing method and mobile terminal | |
CN106506962A (en) | A kind of image processing method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106408628B (en) | A kind of image processing method and device | |
CN106791375B (en) | A kind of shooting focusing method and mobile terminal | |
CN106354373A (en) | Icon moving method and mobile terminal | |
CN106855744B (en) | A kind of screen display method and mobile terminal | |
CN106231101B (en) | A kind of display methods and mobile terminal of reminder message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |