CN104463782B - Image processing method, device and electronic equipment - Google Patents
Image processing method, device and electronic equipment Download PDFInfo
- Publication number
- CN104463782B CN104463782B CN201310421254.6A CN201310421254A CN104463782B CN 104463782 B CN104463782 B CN 104463782B CN 201310421254 A CN201310421254 A CN 201310421254A CN 104463782 B CN104463782 B CN 104463782B
- Authority
- CN
- China
- Prior art keywords
- image
- region
- predetermined
- processing
- processing 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Abstract
The invention discloses a kind of image processing method, device and electronic equipments, belong to image processing field.The described method includes:Image is gathered by the front camera of electronic equipment;It whether there is predetermined characteristic in detection image;The processing region in target image is determined according to predetermined characteristic, target image is described image, the described image image of acquisition or image corresponding with described image afterwards;Predetermined process is carried out to the processing region in target image.It whether there is predetermined characteristic after the present invention is by camera collection image, in detection image and the processing region in target image determined according to predetermined characteristic, predetermined process then is carried out to the processing region in target image;Solve the problems, such as that existing image processing method is required for auxiliary input device that could realize and image is handled;Reach and can be achieved with handling image without auxiliary input device so that image procossing more simply and easily effect.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of image processing method, device and electronic equipment.
Background technology
Image procossing is that image is analyzed, to reach the technology of required result.
The method handled at present image is required to be completed by means of some auxiliary input devices.With image magnification
Exemplified by processing, people taken using the camera of the electronic equipment of laptop or tablet computer etc after image, it is necessary to
It is realized using the idler wheel of mouse to the amplification of image either by being stretched on the touchscreen to image or drag operation is real
Now to the amplification of image.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:At existing image
Reason method is required for the auxiliary input devices such as mouse or touch-screen that could realize the processing to image.It is not provided with for some
The electronic equipment of the auxiliary input devices such as mouse or touch-screen, can not realize the processing to image, for example, smart television, more
The electronic equipments such as function player or display.
The content of the invention
It is required for auxiliary input device that could realize what is handled image to solve existing image processing method
Problem, an embodiment of the present invention provides a kind of image processing method, device and electronic equipments.The technical solution is as follows:
In a first aspect, a kind of image processing method is provided, the described method includes:
Image is gathered by the front camera of electronic equipment;
It detects and whether there is predetermined characteristic in described image;
Determine the processing region in target image according to the predetermined characteristic, the target image is described image, described
The image or image corresponding with described image gathered after image;
Predetermined process is carried out to the processing region in the target image.
Second aspect, provides a kind of image processing apparatus, and described device includes:
Image capture module, for passing through the front camera of electronic equipment acquisition image;
Feature detection module whether there is predetermined characteristic for detecting in described image;
Area determination module, for determining the processing region in target image, the target figure according to the predetermined characteristic
Seem described image, the described image image of acquisition or image corresponding with described image afterwards;
Execution module is handled, for carrying out predetermined process to the processing region in the target image.
The third aspect provides a kind of electronic equipment, which is characterized in that the electronic equipment is included as described in second aspect
Image processing apparatus.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
After gathering image by the front camera of electronic equipment, with the presence or absence of predetermined characteristic and according to pre- in detection image
Determine feature and determine processing region in target image, predetermined process then is carried out to the processing region in target image;It solves
Existing image processing method is required for auxiliary input device that could realize the problem of handling image;Having reached need not borrow
Auxiliary input device is helped to can be achieved with handling image so that image procossing more simply and easily effect.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the method flow diagram of image processing method provided by one embodiment of the present invention;
Fig. 2A is the method flow diagram for the image processing method that another embodiment of the present invention provides;
Fig. 2 B are the effect diagrams of enhanced processing involved in image processing method provided by one embodiment of the present invention;
Fig. 3 A are the method flow diagrams for the image processing method that yet another embodiment of the invention provides;
Fig. 3 B are the effect signals that beautifying faces involved in image processing method provided by one embodiment of the present invention are handled
Figure;
Fig. 4 A are the method flow diagrams for the image processing method that a further embodiment of the present invention provides;
Fig. 4 B are the effect diagrams of coloring treatment involved in image processing method provided by one embodiment of the present invention;
Fig. 5 is the block diagram of image processing apparatus provided by one embodiment of the present invention;
Fig. 6 is the block diagram for the image processing apparatus that another embodiment of the present invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
It please refers to Fig.1, it illustrates the method flow diagrams of image processing method provided by one embodiment of the present invention.The figure
Picture processing method, including:
Step 102, image is gathered by the front camera of electronic equipment;
Step 104, it whether there is predetermined characteristic in detection image;
Step 106, the processing region in target image is determined according to predetermined characteristic, target image is the image, the image
The image or image corresponding with the image gathered afterwards;
Step 108, predetermined process is carried out to the processing region in target image.
In conclusion image processing method provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.
When the image that the front camera of electronic equipment gathers is a frame, predetermined characteristic is the static first predetermined spy
Sign, such as:Finger.When the image that the front camera of electronic equipment gathers be at least two frame, predetermined characteristic is dynamic the
Two predetermined characteristics, for example, the gesture drawn a circle.Electronic equipment can all carry out identical predetermined process to arbitrary predetermined characteristic,
For example processing is all amplified to arbitrary predetermined characteristic;The different book offices corresponding to different predetermined characteristics can also be preset
Reason, such as opponent's fingering row enhanced processing, the gesture progress coloring treatment to drawing a circle and the gesture to drawing triangle contract
Small processing etc..In the following embodiments, by the different situations involved in image processing method provided by the invention respectively into
Row explanation and introduction.
A is please referred to Fig.2, it illustrates the method flow diagrams for the image processing method that another embodiment of the present invention provides.This
For the image that the image processing method that embodiment provides is gathered using the front camera of electronic equipment as a frame, predetermined characteristic is static state
First predetermined characteristic illustrate.The image processing method, including:
Step 201, image is gathered by the front camera of electronic equipment.
Electronic equipment is equipped with front camera, and the image collected by the front camera of electronic equipment can be
It is more than an only frame or two frames or two frames.In the present embodiment, with pass through the front camera of electronic equipment gather
Obtained image is a frame namely usually said takes pictures to illustrate.
Step 202, with the presence or absence of the first static predetermined characteristic in detection image.
In the present embodiment, since the image that the front camera of electronic equipment collects is a frame, so predetermined spy
It levies as the first static predetermined characteristic.By taking the front camera acquisition facial image of electronic equipment as an example, static first is predetermined
Feature can be placed on the " V "-shaped two piece finger on face surface.It can be identified by finger identification technology and be placed on people
The " V "-shaped two piece finger on face surface.
Step 203, when the first predetermined characteristic is finger, the treatment region in target image is determined according to the first predetermined characteristic
Domain.
This step includes the possible realization method of the following two kinds:
In the first possible implementation, if the first predetermined characteristic forms closed area, by the first predetermined characteristic
The region that is formed of inside edge as processing region.
For example, the closed area that the first predetermined characteristic is formed is left hand thumb, left index finger, right hand forefinger and hand thumb
Area defined.Left hand thumb, left index finger, right hand forefinger and right hand thumb can be then identified by finger identification technology
Refer to, the region that the inside edge of four fingers is formed is as processing region.
In second of possible realization method, if the first predetermined characteristic forms semiclosed region, by the first predetermined spy
The region that the inside edge of sign and each vertex are formed is as processing region.
For example, the first predetermined characteristic is to be placed on the " V "-shaped two piece finger on face surface, then can be known by finger
Other technology identifies two fingers, using the region that the vertex of the inside edge of two fingers and two finger tips is formed as processing
Region.
Step 204, predetermined process is carried out to the processing region in target image.
In the present embodiment, using the first predetermined characteristic as the " V "-shaped two piece finger on face surface, with this first
Predetermined characteristic corresponding predetermined process illustrates for enhanced processing.
Particularly, if predetermined process is enhanced processing, in the first possible implementation, this step includes following several
Sub-steps:
First, processing region is amplified according to predetermined amplification factor.
Amplification factor can be the preset fixed amplification factor of electronic equipment or user according to actual feelings
The amplification factor that condition is set in the electronic device.
Second, amplified processing region is shown.
Electronic equipment chooses mode, such as the amplified place of selection of dimension according to display screen according to preset region
The center section in region is managed, is then shown in display screen.
In second of possible realization method, this step includes following several sub-steps:
First, processing region is amplified according to predetermined amplification factor.
Amplification factor can be the preset fixed amplification factor of electronic equipment or user according to actual feelings
The amplification factor that condition is set in the electronic device.
Second, it detects and whether there is characteristic point in amplified processing region.
B is please referred to Fig.2, in the present embodiment, the inside edge of the " V "-shaped two piece finger on face surface will be placed on
The region formed with the vertex of two finger tips is as processing region.Characteristic point refers to exist in amplified processing region apparent
The point of distinguishing characteristics, hence it is evident that distinguishing characteristics includes brightness difference, tone difference, saturation degree difference or gray scale difference etc..It is false
If there is a small pox on the face surface between two fingers, which is characteristic point, and electronic equipment can detect this pattern.
3rd, by the characteristic point in amplified processing region it is placed in the middle after show.
Electronic equipment between two parties and shows amplified small pox in display screen.
In conclusion image processing method provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.The present embodiment is using the first predetermined characteristic to be placed on the " V "-shaped of face surface
Two fingers, predetermined process corresponding with the first predetermined characteristic comes for enhanced processing for example, and providing two kinds of processes
The display mode of amplified processing region.Image processing method provided in this embodiment, it is real by the amplification to processing region
Show and face or other positions are simply and easily checked in smart television, the tablet computer either electronic equipments such as smart mobile phone
Skin effect.
A is please referred to Fig.3, it illustrates the method flow diagrams for the image processing method that yet another embodiment of the invention provides.This
The image processing method that embodiment provides is that at least two frames, predetermined characteristic are using the image that the front camera of electronic equipment gathers
Dynamic second predetermined characteristic illustrates.The image processing method, including:
Step 301, image is gathered by the front camera of electronic equipment.
Electronic equipment is equipped with front camera, and the image collected by the front camera of electronic equipment can be
It is more than an only frame or two frames or two frames.In the present embodiment, with pass through the front camera of electronic equipment gather
Obtained image is at least two frames namely usually said camera shooting to illustrate.
Step 302, it whether there is dynamic second predetermined characteristic in detection image.
In the present embodiment, since the image that the front camera of electronic equipment collects is at least two frames, so in advance
Surely it is characterized as dynamic second predetermined characteristic.By taking the front camera acquisition facial image of electronic equipment as an example, dynamic second
Predetermined characteristic can be that user has drawn the gesture of a circle on face surface.It can be according to the gesture of user by mode identification technology
It identifies in the track of a circle on face surface.
Step 303, predetermined process is inquired about in predetermined correspondence according to the second predetermined characteristic, predetermined correspondence is
One-to-one relationship between two predetermined characteristics and predetermined process.
Predetermined process includes:Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, addition jewelry, add
Add word, dividing processing or beautifying faces etc..
In the present embodiment, using the second predetermined characteristic as the gesture that a circle has been drawn on face surface, with the second predetermined spy
Corresponding predetermined process is levied to illustrate for beautifying faces.
Step 304, the predetermined process inquired is determined as needing the predetermined process for carrying out target image.
After inquiry obtains the predetermined process corresponding to the second predetermined characteristic in predetermined correspondence, the book office is determined
It manages to need the predetermined process for carrying out target image.In the present embodiment, using target image as in user a circle is drawn in face
During, the image that is gathered after the first two field picture of the front camera of electronic equipment acquisition illustrates.
Step 305, when the second predetermined characteristic is the gesture for drawing desired trajectory, target is determined according to the second predetermined characteristic
Processing region in image.
This step includes following three kinds of possible realization methods:
In the first possible implementation, if desired trajectory encloses a closed area, closed area is made
For processing region.
For example, desired trajectory is that either desired trajectory is a circle to a triangle or desired trajectory is arbitrary closure
Polygon etc..
It, will at least two if desired trajectory encloses at least two closed areas in second of possible realization method
Larger one is used as processing region in a closed area.
For example, desired trajectory is two circles, then closed area that larger circle is enclosed is chosen as processing region.
It, will be in desired trajectory if desired trajectory encloses semiclosed region in the third possible realization method
The region that lateral edges and each vertex are formed is as processing region.
For example, desired trajectory encloses a " V "-shaped semiclosed region, then by the inside edge and two of " V " font
The delta-shaped region that a vertex is formed is as processing region.
Step 306, predetermined process is carried out to the processing region in target image.
B is please referred to Fig.3, in the present embodiment, the closed area that the track of a circle on face surface is enclosed is made
For processing region.By the image processing method of beautifying faces, mill skin can be carried out to the skin in face surface treatment region
The processing such as whitening, speckle removing, acne removing.
In conclusion image processing method provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.Image processing method provided in this embodiment, preposition by electronic equipment are taken the photograph
As head acquisition at least two field pictures, achieve the effect that real-time dynamicly to handle image.
A is please referred to Fig.4, it illustrates the method flow diagrams for the image processing method that a further embodiment of the present invention provides.This
The image processing method that embodiment provides is that at least two frames, predetermined characteristic are using the image that the front camera of electronic equipment gathers
Dynamic second predetermined characteristic illustrates.The image processing method, including:
Step 401, image is gathered by the front camera of electronic equipment.
Electronic equipment is equipped with front camera, and the image collected by the front camera of electronic equipment can be
It is more than an only frame or two frames or two frames.In the present embodiment, with pass through the front camera of electronic equipment gather
Obtained image is at least two frames namely usually said camera shooting to illustrate.
Step 402, it whether there is dynamic second predetermined characteristic in detection image.
In the present embodiment, since the image that the front camera of electronic equipment collects is at least two frames, so in advance
Surely it is characterized as dynamic second predetermined characteristic.By taking the front camera acquisition facial image of electronic equipment as an example, dynamic second
Predetermined characteristic can be that user has drawn the gesture of a circle on face surface.It can be according to the gesture of user by mode identification technology
It identifies in the track of a circle on face surface.
Step 403, predetermined process is inquired about in predetermined correspondence according to the second predetermined characteristic, predetermined correspondence is
One-to-one relationship between two predetermined characteristics and predetermined process.
Predetermined process includes:Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, addition jewelry, add
Add word, dividing processing or beautifying faces etc..In the present embodiment, drawn using the second predetermined characteristic as in face nose
The gesture of a circle is illustrated with the corresponding predetermined process of the second predetermined characteristic for coloring treatment.
Step 404, the predetermined process inquired is determined as needing the predetermined process for carrying out target image.
After inquiry obtains the predetermined process corresponding to the second predetermined characteristic in predetermined correspondence, the book office is determined
It manages to need the predetermined process for carrying out target image.In the present embodiment, it is false using image corresponding with face as target image
If it is somebody's turn to do the face image that image corresponding with face is " tom cat ".
Step 405, when the second predetermined characteristic is the gesture for drawing desired trajectory, target is determined according to the second predetermined characteristic
Processing region in image.
This step includes following three kinds of possible realization methods:
In the first possible implementation, if desired trajectory encloses a closed area, closed area is made
For processing region.
For example, desired trajectory is that either desired trajectory is a circle to a triangle or desired trajectory is arbitrary closure
Polygon etc..
It, will at least two if desired trajectory encloses at least two closed areas in second of possible realization method
Larger one is used as processing region in a closed area.
For example, desired trajectory is two circles, then closed area that larger circle is enclosed is chosen as processing region.
It, will be in desired trajectory if desired trajectory encloses semiclosed region in the third possible realization method
The region that lateral edges and each vertex are formed is as processing region.
For example, desired trajectory encloses a " V "-shaped semiclosed region, then by the inside edge and two of " V " font
The delta-shaped region that a vertex is formed is as processing region.
Step 406, predetermined process is carried out to the processing region in target image.
B is please referred to Fig.4, in the present embodiment, since the second predetermined characteristic is that the hand of a circle has been drawn in face nose
Gesture, and the face image that target image is " tom cat " corresponding with face.Smart machine is determined according to the second predetermined characteristic
The nasal area of " tom cat " face is processing region.Assuming that user's selection in the processing area upper black, then smart machine
It is shown after black to the nasal area of " tom cat " face.
In conclusion image processing method provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.Image processing method provided in this embodiment is set using target image as with intelligence
The corresponding image of image of standby front camera acquisition to carry out the processing region in target image for example, realizing
Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, addition jewelry, addition word, dividing processing or people
The image processing effects such as face beautification.
In a specific example, Xiao Fang has the front camera of face's alignment smart television, the smart television
Image processing function provided in an embodiment of the present invention.The face of the front camera captured in real-time Xiao Fang of smart television, and detect
It whether there is predetermined characteristic in the image taken.Xiao Fang is attached to nose after two fingers are put into " V " font, and sets
Predetermined process is that processing is amplified to image.There have been the nose weeks of amplified Xiao Fang on the display screen of smart television
The region enclosed, the blackhead on Xiao Fang's nose are clearly shown in display screen one by one.Further, Xiao Fang can picture
Arbitrarily adjustment needs the position amplified and angle as looking in the mirror, realize it is real-time to skin, directly perceived, clearly observe.
Following is apparatus of the present invention embodiment, can be used for performing the method for the present invention embodiment.It is real for apparatus of the present invention
The details not disclosed in example is applied, refer to the method for the present invention embodiment.
Fig. 5 is refer to, it illustrates the block diagrams of image processing apparatus provided by one embodiment of the present invention.The figure
As processing unit can pass through all or part being implemented in combination with as electronic equipment of software, hardware or both.Electricity
Sub- equipment includes the equipment such as mobile phone, tablet computer and smart television.The image processing apparatus, including:Image capture module
510th, feature detection module 520, area determination module 530 and processing execution module 540.
Image capture module 510, for passing through the front camera of electronic equipment acquisition image;
Feature detection module 520 whether there is predetermined characteristic for detecting in described image;
Area determination module 530, for determining the processing region in target image, the target according to the predetermined characteristic
Image is described image, the described image image of acquisition or image corresponding with described image afterwards;
Execution module 540 is handled, for carrying out predetermined process to the processing region in the target image.
In conclusion image processing apparatus provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.
Fig. 6 is refer to, it illustrates the block diagrams for the image processing apparatus that another embodiment of the present invention provides.The figure
As processing unit can pass through all or part being implemented in combination with as electronic equipment of software, hardware or both.Electricity
Sub- equipment includes the equipment such as mobile phone, tablet computer and smart television.The image processing apparatus, including:Image capture module
510th, feature detection module 520, area determination module 530, processing enquiry module 531, processing determining module 532 and processing perform
Module 540.
Image capture module 510, for passing through the front camera of electronic equipment acquisition image.
Feature detection module 520 whether there is predetermined characteristic for detecting in described image.
Specifically, feature detection module 520 includes:Static detection unit 520a and dynamic detection unit 520b.
The static detection unit 520a if being a frame for described image, is detected in described image with the presence or absence of quiet
First predetermined characteristic of state.
The dynamic detection unit 520b, if being at least two frames for described image, at least two field pictures described in detection
In whether there is dynamic second predetermined characteristic.
Area determination module 530, for determining the processing region in target image, the target according to the predetermined characteristic
Image is described image, the described image image of acquisition or image corresponding with described image afterwards.
In the first possible implementation namely when first predetermined characteristic is finger, the region determines
Module 530, including:First determination unit and the second determination unit;
If forming closed area for first predetermined characteristic, described first is made a reservation for for first determination unit
The region that the inside edge of feature is formed is as the processing region;
Second determination unit, it is pre- by described first if forming semiclosed region for first predetermined characteristic
Region that the inside edge of feature and each vertex are formed is determined as the processing region.
It is to draw the gesture of desired trajectory in second of possible realization method namely in second predetermined characteristic
When, the area determination module 530, including:3rd determination unit, the 4th determination unit and the 5th determination unit;
3rd determination unit, if enclosing a closed area for the desired trajectory, by the enclosed area
Domain is as the processing region;
4th determination unit, if enclosing at least two closed areas for the desired trajectory, by described in extremely
A larger conduct processing region in few two closed areas;
5th determination unit, if enclosing semiclosed region for the desired trajectory, by the desired trajectory
Inside edge and the region that is formed of each vertex as the processing region.
Enquiry module 531 is handled, for inquiring about the predetermined process in predetermined correspondence according to the predetermined characteristic,
The predetermined correspondence is the one-to-one relationship between the predetermined characteristic and the predetermined process.
Handle determining module 532, for by the predetermined process inquired be determined as need to the target image into
Capable predetermined process, the predetermined process include:Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, add
Band object, addition word, dividing processing or beautifying faces.
Execution module 540 is handled, for carrying out predetermined process to the processing region in the target image.
Particularly, if the predetermined process is enhanced processing, the processing execution module 540, including:Region amplifying unit
With region display unit;Alternatively, the region amplifying unit, characteristic detection unit and feature display unit;
The region amplifying unit, for being amplified according to predetermined amplification factor to the processing region;
The region display unit, for the amplified processing region to be shown;
Alternatively,
The region amplifying unit, for being amplified according to predetermined amplification factor to the processing region;
The characteristic detection unit whether there is characteristic point for detecting in the amplified processing region;
The feature display unit, for by the characteristic point in the amplified processing region it is placed in the middle after show
Show.
In conclusion image processing apparatus provided in this embodiment, image is gathered by the front camera of electronic equipment
Afterwards, it whether there is predetermined characteristic in detection image and the processing region in target image determined according to predetermined characteristic, then to mesh
Processing region in logo image carries out predetermined process;It solves existing image processing method and is required for auxiliary input device ability
The problem of realization handles image;Reach and can be achieved with handling image without auxiliary input device, made
Image procossing more simply and easily effect.Image processing apparatus provided in this embodiment is capable of detecting when quiet in image
First predetermined characteristic of state or dynamic first predetermined characteristic, and realize and place is amplified to the processing region in target image
Reason, diminution processing, coloring treatment, change tone, change pattern, addition jewelry, addition word, dividing processing or beautifying faces
Wait image processing effects.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one
It is a "(“a”、“an”、“the”)It is intended to also include plural form.It is to be further understood that "and/or" used herein is
Finger includes one or the arbitrary and all possible combinations of more than one project listed in association.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the 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 merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of image processing method, which is characterized in that the described method includes:
Image is gathered by the front camera of electronic equipment;
It detects and whether there is predetermined characteristic in described image;
The processing region in target image is determined according to the predetermined characteristic, the target image is acquisition after described image
Image or image corresponding with described image;
Predetermined process is carried out to the processing region in the target image;
It whether there is predetermined characteristic in the detection described image, including:
If described image is a frame, detect in described image with the presence or absence of the first static predetermined characteristic;
If described image is at least two frames, with the presence or absence of dynamic second predetermined characteristic in the detection at least two field pictures.
2. according to the method described in claim 1, it is characterized in that, the processing region in the target image carries out in advance
Before fixed processing, further include:
The predetermined process is inquired about in predetermined correspondence according to the predetermined characteristic, the predetermined correspondence is described pre-
Determine the one-to-one relationship between feature and the predetermined process;
The predetermined process inquired is determined as to need the predetermined process for carrying out the target image, the predetermined process
Including:Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, addition jewelry, addition word, dividing processing
Or beautifying faces.
3. according to the method described in claim 1, it is characterized in that, first predetermined characteristic be finger when, the basis
The predetermined characteristic determines the processing region in target image, including:
If first predetermined characteristic forms closed area, the region that the inside edge of first predetermined characteristic is formed
As the processing region;
If first predetermined characteristic forms semiclosed region, by the inside edge of first predetermined characteristic and each vertex institute
The region of composition is as the processing region.
4. according to the method described in claim 1, it is characterized in that, it is to draw the hand of desired trajectory in second predetermined characteristic
During gesture, the processing region determined according to the predetermined characteristic in target image, including:
If the desired trajectory encloses a closed area, using the closed area as the processing region;
If the desired trajectory encloses at least two closed areas, by one larger at least two closed area
As the processing region;
If the desired trajectory encloses semiclosed region, the inside edge of the desired trajectory and each vertex are formed
Region is as the processing region.
If 5. according to the method described in claim 1, it is characterized in that, the predetermined process be enhanced processing, it is described to described
Processing region in target image carries out predetermined process, including:
The processing region is amplified according to predetermined amplification factor;The amplified processing region is shown;
Alternatively,
The processing region is amplified according to predetermined amplification factor;It detects and whether there is in the amplified processing region
Characteristic point;By the characteristic point in the amplified processing region it is placed in the middle after show.
6. a kind of image processing apparatus, which is characterized in that described device includes:
Image capture module, for passing through the front camera of electronic equipment acquisition image;
Feature detection module whether there is predetermined characteristic for detecting in described image;
Area determination module, for determining the processing region in target image according to the predetermined characteristic, the target image is
The image or image corresponding with described image gathered after described image;
Execution module is handled, for carrying out predetermined process to the processing region in the target image;
The feature detection module, including:Static detection unit and dynamic detection unit;
The static detection unit if being a frame for described image, is detected in described image with the presence or absence of static first
Predetermined characteristic;
Whether the dynamic detection unit if being at least two frames for described image, is at least deposited in two field pictures described in detection
In dynamic second predetermined characteristic.
7. device according to claim 6, which is characterized in that described device further includes:
Enquiry module is handled, it is described pre- for inquiring about the predetermined process in predetermined correspondence according to the predetermined characteristic
It is the one-to-one relationship between the predetermined characteristic and the predetermined process to determine correspondence;
Determining module is handled, for the predetermined process inquired to be determined as needing to make a reservation for the target image
Processing, the predetermined process include:Enhanced processing, diminution processing, coloring treatment, change tone, change pattern, addition jewelry,
Add word, dividing processing or beautifying faces.
8. device according to claim 6, which is characterized in that when first predetermined characteristic is finger, the region
Determining module, including:First determination unit and the second determination unit;
First determination unit, if closed area is formed for first predetermined characteristic, by first predetermined characteristic
The region that is formed of inside edge as the processing region;
Second determination unit, if forming semiclosed region for first predetermined characteristic, by the described first predetermined spy
The region that the inside edge of sign and each vertex are formed is as the processing region.
9. device according to claim 6, which is characterized in that in second predetermined characteristic be to draw the hand of desired trajectory
During gesture, the area determination module, including:3rd determination unit, the 4th determination unit and the 5th determination unit;
If enclosing a closed area for the desired trajectory, the closed area is made for 3rd determination unit
For the processing region;
4th determination unit, if enclosing at least two closed areas for the desired trajectory, at least two by described in
A larger conduct processing region in a closed area;
5th determination unit, will be in the desired trajectory if enclosing semiclosed region for the desired trajectory
The region that lateral edges and each vertex are formed is as the processing region.
10. device according to claim 6, which is characterized in that if the predetermined process is enhanced processing, the processing is held
Row module, including:Region amplifying unit and region display unit;Alternatively, the region amplifying unit, characteristic detection unit and spy
Levy display unit;
The region amplifying unit, for being amplified according to predetermined amplification factor to the processing region;
The region display unit, for the amplified processing region to be shown;
Alternatively,
The region amplifying unit, for being amplified according to predetermined amplification factor to the processing region;
The characteristic detection unit whether there is characteristic point for detecting in the amplified processing region;
The feature display unit, for by the characteristic point in the amplified processing region it is placed in the middle after show.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes the image as described in claim 6 to 10 is any
Processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310421254.6A CN104463782B (en) | 2013-09-16 | 2013-09-16 | Image processing method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310421254.6A CN104463782B (en) | 2013-09-16 | 2013-09-16 | Image processing method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104463782A CN104463782A (en) | 2015-03-25 |
CN104463782B true CN104463782B (en) | 2018-06-01 |
Family
ID=52909770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310421254.6A Active CN104463782B (en) | 2013-09-16 | 2013-09-16 | Image processing method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104463782B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105069744A (en) * | 2015-08-06 | 2015-11-18 | 魅族科技(中国)有限公司 | Personalized image editing method and image editing equipment |
CN105976311A (en) * | 2016-05-16 | 2016-09-28 | 深圳天珑无线科技有限公司 | Image processing method and intelligent terminal |
CN106101529B (en) * | 2016-06-07 | 2019-05-21 | Oppo广东移动通信有限公司 | A kind of camera control method and mobile terminal |
CN111201772A (en) * | 2017-10-09 | 2020-05-26 | 深圳传音通讯有限公司 | Video recording method, device and terminal |
CN108415558A (en) * | 2018-02-02 | 2018-08-17 | 上海徕尼智能科技有限公司 | Intelligent glasses and intelligent search method |
CN111104821A (en) * | 2018-10-25 | 2020-05-05 | 北京微播视界科技有限公司 | Image generation method and device |
CN111199169A (en) * | 2018-11-16 | 2020-05-26 | 北京微播视界科技有限公司 | Image processing method and device |
CN110334229A (en) * | 2019-04-30 | 2019-10-15 | 王松年 | Visual display method, equipment, system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6944315B1 (en) * | 2000-10-31 | 2005-09-13 | Intel Corporation | Method and apparatus for performing scale-invariant gesture recognition |
CN102270035A (en) * | 2010-06-04 | 2011-12-07 | 三星电子株式会社 | Apparatus and method for selecting and operating object in non-touch mode |
CN102339125A (en) * | 2010-07-23 | 2012-02-01 | 夏普株式会社 | Information equipment and control method and system thereof |
CN102761706A (en) * | 2011-04-26 | 2012-10-31 | 株式会社理光 | Imaging device and imaging method and program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9772689B2 (en) * | 2008-03-04 | 2017-09-26 | Qualcomm Incorporated | Enhanced gesture-based image manipulation |
US7990421B2 (en) * | 2008-07-18 | 2011-08-02 | Sony Ericsson Mobile Communications Ab | Arrangement and method relating to an image recording device |
CN101907923B (en) * | 2010-06-29 | 2012-02-22 | 汉王科技股份有限公司 | Information extraction method, device and system |
-
2013
- 2013-09-16 CN CN201310421254.6A patent/CN104463782B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6944315B1 (en) * | 2000-10-31 | 2005-09-13 | Intel Corporation | Method and apparatus for performing scale-invariant gesture recognition |
CN102270035A (en) * | 2010-06-04 | 2011-12-07 | 三星电子株式会社 | Apparatus and method for selecting and operating object in non-touch mode |
CN102339125A (en) * | 2010-07-23 | 2012-02-01 | 夏普株式会社 | Information equipment and control method and system thereof |
CN102761706A (en) * | 2011-04-26 | 2012-10-31 | 株式会社理光 | Imaging device and imaging method and program |
Also Published As
Publication number | Publication date |
---|---|
CN104463782A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104463782B (en) | Image processing method, device and electronic equipment | |
US10997445B2 (en) | Facial recognition-based authentication | |
US10121063B2 (en) | Wink gesture based control system | |
TWI659331B (en) | Screen capture method and device for smart terminal | |
EP3736766A1 (en) | Method and device for blurring image background, storage medium, and electronic apparatus | |
US20130050076A1 (en) | Method of recognizing a control command based on finger motion and mobile device using the same | |
CN108712603B (en) | Image processing method and mobile terminal | |
CN103425409B (en) | The control method and device of Projection Display | |
CN109325924B (en) | Image processing method, device, terminal and storage medium | |
Zarepour et al. | A context-based privacy preserving framework for wearable visual lifeloggers | |
CN107091704A (en) | Pressure detection method and device | |
CN112488914A (en) | Image splicing method, device, terminal and computer readable storage medium | |
US20180260044A1 (en) | Information processing apparatus, information processing method, and program | |
CN111722775A (en) | Image processing method, device, equipment and readable storage medium | |
CN103581423A (en) | Method and device for turning over screen and mobile terminal | |
US11270100B2 (en) | Face image detection method and terminal device | |
US8184869B2 (en) | Digital image enhancement | |
CN111444555A (en) | Temperature measurement information display method and device and terminal equipment | |
CN109147001A (en) | A kind of method and apparatus of nail virtual for rendering | |
CN107437269A (en) | A kind of method and device for handling picture | |
JP2017204280A (en) | Method, system and apparatus for selecting video frame | |
CN103514228B (en) | File processing method and electronic device | |
Lakshmi et al. | A novel air writing recognition system using Raspberry Pi for the control and interaction of digital systems | |
CN115293985A (en) | Super-resolution noise reduction method and device for image optimization | |
CN107085822A (en) | Face image processing process and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |