CN109639981A - A kind of image capturing method and mobile terminal - Google Patents

A kind of image capturing method and mobile terminal Download PDF

Info

Publication number
CN109639981A
CN109639981A CN201811643194.1A CN201811643194A CN109639981A CN 109639981 A CN109639981 A CN 109639981A CN 201811643194 A CN201811643194 A CN 201811643194A CN 109639981 A CN109639981 A CN 109639981A
Authority
CN
China
Prior art keywords
image
white
area
mobile terminal
eye region
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
CN201811643194.1A
Other languages
Chinese (zh)
Other versions
CN109639981B (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 CN201811643194.1A priority Critical patent/CN109639981B/en
Publication of CN109639981A publication Critical patent/CN109639981A/en
Application granted granted Critical
Publication of CN109639981B publication Critical patent/CN109639981B/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

The present invention provides a kind of image capturing method and mobile terminals, which comprises obtains the preview image for being directed to target face;According to preview image, white of the eye region, nasal area and skin area are determined;According to the attribute of white of the eye region, nasal area and skin area, exposure adjusted value is determined;According to exposure adjusted value, shooting operation is executed to target face, it can be realized the color difference by white of the eye region, nasal area and skin area, realize the detection of the ethnic group colour of skin, different exposure adjusted values can be debugged for the different ethnic group colours of skin, to improve the shooting quality to facial image, the usage experience of user is promoted.

Description

A kind of image capturing method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of image capturing method and mobile terminal.
Background technique
With the continuous development of science and technology, existing mobile terminal also makes rapid progress in the technology for aspect of taking pictures, and not only has PaintShop automatic exposure, there are also the automatic exposure for being directed to face.
But in user's use process, it still will appear the too dark or too bright situation of the photo face taken and.Example Such as: for an especially black people, the exposure intensity of existing automatic exposure or inadequate, face exposure is still especially dark, Or for an especially white people, the exposure intensity of existing automatic exposure be then it is excessive, face can be made especially bright, it is difficult to Achieve the effect that perfect exposure.
Summary of the invention
The embodiment of the present invention provides a kind of image capturing method and mobile terminal, to solve in the prior art to image taking When automatic exposure effect difference problem.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of image capturing methods, which comprises obtain and be directed to target The preview image of face;According to the preview image, white of the eye region, nasal area and skin area are determined;According to the eye The attribute of white region, the nasal area and the skin area determines exposure adjusted value;According to the exposure adjusted value, Shooting operation is executed to the target face.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: acquisition module, For obtaining the preview image for being directed to target face;First determining module, for determining white of the eye area according to the preview image Domain, nasal area and skin area;Second determining module, for according to the white of the eye region, the nasal area and institute The attribute of skin area is stated, determines exposure adjusted value;Shooting module is used for according to the exposure adjusted value, to the target person Face executes shooting operation.
The third aspect the embodiment of the invention also provides 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 executed by the processor The step of realizing the image capturing method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, and the step of the image capturing method is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of image capturing method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of image capturing method of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
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.
Embodiment one
Referring to Fig.1, a kind of step flow chart of image capturing method of the embodiment of the present invention one is shown.
Image capturing method provided in an embodiment of the present invention the following steps are included:
Step 101: obtaining the preview image for being directed to target face.
When being taken pictures, front camera or rear camera is called to obtain the preview graph for being directed to target face Picture.
Step 102: according to preview image, determining white of the eye region, nasal area and skin area.
Resampling processing is carried out to preview image, generates target image.Resampling refers in the information according to a kind of picture dot Insert the process of another kind of picture dot information.In remote sensing, resampling is that low resolution is extracted from high-resolution remote sensing image The process of image.
In the present embodiment, it can be split processing to preview image, preview image is divided into several are specific, have The image of peculiar property obtains white of the eye region, nasal area and skin area from each image of segmentation
Step 103: according to the attribute of white of the eye region, nasal area and skin area, determining exposure adjusted value.
It, can be with according to white of the eye region, nasal area and skin area since the skin area of the people of the different colours of skin is different Detect the colour of skin, the corresponding automatic exposure value of the facial image of the different colours of skin is different, passes through white of the eye region, nasal area and skin Skin region determines exposure adjusted value.
Step 104: according to exposure adjusted value, shooting operation being executed to target face.
Target face is shot by exposing adjusted value, since exposure adjusted value is directed to the different colours of skin, exposure adjustment Value is different, then the image effect of the target face after shooting is more preferably.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of image capturing method of the embodiment of the present invention two is shown.
Image capturing method provided in an embodiment of the present invention the following steps are included:
Step 201: in record preset time period, shooting the exposure value and history facial image of history facial image every time Corresponding relationship.
It, can be with it should be noted that those skilled in the art can according to the actual situation be configured preset time period It is set as one month, two months, three months etc., the embodiment of the present invention is not specifically limited this.Also, each history face figure As a corresponding exposure value.
Step 202: being instructed based on the corresponding relationship between each history facial image and the exposure value of history facial image Practice, obtains prediction model.
Step 203: obtaining the preview image for being directed to target face.
When being taken pictures, front camera or rear camera is called to obtain the preview graph for being directed to target face Picture.
Step 204: resampling processing being carried out to preview image, generates target image.
Resampling processing is carried out to preview image, generates target image.Resampling refers in the information according to a kind of picture dot Insert the process of another kind of picture dot information.In remote sensing, resampling is that low resolution is extracted from high-resolution remote sensing image The process of image.
Step 205: target image being split processing, generates each segmented image.
Image segmentation is exactly to divide the image into several regions specific, with unique properties and propose interesting target Technology and process.It is by the committed step of image procossing to image analysis.Existing image partition method mainly divides following Several classes: the dividing method based on threshold value, the dividing method based on region, the dividing method based on edge and be based on specific theory Dividing method etc. obtain white of the eye region, nasal area and skin area from each image of segmentation.
Wherein, each segmented image split includes eye areas, nasal area, brow region, ear region, skin Region etc..
Step 206: skin area, nasal area and eye areas are determined from each segmented image.
Step 207: eye areas is partitioned into white of the eye region.
Skin area, nasal area and the eye areas in each segmented image are obtained, and the image of eye areas is led to Image segmentation is crossed, white of the eye region is partitioned into.
Step 208: each first pixel of the skin area of any selection preset quantity, the nasal area of preset quantity Each third pixel in the white of the eye region of each second pixel and preset quantity.
Such as: 5 pixels are respectively randomly selected to skin area, nasal area and white of the eye region.
Each pixel is tri- kinds of colors of RGB, forms the vector of a 15*3 altogether.
Step 209: by prediction model, each first pixel and each second pixel being handled, target person is obtained The exposure adjusted value of face.
The input of prediction model is that human face region zooms to 45 extracted in the RGB image and 2.5 sections of 64x64 size Dimension single-point feature copies to the characteristic plane of 64x64, and carries out Concat operation, obtains one 48 dimension, the input of 64x64.In advance It surveys model to handle the pixel of input, obtains the exposure tone pitch of target face.
Step 210: according to exposure adjusted value, shooting operation being executed to target face.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: to obtain module 301, for obtaining the preview for being directed to target face Image;First determining module 302, for determining white of the eye region, nasal area and skin area according to the preview image; Second determining module 303 is determined for the attribute according to the white of the eye region, the nasal area and the skin area Expose adjusted value;Shooting module 304, for executing shooting operation to the target face according to the exposure adjusted value.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: to obtain module 401, for obtaining the preview for being directed to target face Image;First determining module 402, for determining white of the eye region, nasal area and skin area according to the preview image; Second determining module 403 is determined for the attribute according to the white of the eye region, the nasal area and the skin area Expose adjusted value;Shooting module 404, for executing shooting operation to the target face according to the exposure adjusted value.
Preferably, first determining module 402 includes: the first processing submodule 4021, for the preview image Resampling processing is carried out, target image is generated;Submodule 4022 is generated, it is raw for the target image to be split processing At each segmented image;Submodule 4023 is determined, for determining skin area, nasal area and eye from each segmented image Eyeball region;Divide submodule 4024, for the eye areas to be partitioned into white of the eye region.
Preferably, the mobile terminal further include: logging modle 405 is directed to mesh for obtaining in the acquisition module 401 It before the preview image for marking face, records in preset time period, every time the exposure value of shooting history facial image and the history The corresponding relationship of facial image;Training module 406, for based on each history facial image and the history facial image Corresponding relationship between exposure value is trained, and obtains prediction model.
Preferably, second determining module 403 includes: selection submodule 4031, for any selection preset quantity Each first pixel of the skin area, each second pixel of the nasal area of preset quantity and preset quantity Each third pixel in the white of the eye region;Second processing submodule 4032, for passing through prediction model, to each first picture Vegetarian refreshments, each second pixel and each third pixel are handled, and the exposure adjustment of the target face is obtained Value.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, for obtaining the preview image for being directed to target face;According to the preview image, white of the eye area is determined Domain, nasal area and skin area;According to the attribute of the white of the eye region, the nasal area and the skin area, Determine exposure adjusted value;According to the exposure adjusted value, shooting operation is executed to the target face.
In embodiments of the present invention, the preview image of target face is directed to by obtaining;According to preview image, the white of the eye is determined Region, nasal area and skin area;According to the attribute of white of the eye region, nasal area and skin area, determine that exposure is adjusted Whole value;According to exposure adjusted value, to target face execute shooting operation, can be realized by white of the eye region, nasal area and The color difference of skin area realizes the detection of the ethnic group colour of skin, can debug different exposures for the different ethnic group colours of skin Adjusted value promotes the usage experience of user to improve the shooting quality to facial image.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is 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 provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes 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 for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where 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 a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of 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) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, 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 It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch 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, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing 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) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional 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 run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned image capturing method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image capturing method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of image capturing method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain the preview image for being directed to target face;
According to the preview image, white of the eye region, nasal area and skin area are determined;
According to the attribute of the white of the eye region, the nasal area and the skin area, exposure adjusted value is determined;
According to the exposure adjusted value, shooting operation is executed to the target face.
2. determining white of the eye region, nose the method according to claim 1, wherein described according to the preview image The step of subregion and skin area, comprising:
Resampling processing is carried out to the preview image, generates target image;
The target image is split processing, generates each segmented image;
Skin area, nasal area and eye areas are determined from each segmented image;
The eye areas is partitioned into white of the eye region.
3. the method according to claim 1, wherein in the step for obtaining the preview image for target face Before rapid, the method also includes:
It records in preset time period, shoots the exposure value of history facial image every time and the corresponding of the history facial image is closed System;
It is trained, is obtained based on the corresponding relationship between each history facial image and the exposure value of the history facial image To prediction model.
4. according to the method described in claim 3, it is characterized in that, it is described according to the white of the eye region, the nasal area with And the attribute of the skin area, determine the step of exposing adjusted value, comprising:
Each the of each first pixel of the skin area of any selection preset quantity, the nasal area of preset quantity Each third pixel in the white of the eye region of two pixels and preset quantity;
By prediction model, each first pixel, each second pixel and each third pixel are carried out Processing, obtains the exposure adjusted value of the target face.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Module is obtained, for obtaining the preview image for being directed to target face;
First determining module, for determining white of the eye region, nasal area and skin area according to the preview image;
Second determining module is determined for the attribute according to the white of the eye region, the nasal area and the skin area Expose adjusted value;
Shooting module, for executing shooting operation to the target face according to the exposure adjusted value.
6. mobile terminal according to claim 5, which is characterized in that first determining module includes:
First processing submodule generates target image for carrying out resampling processing to the preview image;
It generates submodule and generates each segmented image for the target image to be split processing;
Submodule is determined, for determining skin area, nasal area and eye areas from each segmented image;
Divide submodule, for the eye areas to be partitioned into white of the eye region.
7. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
Logging modle, for recording preset time period before the acquisition module obtains the preview image for target face It is interior, the exposure value of history facial image and the corresponding relationship of the history facial image are shot every time;
Training module, for based on the corresponding pass between each history facial image and the exposure value of the history facial image System is trained, and obtains prediction model.
8. mobile terminal according to claim 7, which is characterized in that second determining module includes:
Submodule is selected, for each first pixel of the skin area of any selection preset quantity, the institute of preset quantity State each third pixel of each second pixel of nasal area and the white of the eye region of preset quantity;
Second processing submodule, for by prediction model, to each first pixel, each second pixel and each The third pixel is handled, and the exposure adjusted value of the target face is obtained.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in Claims 1-4 The step of described in any item image capturing methods.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize image capturing method according to any one of claims 1 to 4 when being executed by processor Step.
CN201811643194.1A 2018-12-29 2018-12-29 Image shooting method and mobile terminal Active CN109639981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811643194.1A CN109639981B (en) 2018-12-29 2018-12-29 Image shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811643194.1A CN109639981B (en) 2018-12-29 2018-12-29 Image shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109639981A true CN109639981A (en) 2019-04-16
CN109639981B CN109639981B (en) 2021-12-24

Family

ID=66054826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811643194.1A Active CN109639981B (en) 2018-12-29 2018-12-29 Image shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109639981B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device
CN112843690A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Shooting method, device, equipment and storage medium
WO2022027432A1 (en) * 2020-08-06 2022-02-10 深圳市锐明技术股份有限公司 Photography method, photographic apparatus, and terminal device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060088209A1 (en) * 2004-10-21 2006-04-27 Microsoft Corporation Video image quality
CN101175157A (en) * 2006-11-02 2008-05-07 松下电器产业株式会社 Digital camera
CN103095979A (en) * 2011-11-07 2013-05-08 华晶科技股份有限公司 Image processing method and imaging capture device of face overexposure
CN103325089A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Method and device for processing skin color in image
CN107016648A (en) * 2016-01-27 2017-08-04 三星电子株式会社 Electronic equipment and its control method
CN107249105A (en) * 2017-06-16 2017-10-13 广东欧珀移动通信有限公司 Exposure compensation, device and terminal device
CN107370940A (en) * 2017-06-16 2017-11-21 广东欧珀移动通信有限公司 Image acquiring method, device and terminal device
CN107633485A (en) * 2017-08-07 2018-01-26 百度在线网络技术(北京)有限公司 Face's luminance regulating method, device, equipment and storage medium
CN107911617A (en) * 2017-12-27 2018-04-13 上海传英信息技术有限公司 Photographic method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060088209A1 (en) * 2004-10-21 2006-04-27 Microsoft Corporation Video image quality
CN101175157A (en) * 2006-11-02 2008-05-07 松下电器产业株式会社 Digital camera
CN103095979A (en) * 2011-11-07 2013-05-08 华晶科技股份有限公司 Image processing method and imaging capture device of face overexposure
CN103325089A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Method and device for processing skin color in image
CN107016648A (en) * 2016-01-27 2017-08-04 三星电子株式会社 Electronic equipment and its control method
CN107249105A (en) * 2017-06-16 2017-10-13 广东欧珀移动通信有限公司 Exposure compensation, device and terminal device
CN107370940A (en) * 2017-06-16 2017-11-21 广东欧珀移动通信有限公司 Image acquiring method, device and terminal device
CN107633485A (en) * 2017-08-07 2018-01-26 百度在线网络技术(北京)有限公司 Face's luminance regulating method, device, equipment and storage medium
CN107911617A (en) * 2017-12-27 2018-04-13 上海传英信息技术有限公司 Photographic method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device
CN110443769B (en) * 2019-08-08 2022-02-08 Oppo广东移动通信有限公司 Image processing method, image processing device and terminal equipment
WO2022027432A1 (en) * 2020-08-06 2022-02-10 深圳市锐明技术股份有限公司 Photography method, photographic apparatus, and terminal device
CN112843690A (en) * 2020-12-31 2021-05-28 上海米哈游天命科技有限公司 Shooting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109639981B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN107770438B (en) A kind of photographic method and mobile terminal
CN108712603B (en) Image processing method and mobile terminal
CN108989678A (en) A kind of image processing method, mobile terminal
CN109451349A (en) A kind of video broadcasting method, device and mobile terminal
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN107786811B (en) A kind of photographic method and mobile terminal
CN109544486A (en) A kind of image processing method and terminal device
CN109461124A (en) A kind of image processing method and terminal device
CN109218626A (en) A kind of photographic method and terminal
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN109474787A (en) A kind of photographic method, terminal device and storage medium
CN110213485A (en) A kind of image processing method and terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN108848309A (en) A kind of camera programm starting method and mobile terminal
CN109167914A (en) A kind of image processing method and mobile terminal
CN109639981A (en) A kind of image capturing method and mobile terminal
CN109448069A (en) A kind of template generation method and mobile terminal
CN109525837A (en) The generation method and mobile terminal of image
CN109819166A (en) A kind of image processing method and electronic equipment
CN109033913A (en) A kind of recognition methods of identification code and mobile terminal
CN108616687A (en) A kind of photographic method, device and mobile terminal
CN109005337A (en) A kind of photographic method and terminal
CN108305342A (en) A kind of Work attendance method and mobile terminal

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