CN107633488A - A kind of image processing method and device - Google Patents
A kind of image processing method and device Download PDFInfo
- Publication number
- CN107633488A CN107633488A CN201710828900.9A CN201710828900A CN107633488A CN 107633488 A CN107633488 A CN 107633488A CN 201710828900 A CN201710828900 A CN 201710828900A CN 107633488 A CN107633488 A CN 107633488A
- Authority
- CN
- China
- Prior art keywords
- image
- rule
- processing
- image procossing
- application
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of image processing method and device.Methods described includes:After application in intelligent terminal starts, pending image is obtained;Image procossing rule according to prestoring is handled described image, the image after being handled;Image after the processing is shown in the application;Wherein, described image processing rule includes multiple images processing parameter.The technical scheme can realize multi-effect during an image procossing, such as realize thin face, whitening plus filter etc. in once U.S. face operation, be convenient for users to operate, improve Consumer's Experience.
Description
Technical field
The present invention relates to technical field of image processing, and in particular to a kind of image processing method and device.
Background technology
Instantly people are after taking pictures, and it is very common thing that photo, which handle, using image beautification software, example
Such as grind skin, thin face.But often people once can only carry out a type of beautification to photo, so result in photo
Beautify time length, operating procedure is more, and Consumer's Experience is bad.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the image processing method and device of problem.
According to one aspect of the present invention, there is provided a kind of image processing method, including:
After application in intelligent terminal starts, pending image is obtained;
Image procossing rule according to prestoring is handled described image, the image after being handled;
Image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
Alternatively, the pending image of the acquisition includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
Alternatively, the image procossing rule that the basis prestores carries out processing to described image to be included:
When the application starts, a kind of image procossing rule is randomly selected from the image procossing rule prestored,
Described image is handled according to the image procossing rule of selection;
Or
Described image is handled according to preassigned image procossing rule.
Alternatively, this method also includes:
The first control corresponding with each image procossing rule is shown on the interface of application;
It is described processing is carried out to image according to image procossing rule to include:In response to the trigger event of first control,
Image is handled according to image procossing rule corresponding with first control.
Alternatively, this method also includes:
The second control of editor's image procossing rule is shown on the interface of application;
In response to the trigger event of second control, display image processing rule editing interface, leads in the application
Cross the Image Processing parameter for customized image procossing rule setting that described image processing rule editing interface receives input;
Instructed in response to the preservation to custom images processing rule, the Image Processing parameter of input is correspondingly saved as one
Bar custom images processing rule, or, handle rule according to the custom images that the modification of the Image Processing parameter of input has preserved
Then.
Alternatively, this method also includes:The 3rd control of adjustment image processing effect is shown on the interface of application;
In response to the trigger event of the 3rd control, it is determined that the scaling to each parameter in image procossing rule;
The image procossing rule that the basis prestores carries out processing to image to be included:By in described image processing rule
Each parameter according to the scaling carry out equal proportion scaling, described image is handled using each parameter after scaling.
Alternatively, described image processing rule is corresponding with the object of specified type;
The image procossing rule that the basis prestores carries out processing to image to be included:Identified according to default object
Algorithm, object is identified from described image;
Image procossing rule according to prestoring is handled the object in described image.
Alternatively, this method also includes:
One or more 4th controls are shown on the interface of application, each 4th control corresponds to a kind of object identification respectively
Algorithm;
It is described according to default object recognizer, identify that object includes from described image:In response to the 4th
The trigger event of control, it is determined that the object recognizer used.
Alternatively, the object is face, and described image processing rule is U.S. face rule, each U.S. face rule include with
U.S. face sub-rule corresponding to each region of face;
Each U.S. face sub-rule includes multiple U.S. face parameters.
Alternatively, the U.S. face sub-rule includes:The image of face area is adjusted, and/or, in face area
Increase specified effect on image.
According to another aspect of the present invention, there is provided a kind of image processing apparatus, including:
Acquiring unit, after starting suitable for the application in intelligent terminal, obtain pending image;
Processing unit, suitable for being handled according to the image procossing rule prestored described image, after obtaining processing
Image;
Display unit, suitable for the image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
Alternatively, the acquiring unit, the image of the camera collection suitable for obtaining the intelligent terminal;And/or obtain
The image that server issues;And/or obtain the image stored in the intelligent terminal.
Alternatively, the processing unit, suitable for when the application starts, from the image procossing rule prestored with
Machine chooses a kind of image procossing rule, and described image is handled according to the image procossing rule of selection;Or according to advance
The image procossing rule specified is handled described image.
Alternatively, the display unit, it is further adapted for showing corresponding with each image procossing rule the on the interface of application
One control;
The processing unit, the trigger event of first control is adapted for, according to corresponding with first control
Image procossing rule is handled image.
Alternatively, the display unit, it is further adapted for the second control that editor's image procossing rule is shown on the interface of application
Part;In response to the trigger event of second control, display image processing rule editing interface in the application, by described
Image procossing rule editing interface receives the Image Processing parameter for customized image procossing rule setting of input;
The processing unit, it is further adapted for instructing in response to the preservation to custom images processing rule, by the image of input
Processing parameter correspondingly saves as a custom images processing rule, or, protected according to the modification of the Image Processing parameter of input
The custom images processing rule deposited.
Alternatively, the display unit, it is further adapted for the 3rd control that adjustment image processing effect is shown on the interface of application
Part;
The processing unit, it is further adapted for the trigger event in response to the 3rd control, it is determined that in image procossing rule
The scaling of each parameter;Each parameter in described image processing rule is subjected to equal proportion scaling according to the scaling,
Described image is handled using each parameter after scaling.
Alternatively, described image processing rule is corresponding with the object of specified type;
The processing unit, suitable for according to default object recognizer, object is identified from described image;According to
The image procossing rule prestored is handled the object in described image.
Alternatively, the display unit, it is further adapted for showing one or more 4th controls on the interface of application, each 4th
Control corresponds to a kind of object recognizer respectively;
The processing unit, is adapted for the trigger event of the 4th control, it is determined that the object recognizer used.
Alternatively, the object is face, and described image processing rule is U.S. face rule, each U.S. face rule include with
U.S. face sub-rule corresponding to each region of face;
Each U.S. face sub-rule includes multiple U.S. face parameters.
Alternatively, the U.S. face sub-rule includes:The image of face area is adjusted, and/or, in face area
Increase specified effect on image.
, can be according to including multiple figures after pending image is got from the foregoing, technical scheme
, can be in image procossing as the image procossing rule of processing parameter to image handle and image after display processing
During realize multi-effect, such as realize thin face, whitening plus filter etc. in once U.S. face operation, be convenient for users to operate,
Improve Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of schematic flow sheet of image processing method according to an embodiment of the invention;
Fig. 2 shows a kind of structural representation of image processing apparatus according to an embodiment of the invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows a kind of schematic flow sheet of image processing method according to an embodiment of the invention, such as Fig. 1 institutes
Show, this method includes:
Step S110, after the application in intelligent terminal starts, obtain pending image.
Step S120, image is handled according to the image procossing rule prestored, the image after being handled.
Step S130, the image after processing is shown in the application.
Wherein, image procossing rule includes multiple images processing parameter.Specifically, adjustment image can both be included
The processing of the normal images such as contrast, the brightness of image, color range, the place of the U.S. face types such as thin face, mill skin, liquefaction can also be included
Reason.
It can be seen that the method shown in Fig. 1, after pending image is got, can join according to comprising multiple images processing
Image handle several image procossing rules and the image after display processing, can be real during an image procossing
Existing multi-effect, such as thin face, whitening plus filter etc. are realized in once U.S. face operation, it is convenient for users to operate, improves use
Experience at family.
In one embodiment of the invention, in the above method, obtaining pending image includes following one kind or more
Kind:Obtain the image of the camera collection of intelligent terminal;Obtain the image that server issues;Obtain the figure stored in intelligent terminal
Picture.
For example, application can be camera applications, can pass through camera collection image;Live application is can also be,
The image (generally comprising in video streaming) issued is obtained from server;Either common image procossing application, can be accessed
The storage of intelligent terminal, the image file of specified format is read under specified path.Need exist for explanation, pending figure
As that can be the frame in single image or video (multiple image).
In one embodiment of the invention, in the above method, image is entered according to the image procossing rule prestored
Row processing includes:When application starts, a kind of image procossing rule, root are randomly selected from the image procossing rule prestored
Image is handled according to the image procossing rule of selection;Or image is carried out according to preassigned image procossing rule
Processing.
Two kinds of examples that image procossing rule is chosen are shown in the present embodiment, and both examples can open in application
Chosen automatically when dynamic.For example, when camera applications start, according to the preassigned image procossing rule of user, to collection
And the image shown is handled, or randomly select a kind of image procossing rule and handled.So for liking self-timer
User, it is not necessary to all choose corresponding image procossing rule again when opening camera applications every time, realize random at any time quick
Obtain taking pictures certainly after U.S. face.
Certainly, also there is the user for liking that image procossing is carried out with different-style.Therefore in one embodiment of the invention,
The above method also includes:The first control corresponding with each image procossing rule is shown on the interface of application;According to image procossing
Rule carries out processing to image to be included:In response to the trigger event of the first control, at image corresponding with first control
Reason rule is handled image.
The developer of application can also be that each image procossing rule is given a name according to image procossing style, such as Japanese, South Korea fad,
It is city beauties, small pure and fresh etc..It so can in the lump be shown in the display of the first control, facilitate user to choose.For example,
The image currently shown by image procossing rule A processing, when user clicked it is corresponding with image procossing rule B
After first control, the image of display just switches to the image after being handled with image procossing rule B.
Above-mentioned image procossing rule can be set when application is dispatched from the factory by developer, if the user thinks that can not meet
The demand of oneself, it can also be adjusted by other functions of application.If user generates sizing in use
It preference, also may desire to directly apply, rather than be adjusted every time.Therefore in one embodiment of the invention, on
Stating method also includes:The second control of editor's image procossing rule is shown on the interface of application;In response to touching for the second control
Hair event, display image processing rule editing interface in the application is by what image procossing rule editing interface received input
The Image Processing parameter of customized image procossing rule setting;Instructed in response to the preservation to custom images processing rule,
The Image Processing parameter of input is correspondingly saved as into a custom images processing rule, or, according to the image procossing of input
The custom images processing rule that parameter modification has preserved.
In the present embodiment, user can preserve the custom images oneself liked by custom images processing parameter
Processing rule.Stability in application considers that the image procossing that user's direct editing acquiescence can be forbidden to provide is regular, but
New custom images processing rule is generated, and custom images processing rule allows for user to carry out random editor.
In one embodiment of the invention, the above method also includes:Adjustment image procossing is shown on the interface of application
3rd control of effect;In response to the trigger event of the 3rd control, it is determined that the scaling to each parameter in image procossing rule;
Carrying out processing to image according to the image procossing rule prestored includes:By each parameter in image procossing rule according to scaling
Ratio carries out equal proportion scaling, and image is handled using each parameter after scaling.
In view of the factor for scene of taking pictures, such as be equally whitening operation, for background, the difference of brightness, it is necessary to
The amplitude of adjustment may be also different, therefore additionally provide the 3rd control that can scale each parameter, Yong Huke in the present embodiment
First to select a kind of image procossing rule, equal proportion scaling is then carried out to parameter therein by the 3rd control.Other one
In individual embodiment, also user is allowed to carry out self-defined adjustment to each parameter.
In one embodiment of the invention, in the above method, image procossing rule is the object pair with specified type
Answer;Carrying out processing to image according to the image procossing rule prestored includes:According to default object recognizer, from
Object is identified in image;Image procossing rule according to prestoring is handled the object in image.
In the present embodiment, only the specified target in image can be handled, without to the other parts in image
Handled.In general specified target can be people's (such as being arranged to give tacit consent to), but can also specify manually, such as in this hair
In bright one embodiment, the above method also includes:One or more 4th controls, each 4th control are shown on the interface of application
Part corresponds to a kind of object recognizer respectively;According to default object recognizer, object bag is identified from image
Include:In response to the trigger event of the 4th control, it is determined that the object recognizer used.
The targets such as the people in image, animal (cat, dog, bird) are handled for example, user can specify manually.Each target
Thing recognizer can obtain beforehand through machine learning.When the object identified from image has multiple, to figure
Each object as in can be handled using different image procossing rules.
In one embodiment of the invention, in the above method, object is face, and image procossing rule is advised for U.S. face
Then, each U.S. face rule includes U.S. face sub-rule corresponding with face each region;Each U.S. face sub-rule includes multiple U.S. face ginsengs
Number.Specifically, U.S. face sub-rule includes:The image of face area is adjusted, and/or, on the image of face area
Increase specified effect.
For example, face is divided into multiple regions such as eyebrow, eye, cheek, lip, nose, there is corresponding U.S. face cuckoo in each region
Then, for example, repairing type, color treatments etc. or specified effect addition, such as static textures or dynamic textures.When adding
It when adding specified effect, can also show that the control of the transparency of effect is specified in adjustment on the interface of application, phase is selected for user
The transparency answered.
Fig. 2 shows a kind of structural representation of image processing apparatus according to an embodiment of the invention, such as Fig. 2 institutes
Show, image processing apparatus 200 includes:
Acquiring unit 210, after starting suitable for the application in intelligent terminal, obtain pending image.
Processing unit 220, suitable for being handled according to the image procossing rule prestored image, after being handled
Image.
Display unit 230, suitable for the image after processing is shown in the application.
Wherein, image procossing rule includes multiple images processing parameter.Specifically, adjustment image can both be included
The processing of the normal images such as contrast, the brightness of image, color range, the place of the U.S. face types such as thin face, mill skin, liquefaction can also be included
Reason.
It can be seen that the device shown in Fig. 2, passes through the mutual cooperation of each unit, after pending image is got, Ke Yigen
To image handle the image after simultaneously display processing according to the image procossing rule comprising multiple images processing parameter, can be one
Multi-effect is realized during secondary image procossing, such as thin face, whitening plus filter etc., side are realized in once U.S. face operation
User operation, improve Consumer's Experience.
In one embodiment of the invention, in said apparatus, acquiring unit 210, suitable for obtaining the shooting of intelligent terminal
The image of head collection;And/or obtain the image that server issues;And/or obtain the image stored in intelligent terminal.
For example, application can be camera applications, can pass through camera collection image;Live application is can also be,
The image (generally comprising in video streaming) issued is obtained from server;Either common image procossing application, can be accessed
The storage of intelligent terminal, the image file of specified format is read under specified path.Need exist for explanation, pending figure
As that can be the frame in single image or video (multiple image).
In one embodiment of the invention, in said apparatus, processing unit 220, suitable for when application starts, from advance
A kind of image procossing rule is randomly selected in the image procossing rule of storage, image is carried out according to the image procossing rule of selection
Processing;Or image is handled according to preassigned image procossing rule.
Two kinds of examples that image procossing rule is chosen are shown in the present embodiment, and both examples can open in application
Chosen automatically when dynamic.For example, when camera applications start, according to the preassigned image procossing rule of user, to collection
And the image shown is handled, or randomly select a kind of image procossing rule and handled.So for liking self-timer
User, it is not necessary to all choose corresponding image procossing rule again when opening camera applications every time, realize random at any time quick
Obtain taking pictures certainly after U.S. face.
Certainly, also there is the user for liking that image procossing is carried out with different-style.Therefore in one embodiment of the invention,
In said apparatus, display unit 230, it is further adapted for showing the first control corresponding with each image procossing rule on the interface of application
Part;Processing unit 220, the trigger event of the first control is adapted for, is advised according to image procossing corresponding with first control
Then image is handled.
The developer of application can also be that each image procossing rule is given a name according to image procossing style, such as Japanese, South Korea fad,
It is city beauties, small pure and fresh etc..It so can in the lump be shown in the display of the first control, facilitate user to choose.For example,
The image currently shown by image procossing rule A processing, when user clicked it is corresponding with image procossing rule B
After first control, the image of display just switches to the image after being handled with image procossing rule B.
Above-mentioned image procossing rule can be set when application is dispatched from the factory by developer, if the user thinks that can not meet
The demand of oneself, it can also be adjusted by other functions of application.If user generates sizing in use
It preference, also may desire to directly apply, rather than be adjusted every time.Therefore in one embodiment of the invention, on
State in device, display unit 230, be further adapted for the second control that editor's image procossing rule is shown on the interface of application;Response
In the trigger event of the second control, display image processing rule editing interface, passes through image procossing rule editing circle in the application
Face receives the Image Processing parameter for customized image procossing rule setting of input;Processing unit 220, be further adapted in response to
Preservation to custom images processing rule is instructed, and the Image Processing parameter of input is correspondingly saved as at a custom images
Reason rule, or, handle rule according to the custom images that the modification of the Image Processing parameter of input has preserved.
In the present embodiment, user can preserve the custom images oneself liked by custom images processing parameter
Processing rule.Stability in application considers that the image procossing that user's direct editing acquiescence can be forbidden to provide is regular, but
New custom images processing rule is generated, and custom images processing rule allows for user to carry out random editor.
In one embodiment of the invention, in said apparatus, display unit 230, it is further adapted for showing on the interface of application
Show the 3rd control of adjustment image processing effect;Processing unit 220, it is further adapted for the trigger event in response to the 3rd control, it is determined that
To the scaling of each parameter in image procossing rule;Each parameter in image procossing rule the ratio such as is subjected to according to scaling
Example scaling, is handled image using each parameter after scaling.
In view of the factor for scene of taking pictures, such as be equally whitening operation, for background, the difference of brightness, it is necessary to
The amplitude of adjustment may be also different, therefore additionally provide the 3rd control that can scale each parameter, Yong Huke in the present embodiment
First to select a kind of image procossing rule, equal proportion scaling is then carried out to parameter therein by the 3rd control.Other one
In individual embodiment, also user is allowed to carry out self-defined adjustment to each parameter.
In one embodiment of the invention, in said apparatus, image procossing rule is the object pair with specified type
Answer;Processing unit 220, suitable for according to default object recognizer, object is identified from image;According to prestoring
Image procossing rule the object in image is handled.
In one embodiment of the invention, in said apparatus, display unit 230, it is further adapted for showing on the interface of application
Show one or more 4th controls, each 4th control corresponds to a kind of object recognizer respectively;Processing unit 220, suitable for sound
The trigger event of the controls of Ying Yu tetra-, it is determined that the object recognizer used.
In the present embodiment, only the specified target in image can be handled, without to the other parts in image
Handled.In general specified target can be people's (such as being arranged to give tacit consent to), but can also specify manually, such as in this hair
In bright one embodiment, the above method also includes:One or more 4th controls, each 4th control are shown on the interface of application
Part corresponds to a kind of object recognizer respectively;According to default object recognizer, object bag is identified from image
Include:In response to the trigger event of the 4th control, it is determined that the object recognizer used.
The targets such as the people in image, animal (cat, dog, bird) are handled for example, user can specify manually.Each target
Thing recognizer can obtain beforehand through machine learning.When the object identified from image has multiple, to figure
Each object as in can be handled using different image procossing rules.
In one embodiment of the invention, in said apparatus, object is face, and image procossing rule is advised for U.S. face
Then, each U.S. face rule includes U.S. face sub-rule corresponding with face each region;Each U.S. face sub-rule includes multiple U.S. face ginsengs
Number.Specifically, U.S. face sub-rule includes:The image of face area is adjusted, and/or, on the image of face area
Increase specified effect.
For example, face is divided into multiple regions such as eyebrow, eye, cheek, lip, nose, there is corresponding U.S. face cuckoo in each region
Then, for example, repairing type, color treatments etc. or specified effect addition, such as static textures or dynamic textures.When adding
It when adding specified effect, can also show that the control of the transparency of effect is specified in adjustment on the interface of application, phase is selected for user
The transparency answered.
In summary, technical scheme, can be according to including multiple images after pending image is got
Image handle the image procossing rule of processing parameter and the image after display processing, can be in the mistake of an image procossing
Multi-effect is realized in journey, such as thin face, whitening plus filter etc. are realized in once U.S. face operation, is convenient for users to operate, carries
High Consumer's Experience.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein.
Various fexible units can also be used together with teaching based on this.As described above, required by constructing this kind of device
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize one of some or all parts in image processing apparatus
A little or repertoire.The present invention is also implemented as setting for performing some or all of method as described herein
Standby or program of device (for example, computer program and computer program product).Such program for realizing the present invention can deposit
Storage on a computer-readable medium, or can have the form of one or more signal.Such signal can be from because of spy
Download and obtain on net website, either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Embodiment of the invention discloses that A1, a kind of image processing method, wherein, this method includes:
After application in intelligent terminal starts, pending image is obtained;
Image procossing rule according to prestoring is handled described image, the image after being handled;
Image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
A2, the method as described in A1, wherein, the pending image of the acquisition includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
A3, the method as described in A1, wherein, the image procossing rule that the basis prestores to described image at
Reason includes:
When the application starts, a kind of image procossing rule is randomly selected from the image procossing rule prestored,
Described image is handled according to the image procossing rule of selection;
Or
Described image is handled according to preassigned image procossing rule.
A4, the method as described in A1, wherein, this method also includes:
The first control corresponding with each image procossing rule is shown on the interface of application;
It is described processing is carried out to image according to image procossing rule to include:In response to the trigger event of first control,
Image is handled according to image procossing rule corresponding with first control.
A5, the method as described in A1, wherein, this method also includes:
The second control of editor's image procossing rule is shown on the interface of application;
In response to the trigger event of second control, display image processing rule editing interface, leads in the application
Cross the Image Processing parameter for customized image procossing rule setting that described image processing rule editing interface receives input;
Instructed in response to the preservation to custom images processing rule, the Image Processing parameter of input is correspondingly saved as one
Bar custom images processing rule, or, handle rule according to the custom images that the modification of the Image Processing parameter of input has preserved
Then.
A6, the method as described in A1, wherein, this method also includes:Adjustment image procossing effect is shown on the interface of application
The 3rd control of fruit;
In response to the trigger event of the 3rd control, it is determined that the scaling to each parameter in image procossing rule;
The image procossing rule that the basis prestores carries out processing to image to be included:By in described image processing rule
Each parameter according to the scaling carry out equal proportion scaling, described image is handled using each parameter after scaling.
A7, the method as any one of A1-A5, wherein, described image processing rule is the target with specified type
Corresponding to thing;
The image procossing rule that the basis prestores carries out processing to image to be included:Identified according to default object
Algorithm, object is identified from described image;
Image procossing rule according to prestoring is handled the object in described image.
A8, the method as described in A7, wherein, this method also includes:
One or more 4th controls are shown on the interface of application, each 4th control corresponds to a kind of object identification respectively
Algorithm;
It is described according to default object recognizer, identify that object includes from described image:In response to the 4th
The trigger event of control, it is determined that the object recognizer used.
A9, the method as described in A7, wherein, the object is face, and described image processing rule is U.S. face rule, respectively
U.S. face rule includes U.S. face sub-rule corresponding with face each region;
Each U.S. face sub-rule includes multiple U.S. face parameters.
A10, the method as described in A9, wherein, the U.S. face sub-rule includes:The image of face area is adjusted,
And/or increase specified effect on the image of face area.
Embodiments of the invention also disclose B11, a kind of image processing apparatus, wherein, the device includes:
Acquiring unit, after starting suitable for the application in intelligent terminal, obtain pending image;
Processing unit, suitable for being handled according to the image procossing rule prestored described image, after obtaining processing
Image;
Display unit, suitable for the image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
B12, the device as described in B11, wherein,
The acquiring unit, the image of the camera collection suitable for obtaining the intelligent terminal;And/or obtain server
The image issued;And/or obtain the image stored in the intelligent terminal.
B13, the device as described in B11, wherein,
The processing unit, suitable for when the application starts, being randomly selected from the image procossing rule prestored
A kind of image procossing rule, is handled described image according to the image procossing rule of selection;Or according to preassigned
Image procossing rule is handled described image.
B14, the device as described in B11, wherein,
The display unit, it is further adapted for showing the first control corresponding with each image procossing rule on the interface of application;
The processing unit, the trigger event of first control is adapted for, according to corresponding with first control
Image procossing rule is handled image.
B15, the device as described in B11, wherein,
The display unit, it is further adapted for the second control that editor's image procossing rule is shown on the interface of application;Response
In the trigger event of second control, display image processing rule editing interface in the application, at described image
Manage the Image Processing parameter for customized image procossing rule setting that rule editing interface receives input;
The processing unit, it is further adapted for instructing in response to the preservation to custom images processing rule, by the image of input
Processing parameter correspondingly saves as a custom images processing rule, or, protected according to the modification of the Image Processing parameter of input
The custom images processing rule deposited.
B16, the device as described in B11, wherein,
The display unit, it is further adapted for the 3rd control that adjustment image processing effect is shown on the interface of application;
The processing unit, it is further adapted for the trigger event in response to the 3rd control, it is determined that in image procossing rule
The scaling of each parameter;Each parameter in described image processing rule is subjected to equal proportion scaling according to the scaling,
Described image is handled using each parameter after scaling.
B17, the device as any one of B11-B15, wherein, described image processing rule is the mesh with specified type
Mark corresponding to thing;
The processing unit, suitable for according to default object recognizer, object is identified from described image;According to
The image procossing rule prestored is handled the object in described image.
B18, the device as described in B17, wherein,
The display unit, it is further adapted for showing one or more 4th controls, each 4th control point on the interface of application
A kind of object recognizer is not corresponded to;
The processing unit, is adapted for the trigger event of the 4th control, it is determined that the object recognizer used.
B19, the device as described in B17, wherein, the object is face, and described image processing rule is U.S. face rule,
Each U.S. face rule includes U.S. face sub-rule corresponding with face each region;
Each U.S. face sub-rule includes multiple U.S. face parameters.
B20, the device as described in B19, wherein, the U.S. face sub-rule includes:The image of face area is adjusted,
And/or increase specified effect on the image of face area.
Claims (10)
1. a kind of image processing method, wherein, this method includes:
After application in intelligent terminal starts, pending image is obtained;
Image procossing rule according to prestoring is handled described image, the image after being handled;
Image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
2. the method for claim 1, wherein the pending image of the acquisition includes following one or more:
Obtain the image of the camera collection of the intelligent terminal;
Obtain the image that server issues;
Obtain the image stored in the intelligent terminal.
3. the image procossing rule that the method for claim 1, wherein basis prestores is carried out to described image
Processing includes:
When the application starts, a kind of image procossing rule is randomly selected from the image procossing rule prestored, according to
The image procossing rule of selection is handled described image;
Or
Described image is handled according to preassigned image procossing rule.
4. the method for claim 1, wherein this method also includes:
The first control corresponding with each image procossing rule is shown on the interface of application;
It is described processing is carried out to image according to image procossing rule to include:In response to the trigger event of first control, according to
Image procossing rule corresponding with first control is handled image.
5. the method for claim 1, wherein this method also includes:
The second control of editor's image procossing rule is shown on the interface of application;
In response to the trigger event of second control, display image processing rule editing interface, passes through institute in the application
State the Image Processing parameter for customized image procossing rule setting that image procossing rule editing interface receives input;
Instructed in response to the preservation to custom images processing rule, the Image Processing parameter of input is correspondingly saved as one certainly
Image procossing rule is defined, or, handle rule according to the custom images that the modification of the Image Processing parameter of input has preserved.
6. a kind of image processing apparatus, wherein, the device includes:
Acquiring unit, after starting suitable for the application in intelligent terminal, obtain pending image;
Processing unit, suitable for being handled according to the image procossing rule prestored described image, the figure after being handled
Picture;
Display unit, suitable for the image after the processing is shown in the application;
Wherein, described image processing rule includes multiple images processing parameter.
7. device as claimed in claim 6, wherein,
The acquiring unit, the image of the camera collection suitable for obtaining the intelligent terminal;And/or obtain server and issue
Image;And/or obtain the image stored in the intelligent terminal.
8. device as claimed in claim 6, wherein,
The processing unit, suitable for when the application starts, one kind is randomly selected from the image procossing rule prestored
Image procossing rule, is handled described image according to the image procossing rule of selection;Or according to preassigned image
Processing rule is handled described image.
9. device as claimed in claim 6, wherein,
The display unit, it is further adapted for showing the first control corresponding with each image procossing rule on the interface of application;
The processing unit, the trigger event of first control is adapted for, according to image corresponding with first control
Processing rule is handled image.
10. device as claimed in claim 6, wherein,
The display unit, it is further adapted for the second control that editor's image procossing rule is shown on the interface of application;In response to institute
The trigger event of the second control is stated, display image processing rule editing interface, is handled by described image and advised in the application
Then editing interface receives the Image Processing parameter for customized image procossing rule setting of input;
The processing unit, it is further adapted for instructing in response to the preservation to custom images processing rule, by the image procossing of input
Parameter correspondingly saves as a custom images processing rule, or, preserved according to the modification of the Image Processing parameter of input
Custom images processing rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710828900.9A CN107633488A (en) | 2017-09-14 | 2017-09-14 | A kind of image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710828900.9A CN107633488A (en) | 2017-09-14 | 2017-09-14 | A kind of image processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107633488A true CN107633488A (en) | 2018-01-26 |
Family
ID=61099870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710828900.9A Pending CN107633488A (en) | 2017-09-14 | 2017-09-14 | A kind of image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107633488A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492244A (en) * | 2018-01-30 | 2018-09-04 | 光锐恒宇(北京)科技有限公司 | Image processing method, device and computer readable storage medium |
CN108965770A (en) * | 2018-08-30 | 2018-12-07 | Oppo广东移动通信有限公司 | Image processing template generation method, device, storage medium and mobile terminal |
CN109157831A (en) * | 2018-08-06 | 2019-01-08 | 光锐恒宇(北京)科技有限公司 | Implementation method, device, intelligent terminal and the computer readable storage medium of game |
CN111666124A (en) * | 2020-05-29 | 2020-09-15 | 平安科技(深圳)有限公司 | Image acquisition equipment calling method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365067A (en) * | 2007-08-06 | 2009-02-11 | 株式会社尼康 | Electronic camera |
CN102984595A (en) * | 2012-12-31 | 2013-03-20 | 北京京东世纪贸易有限公司 | Image processing system and image processing method |
CN103413270A (en) * | 2013-08-15 | 2013-11-27 | 北京小米科技有限责任公司 | Method and device for image processing and terminal device |
CN103605975A (en) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | Image processing method and device and terminal device |
CN105306835A (en) * | 2015-10-16 | 2016-02-03 | 广州市久邦数码科技有限公司 | Image processing system |
-
2017
- 2017-09-14 CN CN201710828900.9A patent/CN107633488A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101365067A (en) * | 2007-08-06 | 2009-02-11 | 株式会社尼康 | Electronic camera |
CN102984595A (en) * | 2012-12-31 | 2013-03-20 | 北京京东世纪贸易有限公司 | Image processing system and image processing method |
CN103413270A (en) * | 2013-08-15 | 2013-11-27 | 北京小米科技有限责任公司 | Method and device for image processing and terminal device |
CN103605975A (en) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | Image processing method and device and terminal device |
CN105306835A (en) * | 2015-10-16 | 2016-02-03 | 广州市久邦数码科技有限公司 | Image processing system |
Non-Patent Citations (1)
Title |
---|
软件无忧: "《美图秀秀怎么等比例缩小图片》", 《HTTPS://WWW.KAFAN.CN/EDU/51859892.HTML》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492244A (en) * | 2018-01-30 | 2018-09-04 | 光锐恒宇(北京)科技有限公司 | Image processing method, device and computer readable storage medium |
CN109157831A (en) * | 2018-08-06 | 2019-01-08 | 光锐恒宇(北京)科技有限公司 | Implementation method, device, intelligent terminal and the computer readable storage medium of game |
CN108965770A (en) * | 2018-08-30 | 2018-12-07 | Oppo广东移动通信有限公司 | Image processing template generation method, device, storage medium and mobile terminal |
CN108965770B (en) * | 2018-08-30 | 2021-12-07 | Oppo广东移动通信有限公司 | Image processing template generation method and device, storage medium and mobile terminal |
CN111666124A (en) * | 2020-05-29 | 2020-09-15 | 平安科技(深圳)有限公司 | Image acquisition equipment calling method and device, computer equipment and storage medium |
CN111666124B (en) * | 2020-05-29 | 2023-10-27 | 平安科技(深圳)有限公司 | Image acquisition device calling method, device, computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107633488A (en) | A kind of image processing method and device | |
CN107493440A (en) | A kind of method and apparatus of display image in the application | |
CN108174099A (en) | Method for displaying image, device and computer readable storage medium | |
CN103856718B (en) | Photo synthesis method and photo synthesis device | |
CN107633541A (en) | The generation method and device of a kind of image special effect | |
CN108230234B (en) | Image blurs processing method, device, storage medium and electronic equipment | |
CN108495058A (en) | Image processing method, device and computer readable storage medium | |
CN108573516B (en) | It draws the generation method of this document, calculate equipment and computer storage medium | |
US11132770B2 (en) | Image processing methods and apparatuses, computer readable storage media and electronic devices | |
CN106897857A (en) | A kind of workflow processing method and system | |
US20120071706A1 (en) | System and method for eliciting a relaxation response | |
CN107341762A (en) | Take pictures processing method, device and terminal device | |
CN106897808A (en) | A kind of workflow creation method and apparatus | |
CN107730461A (en) | Image processing method, apparatus, device and medium | |
US20190053607A1 (en) | Electronic apparatus and method for providing makeup trial information thereof | |
CN107633480A (en) | A kind of image processing method and device | |
CN106897858A (en) | A kind of workflow processing method and system | |
CN107633479A (en) | A kind of method and apparatus of special display effect in the application | |
CN108235117A (en) | A kind of video shading process and device | |
CN108696699A (en) | A kind of method and apparatus of video processing | |
CN108667633A (en) | A kind of short video sharing method and apparatus | |
CN107610149A (en) | Image segmentation result edge optimization processing method, device and computing device | |
US9438821B1 (en) | Method for applying multi-layered film grain and texture mapping to a digital video image | |
CN108492244A (en) | Image processing method, device and computer readable storage medium | |
Klingbeil et al. | Challenges in user experience design of image filtering apps |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180126 |