CN106331498A - Image processing method and image processing device used for mobile terminal - Google Patents

Image processing method and image processing device used for mobile terminal Download PDF

Info

Publication number
CN106331498A
CN106331498A CN201610820471.6A CN201610820471A CN106331498A CN 106331498 A CN106331498 A CN 106331498A CN 201610820471 A CN201610820471 A CN 201610820471A CN 106331498 A CN106331498 A CN 106331498A
Authority
CN
China
Prior art keywords
image
people
facing camera
shooting
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.)
Pending
Application number
CN201610820471.6A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610820471.6A priority Critical patent/CN106331498A/en
Publication of CN106331498A publication Critical patent/CN106331498A/en
Pending legal-status Critical Current

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/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

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

Abstract

The invention discloses an image processing method and an image processing device used for a mobile terminal, and belongs to the digital image processing field. The mobile terminal is provided with a front facing camera and a rear facing camera. The image processing method comprises steps that during the view finding phase of the mobile terminal, the front facing camera is used to acquire image an including eyes of a photographer periodically until the duration of the unchanged position of the pupil of every eye in the image is longer than a preset duration threshold. According to the image in the preset duration threshold, a position, on which focus the eyes of the photographer, is determined to be in a target interface area of n divided interface area in an image shooting interface, and n is an integer greater than or equal to 2. The target processing of the target interface area is carried out, and comprises at least one of focusing processing and photometry processing. The image processing method and the image processing device used for the mobile terminal are used for an image shooting process, and are advantageous in that imaging quality of a shot image is effectively improved.

Description

Image processing method and device for mobile terminal
Technical field
The present invention relates to digital image processing field, particularly to a kind of image processing method for mobile terminal and dress Put.
Background technology
Along with the development of electronic technology, increasing people's custom mobile terminal shoots image.In shooting process, need To carry out focusing on mobile terminals and light-metering operates, focus operation is clear for guaranteeing the image shot, and light-metering operation is used In the Correct exposure realizing image.Therefore, the selection to focus operation region and light-metering operating area affects largely The image quality of image.
In prior art, to focus operation region and the selection of light-metering operating area, mainly there is mobile terminal acquiescence and use The mode that family manually selects.Use the mode of mobile terminal acquiescence when shooting, typically by the fixed area at the center of finding a view or Person fixes the corresponding region of focusing object of reference as focus operation region, by the region-wide or multizone found a view as light-metering district Territory.When the mode using user to manually select shoots, mainly by user's finger, image taking interface is operated, And using region corresponding for operating position as focusing area and photometry region.
In the fact-finding process to prior art, inventor finds that prior art at least there is problems in that
According to the mode of mobile terminal acquiescence, due to the equal factor of light levels or the type found a view, shooting Journey there will be the situation that focusing accuracy is relatively low or depth of exposure is relatively low.The mode manually selected according to user, then can increase Add the jitter amplitude of hand-held mobile terminal, image blurring phenomenon occurs, the definition of image is produced certain impact.Cause This, the motility using prior art to select focusing area and photometry region that user can be caused to select is relatively low, and manually selects The bad stability of terminal can be made.
Summary of the invention
Poor and manually select stability relatively in order to solve selection motility that associated picture processes by prior art user The problem of difference, embodiments provides a kind of image processing method for mobile terminal and device.
On the one hand, it is provided that a kind of image processing method for mobile terminal, described mobile terminal has preposition shooting Head and post-positioned pick-up head, described method includes:
Finding a view the stage of described terminal, periodically gathered the figure comprising shooting eye by described front-facing camera Picture, until the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value in described image;
According to the image in described preset duration threshold value, determine that the eye focus position of described shooting people is at image taking circle Target interface region residing in n the interface zone divided in advance in face, wherein, n is the integer more than or equal to 2, described Image taking interface is described mobile terminal is found a view the interface obtained by described front-facing camera or described post-positioned pick-up head;
Described target interface region carries out target process, and described target processes and includes: during focusing process and light-metering process At least one.
On the other hand, it is provided that a kind of image processing apparatus for mobile terminal, described mobile terminal has preposition taking the photograph As head and post-positioned pick-up head, described device includes:
First acquisition module, for finding a view the stage in described terminal, periodically gathers bag by described front-facing camera Containing the image of shooting eye, until the duration of the invariant position of the pupil of each eyes is more than when presetting in described image Long threshold value;
First determines module, for according to the image in described preset duration threshold value, determines that the eyes of described shooting people gather Target interface region residing in n the interface zone that burnt position divides in image taking interface in advance, wherein, n is for being more than Or the integer equal to 2, described image taking interface is described mobile terminal by described front-facing camera or described rearmounted takes the photograph As head is found a view the interface obtained;
Processing module, for described target interface region carries out target process, described target processes and includes: focusing process At least one in processing with light-metering.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought includes:
The image processing method of present invention offer and device, by by eyes of user focal position institute in image taking interface The region at place is defined as target interface region, and this region includes at least one mesh in focusing process and light-metering process Mark processes, and can determine focusing and/or the region of light-metering according to the eye focus region of user, interested in eyes of user Focus accordingly in region and/or light-metering processes, and focuses compared to the region using mobile terminal acquiescence or exposes, The shooting wish of user can be expressed by eyes region-of-interest, improve the motility that user selects;With existing manual choosing The scheme selecting image processing region is compared, it is possible to make terminal automatically according to user intention to shooting image processing region, it is not necessary to use Family manual operation, thus overcome the problem that the terminal steady in manually selecting is poor, it is possible to improve the figure picture element shot Amount.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1-1 is the method flow diagram of a kind of image processing method for mobile terminal that the embodiment of the present invention provides;
Fig. 1-2 is the image taking interface of a kind of image processing method for mobile terminal that the embodiment of the present invention provides Schematic diagram;
Fig. 2 is a kind of eye image schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the another kind method flow diagram for the image processing method of mobile terminal of embodiment of the present invention offer;
Fig. 4 is a kind of image taking boundary division schematic diagram that the embodiment of the present invention provides;
Fig. 5 is that in a kind of eye image that the embodiment of the present invention provides, eyes region divides schematic diagram;
Fig. 6 is the another kind method flow diagram for the image processing method of mobile terminal of embodiment of the present invention offer;
Fig. 7 is the another kind method flow diagram for the image processing method of mobile terminal of embodiment of the present invention offer;
Fig. 8 is the structured flowchart of a kind of image processing apparatus for mobile terminal that the embodiment of the present invention provides;
Fig. 9 is the another kind structured flowchart for the image processing apparatus of mobile terminal of embodiment of the present invention offer.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiments provide a kind of image processing method for mobile terminal, this mobile terminal (such as, hands The portable terminal such as machine, panel computer) there is front-facing camera and post-positioned pick-up head, for example, it may be iris identification is taken the photograph As head or similar picture pick-up device.The image of the user (i.e. shooting people) of terminal can be obtained by this front-facing camera.As Shown in Fig. 1-1, the image processing method of the present invention comprises the steps that
Step 101, finding a view the stage in terminal, the figure comprising shooting eye is periodically gathered by front-facing camera Picture, until the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value in image.
Step 102, according to the image in preset duration threshold value, determines that the eye focus position of shooting people is at image taking circle Target interface region residing in n the interface zone divided in advance in face, wherein, n is the integer more than or equal to 2, image Shooting interface is mobile terminal is found a view the interface obtained by front-facing camera or post-positioned pick-up head.
Interface corresponding to view area when this image taking interface is to carry out image taking on mobile terminal.Illustratively, This image taking interface can as shown in Figure 1-2, and wherein, the region that heavy line collimation mark goes out is image taking interface 00.
Step 103, carries out target process by target interface region, and target processes and includes: during focusing process and light-metering process At least one.
In sum, the method that the embodiment of the present invention provides, by by eyes of user focal position in image taking interface Residing region is defined as target interface region, and this region includes at least one in focusing process and light-metering process Target processes, and can realize focusing or light-metering according to the sight line of user, and region interested in eyes of user is carried out accordingly Focusing or light-metering process, and focus compared to the region using mobile terminal acquiescence or expose, it is possible to being paid close attention to by eyes The shooting wish of Zonal expression user, improves the motility that user selects;With the existing image processing region of manually selecting Scheme is compared, it is possible to make terminal automatically according to user intention to shooting image processing region, it is not necessary to user's manual operation, thus gram Take the problem that the terminal steady in manually selecting is poor, it is possible to improve the picture quality shot.
Embodiments providing a kind of image processing method for mobile terminal, this mobile terminal has preposition taking the photograph As head and post-positioned pick-up head.By the image information of this front-facing camera Real-time Collection eyes of user, it is the figure comprising human eye As information, typically, gathered image comprises the pupil information of two eyes of shooting people.Under other scene, figure As comprising the pupil information of eyes of shooting people in information, such as, shooting people closes the scene of eyes.Gathered Image can be as in figure 2 it is shown, Fig. 2 illustrates as a example by the eyes that this image comprises same people, wherein region 1 is pupil Region, region 2 is iris region, and region 3 is sclera region.
Owing to pupil is positioned at the center of iris, generally can ignore not relative to the change in location of iris at pupil Meter, therefore in the embodiment of the present invention, when analyzing the relative change in location of pupil, general analysis pupil is relative to the position of sclera Change.
In embodiments of the present invention, mainly by shooting people shooting time two eyes all open in case of say Bright, when shooting people's only one of which eyes, or the eyes of shooting people are to open when closing, and the principle of its image pickup method refers to clap Taking the photograph image pickup method principle when people has two eyes, this is not repeated by the embodiment of the present invention.
In embodiments of the present invention, this image processing method comprises the position of pupil in the image of human eye, meter by analysis Calculating eyes of user focal position in image taking interface, the region that this focal position is corresponding is the most concerned district of user Territory, focuses this region to it as target interface region and at least one in exposing operation, and then perform to take pictures behaviour Make.
In some embodiments of the present invention, as it is shown on figure 3, the image processing method of the present invention comprises the steps that
Step 201, is n interface zone by the image taking boundary division of mobile terminal in advance.
It should be noted that the image taking boundary division of mobile terminal is n interface zone by this step, from theory From the point of view of on, the value of n is the biggest, and the result in the target interface region finally determined is the most accurate.But, correspondingly, the value of n The biggest, the algorithm complex of this image processing method is the highest, determines whole process time-consuming the longest in target interface region, Requirement to the disposal ability of mobile terminal processor is the highest.Therefore, in this step, choosing of n value needs according to mobile whole Disposal ability and the algorithm complex of end processor are balanced.
In the embodiment of the present invention, the shape to n interface zone after the value of n in this step and division does not limits.Excellent Selection of land, in embodiments of the present invention, 9 interface zones after n value is 9, divides be shaped as rectangle as a example by, real to the present invention Executing example and carry out brief description, as shown in Figure 4, be 9 interface zones by image taking boundary division, these 9 interface zones divide Not Wei n1~n9, the coordinate setting this upper left corner, image taking interface is that (x y), then can obtain as (0,0), the coordinate in the lower right corner To the coordinate that the corner of each interface zone is corresponding.
This in advance can be at mobile terminal by the action that image taking boundary division is n interface zone of mobile terminal Perform before dispatching from the factory, it is also possible to after user has bought terminal, user triggering execution, this is not limited by the embodiment of the present invention.
Step 202, gathers respectively and organizes reference picture more, often organizes the eyes that reference picture is same people and watches n boundary respectively attentively Acquired image during different interface zone in region, face.
In this gatherer process, often organize the human eye that reference picture is same people and watch each boundary in n interface zone respectively attentively Acquired image during region, face, analyze and record often in group image pupil relative to the position of sclera.As a example by Fig. 4, herein Often group reference picture be the human eye of same person and watch image corresponding during each region of n1~n9 respectively attentively.
Step 203, is divided into n pupil region by each eye areas often organized in reference picture, n pupil region with N interface zone one_to_one corresponding.
Pupil according to each eyes in the often group reference picture of record in step 202, will relative to the position of sclera Often each eyes in group reference picture are divided into n pupil region.
In the embodiment of the present invention, the shape to n interface zone after the value of n in this step and division does not still limit Fixed.In step 201, by boundary division be 9 interface zones and divide after 9 interface zones be shaped as rectangle, Correspondingly, in this step each eyes in reference picture are also divided into corresponding 9 pupil region, these 9 lesser ring of Merkel Territory is respectively m1~m9, as shown in Figure 5.
Step 204, according to each eyes often organized in reference picture are divided into the rule of n pupil region, determine and draws Divider is then.
According to the method in step 203, each eyes often organized in reference picture being divided into n pupil region, sum up The rule that many group reference pictures are all suitable for when dividing, and be defined as shooting when people shoots to the corresponding each eyes shooting people Carry out the division rule of pupil region division.The division rule at corresponding mobile terminal image taking interface is in step 201 Divide the division rule at image taking interface.Further, can obtain in this way in eye image each pupil region with The corresponding relation of each interface zone at image taking interface.
It is pointed out that step 201 to 204 can be to implant terminal with prefabricated additional function, it is also possible to by terminal User according to application need from main separation.
Step 205, finding a view the stage in terminal, the figure comprising shooting eye is periodically gathered by front-facing camera Picture, until the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value in image.
When shooting eye periodically being gathered the image including shooting eye with front-facing camera, its preposition shooting The data collection rate of head can be adjusted according to the performance of mobile terminal and actually used situation.Example, it is assumed that current Image taking interface is that mobile terminal is found a view by post-positioned pick-up head the interface obtained, then adjust according to the frame per second of post-positioned pick-up head The acquisition rate of front-facing camera, such as: post-positioned pick-up head frame per second under the present circumstances is 30 frames, then the number of front-facing camera Just could be arranged to 30 times/second according to acquisition rate, by such setting, mobile terminal just can be to each frame of post-positioned pick-up head Data all calculate and process, to improve the real-time of this image processing method.
The image including shooting eye is periodically gathered by front-facing camera, until each eyes in this image The duration of the invariant position of pupil is more than preset duration threshold value, that is to say when each eye in the image including shooting eye The pupil of eyeball stares at a certain invariant position at image taking interface, and is staring at continuing of this invariant position of image taking interface When duration is more than preset duration threshold value, then it is assumed that people is to shooting wish of currently having found a view in shooting, performs step 206 and to preserve this pre- If including in duration threshold value shoots the image of eye;Otherwise, step 205 is continued executing with until this includes shooting eye In image, the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value.The setting of this preset duration threshold value Can be adjusted according to the performance of mobile terminal, actually used situation and shooting people's wish, not limit.
Further, the embodiment of the present invention requires that the eyes of shooting people process apart from interior in target, to ensure preposition shooting Head can collect shooting people and clearly include shooting the image of eye.Preferably, the shooting interface of terminal can present bat Take the photograph the pupil of the eyes of people, now, then it is assumed that shooting people have shooting wish, with get rid of user without shooting wish time mistake adopt Collection information.
It should be noted that this step 205 can include determining that the step of shooting people as shown in Figure 6, that is to say by front The process putting the image that photographic head periodically collection comprises shooting eye may include that
Step 2051, statistics is positioned at the quantity of the people before front-facing camera.
As the more than people of the quantity of the people before front-facing camera, everyone to currently find a view region interested may not Equally, so, if front-facing camera gathers the image of proprietary eyes, and determine at figure according to the image of everyone eyes If target interface region as residing in n the interface zone divided in advance in shooting interface, may arise that currently Having the most whole image taking interface, multiple target interface regions in image taking interface is all the situation in target interface region, this Sample, will arise that focusing or the inaccurate situation of light-metering, cannot play and carry if target interface is carried out target process The effect of the image quality of the image that height is shot.It is therefore desirable to the quantity of the people before statistics front-facing camera, and according to front The different situations of the quantity putting photographic head forefathers carry out different process.Mainly there are two kinds of situations: before being positioned at front-facing camera The quantity of people is 1 and the quantity of people before being positioned at front-facing camera is at least two, and corresponding both of these case performs step respectively 2052 or step 2053.
Step 2052, when the quantity of the people before being positioned at front-facing camera is 1, will be located in the people before front-facing camera and determines For shooting people, and periodically gathered the image comprising shooting eye by front-facing camera.
Step 2053, when the quantity of the people before being positioned at front-facing camera is at least two, sends information, this prompting Information for prompting the people at least two people before front-facing camera is chosen as shoot people.Perform step 2054.
When there being at least two people before front-facing camera, in the embodiment of the present invention, terminal can issue the user with information, A people at least two people before front-facing camera is chosen as shooting people by this information for prompting, and what terminal provided carries Show information can be prompting front-facing camera before leave behind one shooting people, remaining people exits the image acquisition model of front-facing camera Enclose.Or can also be other informations selecting to shoot people, as long as it is a prompting selection wherein people is the letter of shooting people Ceasing, in the embodiment of the present invention, the particular content to this information does not limits.
Step 2054, when receiving shooting people and selecting instruction, selects the people of instruction instruction to be defined as shooting by shooting people People, and the image comprising shooting eye is periodically gathered by front-facing camera.
Step 206, according to the image in preset duration threshold value, determines that the eye focus position of shooting people is at image taking circle Target interface region residing in n the interface zone divided in advance in face, wherein, n is the integer more than or equal to 2, image Shooting interface is mobile terminal is found a view the interface obtained by front-facing camera or post-positioned pick-up head.
As it is shown in fig. 7, the method in step 206 can be divided into again following step:
Step 2061, according to the image in preset duration threshold value, according to each by image of predeterminable area division rule Eyes are divided into n pupil region, n pupil region and n interface zone one_to_one corresponding.
Including in the preset duration threshold value that will preserve in step 205 shoots the image of eye, according to true in step 204 Each eyes in this image are divided into n the pupil region corresponding with n interface zone by fixed division rule.Example, Each eyes in this image still can be divided into 9 regions such as Fig. 5.
Step 2062, determines the objective pupil region that the pupil of each eyes in image is residing in n pupil region.
According to the step 2061 division to eyes each in image, analyze in each eyes pupil relative to the position of sclera Put, and determine pupil which region in n pupil region after division of each eyes, and using this region as target pupil Bore region.
Step 2063, is defined as target interface region by interface zone corresponding for objective pupil region.
According to each pupil region in the image obtained in the objective pupil area information in step 2062 and step 204 with The corresponding relation of each interface zone at image taking interface, finds out objective pupil region and corresponds to the corresponding of image taking interface Interface zone, and this interface zone is defined as target interface region, and obtain the coordinate letter of the corner in this target interface region Breath.
If it should be noted that during the analysis to a certain frame, analyzing the target interface region obtained beyond moving Dynamic terminal image shoots the defined area scope at interface or calculates mistake in the either step of above-mentioned steps, then by above one The analysis result of frame is as the analysis result of present frame, and the target interface region of its correspondence is defined as target circle of present frame Region, face, to ensure focusing and the stability of light-metering operation in mobile terminal shooting process.
Step 207, carries out target process by target interface region, and target processes and includes: during focusing process and light-metering process At least one.
After obtaining target interface region, the four angular coordinate information in this target interface region is transferred to mobile terminal Processor, processor can according to this coordinate information, adjust focusing frame display position, and this target interface region is adjusted to work as The focusing of front frame and photometry region, and carry out focusing and light-metering operation according to this region.
In this step, target processes at least one included in focusing process and light-metering process, i.e. uses side of the present invention Method determines at least one in focusing area and photometry region, and performs corresponding focus operation and light-metering operation, including: permissible Determine focusing area by the inventive method, determine photometry region by prior art, it is also possible to prior art determine focusing area, Photometry region is determined, it is also possible to determine focusing and photometry region by the inventive method, do not limit at this by the inventive method.
In embodiments of the present invention, front-facing camera can include iris recognition camera head.Iris recognition camera head can The apparent iris identifying eyes, determines the information of pupil and sclera, can enter one according to iris position in eyes Step ground improves in this image processing method focusing and the determination precision of exposure area.This front-facing camera is iris recognition camera During head, corresponding image processing method refers to above-mentioned image processing method.
It should be noted that the sequencing of the image processing method step of embodiment of the present invention offer can be carried out suitably Adjusting, step can also increase and decrease the most accordingly, and any those familiar with the art the invention discloses Technical scope in, the method that change can be readily occurred in, all should contain within protection scope of the present invention, the most superfluous State.
In sum, the image processing method that the embodiment of the present invention provides, by being multiple by image taking boundary division Interface zone, and according to including shooting in the image of eye the duration of each eye pupil invariant position accordingly more than pre- If the eye image of duration threshold value, the region residing for eyes of user focal position in image taking interface is defined as target interface Region, and this region is included, and at least one target in focusing process and light-metering process processes, can be according to user's Sight line realizes focusing or light-metering, and focus accordingly in region interested in eyes of user or light-metering processes, compared to adopting Focus with the region of mobile terminal acquiescence or expose, it is possible to being expressed the shooting wish of user by eyes region-of-interest, Improve the motility that user selects;Compared with the existing scheme manually selecting image processing region, it is possible to make terminal automatic According to user intention to shooting image processing region, it is not necessary to user's manual operation, thus it is steady to overcome the terminal in manually selecting Qualitative poor problem, it is possible to improve the picture quality shot.Further, the image processing method that the embodiment of the present invention provides leads to Cross algorithm and region interested for eyes of user is defined as target interface region, determine target compared to existing increase hardware cost The mode of interface zone, advantageously reduces the manufacturing cost of equipment.
Embodiments provide a kind of image processing apparatus 100 for mobile terminal, before this mobile terminal has Putting photographic head and post-positioned pick-up head, this image processing apparatus 100 is for performing the image processing method in above-described embodiment, such as figure Shown in 8, this image processing apparatus 100 includes:
First acquisition module 110, for finding a view the stage in terminal, is periodically gathered by front-facing camera and comprises shooting The image of eye, until the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value in image.
First determines module 120, for according to the image in preset duration threshold value, determining the eye focus position of shooting people Target interface region residing in n the interface zone divided in advance in image taking interface, wherein, n is more than or equal to 2 Integer, image taking interface is mobile terminal is found a view the interface obtained by front-facing camera or post-positioned pick-up head.
Processing module 130, for target interface region carries out target process, target processes and includes: focusing process and survey At least one in optical processing.
In sum, the device that the embodiment of the present invention provides, comprise shooting eye by the first acquisition module collection Image, first determines that the region residing for eyes of user focal position in image taking interface is defined as mesh according to this image by module Mark interface zone, and by processing module this region included focusing process and light-metering process at least one target Reason, can according to the sight line of user realize focusing or light-metering, region interested in eyes of user focus accordingly or Light-metering processes, and focuses compared to the region using mobile terminal acquiescence or exposes, it is possible to by eyes region-of-interest table Reach the shooting wish of user, improve the motility that user selects;With the existing scheme phase manually selecting image processing region Ratio, it is possible to make terminal automatically according to user intention to shooting image processing region, it is not necessary to user's manual operation, thus overcome hands Move the problem that the terminal steady in selecting is poor, it is possible to improve the picture quality shot.
Wherein, first determines module 120, is used for:
According to the image in preset duration threshold value, according to predeterminable area division rule, each eyes in image are divided into N pupil region, n pupil region and n interface zone one_to_one corresponding;
Determine the objective pupil region that the pupil of each eyes in image is residing in n pupil region;
Interface zone corresponding for objective pupil region is defined as target interface region.
As it is shown in figure 9, this image processing apparatus 100 also includes:
First divides module 140, is n interface zone in advance by the image taking boundary division of mobile terminal.
Second acquisition module 150, organizes reference picture for gathering respectively more, and often group is referenced as the human eye of same people and notes respectively Depending on acquired image during different interface zone in n interface zone.
Second divides module 160, for each eye areas often organized in reference picture is divided into n pupil region, n Individual pupil region and n interface zone one_to_one corresponding.
Second determines module 170, for being divided into n pupil region according to by each eyes often organized in reference picture Rule, determines division rule.
First acquisition module 110, is used for:
Statistics is positioned at the quantity of the people before front-facing camera;
When the quantity of the people before being positioned at front-facing camera is 1, will be located in the people before front-facing camera and be defined as shooting people, And the image comprising shooting eye is periodically gathered by front-facing camera;
When the quantity of the people before being positioned at front-facing camera is at least two, sending information, information is used for carrying Show the people at least two people before front-facing camera is chosen as shoot people;
When receiving shooting people and selecting instruction, shooting people selects the people of instruction instruction be defined as shooting people, and passes through Front-facing camera periodically gathers the image comprising shooting eye.
In embodiments of the present invention, front-facing camera can include iris recognition camera head.Iris recognition camera head can The apparent pupil identifying eyes and sclera information, can improve this image processing apparatus further to focusing and exposure The determination precision in region.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the device of foregoing description, The specific works process of module and submodule, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In sum, the image processing apparatus that the embodiment of the present invention provides, divide module by image taking circle by first Face is divided into multiple interface zone, and first determines that module comprises described shooting human eye accordingly according to what the first acquisition module collected In the image of eyeball, the duration of each eye pupil invariant position is more than the image of preset duration threshold value, by image taking interface Region residing for middle eyes of user focal position is defined as target interface region, then processing module this region is included right Burnt process and light-metering process at least one target process, focusing or light-metering can be realized according to the sight line of user, to Focus accordingly in eyes region interested in family or light-metering processes, and carries out compared to the region using mobile terminal acquiescence Focusing or exposure, it is possible to expressed the shooting wish of user by eyes region-of-interest, improve the motility that user selects;With existing The scheme manually selecting image processing region having is compared, it is possible to make terminal automatically according to user intention to shooting image procossing district Territory, it is not necessary to user's manual operation, thus overcome the problem that the terminal steady in manually selecting is poor, it is possible to improve and shoot Picture quality.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not limited to the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (10)

