CN106357978A - Image outputting method and device as well as terminal - Google Patents

Image outputting method and device as well as terminal Download PDF

Info

Publication number
CN106357978A
CN106357978A CN201610802926.1A CN201610802926A CN106357978A CN 106357978 A CN106357978 A CN 106357978A CN 201610802926 A CN201610802926 A CN 201610802926A CN 106357978 A CN106357978 A CN 106357978A
Authority
CN
China
Prior art keywords
image
collection
luminance difference
collection image
pixel
Prior art date
Application number
CN201610802926.1A
Other languages
Chinese (zh)
Other versions
CN106357978B (en
Inventor
李小朋
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201610802926.1A priority Critical patent/CN106357978B/en
Publication of CN106357978A publication Critical patent/CN106357978A/en
Application granted granted Critical
Publication of CN106357978B publication Critical patent/CN106357978B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/232Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor
    • H04N5/23218Control of camera operation based on recognized objects
    • H04N5/23219Control of camera operation based on recognized objects where the recognized objects include parts of the human body, e.g. human faces, facial parts or facial expressions

Abstract

An embodiment of the invention discloses an image outputting method and device as well as a terminal. The image outputting method comprises the steps as follows: whether images acquired by the terminal contain a face image is detected; if the images contain the face image, the brightness difference between pixels in the face image is acquired according to a preset pixel interval; the acquired image is output when the brightness difference between the pixels in the acquired face image meets preset image output conditions. With implementation of the embodiment, the quality of shot images output by the terminal can be improved.

Description

Image output method, device and terminal

Technical field

The present invention relates to electronic technology field, more particularly, to a kind of image output method, device and terminal.

Background technology

With the continuous development of terminal technology and image processing techniquess, the camera function in terminal such as mobile phone is using more next More frequent, the use such as autodyned is more and more, brings convenience to user record life.In actual photographed, due to by preposition Photographic head is not usually focused when autodyning, and will take one and be clearly accomplished by mobile phone from taking pictures being in steady statue, such as Fruit mobile phone somewhat rocks, then may lead to take pictures obscures so that auto heterodyne picture quality is poor.

Content of the invention

Embodiments provide a kind of image output method, device and terminal, the shooting of terminal output can be lifted The quality of image.

In a first aspect, the embodiment of the invention discloses a kind of image output method, comprising:

Whether facial image is included in the collection image of detection terminal;

If including facial image, obtaining the brightness between the pixel in described facial image according to default pixel separation Difference;

When luminance difference between the pixel in the described facial image obtaining meets default image output condition, output Described collection image.

Second aspect, the embodiment of the invention also discloses a kind of image output device, comprising:

Whether image detection module, include facial image in the collection image of detection terminal;

Acquisition module, for described image detection module detect described collection image include facial image when, press Obtain the luminance difference between the pixel in described facial image according to default pixel separation;

Image output module, for the luminance difference between the pixel in the described facial image that described acquisition module obtains When meeting default image output condition, export described collection image.

The third aspect, the embodiment of the invention also discloses a kind of terminal, including output device, memorizer and processor, institute State processor to be connected with described output device and described memorizer respectively;Wherein,

Described memorizer is used for storing application program;

Described processor is used for calling the application program of storage in described memorizer to execute:

Whether facial image is included in the collection image of detection terminal;

If including facial image, obtaining the brightness between the pixel in described facial image according to default pixel separation Difference;

When luminance difference between the pixel in the described facial image obtaining meets default image output condition, pass through Described output device exports described collection image.

Using the embodiment of the present invention, have the advantages that

In embodiments of the present invention, whether include facial image in the collection image that detection terminal can be passed through, and detect During including facial image, obtain the luminance difference between the pixel in this facial image according to default pixel separation, thus can be When in the facial image obtaining, the luminance difference of pixel meets default image output condition, using this collection image as shooting image Output, thus improves the quality of the shooting image of terminal output.

Brief description

For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.

Fig. 1 is a kind of schematic flow sheet of image output method provided in an embodiment of the present invention;

Fig. 2 is the schematic flow sheet of another kind image output method provided in an embodiment of the present invention;

Fig. 3 is the schematic flow sheet of another image output method provided in an embodiment of the present invention;

Fig. 4 is a kind of structural representation of image output device provided in an embodiment of the present invention;

Fig. 5 is the structural representation of another kind image output device provided in an embodiment of the present invention;

Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.

Specific embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.

Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " etc. are For distinguishing different objects, not for description particular order.Additionally, term " inclusion " and their any deformation it is intended that In non-exclusive the comprising of covering.For example contain series of steps or process, method, system, product or the equipment of module do not have It is defined in the step listed or module, but alternatively also includes step or the module do not listed, or alternatively also include For these processes, method, product or the intrinsic other steps of equipment or module.

Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.Each position in the description occur this phrase might not each mean identical Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.

It should be understood that the technical scheme of the embodiment of the present invention can be applied particularly to mobile phone (as android mobile phone, ios mobile phone Deng), panel computer, mobile internet device (mobile internet devices, referred to as " mid "), personal digital assistant (personal digital assistant, referred to as " pda "), video camera, photographing unit etc. have the terminal of shoot function (terminal) in.This terminal is also referred to as user equipment (user equipment, referred to as " ue "), mobile terminal, wireless Terminal or mobile station (mobile station, referred to as " ms ") etc., the embodiment of the present invention does not limit.

The embodiment of the invention discloses a kind of image output method, device and terminal, the shooting of terminal output can be lifted The quality of image.Describe in detail individually below.

Refer to Fig. 1, Fig. 1 is a kind of schematic flow sheet of image output method provided in an embodiment of the present invention.Specifically, The methods described of the embodiment of the present invention can be applied particularly in above-mentioned terminal.As shown in figure 1, the described figure of the embodiment of the present invention As output intent may comprise steps of:

101st, whether include facial image in the collection image of detection terminal.

In specific embodiment, when shooting character image, typically can gather portrait area by preset algorithm, such as carry out During auto heterodyne, human face region can be identified by face recognition algorithms, then brightness be carried out with human face region and draw high, thus lifting people Drawing of face region is bright, to project face, namely carries out face ae.Thus, can gather whether image includes people by detection terminal Face image, according to the higher shooting image of the bright secretly poor acquisition definition in facial image, is led to because of reasons such as hand shaking with reducing The problem that the shooting image that terminal is unstable and causes obscures.

If 102 inclusion facial images, obtain between the pixel in described facial image according to default pixel separation Luminance difference.

Specifically, due to the particularity of the skin of portrait, the brightness of the neighbor (not spaced pixels) in facial image Possible difference is less, thus, a predeterminable pixel separation, obtain the picture being spaced one or more pixels according to this pixel separation Luminance difference between element, with the accuracy of improving image definition detection.Optionally, this pixel separation can be according to different shootings Environmental condition is respectively provided with and obtains, or is obtained according to the self-defined setting of user's request, etc., the embodiment of the present invention does not limit Fixed.

103rd, when the luminance difference between the pixel in the described facial image obtaining meets default image output condition, Export described collection image.

Optionally, described luminance difference between the pixel in the described facial image obtaining meets default image output During condition, export described collection image, can particularly as follows: described luminance difference is compared with predetermined luminance threshold value, and according to Comparative result filters out definition highest collection image from least one collection image that described terminal obtains;To filter out Described collection image as shooting image, and export described shooting image.

Wherein, this luminance threshold can pre-set and obtain.Optionally, user's facial image can be gathered in advance, and according to pre- If pixel separation obtain described user's facial image in pixel between luminance difference;By calculating described user's facial image In the luminance difference of pixel meansigma methodss, and described meansigma methodss are set to described predetermined luminance threshold value.Specifically, this luminance threshold Value can be by gathering the user's facial image under varying environment condition (as ambient light intensity is different) and default by adjustment Pixel separation after filter out the image of preferable definition and determine, such as by the pixel of this preferable definition facial image Luminance difference meansigma methodss are stored as this luminance threshold.Wherein, this luminance threshold can arrange corresponding with this pixel separation, that is, Different pixel separation can correspond to different luminance thresholds.Or, definition need that also can be according to user to terminal output image Seek self-defined this luminance threshold of setting.

Specifically, can be carried out with this predetermined luminance threshold value by the luminance difference between the pixel in the facial image by acquisition Relatively, to determine image definition, thus determining a most clearly collection image in multiple images of terminal collection As shooting image output, to lift output image definition.

In embodiments of the present invention, whether include facial image in the collection image that detection terminal can be passed through, and detect During including facial image, obtain the luminance difference between the pixel in this facial image according to default pixel separation, thus can be When in the facial image obtaining, the luminance difference of pixel meets default image output condition, using this collection image as shooting image Output, thus improves the quality of the shooting image of terminal output.

Further, refer to Fig. 2, Fig. 2 is that the flow process of another kind image output method provided in an embodiment of the present invention is shown It is intended to.Specifically, as shown in Fig. 2 the described image output intent of the embodiment of the present invention may comprise steps of:

201st, whether include facial image in the collection image of detection terminal.

If 202 inclusion facial images, obtain between the pixel in described facial image according to default pixel separation Luminance difference.

203rd, detect whether described luminance difference is less than default first luminance threshold.

Wherein, this first luminance threshold can pre-set and obtain.Such as, this first luminance threshold could be for determining picture The luminance threshold that vegetarian refreshments obscures, terminal can be previously provided with the luminance threshold under the conditions of varying environment, and this first luminance threshold It can be the luminance threshold matching with current environmental condition of storage.

204th, each described luminance difference gathering Image Acquisition at least one collection image that statistics terminal obtains respectively The first number, and in the facial image that includes of this collection image, luminance difference is less than the second number of described first luminance threshold Mesh.

205th, calculate the first ratio of described second number and described first number.

Specifically, for each image of multiple images of terminal collection, can count respectively in each image and obtain picture The acquisition number of times (number of comparisons being namely compared with the first luminance threshold) of plain luminance difference, i.e. the first number, and count In this acquisition number of times, luminance difference is less than the number of times of this first luminance threshold, i.e. the second number, thus can pass through to calculate the second number Determine the fog-level of this multiple image with the ratio (i.e. the first ratio) of the first number.That is, this ratio is bigger, image gets over mould Paste, conversely, then image is more clear.

206th, filter out the minimum collection image of described first ratio from least one collection image obtaining, and will sieve The described collection image selected is as definition highest collection image in described at least one collection image.

Further, corresponding first ratio of every image in multiple collection images according to this, i.e. fog-level parameter, that is, Can therefrom filter out that fog-level is minimum, that is, the minimum collection image of the first ratio exports as shooting image, thus can be calibrated Really determine the most clearly image.

207th, using the described collection image filtering out as shooting image, and export described shooting image.

As an example it is assumed that this first luminance threshold is set to 70, can will be spaced such as according to presetted pixel in facial image The pixel intensity difference of two pixels in interval 70 is compared with this, obtains number of comparisons, i.e. the first number, and statistics less than being somebody's turn to do 70 number of times, i.e. the second number.Second number is bigger with the ratio (such as can be exchanged into percentage ratio) of the first number, then image gets over mould Paste, because the luminance difference of pixel smaller when, fuzzy factor occupies more, thus can determine less for percentage ratio parameter image For needing the definition highest image of output, and export this definition highest image, the most clearly autodyned with acquiring Image.

Further alternative, the luminance difference between the pixel in described facial image is being obtained according to default pixel separation Before, can the current screening-mode of detection terminal whether be also self-timer mode further, if self-timer mode, then can trigger execution The technical scheme of the embodiment of the present invention.

In embodiments of the present invention, facial image can be included in the collection image of terminal, when such as being autodyned, according to pre- If pixel separation obtain luminance difference between the pixel in this facial image, and the luminance difference that will obtain is bright with default first Degree threshold value is compared, thus the number of times that this first luminance threshold can the be will be less than collection figure minimum with the ratio comparing total degree As shooting image output, thus improving the quality of the shooting image of terminal output, improving image definition.

Further, refer to Fig. 3, Fig. 3 is that the flow process of another image output method provided in an embodiment of the present invention is shown It is intended to.Specifically, as shown in figure 3, the described image output intent of the embodiment of the present invention may comprise steps of:

301st, whether include facial image in the collection image of detection terminal.

If 302 inclusion facial images, obtain between the pixel in described facial image according to default pixel separation Luminance difference.

303rd, detect whether described luminance difference is higher than default second luminance threshold.

Wherein, this second luminance threshold can pre-set and obtain.Such as, this second luminance threshold could be for determining picture Vegetarian refreshments clearly luminance threshold, terminal can be previously provided with the luminance threshold under the conditions of varying environment, and this first luminance threshold It can be the luminance threshold matching with current environmental condition of storage.Further alternative, this second luminance threshold can be arranged It is identical or different with the first above-mentioned luminance threshold, if it is different, then terminal can set respectively previously according to different environmental conditions Put and obtain this first luminance threshold and the second luminance threshold.

304th, each described luminance difference gathering Image Acquisition at least one collection image that statistics terminal obtains respectively The first number, and in the facial image that includes of this collection image, luminance difference is higher than the 3rd number of described second luminance threshold Mesh.

305th, calculate the second ratio of described 3rd number and described first number.

Specifically, for each image of multiple images of terminal collection, can count respectively in each image and obtain picture The acquisition number of times of plain luminance difference, i.e. the first number, and it is secondary higher than this second luminance threshold to count luminance difference in this acquisition number of times Number, i.e. the 3rd number, thus this multiple figure can be determined by calculating the ratio (i.e. the second ratio) of the 3rd number and the first number The readability of picture.That is, this ratio is bigger, image is more clear, conversely, then image is fuzzyyer.

306th, filter out the maximum collection image of described second ratio from least one collection image obtaining, and will sieve The described collection image selected is as definition highest collection image in described at least one collection image.

Further, corresponding second ratio of every image in multiple collection images according to this, i.e. readability parameter, that is, Readability highest can therefrom be filtered out, that is, the maximum collection image of the second ratio exports as shooting image, thus can be calibrated Really determine the most clearly image.

307th, using the described collection image filtering out as shooting image, and export described shooting image.

As an example it is assumed that this second luminance threshold is set to 150, can will be spaced such as according to presetted pixel in facial image The pixel intensity difference of 3 pixels in interval 150 is compared with this, obtains number of comparisons, i.e. the first number, and statistics higher than being somebody's turn to do 150 number of times, i.e. the 3rd number.3rd number is bigger with the ratio (such as can be exchanged into percentage ratio) of the first number, then image is got over Clearly, because the luminance difference of pixel smaller when, fuzzy factor occupy more, thus can be true by image bigger for percentage ratio parameter It is set to the definition highest image of needs output, and exports this definition highest image, to acquire the most certainly Clap image.

Further alternative, the luminance difference between the pixel in described facial image is being obtained according to default pixel separation Before, can the current screening-mode of detection terminal whether be also self-timer mode further, if self-timer mode, then can trigger execution The technical scheme of the embodiment of the present invention.

In embodiments of the present invention, facial image can be included in the collection image of terminal, when such as being autodyned, according to pre- If pixel separation obtain luminance difference between the pixel in this facial image, and the luminance difference that will obtain is bright with default second Degree threshold value is compared, thus the number of times that this second luminance threshold can the be will be above collection figure maximum with the ratio comparing total degree As shooting image output, thus improving the quality of the shooting image of terminal output, improving image definition.

Refer to Fig. 4, Fig. 4 is a kind of structural representation of image output device 10 provided in an embodiment of the present invention.Specifically , the described device 10 of the embodiment of the present invention may be disposed in above-mentioned terminal.As shown in figure 4, the embodiment of the present invention is described Image output device 10 can include image detection module 11, acquisition module 12 and image output module 13.Wherein,

Whether described image detection module 11, include facial image in the collection image of detection terminal.

Described acquisition module 12, includes face figure for described collection image is detected in described image detection module 11 During picture, obtain the luminance difference between the pixel in described facial image according to default pixel separation.

Optionally, this pixel separation can be respectively provided with according to different shooting environmental conditions and obtain, or according to user's need Self-defined setting is asked to obtain, etc., the embodiment of the present invention does not limit.

Described image output module 13, between the pixel in the described facial image that described acquisition module 12 obtains Luminance difference when meeting default image output condition, export described collection image.

Specifically, the luminance difference between pixel in the facial image being obtained by acquisition module 12, image output module 13 can determine that image definition, thus image output module 13 can determine this luminance difference in multiple images of terminal collection Meet the image of default image output condition as the most clearly image exported, to lift output image definition.

In embodiments of the present invention, whether include facial image in the collection image that detection terminal can be passed through, and detect During including facial image, obtain the luminance difference between the pixel in this facial image according to default pixel separation, thus can be When in the facial image obtaining, the luminance difference of pixel meets default image output condition, using this collection image as shooting image Output, thus improves the quality of the shooting image of terminal output.

Further, refer to Fig. 5, Fig. 5 is the structure of another kind image output device 10 provided in an embodiment of the present invention Schematic diagram.Specifically, the image that the described device 10 of the embodiment of the present invention may include in the corresponding embodiment of the present invention of above-mentioned Fig. 4 is defeated Go out image detection module 11, acquisition module 12 and the image output module 13 of device.Further, in the embodiment of the present invention In, described image output module 13 may particularly include:

Screening unit 131, for being compared described luminance difference, and according to comparative result from institute with predetermined luminance threshold value Definition highest collection image is filtered out at least one collection image stating terminal acquisition;

Output unit 132, for the described collection image that filters out described screening unit 131 as shooting image, and Export described shooting image.

Optionally, in embodiments of the present invention, described device 10 may also include that

Acquisition module 14, for gathering user's facial image, and obtains described user's face according to default pixel separation The luminance difference between pixel in image;

Setup module 15, for calculating the meansigma methodss of the luminance difference of the pixel in described user's facial image, and will be described Meansigma methodss are set to described predetermined luminance threshold value.

Wherein, this luminance threshold can pre-set and obtain.Such as, this luminance threshold can be gathered by acquisition module 14 User's facial image under varying environment condition (as ambient light intensity is different), and screened after adjusting default pixel separation Go out the image of preferable definition and determine, such as setup module 15 can just this preferable definition facial image pixel bright Degree difference meansigma methodss are stored as this luminance threshold.Wherein, this luminance threshold can arrange corresponding with this pixel separation, that is, not Same pixel separation can correspond to different luminance thresholds.Or, setup module 15 also can be according to user to terminal output image Definition demand is self-defined to arrange this luminance threshold.

As a kind of optional embodiment, described screening unit 131 can be specifically for:

Detect whether described luminance difference is less than default first luminance threshold;

The of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In one number, and the facial image that includes of this collection image, luminance difference is less than the second number of described first luminance threshold;

Calculate the first ratio of described second number and described first number;

Filter out the minimum collection image of described first ratio from least one collection image obtaining, and will filter out Described collection image as described at least one collection image in definition highest collection image.

Wherein, this first luminance threshold can pre-set and obtain, and it can be corresponding with above-mentioned luminance threshold.Such as, should First luminance threshold could be for determining the luminance threshold of pixel point fuzziness, under the conditions of terminal can be previously provided with varying environment Luminance threshold, and this first luminance threshold can be storage the luminance threshold matching with current environmental condition.

As a kind of optional embodiment, described screening unit 131 can be specifically for:

Detect whether described luminance difference is higher than default second luminance threshold;

The of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In one number, and the facial image that includes of this collection image, luminance difference is higher than the 3rd number of described second luminance threshold;

Calculate the second ratio of described 3rd number and described first number;

Filter out the maximum collection image of described second ratio from least one collection image obtaining, and will filter out Described collection image as described at least one collection image in definition highest collection image.

Wherein, this second luminance threshold can pre-set and obtain, and it also can be corresponding with above-mentioned luminance threshold.Such as, This second luminance threshold could be for determining pixel clearly luminance threshold, terminal can be previously provided with varying environment condition Under luminance threshold, and this first luminance threshold can be storage the luminance threshold matching with current environmental condition.Enter one Step is optional, and this second luminance threshold may be configured as identical or different with the first above-mentioned luminance threshold, if it is different, then arranging mould Block 15 can be respectively provided with previously according to different environmental conditions and obtain this first luminance threshold and the second luminance threshold.

In embodiments of the present invention, facial image can be included in the collection image of terminal, when such as being autodyned, according to pre- If pixel separation obtain luminance difference between the pixel in this facial image, and by the luminance difference obtaining and default luminance threshold Value is compared, thus filtering out definition highest image from multiple images that terminal gathers as bat according to comparative result Take the photograph image and export, thus improve the quality of the shooting image of terminal output, improve image definition.

Refer to Fig. 6, Fig. 6 is a kind of structural representation of terminal 1 provided in an embodiment of the present invention, above-mentioned for executing Image output method.Specifically, as shown in fig. 6, the described terminal 1 of the embodiment of the present invention may include that at least one processor 100, at least one input equipment 200, at least one output device 300, memorizer 500 grade assembly.Wherein, these assemblies pass through One or more bus 400 is communicatively coupled.It will be understood by those skilled in the art that the structure of the terminal 1 shown in Fig. 6 is simultaneously Do not constitute the restriction to the embodiment of the present invention, it both can be busbar network or hub-and-spoke configuration, can also include comparing Illustrate more or less of part, or combine some parts, or different part arrangements.Wherein:

Processor 100 is the control centre of terminal 1, using the various pieces of various interfaces and the whole terminal of connection 1, By running or executing program and/or the module being stored in memorizer 500, and call the number being stored in memorizer 500 According to phase-detection data described above, to execute various functions and the processing data of terminal 1.Processor 100 can be by integrated electricity Road (integrated circuit, abbreviation ic) form, for example can by single encapsulation ic be formed it is also possible to by connection many The encapsulation ic of identical function or difference in functionality and form.For example, processor 100 can only include central processing unit (central processing unit, abbreviation cpu) or cpu, digital signal processor (digital signal Processor, abbreviation dsp), graphic process unit (graphic processing unit, abbreviation gpu) and various control chip Combination.In embodiments of the present invention, cpu can be single arithmetic core it is also possible to include multioperation core.

It is first-class that input equipment 200 can include the touch screen of standard, keyboard, shooting, can also include wireline interface, wireless Interface etc..This photographic head can be connected with focusing motor.

Output device 300 can include display screen, speaker etc. it is also possible to include wireline interface, wave point etc..

Memorizer 500 can be used for storing software program and module, processor 100, input equipment 200 and output device 300 pass through call the software program being stored in memorizer 500 and module, thus execute terminal 1 various functions application with And realize data processing.Memorizer 500 mainly includes program storage area data memory block, and wherein, program storage area can store Application program needed for operating system, at least one function etc.;Data storage area can store according to terminal 1 using being created Data etc..In embodiments of the present invention, operating system can be Android system, ios system or windows operating system etc. Deng.

Specifically, described processor 100 calls the application program being stored in described memorizer 500, following for executing Step:

Whether facial image is included in the collection image of detection terminal;

If including facial image, obtaining the brightness between the pixel in described facial image according to default pixel separation Difference;

When luminance difference between the pixel in the described facial image obtaining meets default image output condition, pass through Described output device 300 exports described collection image.

Optionally, described processor 100 calls the application program execution being stored in described memorizer 500 described when acquisition Described facial image in pixel between luminance difference when meeting default image output condition, export described collection image, Concrete execution following steps:

Described luminance difference is compared with predetermined luminance threshold value, and is obtained at least from described terminal according to comparative result Definition highest collection image is filtered out in one collection image;

Using the described collection image filtering out as shooting image, and described shooting is exported by described output device 300 Image.

Optionally, described processor 100 calls the application program being stored in described memorizer 500, be additionally operable to execute with Lower step:

User's facial image is gathered by described input equipment 200, and obtains described user according to default pixel separation The luminance difference between pixel in facial image;

Calculate the meansigma methodss of the luminance difference of pixel in described user's facial image, and described meansigma methodss are set to described Predetermined luminance threshold value.

Optionally, described processor 100 call the application program that is stored in described memorizer 500 execute described will be described Luminance difference is compared with predetermined luminance threshold value, and according to comparative result from least one collection image that described terminal obtains Filter out definition highest collection image, specifically execution following steps:

Detect whether described luminance difference is less than default first luminance threshold;

The of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In one number, and the facial image that includes of this collection image, luminance difference is less than the second number of described first luminance threshold;

Calculate the first ratio of described second number and described first number;

Filter out the minimum collection image of described first ratio from least one collection image obtaining, and will filter out Described collection image as described at least one collection image in definition highest collection image.

Optionally, described processor 100 call the application program that is stored in described memorizer 500 execute described will be described Luminance difference is compared with predetermined luminance threshold value, and according to comparative result from least one collection image that described terminal obtains Filter out definition highest collection image, specifically execution following steps:

Detect whether described luminance difference is higher than default second luminance threshold;

The of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In one number, and the facial image that includes of this collection image, luminance difference is higher than the 3rd number of described second luminance threshold;

Calculate the second ratio of described 3rd number and described first number;

Filter out the maximum collection image of described second ratio from least one collection image obtaining, and will filter out Described collection image as described at least one collection image in definition highest collection image.

In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.

It should be understood that disclosed apparatus and method in several embodiments provided by the present invention, can be passed through it Its mode is realized.For example, device embodiment described above is only schematically, for example, the division of described module, and only It is only a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple module or components can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or module or logical Letter connects, and can be electrical, mechanical or other forms.

The described module that this illustrates as separating component can be or may not be physically separate, as module The part of display can be or may not be physical module, you can with positioned at a place, or can also be distributed to many On individual mixed-media network modules mixed-media.Some or all of module therein can be selected according to the actual needs to realize this embodiment scheme Purpose.

In addition, can be integrated in a processing module in each functional module in each embodiment of the present invention it is also possible to It is that modules are individually physically present it is also possible to two or more modules are integrated in a module.Above-mentioned integrated mould Block both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds software function module is realized.

The above-mentioned integrated module realized in the form of software function module, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) execution the present invention each The part steps of embodiment methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (read- Only memory, rom), random access memory (random access memory, ram), magnetic disc or CD etc. various Can be with the medium of store program codes.

Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division be illustrated, in practical application, can as desired will above-mentioned functions distribution complete by different functional modules Become, the internal structure of device will be divided into different functional modules, to complete all or part of function described above.On State the specific work process of the device of description, may be referred to the corresponding process in preceding method embodiment, will not be described here.

