CN107995418A - A kind of image pickup method, device and mobile terminal - Google Patents

A kind of image pickup method, device and mobile terminal Download PDF

Info

Publication number
CN107995418A
CN107995418A CN201711165913.9A CN201711165913A CN107995418A CN 107995418 A CN107995418 A CN 107995418A CN 201711165913 A CN201711165913 A CN 201711165913A CN 107995418 A CN107995418 A CN 107995418A
Authority
CN
China
Prior art keywords
human face
face region
background area
model
dimming model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711165913.9A
Other languages
Chinese (zh)
Other versions
CN107995418B (en
Inventor
刘鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711165913.9A priority Critical patent/CN107995418B/en
Publication of CN107995418A publication Critical patent/CN107995418A/en
Application granted granted Critical
Publication of CN107995418B publication Critical patent/CN107995418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Abstract

The present invention provides a kind of image pickup method, device and mobile terminal, wherein, the described method includes:When receiving shooting sign on, analyzed by the background area in the realtime graphic frame to acquisition and human face region, determine optimal dimming model;It is adjusted using brightness of the optimal dimming model to the human face region in the realtime graphic frame and colour temperature;When receiving shooting END instruction, the image collection that human face region is adjusted is preserved, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached enhancing picture stereovision and the beneficial effect of shooting effect.

Description

A kind of image pickup method, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of image pickup method, device and mobile terminal.
Background technology
With the popularization of mobile terminal, user not only can shoot static images by mobile terminal, can also shoot and regard Frequently the picture set that dynamic picture etc. is made of multiframe continuous picture, is made.
In practical applications, when carrying out shooting multiframe continuous picture using mobile terminal, start to shoot receiving user Instruction when, picture is directly gathered by camera, it is more by what is obtained until receive user and send END instruction to the shooting Frame picture is as shooting result.As can be seen that the multiframe continuous picture picture of shooting is handled not over any polishing, picture frame layer Secondary sense is weaker, shooting effect is poor, so as to reduce the experience of taking pictures of user.
The content of the invention
Image pickup method, device and mobile terminal provided in an embodiment of the present invention, can solve to shoot video picture in first technology The problem of face stereovision is weaker, shooting effect is poor.
On the one hand, the embodiment of the invention discloses a kind of image pickup method, applied to mobile terminal, including:
When receiving shooting sign on, by the background area in the realtime graphic frame to acquisition and human face region into Row analysis, determines optimal dimming model;
It is adjusted using brightness of the optimal dimming model to the human face region in the realtime graphic frame and colour temperature;
When receiving shooting END instruction, the image collection that human face region is adjusted is preserved, obtains shooting figure image set.
On the other hand, the embodiment of the invention also discloses a kind of filming apparatus, including:
Dimming model determining module, for when receive shooting sign on when, by the realtime graphic frame to acquisition Background area and human face region analyzed, determine optimal dimming model;
Brightness adjusting section, for using the optimal dimming model to the bright of the human face region in the realtime graphic frame Degree and colour temperature are adjusted;
Shooting image preserving module, for when receiving shooting END instruction, preserving the figure that human face region is adjusted Image set closes, and obtains shooting figure image set.
Another further aspect, the embodiment of the invention also discloses a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor The step of realizing as above any one of them image pickup method.
Last aspect, it is described computer-readable the embodiment of the invention also discloses a kind of computer-readable recording medium Computer program is stored with storage medium, realizes that as above any one of them is clapped when the computer program is executed by processor The step of taking the photograph method.
In embodiments of the present invention, when receiving shooting sign on, the back of the body in the realtime graphic frame to acquisition is passed through Scene area and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted;When receiving shooting END instruction, human face region is preserved through toning Whole image collection, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached increasing The beneficial effect of strong picture stereovision and shooting effect.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
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, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows a kind of step flow chart of image pickup method in the embodiment of the present invention one;
Figure 1A shows the polishing effect diagram in the embodiment of the present invention;
Figure 1B shows the polishing effect diagram in the embodiment of the present invention;
Fig. 1 C show the polishing effect diagram in the embodiment of the present invention;
Fig. 1 D show the polishing effect diagram in the embodiment of the present invention;
Fig. 2 shows a kind of step flow chart of image pickup method in the embodiment of the present invention two;
Fig. 3 shows a kind of structure diagram of filming apparatus in the embodiment of the present invention three;
Fig. 4 shows a kind of structure diagram of filming apparatus in the embodiment of the present invention four;
Fig. 5 shows a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
A kind of image pickup method, device and shifting provided by the invention is discussed in detail below by several specific embodiments are enumerated Dynamic terminal.
Embodiment one
With reference to Fig. 1, show a kind of step flow chart of image pickup method of the embodiment of the present invention one, can specifically include such as Lower step:
Step 101, when receiving shooting sign on, the background area in the realtime graphic frame to acquisition and people are passed through Face region is analyzed, and determines optimal dimming model.
The embodiment of the present invention is suitable for having shooting picture, video, the mobile terminal of dynamic picture.Wherein, mobile terminal Including but not limited to mobile phone, tablet computer.
The embodiment of the present invention can be analyzed from each picture frame captured in real time, and be dimmed, so as to ensure every frame Image reaches best shooting effect and stereovision.It is appreciated that the embodiment of the present invention is equally applicable to shoot individual figure Picture.
Specifically, for a two field picture, first, the human face region in image and background area are identified;Then, difference is passed through The characteristics of background area and human face region, is analyzed, from default dimming model, obtains optimal dimming model.
Wherein, to the identification of human face region and background area, human face region can first be identified by face recognition technology, Or human face region is selected by shooting user, so that other regions are as background area.
The characteristics of background area and human face region, includes but not limited to:The color of background area, the skin shape of human face region Age that state, the colour of skin and analysis obtain, gender etc..The embodiment of the present invention can pass through different colors, the colour of skin and year Age, gender get optimal dimming model.
Default dimming model includes but not limited to:Rembrandt's light model, butterfly light model, shadow-free light model, multiple light courcess Model, width light model, demifacet light model, backlight model.It is as shown in Figure 1A the effect by Rembrandt's light from side polishing, It is the effect that polishing is carried out by butterfly lighting as shown in Figure 1B, Fig. 1 C and 1D are by the image after polishing.Therefrom can be with Find out, the picture stereovision respectively shot afterwards by polishing is stronger, shooting effect is more preferable.
Step 102, using brightness of the optimal dimming model to the human face region in the realtime graphic frame and colour temperature It is adjusted.
The embodiment of the present invention so as to strengthen the stereovision of human face region and shoot by the independent polishing of human face region, imitating Fruit.
Specifically, by the brightness of each pixel of human face region and colour temperature, it is adjusted according to designated model.
Wherein, the brightness of each pixel shows the light levels of image, and the embodiment of the present invention can be different by adjusting The brightness of position pixel so that preferable visual effect is presented in image.For example, as shown in Figure 1A, from right side polishing, by left side of the face The brightness in portion is turned down, so as to improve visual effect.In another example as shown in Figure 1B, by the brightness around underthe nose, eyes, neck The brightness of son is turned down, and the brightness in face front, forehead and chin is heightened, so as to improve visual effect.
Colour temperature is a measurement unit for representing to include color component in light.Theoretically, colour temperature refers to definitely black The color that body is presented after being heated since absolute zero (- 273 DEG C).Black matrix by blacking is gradually red after heated, then Switch to yellow, rear is white, eventually becomes blueness.When being heated to certain temperature, the spectral component contained by light that black matrix is sent is just Colour temperature referred to as at a temperature of this, measurement unit are " K " (Kelvin).If under the light that a certain light source is sent, with a certain temperature The spectral component contained by light that black matrix is sent is identical, that is, is known as certain K colour temperature, and definitely black as 100W light bulbs send the color of light Color of the body in 2527K is identical, then the colour temperature for the light that this light bulb is sent is 527K+273K=2800K.The present invention is implemented Example can be by adjusting colour temperature so that preferable visual effect is presented in image.For example, warm light meeting is used in some scenarios So that image shows a kind of warm, comfortable effect, and can be rendered using cold light in some scenarios a kind of dreary, miserable Effect.
Step 103, when receiving shooting END instruction, the image collection that human face region is adjusted is preserved, is clapped Take the photograph image set.
In embodiments of the present invention, image collection of the human face region Jing Guo polishing will be passed through as shooting figure image set, so that The video of shooting, dynamic image etc. show relatively good shooting effect, improve the shooting enthusiasm of user.
In embodiments of the present invention, when receiving shooting sign on, the back of the body in the realtime graphic frame to acquisition is passed through Scene area and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted;When receiving shooting END instruction, human face region is preserved through toning Whole image collection, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached increasing The beneficial effect of strong picture stereovision and shooting effect.
Embodiment two
With reference to Fig. 2, show a kind of step flow chart of image pickup method of the embodiment of the present invention two, can specifically include such as Lower step:
Step 201, real-time image acquisition frame, and determine the human face region in described image frame and background area.
The embodiment of the present invention can carry out brightness processed to each picture frame using different dimming models.
Specifically, first, human face region is determined;Then, using other regions beyond human face region as background area.Its In, human face region can specify to obtain by recognition of face and/or user.
During actual photographed, user can be by click or other operation desired target areas, so that mobile terminal Specially treated can be carried out according to the target area that user specifies.In embodiments of the present invention, mobile terminal can be according to user The human face region specified carries out polishing processing.
Alternatively, in another embodiment of the invention, step 201 includes sub-step 2011 to 2012:
Sub-step 2011, carries out recognition of face to described image frame, obtains human face region.
In practical applications, can be by being detected to human face characteristic point, so that it is determined that human face region.Wherein, face Characteristic point includes but not limited to face and face mask point.
Sub-step 2012, according to the human face region, determines background area.
Specifically, using the region outside human face region as background area.
Alternatively, in another embodiment of the invention, step 201 includes sub-step 2013 to 2014:
Sub-step 2013, receives human face region of the user in described image frame and determines to operate, obtain human face region.
In practical applications, when user have selected at one in a two field picture, the point can be based on to peripheral region Diffusion, so that it is determined that human face region;, can be by the region directly as human face region when user have selected a region.
Sub-step 2014, according to the human face region, determines background area.
The step is referred to the detailed description of sub-step 2012, and details are not described herein.
Step 202, the objective attribute target attribute of the background area and human face region is determined respectively.
Wherein, objective attribute target attribute includes but not limited to color, light source direction and the facial orientation of background area, face skin Color etc..So as to determine optimal polishing model according to these objective attribute target attributes.
Step 203, according to the background area and the objective attribute target attribute of human face region, from the optimal dimming model list of preservation In determine optimal dimming model.
Specifically, the corresponding objective attribute target attribute of each dimming model can be predefined by testing, then, according to current shooting The objective attribute target attribute of scene determines dimming model.
For example, for butterfly lighting dimming model, the objective attribute target attribute of corresponding face is just facing to so as to monitor people When being oriented front of face, can select butterfly lighting dimming model.
Step 204, using brightness of the optimal dimming model to the human face region in the realtime graphic frame and colour temperature It is adjusted.
The step is referred to the detailed description of step 102, and details are not described herein.
Step 205, the dimming model for using user to be selected for realtime graphic frame, to the face area in the realtime graphic frame The brightness in domain and colour temperature are adjusted.
The embodiment of the present invention provides user and changes optimal dimming model according to hobby.Specifically, carry out it is with an automatic light meter it Afterwards, each dimming model of interface display is being shot, after user clicks on a wherein dimming model, using the dimming model to face Region is handled.
Step 206, determine the objective attribute target attribute of background area in the realtime graphic frame, and by the objective attribute target attribute with it is described Dimming model, which corresponds to, to be preserved to optimal dimming model list.
In embodiments of the present invention, the shooting can be used as the dimming model that a photographed scene selects by recording user The optimal dimming model of scene, so that when shooting similar photographed scene next time, automatically using the optimal dimming model to face Region is handled.
Step 207, when receiving shooting END instruction, the image collection that human face region is adjusted is preserved, is clapped Take the photograph image set.
The step is referred to the detailed description of step 103, and details are not described herein.
In embodiments of the present invention, when receiving shooting sign on, the back of the body in the realtime graphic frame to acquisition is passed through Scene area and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted;When receiving shooting END instruction, human face region is preserved through toning Whole image collection, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached increasing The beneficial effect of strong picture stereovision and shooting effect.Further, it is also possible to by safety inspection or by charging port ground connection pair Charging port carries out safeguard protection.
Embodiment three
Reference Fig. 3, shows a kind of structure diagram of filming apparatus of the embodiment of the present invention three.
The filming apparatus 300 includes:Dimming model determining module 301, brightness adjusting section 302, shooting image preserve Module 303.
Be discussed in detail separately below each module function and each module between interactive relation.
Dimming model determining module 301, for when receiving shooting sign on, passing through the realtime graphic frame to acquisition In background area and human face region analyzed, determine optimal dimming model;
Brightness adjusting section 302, for using the optimal dimming model to the human face region in the realtime graphic frame Brightness and colour temperature be adjusted;
Shooting image preserving module 303, for when receiving shooting END instruction, preserving what human face region was adjusted Image collection, obtains shooting figure image set.
In embodiments of the present invention, when receiving shooting sign on, the back of the body in the realtime graphic frame to acquisition is passed through Scene area and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted;When receiving shooting END instruction, human face region is preserved through toning Whole image collection, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached increasing The beneficial effect of strong picture stereovision and shooting effect.
Embodiment three is one corresponding device embodiment of embodiment of the method, and detailed description is referred to embodiment one, herein Repeat no more.
Example IV
Reference Fig. 4, shows a kind of structure diagram of filming apparatus of the embodiment of the present invention four.
The filming apparatus 400 includes:Dimming model determining module 401, brightness adjusting section 402, user adjust module 403rd, user model preserving module 404, shooting image preserving module 405.
Be discussed in detail separately below each module function and each module between interactive relation.
Dimming model determining module 401, for when receiving shooting sign on, passing through the realtime graphic frame to acquisition In background area and human face region analyzed, determine optimal dimming model;Alternatively, in embodiments of the present invention, it is above-mentioned Dimming model determining module 401, including:
Region determination sub-module 4011, for real-time image acquisition frame, and determine the human face region in described image frame and Background area.
Objective attribute target attribute determination sub-module 4012, for determining the objective attribute target attribute of the background area and human face region respectively.
Dimming model determination sub-module 4013, for the objective attribute target attribute according to the background area and human face region, determines Optimal dimming model.
Alternatively, in another embodiment of the invention, above-mentioned zone determination sub-module 4011, including:
Human face region determination unit, for carrying out recognition of face to described image frame, obtains human face region.
Background area determination unit, for according to the human face region, determining background area.
Brightness adjusting section 402, for using the optimal dimming model to the human face region in the realtime graphic frame Brightness and colour temperature be adjusted.
User adjusts module 403, for the dimming model for using user to be selected for realtime graphic frame, to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted.
User model preserving module 404, for determining the objective attribute target attribute of background area in the realtime graphic frame, and by institute Objective attribute target attribute preservation corresponding with the dimming model is stated to optimal dimming model list.
Shooting image preserving module 405, for when receiving shooting END instruction, preserving what human face region was adjusted Image collection, obtains shooting figure image set.
In embodiments of the present invention, when receiving shooting sign on, the back of the body in the realtime graphic frame to acquisition is passed through Scene area and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model to the realtime graphic The brightness of human face region in frame and colour temperature are adjusted;When receiving shooting END instruction, human face region is preserved through toning Whole image collection, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reached increasing The beneficial effect of strong picture stereovision and shooting effect.Further, it is also possible to by safety inspection or by charging port ground connection pair Charging port carries out safeguard protection.
Example IV is two corresponding device embodiment of embodiment of the method, and detailed description is referred to embodiment two, herein Repeat no more.
Embodiment five
Fig. 5 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 500 Including but not limited to:It is radio frequency unit 501, mixed-media network modules mixed-media 502, audio output unit 503, input unit 504, sensor 505, aobvious Show the components such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or fewer components, either combine some components or different components arrangement.In the present invention In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Processor 510, for when receiving shooting sign on, passing through the background area in the realtime graphic frame to acquisition Domain and human face region are analyzed, and determine optimal dimming model;Using the optimal dimming model in the realtime graphic frame Human face region brightness and colour temperature be adjusted;When receiving shooting END instruction, preserve what human face region was adjusted Image collection, obtains shooting figure image set.
As it can be seen that in embodiments of the present invention, when receiving shooting sign on, by the realtime graphic frame to acquisition Background area and human face region analyzed, determine optimal dimming model;Using the optimal dimming model to described real-time The brightness of human face region in picture frame and colour temperature are adjusted;When receiving shooting END instruction, human face region warp is preserved The image collection of adjustment is crossed, obtains shooting figure image set.Solve the problems, such as that picture stereovision is weaker, shooting effect is poor, reach The beneficial effect of enhancing picture stereovision and shooting effect.
It should be understood that in the embodiment of the present invention, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 510;In addition, by uplink Data sending is to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 502 and has accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be receiving by radio frequency unit 501 or mixed-media network modules mixed-media 502 or in memory 509 It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 503 can also be provided and moved The relevant audio output of specific function that dynamic terminal 500 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is used to receive audio or video signal.Input unit 504 can include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 506.Picture frame after the processing of graphics processor 5041 can be deposited Storage is transmitted in memory 509 (or other storage mediums) or via radio frequency unit 501 or mixed-media network modules mixed-media 502.Mike Wind 5042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 506 is used for the information for showing by information input by user or being supplied to user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 5061.
User input unit 507 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 507 include contact panel 5071 and Other input equipments 5072.Contact panel 5071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 5071 or in contact panel 5071 Neighbouring operation).Contact panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area Manage the order that device 510 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 5071.Except contact panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 5071 can be covered on display panel 5061, when contact panel 5071 is detected at it On or near touch operation after, send to processor 510 with determine touch event type, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, contact panel 5071 and display Panel 5061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by contact panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connected with mobile terminal 500.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 500 can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storage software program and various data.Memory 509 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 509 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) to all parts power supply, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509, is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are performed by processor 510 Each process of the above-mentioned image pickup method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, belongs within the protection of the present invention.