1. the image processing method for mobile terminal, it is characterised in that described mobile terminal have front-facing camera and Post-positioned pick-up head, described method includes:
Finding a view the stage of described terminal, periodically gathered the image comprising shooting eye by described front-facing camera, directly To described image, the duration of the invariant position of the pupil of each eyes is more than preset duration threshold value;
According to the image in described preset duration threshold value, determine that the eye focus position of described shooting people is in image taking interface Target interface region residing in n the interface zone divided in advance, wherein, n is the integer more than or equal to 2, described image Shooting interface is described mobile terminal is found a view the interface obtained by described front-facing camera or described post-positioned pick-up head;
Described target interface region carries out target process, and described target processes and includes: in focusing process and light-metering process extremely Few one.
Method the most according to claim 1, it is characterised in that
Described according to the image in described preset duration threshold value, determine that the eye focus position of described shooting people is at image taking circle Target interface region residing in n the interface zone divided in advance in face, including:
According to the image in described preset duration threshold value, according to predeterminable area division rule, each eyes in described image are drawn It is divided into n pupil region, described n pupil region and described n interface zone one_to_one corresponding;
Determine the objective pupil region that the pupil of each eyes in described image is residing in described n pupil region;
Interface zone corresponding for described objective pupil region is defined as described target interface region.
Method the most according to claim 2, it is characterised in that described method also includes:
It is n interface zone by the image taking boundary division of described mobile terminal in advance;
Gather respectively and organize reference picture more, often organize the eyes that reference picture is same people and watch attentively respectively in described n interface zone Acquired image during different interface zone;
The each eye areas often organized in reference picture is divided into n pupil region, and described n pupil region is individual with described n Interface zone one_to_one corresponding;
According to each eyes often organized in reference picture being divided into the rule of n pupil region, determine described division rule.
Method the most according to claim 1, it is characterised in that
Described periodically collection by described front-facing camera comprises the image shooting eye, including:
Statistics is positioned at the quantity of the people before described front-facing camera;
When the quantity of the people before being positioned at described front-facing camera is 1, will be located in the people before described front-facing camera and be defined as institute State shooting people, and periodically gathered the image comprising shooting eye by described front-facing camera;
When the quantity of the people before being positioned at described front-facing camera is at least two, sending information, described information is used In prompting the people at least two people before front-facing camera is chosen as shoot people;
When receiving shooting people and selecting instruction, described shooting people select the people of instruction instruction be defined as described shooting people, and The image comprising shooting eye is periodically gathered by described front-facing camera.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that described front-facing camera includes that iris identification is taken the photograph As head.
6. the image processing apparatus for mobile terminal, it is characterised in that described mobile terminal have front-facing camera and Post-positioned pick-up head, described device includes:
First acquisition module, for finding a view the stage in described terminal, is periodically gathered by described front-facing camera and comprises bat Take the photograph the image of eye, until the duration of the invariant position of the pupil of each eyes is more than preset duration threshold in described image Value;
First determines module, for according to the image in described preset duration threshold value, determining the eye focus position of described shooting people Put in n the interface zone divided in advance in image taking interface residing target interface region, wherein, n for more than or etc. In the integer of 2, described image taking interface is that described mobile terminal is by described front-facing camera or described post-positioned pick-up head Find a view the interface obtained;
Processing module, for described target interface region carries out target process, described target processes and includes: focusing process and survey At least one in optical processing.
Device the most according to claim 6, it is characterised in that described
First determines module, is used for:
According to the image in described preset duration threshold value, according to predeterminable area division rule, each eyes in described image are drawn It is divided into n pupil region, described n pupil region and described n interface zone one_to_one corresponding;
Determine the objective pupil region that the pupil of each eyes in described image is residing in described n pupil region;
Interface zone corresponding for described objective pupil region is defined as described target interface region.
Device the most according to claim 7, it is characterised in that described device also includes:
First divides module, is n interface zone in advance by the image taking boundary division of described mobile terminal;
Second acquisition module, organizes reference picture for gathering respectively more, and often group is referenced as the human eye of same people and watches described n respectively attentively Acquired image during different interface zone in individual interface zone;
Second divides module, for each eye areas often organized in reference picture is divided into n pupil region, and described n Pupil region and described n interface zone one_to_one corresponding;
Second determines module, is used for according to the rule that each eyes often organized in reference picture are divided into n pupil region, really Fixed described division rule.
Method the most according to claim 6, it is characterised in that
First acquisition module, is used for:
Statistics is positioned at the quantity of the people before described front-facing camera;
When the quantity of the people before being positioned at described front-facing camera is 1, will be located in the people before described front-facing camera and be defined as institute State shooting people, and periodically gathered the image comprising shooting eye by described front-facing camera;
When the quantity of the people before being positioned at described front-facing camera is at least two, sending information, described information is used In prompting the people at least two people before front-facing camera is chosen as shoot people;
When receiving shooting people and selecting instruction, described shooting people select the people of instruction instruction be defined as described shooting people, and The image comprising shooting eye is periodically gathered by described front-facing camera.
10. according to the arbitrary described device of claim 6 to 9, it is characterised in that described front-facing camera includes that iris identification is taken the photograph As head.
CN201610820471.6A 2016-09-13 2016-09-13 Image processing method and image processing device used for mobile terminal Pending CN106331498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610820471.6A CN106331498A (en) 2016-09-13 2016-09-13 Image processing method and image processing device used for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610820471.6A CN106331498A (en) 2016-09-13 2016-09-13 Image processing method and image processing device used for mobile terminal

Publications (1)

Publication Number Publication Date
CN106331498A true CN106331498A (en) 2017-01-11

Family

ID=57787718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610820471.6A Pending CN106331498A (en) 2016-09-13 2016-09-13 Image processing method and image processing device used for mobile terminal

Country Status (1)

Country Link
CN (1) CN106331498A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973222A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 The control method and mobile terminal of a kind of Digital Zoom
CN107197161A (en) * 2017-06-30 2017-09-22 北京金山安全软件有限公司 Image data processing method and device, electronic equipment and storage medium
CN107277493A (en) * 2017-08-03 2017-10-20 苏州医视医疗科技有限公司 A kind of double-camera video frequency image capturing system
CN110177210A (en) * 2019-06-17 2019-08-27 Oppo广东移动通信有限公司 Photographic method and relevant apparatus
CN110225252A (en) * 2019-06-11 2019-09-10 Oppo广东移动通信有限公司 Camera control method and Related product
CN110675185A (en) * 2019-09-04 2020-01-10 平安科技(深圳)有限公司 Method and device for intelligently adjusting push screen, computer equipment and storage medium
WO2020038439A1 (en) * 2018-08-24 2020-02-27 深圳市大疆创新科技有限公司 Determining device, control device, photography device, determining method, and program
CN111510630A (en) * 2020-04-24 2020-08-07 Oppo广东移动通信有限公司 Image processing method, device and storage medium
CN111510626A (en) * 2020-04-21 2020-08-07 Oppo广东移动通信有限公司 Image synthesis method and related device
CN113572956A (en) * 2021-06-25 2021-10-29 荣耀终端有限公司 Focusing method and related equipment
CN116017138A (en) * 2023-03-27 2023-04-25 荣耀终端有限公司 Light measuring control display method, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924689A (en) * 2005-08-31 2007-03-07 株式会社尼康 Autofocus apparatus
CN103220467A (en) * 2013-04-10 2013-07-24 广东欧珀移动通信有限公司 Intelligent shooting method for mobile terminal and system thereof
CN103248822A (en) * 2013-03-29 2013-08-14 东莞宇龙通信科技有限公司 Focusing method of camera shooting terminal and camera shooting terminal
CN103338331A (en) * 2013-07-04 2013-10-02 上海斐讯数据通信技术有限公司 Image acquisition system adopting eyeballs to control focusing
CN103795926A (en) * 2014-02-11 2014-05-14 惠州Tcl移动通信有限公司 Method, system and photographing device for controlling photographing focusing by means of eyeball tracking technology
CN105049717A (en) * 2015-07-02 2015-11-11 上海闻泰电子科技有限公司 Pupil control automatic focusing method for digital camera and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924689A (en) * 2005-08-31 2007-03-07 株式会社尼康 Autofocus apparatus
CN103248822A (en) * 2013-03-29 2013-08-14 东莞宇龙通信科技有限公司 Focusing method of camera shooting terminal and camera shooting terminal
CN103220467A (en) * 2013-04-10 2013-07-24 广东欧珀移动通信有限公司 Intelligent shooting method for mobile terminal and system thereof
CN103338331A (en) * 2013-07-04 2013-10-02 上海斐讯数据通信技术有限公司 Image acquisition system adopting eyeballs to control focusing
CN103795926A (en) * 2014-02-11 2014-05-14 惠州Tcl移动通信有限公司 Method, system and photographing device for controlling photographing focusing by means of eyeball tracking technology
CN105049717A (en) * 2015-07-02 2015-11-11 上海闻泰电子科技有限公司 Pupil control automatic focusing method for digital camera and system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973222A (en) * 2017-02-28 2017-07-21 维沃移动通信有限公司 The control method and mobile terminal of a kind of Digital Zoom
CN107197161A (en) * 2017-06-30 2017-09-22 北京金山安全软件有限公司 Image data processing method and device, electronic equipment and storage medium
CN107197161B (en) * 2017-06-30 2020-07-14 北京金山安全软件有限公司 Image data processing method and device, electronic equipment and storage medium
CN107277493A (en) * 2017-08-03 2017-10-20 苏州医视医疗科技有限公司 A kind of double-camera video frequency image capturing system
WO2020038439A1 (en) * 2018-08-24 2020-02-27 深圳市大疆创新科技有限公司 Determining device, control device, photography device, determining method, and program
CN110225252A (en) * 2019-06-11 2019-09-10 Oppo广东移动通信有限公司 Camera control method and Related product
CN110225252B (en) * 2019-06-11 2021-07-23 Oppo广东移动通信有限公司 Photographing control method and related product
CN110177210A (en) * 2019-06-17 2019-08-27 Oppo广东移动通信有限公司 Photographic method and relevant apparatus
CN110177210B (en) * 2019-06-17 2021-04-13 Oppo广东移动通信有限公司 Photographing method and related device
CN110675185A (en) * 2019-09-04 2020-01-10 平安科技(深圳)有限公司 Method and device for intelligently adjusting push screen, computer equipment and storage medium
CN111510626B (en) * 2020-04-21 2022-01-04 Oppo广东移动通信有限公司 Image synthesis method and related device
CN111510626A (en) * 2020-04-21 2020-08-07 Oppo广东移动通信有限公司 Image synthesis method and related device
CN111510630A (en) * 2020-04-24 2020-08-07 Oppo广东移动通信有限公司 Image processing method, device and storage medium
CN111510630B (en) * 2020-04-24 2021-09-28 Oppo广东移动通信有限公司 Image processing method, device and storage medium
CN113572956A (en) * 2021-06-25 2021-10-29 荣耀终端有限公司 Focusing method and related equipment
WO2022267464A1 (en) * 2021-06-25 2022-12-29 荣耀终端有限公司 Focusing method and related device
CN116017138A (en) * 2023-03-27 2023-04-25 荣耀终端有限公司 Light measuring control display method, computer equipment and storage medium
CN116017138B (en) * 2023-03-27 2023-08-25 荣耀终端有限公司 Light measuring control display method, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106331498A (en) Image processing method and image processing device used for mobile terminal
US10944901B2 (en) Real time assessment of picture quality
CN103197491B (en) The method of fast automatic focusing and image collecting device
CN109714519B (en) Method and system for automatically adjusting image frame
KR101539043B1 (en) Image photography apparatus and method for proposing composition based person
US9313419B2 (en) Image processing apparatus and image pickup apparatus where image processing is applied using an acquired depth map
CN103501406B (en) Image collecting system and image collecting method
CN108076278B (en) Automatic focusing method and device and electronic equipment
CN103475893B (en) The pick-up method of object in the pick device of object and three-dimensional display in three-dimensional display
US10852821B2 (en) Virtual ray tracing method and dynamic light field refocusing display system
CN109495686B (en) Shooting method and equipment
US6388707B1 (en) Image pickup apparatus having means for appointing an arbitrary position on the display frame and performing a predetermined signal process thereon
US11962891B2 (en) Image preview method and apparatus, electronic device, and storage medium
CN101310205A (en) Focus control device and imaging device
US20130002924A1 (en) Electronic apparatus
CN104076481A (en) Method for automatically setting focus and therefor
CN103747183A (en) Mobile phone shooting focusing method
CN104656257A (en) Information processing method and electronic equipment
WO2019104670A1 (en) Method and apparatus for determining depth value
CN109495626A (en) A kind of shooting auxiliary device and system for portable mobile communication equipment
CN109919116A (en) Scene recognition method, device, electronic equipment and storage medium
CN105812670A (en) Picture taking method and terminal
CN112017137A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN110505398A (en) A kind of image processing method, device, electronic equipment and storage medium
CN112738388B (en) Photographing processing method and system, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111