Finally it is noted that various embodiments above, only in order to technical scheme to be described, is not intended to limit;To the greatest extent Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that: its according to So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (11)

1. a kind of image output method is it is characterised in that include:
Whether facial image is included in the collection image of detection terminal;
If including facial image, obtaining the luminance difference between the pixel in described facial image according to default pixel separation;
When luminance difference between the pixel in the described facial image obtaining meets default image output condition, output is described Collection image.
2. method according to claim 1 it is characterised in that described when obtain described facial image in pixel between Luminance difference when meeting default image output condition, export described collection image, comprising:
Described luminance difference is compared with predetermined luminance threshold value, and at least being obtained from described terminal according to comparative result Definition highest collection image is filtered out in collection image;
Using the described collection image filtering out as shooting image, and export described shooting image.
3. method according to claim 2 is it is characterised in that methods described also includes:
Collection user's facial image, and obtain bright between the pixel in described user's facial image according to default pixel separation Degree is poor;
Calculate the meansigma methodss of the luminance difference of pixel in described user's facial image, and described meansigma methodss are set to described default Luminance threshold.
4. method according to claim 2 is it is characterised in that described compared described luminance difference with predetermined luminance threshold value Relatively, and according to comparative result filter out definition highest collection figure from least one collection image that described terminal obtains Picture, comprising:
Detect whether described luminance difference is less than default first luminance threshold;
First number of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In mesh, and the facial image that includes of this collection image, luminance difference is less than the second number of described first luminance threshold;
Calculate the first ratio of described second number and described first number;
Filter out the minimum collection image of described first ratio from least one collection image obtaining, and by the institute filtering out State collection image as definition highest collection image in described at least one collection image.
5. method according to claim 2 is it is characterised in that described compared described luminance difference with predetermined luminance threshold value Relatively, and according to comparative result filter out definition highest collection figure from least one collection image that described terminal obtains Picture, comprising:
Detect whether described luminance difference is higher than default second luminance threshold;
First number of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In mesh, and the facial image that includes of this collection image, luminance difference is higher than the 3rd number of described second luminance threshold;
Calculate the second ratio of described 3rd number and described first number;
Filter out the maximum collection image of described second ratio from least one collection image obtaining, and by the institute filtering out State collection image as definition highest collection image in described at least one collection image.
6. a kind of image output device is it is characterised in that include:
Whether image detection module, include facial image in the collection image of detection terminal;
Acquisition module, for described image detection module detect described collection image include facial image when, according to pre- If pixel separation obtain described facial image in pixel between luminance difference;
Image output module, meets for the luminance difference between the pixel in the described facial image that described acquisition module obtains During default image output condition, export described collection image.
7. device according to claim 6 is it is characterised in that described image output module includes:
Screening unit, for being compared described luminance difference, and according to comparative result from described terminal with predetermined luminance threshold value Definition highest collection image is filtered out at least one collection image obtaining;
Output unit, for the described collection image that filters out described screening unit as shooting image, and exports described bat Take the photograph image.
8. device according to claim 7 is it is characterised in that described device also includes:
Acquisition module, for gathering user's facial image, and obtains in described user's facial image according to default pixel separation Pixel between luminance difference;
Setup module, for calculating the meansigma methodss of the luminance difference of the pixel in described user's facial image, and by described meansigma methodss It is set to described predetermined luminance threshold value.
9. device according to claim 7 it is characterised in that described screening unit specifically for:
Detect whether described luminance difference is less than default first luminance threshold;
First number of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In mesh, and the facial image that includes of this collection image, luminance difference is less than the second number of described first luminance threshold;
Calculate the first ratio of described second number and described first number;
Filter out the minimum collection image of described first ratio from least one collection image obtaining, and by the institute filtering out State collection image as definition highest collection image in described at least one collection image.
10. device according to claim 7 it is characterised in that described screening unit specifically for:
Detect whether described luminance difference is higher than default second luminance threshold;
First number of the described luminance difference of each collection Image Acquisition at least one collection image that statistics terminal obtains respectively In mesh, and the facial image that includes of this collection image, luminance difference is higher than the 3rd number of described second luminance threshold;
Calculate the second ratio of described 3rd number and described first number;
Filter out the maximum collection image of described second ratio from least one collection image obtaining, and by the institute filtering out State collection image as definition highest collection image in described at least one collection image.
A kind of 11. terminals it is characterised in that include: output device, memorizer and processor, described processor respectively with described Output device and described memorizer connect;Wherein,
Described memorizer is used for storing application program;
Described processor is used for calling the application program of storage in described memorizer to execute:
Whether facial image is included in the collection image of detection terminal;
If including facial image, obtaining the luminance difference between the pixel in described facial image according to default pixel separation;
When luminance difference between the pixel in the described facial image obtaining meets default image output condition, by described Output device exports described collection image.
CN201610802926.1A 2016-09-05 2016-09-05 Image output method, device and terminal CN106357978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610802926.1A CN106357978B (en) 2016-09-05 2016-09-05 Image output method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610802926.1A CN106357978B (en) 2016-09-05 2016-09-05 Image output method, device and terminal