Claims (11)

  1. A kind of 1. image pickup method, applied to mobile terminal, it is characterised in that the described method includes:
    When receiving shooting sign on, divided by the background area in the realtime graphic frame to acquisition and human face region Analysis, determines optimal dimming model;
    It is adjusted using brightness of the optimal dimming model to the human face region in the realtime graphic frame and colour temperature;
    When receiving shooting END instruction, the image collection that human face region is adjusted is preserved, obtains shooting figure image set.
  2. 2. according to the method described in claim 1, it is characterized in that, background area in the realtime graphic frame by acquisition The step of domain and human face region are analyzed, determine optimal dimming model, including:
    Real-time image acquisition frame, and determine the human face region in described image frame and background area;
    The objective attribute target attribute of the background area and human face region is determined respectively;
    According to the background area and the objective attribute target attribute of human face region, optimal dimming model is determined.
  3. 3. according to the method described in claim 2, it is characterized in that, human face region and background in the definite described image frame The step of region, including:
    Recognition of face is carried out to described image frame, obtains human face region;
    According to the human face region, background area is determined.
  4. 4. according to the method described in claim 2, it is characterized in that, the optimal dimming model is used to described real-time described After the step of brightness of human face region in picture frame and colour temperature are adjusted, further include:
    The dimming model selected according to user, brightness and colour temperature to the human face region in the realtime graphic frame are adjusted It is whole;
    Determine the objective attribute target attribute of background area in the realtime graphic frame, and the objective attribute target attribute is corresponding with the dimming model Preserve to optimal dimming model list.
  5. It is 5. according to the method described in claim 4, it is characterized in that, described according to the background area and the target of human face region Attribute, the step of determining optimal dimming model, including:
    According to the background area and the objective attribute target attribute of human face region, optimal tune is determined from the optimal dimming model list of preservation Light model.
  6. A kind of 6. filming apparatus, it is characterised in that including:
    Dimming model determining module, for when receiving shooting sign on, passing through the back of the body in the realtime graphic frame to acquisition Scene area and human face region are analyzed, and determine optimal dimming model;
    Brightness adjusting section, for using brightness of the optimal dimming model to the human face region in the realtime graphic frame and Colour temperature is adjusted;
    Shooting image preserving module, for when receiving shooting END instruction, preserving the image set that human face region is adjusted Close, obtain shooting figure image set.
  7. 7. device according to claim 6, it is characterised in that the dimming model determining module, including:
    Region determination sub-module, for real-time image acquisition frame, and determines the human face region in described image frame and background area;
    Objective attribute target attribute determination sub-module, for determining the objective attribute target attribute of the background area and human face region respectively;
    Dimming model determination sub-module, for the objective attribute target attribute according to the background area and human face region, determines optimal light modulation Model.
  8. 8. device according to claim 7, it is characterised in that the region determination sub-module, including:
    Human face region determination unit, for carrying out recognition of face to described image frame, obtains human face region;
    Background area determination unit, for according to the human face region, determining background area.
  9. 9. device according to claim 6, it is characterised in that further include:
    User adjusts module, for the dimming model using user's selection, to the bright of the human face region in the realtime graphic frame Degree and colour temperature are adjusted;
    User model preserving module, for determining the objective attribute target attribute of background area in the realtime graphic frame, and by the target Attribute is corresponding with the dimming model to be preserved to optimal dimming model list.
  10. 10. device according to claim 9, it is characterised in that the dimming model determination sub-module, including:
    Dimming model determination unit, for the objective attribute target attribute according to the background area and human face region, from the optimal tune of preservation Optimal dimming model is determined in light model list.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is performed by the processor The step of any one of them image pickup method.
CN201711165913.9A 2017-11-21 2017-11-21 Shooting method and device and mobile terminal Active CN107995418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711165913.9A CN107995418B (en) 2017-11-21 2017-11-21 Shooting method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711165913.9A CN107995418B (en) 2017-11-21 2017-11-21 Shooting method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107995418A true CN107995418A (en) 2018-05-04
CN107995418B CN107995418B (en) 2020-07-21

Family

ID=62031915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711165913.9A Active CN107995418B (en) 2017-11-21 2017-11-21 Shooting method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107995418B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810406A (en) * 2018-05-23 2018-11-13 Oppo广东移动通信有限公司 Portrait light efficiency processing method, device, terminal and computer readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448085A (en) * 2008-12-26 2009-06-03 北京中星微电子有限公司 Videography processing method and system supporting face detection
CN101794385A (en) * 2010-03-23 2010-08-04 上海交通大学 Multi-angle multi-target fast human face tracking method used in video sequence
CN102013006A (en) * 2009-09-07 2011-04-13 泉州市铁通电子设备有限公司 Method for automatically detecting and identifying face on the basis of backlight environment
WO2013064891A1 (en) * 2011-11-01 2013-05-10 Canon Kabushiki Kaisha Method and system for luminance adjustment of images in an image sequence
CN103123725A (en) * 2011-11-18 2013-05-29 鸿富锦精密工业(深圳)有限公司 Image analyzing device and analyzing method
CN105245786A (en) * 2015-09-09 2016-01-13 厦门美图之家科技有限公司 Self-timer method based on intelligent light measurement, self-timer system and photographing terminal
CN105516613A (en) * 2015-12-07 2016-04-20 凌云光技术集团有限责任公司 Intelligent exposure method and system based on face recognition
JP2016132407A (en) * 2015-01-21 2016-07-25 スタンレー電気株式会社 Lamp fitting for vehicle
CN106331510A (en) * 2016-10-31 2017-01-11 维沃移动通信有限公司 Backlight photographing method and mobile terminal
CN106878695A (en) * 2017-02-13 2017-06-20 广东欧珀移动通信有限公司 Method, device and computer equipment that white balance is processed
US20170213100A1 (en) * 2016-01-22 2017-07-27 Samsung Electronics Co., Ltd. Apparatus and method for detecting foreground in image
US20170243396A1 (en) * 2016-02-19 2017-08-24 Samsung Electronics Co., Ltd Method for processing image and electronic device thereof
CN107277356A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 The human face region treating method and apparatus of backlight scene
CN107846554A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of image processing method, terminal and computer-readable recording medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448085A (en) * 2008-12-26 2009-06-03 北京中星微电子有限公司 Videography processing method and system supporting face detection
CN102013006A (en) * 2009-09-07 2011-04-13 泉州市铁通电子设备有限公司 Method for automatically detecting and identifying face on the basis of backlight environment
CN101794385A (en) * 2010-03-23 2010-08-04 上海交通大学 Multi-angle multi-target fast human face tracking method used in video sequence
WO2013064891A1 (en) * 2011-11-01 2013-05-10 Canon Kabushiki Kaisha Method and system for luminance adjustment of images in an image sequence
CN103123725A (en) * 2011-11-18 2013-05-29 鸿富锦精密工业(深圳)有限公司 Image analyzing device and analyzing method
JP2016132407A (en) * 2015-01-21 2016-07-25 スタンレー電気株式会社 Lamp fitting for vehicle
CN105245786A (en) * 2015-09-09 2016-01-13 厦门美图之家科技有限公司 Self-timer method based on intelligent light measurement, self-timer system and photographing terminal
CN105516613A (en) * 2015-12-07 2016-04-20 凌云光技术集团有限责任公司 Intelligent exposure method and system based on face recognition
US20170213100A1 (en) * 2016-01-22 2017-07-27 Samsung Electronics Co., Ltd. Apparatus and method for detecting foreground in image
US20170243396A1 (en) * 2016-02-19 2017-08-24 Samsung Electronics Co., Ltd Method for processing image and electronic device thereof
CN106331510A (en) * 2016-10-31 2017-01-11 维沃移动通信有限公司 Backlight photographing method and mobile terminal
CN106878695A (en) * 2017-02-13 2017-06-20 广东欧珀移动通信有限公司 Method, device and computer equipment that white balance is processed
CN107277356A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 The human face region treating method and apparatus of backlight scene
CN107846554A (en) * 2017-10-31 2018-03-27 努比亚技术有限公司 A kind of image processing method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810406A (en) * 2018-05-23 2018-11-13 Oppo广东移动通信有限公司 Portrait light efficiency processing method, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN107995418B (en) 2020-07-21

Similar Documents

Publication Publication Date Title
CN107809599A (en) A kind of light compensation method and device and mobile terminal
CN107093418A (en) A kind of screen display method, computer equipment and storage medium
CN109361867B (en) Filter processing method and mobile terminal
CN107665697A (en) The adjusting method and mobile terminal of a kind of screen intensity
CN107835367A (en) A kind of image processing method, device and mobile terminal
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN108111754A (en) A kind of method and mobile terminal of definite image acquisition modality
CN107817939A (en) A kind of image processing method and mobile terminal
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN108037845A (en) Display control method, mobile terminal and computer-readable recording medium
CN107895352A (en) A kind of image processing method and mobile terminal
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN107786811B (en) A kind of photographic method and mobile terminal
CN107635110A (en) A kind of video interception method and terminal
CN108664203A (en) Control method, equipment and the computer storage media of wearable device
CN107948516A (en) A kind of image processing method, device and mobile terminal
CN107831891A (en) A kind of brightness adjusting method and mobile terminal
CN108924412A (en) A kind of image pickup method and terminal device
CN108804184A (en) A kind of display control method and terminal device
CN108198127A (en) A kind of image processing method, device and mobile terminal
CN108848309A (en) A kind of camera programm starting method and mobile terminal
CN109688253A (en) A kind of image pickup method and terminal
CN108008991A (en) A kind of image processing method, terminal and computer-readable recording medium
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN108307105A (en) A kind of image pickup method, terminal and computer readable storage medium

Legal Events

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