Publications (2)

Publication Number Publication Date
CN106357978A true CN106357978A (en) 2017-01-25
CN106357978B CN106357978B (en) 2019-05-03

Family

ID=57858914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610802926.1A CN106357978B (en) 2016-09-05 2016-09-05 Image output method, device and terminal

Country Status (1)

Country Link
CN (1) CN106357978B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302663A (en) * 2017-07-31 2017-10-27 努比亚技术有限公司 A kind of brightness of image method of adjustment, terminal and computer-readable recording medium
CN108416988A (en) * 2017-04-19 2018-08-17 陈其高 A kind of sitting posture prompting method and device
CN108513056A (en) * 2017-02-23 2018-09-07 株式会社理光 Image processing method, device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697478A (en) * 2004-05-13 2005-11-16 欧姆龙株式会社 Image correction apparatus
KR20060022935A (en) * 2004-09-08 2006-03-13 한민홍 Drowsiness detection method and apparatus based on eye image
CN101465964A (en) * 2007-12-17 2009-06-24 鸿富锦精密工业(深圳)有限公司 Photographic device and photographic method
CN104967786A (en) * 2015-07-10 2015-10-07 广州三星通信技术研究有限公司 Image selection method and device
CN104978710A (en) * 2015-07-02 2015-10-14 广东欧珀移动通信有限公司 Method and device for identifying and adjusting human face luminance based on photographing
CN105654043A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and photographing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697478A (en) * 2004-05-13 2005-11-16 欧姆龙株式会社 Image correction apparatus
KR20060022935A (en) * 2004-09-08 2006-03-13 한민홍 Drowsiness detection method and apparatus based on eye image
CN101465964A (en) * 2007-12-17 2009-06-24 鸿富锦精密工业(深圳)有限公司 Photographic device and photographic method
CN104978710A (en) * 2015-07-02 2015-10-14 广东欧珀移动通信有限公司 Method and device for identifying and adjusting human face luminance based on photographing
CN104967786A (en) * 2015-07-10 2015-10-07 广州三星通信技术研究有限公司 Image selection method and device
CN105654043A (en) * 2015-12-24 2016-06-08 广东欧珀移动通信有限公司 Control method, control device and photographing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108513056A (en) * 2017-02-23 2018-09-07 株式会社理光 Image processing method, device and electronic equipment
CN108416988A (en) * 2017-04-19 2018-08-17 陈其高 A kind of sitting posture prompting method and device
CN107302663A (en) * 2017-07-31 2017-10-27 努比亚技术有限公司 A kind of brightness of image method of adjustment, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN106357978B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
US9104914B1 (en) Object detection with false positive filtering
CN103428428B (en) Image capturing device and image catching method
CN105100615B (en) A kind of method for previewing of image, device and terminal
JP3940759B2 (en) Iris registration method, iris registration device, and iris registration program
KR100784332B1 (en) Apparatus and method for photographing a business card in portable terminal
WO2016101883A1 (en) Method for face beautification in real-time video and electronic equipment
US8866931B2 (en) Apparatus and method for image recognition of facial areas in photographic images from a digital camera
CN107454343B (en) Photographic method, camera arrangement and terminal
CN101867724B (en) Imaging device and imaging method
CN103024165B (en) Method and device for automatically setting shooting mode
US8174611B2 (en) Digital image segmentation using flash
CN104952036A (en) Facial beautification method and electronic equipment in real-time video
CN103491299B (en) One is taken pictures treating method and apparatus
CN103098078B (en) Smile's detecting system and method
CN107277387B (en) High dynamic range images image pickup method, terminal and computer readable storage medium
CN105323456B (en) For the image preview method of filming apparatus, image capturing device
CN105163028B (en) A kind of control method and device of dual camera
CN104574397B (en) The method and mobile terminal of a kind of image procossing
CN104143078B (en) Living body faces recognition methods, device and equipment
JP5553141B2 (en) Image processing system, image processing apparatus, image processing method, and program
CN105956448B (en) A kind of unlocked by fingerprint method, apparatus and user terminal
CN104883497A (en) Positioning shooting method and mobile terminal
EP2854389B1 (en) Scene recognition method and apparatus
CN104135609B (en) Auxiliary photo-taking method, apparatus and terminal
CN105049726A (en) Mobile terminal shooting method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant