[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106169177A - Image buffing method and device and electronic equipment - Google Patents

Image buffing method and device and electronic equipment Download PDF

Info

Publication number
CN106169177A
CN106169177A CN201610480088.0A CN201610480088A CN106169177A CN 106169177 A CN106169177 A CN 106169177A CN 201610480088 A CN201610480088 A CN 201610480088A CN 106169177 A CN106169177 A CN 106169177A
Authority
CN
China
Prior art keywords
image
carried out
pending
blur
pending image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610480088.0A
Other languages
Chinese (zh)
Inventor
吴晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610480088.0A priority Critical patent/CN106169177A/en
Publication of CN106169177A publication Critical patent/CN106169177A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention provides an image buffing method, an image buffing device and electronic equipment, wherein the image buffing device comprises: carrying out surface blurring on an image to be processed to obtain a first image; performing high contrast retaining processing on the image to be processed and the first image to obtain a second image; and linearly mixing the image to be processed with the second image to obtain a final buffing image. According to the image buffing method and the image buffing device, the surface of the image to be processed is blurred to obtain the first image, then the image to be processed and the first image are subjected to high-contrast retention processing to obtain the second image, and the image to be processed and the second image are subjected to linear mixing to obtain the final buffing image.

Description

A kind of image mill skin method, device and electronic equipment
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of image mill skin method, device and electronic equipment.
Background technology
Portrait buffing is the common function of graph and image processing APP, and existing a lot of products can realize people in the market As mill skin function, but, the actual effect of each product then varies.
The mill skin of existing product is typically to use portrait in surface blur, mean filter, bilateral filtering or gaussian filtering A kind of algorithm carry out grinding skin, thus while even skin, retain the feature of face.But the vision effect of these mill skin algorithms The most poor, causing the effect after grinding skin is processed at a glance, skin texture disappearance after portrait buffing, it appears less certainly So.
Prior art deficiency is:
The effect vestige that is processed of existing portrait buffing technology mill skin is obvious, unnatural.
Summary of the invention
The embodiment of the present invention proposes a kind of image mill skin method and device, to solve portrait buffing technology in prior art The effect of mill skin is processed vestige technical problem obvious, factitious.
First aspect, embodiments provides a kind of image mill skin method, comprises the steps:
Pending image is carried out surface blur and obtains the first image;
Described pending image and described first image are carried out high contrast reservation process, obtains the second image;
Described pending image and described second image are carried out linear hybrid, obtains final mill skin image.
Optionally, described obtain the second image after, described method also includes:
It is brightness preset value by the brightness adjustment of described second image;
It is contrast preset value by the setting contrast of described second image;
The tone of described second image is regulated in default tone interval, described default tone interval for [described in wait to locate Tone value-the A, the tone value+A of described pending image of reason image], described A is natural number.
Optionally, described pending image is carried out surface blur obtain the first image, including:
The device parameter of detection current electronic device;
The device parameter according to described device parameter and pre-build and the corresponding relation of blur radius determine fuzzy half Footpath;
Utilize described blur radius that described pending image is carried out surface blur and obtain described first image.
Optionally, described described pending image and described second image are carried out linear hybrid, including:
Receive the opacity parameter value that user is determined by scalable litter;
Utilize described opaque parameter value that described pending image and described second image are carried out linear hybrid.
Optionally, the adjustable extent of the opacity parameter of described linear hybrid is 0~40.
Second aspect, embodiments provides a kind of image mill leather jacket and puts, including:
First processing module, obtains the first image for pending image is carried out surface blur;
Second processing module, for described pending image and described first image are carried out high contrast reservation process, To the second image;
3rd processing module, for described pending image and described second image are carried out linear hybrid, obtains final Mill skin image.
Optionally, farther include:
First adjustment module, for described obtain the second image after, be bright by the brightness adjustment of described second image Degree preset value;
Second adjustment module, for described obtain the second image after, by the setting contrast of described second image be Contrast preset value;
3rd adjustment module, for described obtain the second image after, the tone of described second image is regulated in advance In tune of filling in colors on a sketch is interval, described default tone interval is [tone value-A of described pending image, the tone of described pending image Value+A], described A is natural number.
Optionally, described first processing module specifically includes:
Detector unit, for detecting the device parameter of current electronic device;
Determine unit, for according to described device parameter and the device parameter that pre-builds pass corresponding with blur radius System determines blur radius;
Blur unit, is used for utilizing described blur radius that described pending image is carried out surface blur and obtains described first Image.
Optionally, described 3rd processing module specifically includes:
Receive unit, for receiving the opacity parameter value that user is determined by scalable litter;
Mixed cell, is used for utilizing described opaque parameter value that described pending image and described second image are carried out line Property mixing.
Optionally, the adjustable extent of the opacity parameter of described linear hybrid is 0~40.
3rd aspect, embodiments provides a kind of electronic equipment, including: processor, memorizer, communication interface And bus;
Described processor, described memorizer and described communication interface are connected by described bus and complete mutual leading to Letter;
Described memorizer storage executable program code;
Described processor is run by the executable program code of storage in the described memorizer of reading and performs with described The program that program code is corresponding, for performing a kind of image mill skin method;Wherein, described image mill skin method includes:
Pending image is carried out surface blur and obtains the first image;
Described pending image and described first image are carried out high contrast reservation process, obtains the second image;
Described pending image and described second image are carried out linear hybrid, obtains final mill skin image.
4th aspect, embodiments provides a kind of storage medium, and wherein, this storage medium is used for storing application Program, described application program is for operationally performing a kind of image mill skin method described in the embodiment of the present invention.
5th aspect, embodiments provides a kind of application program, and wherein, this application program is for operationally Perform a kind of image mill skin method described in the embodiment of the present invention.
Have the beneficial effect that:
Image mill skin method, device and the electronic equipment provided due to the embodiment of the present invention, is carried out pending image Surface blur obtains the first image, then described pending image and the first image is carried out high contrast reservation process and obtains second Image, more described pending image and the second image are carried out linear hybrid obtain final mill skin image, can be at mill skin Retain basic skin quality so that the final effect of mill skin is more natural simultaneously, give real sensation.
Accompanying drawing explanation
The specific embodiment of the present invention is described below with reference to accompanying drawings, wherein:
Fig. 1 shows the schematic flow sheet that in the embodiment of the present invention, image mill skin method is implemented;
Fig. 2 shows the structural representation one that in the embodiment of the present invention, image mill leather jacket is put;
Fig. 3 shows the structural representation two that in the embodiment of the present invention, image mill leather jacket is put;
Fig. 4 shows the structural representation of the first processing module in the embodiment of the present invention;
Fig. 5 shows the structural representation of the 3rd processing module in the embodiment of the present invention;
Fig. 6 shows the schematic diagram of image procossing scene in the embodiment of the present invention;
Fig. 7 shows the structural representation of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
In order to make technical scheme and advantage clearer, below in conjunction with exemplary to the present invention of accompanying drawing Embodiment is described in more detail, it is clear that described embodiment be only the present invention a part of embodiment rather than All embodiments exhaustive.And in the case of not conflicting, the embodiment in this explanation and the feature in embodiment can be mutual Combine.
Inventor note that during invention
Existing mill skin algorithm is usually surface blur, Gaussian Blur, bilateral filtering, Steerable filter etc., adopts if single By the one in above method, final mill bark effect lacks skin quality and retains, it is impossible to give real sensation.
For above-mentioned deficiency, the embodiment of the present invention proposes a kind of image mill skin method, device and electronic equipment, at mill skin While retain basic skin quality, the final effect of order mill skin is more natural, feels really to people.
With specific embodiment, image mill skin method, device and electronic equipment proposed by the invention are illustrated below.
Embodiment one,
Fig. 1 shows the schematic flow sheet that in the embodiment of the present invention, image mill skin method is implemented, as it can be seen, described image Mill skin method may include steps of:
Step 101, pending image is carried out surface blur obtain the first image;
Step 102, described pending image and described first image are carried out high contrast reservation process, obtain the second figure Picture;
Step 103, described pending image and described second image are carried out linear hybrid, obtain final mill skin figure Picture.
When being embodied as, pending image can be image including people, can be the most again to include face, hands The image of the skin part such as arm, lower limb, it is also possible to be the image of other object.
Pending image is carried out surface blur, and the image obtained after surface blur is referred to as the first figure by the embodiment of the present invention Picture.Wherein, pending image carries out surface blur can use existing surface blur algorithm to carry out Fuzzy Processing, specifically , the embodiment of the present invention illustrates as a example by following algorithm:
It is possible, firstly, to arrange the radius r of mean filter, obtain the square window that the length of side is 2r+1, mean filter In the pixel count that comprises can be (2r+1) * 2, in mean filter, weight Ki of any pixel i can be 1-| Xi-X1|/ (2.5*Y), surface blur algorithm can be:
The result rank value of the current pixel of (the i.e. first image) after surface blur:
X = Σ i = 1 ( 2 r + 1 ) 2 [ ( 1 - x i - x 1 2.5 Y ) x i ] Σ i = 1 ( 2 r + 1 ) 2 ( - x i - x 1 2.5 Y ) ;
Wherein, r is the radius of mean filter, and Y is for presetting Fuzzy Threshold, X1Current pixel rank for pending image Value, XiFor presetting the rank value of any pixel i in template in described mean filter.
Generally, the radius of surface blur is the biggest, image texture is the strongest, but can when the radius of surface blur is excessive The effect not grinding skin can be caused, therefore, when actually used, need to hold suitably degree, such as: r could be arranged to 40 pictures Element, 45 pixels etc..
When being embodied as, the first image after pending image (i.e. artwork) and surface blur is carried out by the embodiment of the present invention High contrast reservation process, concrete processing procedure can use prior art to realize.Such as: the first image can be done gaussian filtering (Gaussian filter), with the figure after pending figure image subtraction gaussian filtering, then by difference plus a constant.
When being embodied as, if constant is tuned up, then the image after process then can entirety the brightest, whereas if will often Number is turned down, then the image entirety after processing can be partially dark, and inventor sets through many kinds of parameters and observes final effect discovery, high The constant that contrast retains in algorithm can use 128, optimal to various types of image processing effects.
In the embodiment of the present invention, the second image after pending image and high contrast reservation process being carried out linear hybrid can To obtain final mill skin image, wherein, the process of linear hybrid can be identical with prior art, i.e. will with certain transparency Two images are overlapped, mix.The results showed, if opacity value is the biggest, then the speckle that image is overall may be inclined Many;If opacity is the least, then image again can be the fuzzyyest, can be configured as required, such as: no time actually used Transparency can be 30% or 35% etc..
The image mill skin method provided due to the embodiment of the present invention, carries out surface blur to pending image and obtains first Image, then carries out high contrast reservation process by described pending image and the first image and obtains the second image, then treat described Process image and the second image carries out linear hybrid and obtains final mill skin image, basic skin can be retained while mill skin Matter so that the final effect of mill skin is more natural, gives real sensation.
Further, causing, because of mill skin, the problem that tone is the darkest in order to solve image, the embodiment of the present invention is all right Implement in the following manner.
In enforcement, after obtaining the second image, described pending image and described second image are carried out linear hybrid Before, may further include:
It is brightness preset value by the brightness adjustment of described second image;
It is contrast preset value by the setting contrast of described second image;
The tone of described second image is adjusted to the tone of described pending image.
When being embodied as, brightness and contrast that can be different to different image settings, but through comparing discovery effect Difference is less, therefore brightness and contrast is set to fixed value by the embodiment of the present invention, to reduce the difficulty of user's regulation.
When being embodied as, the preset value adjustable extent of brightness can be-0.1~0.1, such as: brightness value is 0.1;Right Can be 0~4 than the preset value adjustable extent of degree, such as: contrast value is 1.06.
The problem dark for solving the pattern colour tuningout after grinding skin, the embodiment of the present invention can carry out tone regulation to image, Making the tone of the image after regulation in default tone interval, described default tone interval can be the tone of pending image Value ± A, described A can be natural number (the most described default tone is interval=[tone value-A of described pending image, described in treat Process the tone value+A of image]).When being embodied as, regulation tone can use prior art, such as: existing Photoshop is soft Part adds curve and carries out the mode of tone regulation, the curve adjustment ACV literary composition that this mode can be produced by the embodiment of the present invention Part imports in image mill skin method described in the embodiment of the present invention.
The embodiment of the present invention passes through brightness, contrast, the process of tone so that the brightness and contrast of image is changed Kind so that the problem that original image causes tone the darkest because of mill skin is addressed.
In enforcement, described pending image is carried out surface blur obtain the first image, may include that
The device parameter of detection current electronic device;
The device parameter according to described device parameter and pre-build and the corresponding relation of blur radius determine fuzzy half Footpath;
Utilize described blur radius that described pending image is carried out surface blur and obtain described first image.
When being embodied as, better in order to ensure surface blur, the embodiment of the present invention combines different electronic equipments Use different blur radius, by detecting the device parameter of electronic equipment, by device parameter and the device parameter pre-build Be combined with the corresponding relation of blur radius and determine blur radius, recycle described blur radius and described pending image is carried out Surface blur, thus obtain the first image.
Wherein, described device parameter may be used for identifying same type of electronic equipment, such as: described device parameter is permissible For parameters such as the model of described electronic equipment, processing speeds, thus the electronics identifying same model or same processing speed sets Standby.Described electronic equipment can be mobile phone, pad, apparatus such as computer.As a example by mobile phone:
For iPhone 6S, iPhone6S Plus and follow-up type, blur radius could be arranged to 15;
For iPhone5, iPhone5S, blur radius could be arranged to 8;
For other low side devices, such as iPhone4, iPhone4S, blur radius could be arranged to 5.
The embodiment of the present invention can detect the device parameter of electronic equipment, pre-sets different to different electronic equipments Blur radius, determines that after the device parameter of electronic equipment being detected corresponding blur radius carries out surface blur, it can be ensured that Different electronic equipments grinds the best results that skin processes.
In enforcement, described described pending image and described second image are carried out linear hybrid, may include that
Receive the opacity parameter value that user is determined by scalable litter;
Utilize described opaque parameter value that described pending image and described second image are carried out linear hybrid.
The embodiment of the present invention can allow user to carry out linear adjustment mixing by scalable litter on electronic equipment screen Effect, described scalable litter is for determining the opacity parameter value of linear hybrid, and user can be at electronic equipment screen On by regulate described scalable litter observe image mill skin effect.
In enforcement, the adjustable extent of the opacity parameter of described linear hybrid can be 0~40.
When being embodied as, the adjustable extent of described opacity can be 0~40, if the parameter value of opacity is high In 40, then corresponding image mill bark effect is it is possible to lack sense of reality.
The image mill skin method using the embodiment of the present invention to be provided carries out image mill skin, and mill bark effect can retain skin Skin quality and texture so that mill skin after image more true nature.
Embodiment two,
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of image mill leather jacket and puts, due to these equipment The principle of solution problem is similar to a kind of image mill skin method, and therefore the enforcement of these equipment may refer to the enforcement of method, weight Multiple part repeats no more.
Fig. 2 shows the structural representation one that in the embodiment of the present invention, image mill leather jacket is put, as it can be seen, described image mill Leather jacket is put and be may include that
First processing module 201, obtains the first image for pending image is carried out surface blur;
Second processing module 202, for described pending image and described first image are carried out high contrast reservation process, Obtain the second image;
3rd processing module 203, for described pending image and described second image are carried out linear hybrid, obtains Whole mill skin image.
Fig. 3 shows the structural representation two that in the embodiment of the present invention, image mill leather jacket is put, as it can be seen, described device can To farther include:
First adjustment module 204, for described obtain the second image after, by the brightness adjustment of described second image be Brightness preset value;
Second adjustment module 205, for described obtain the second image after, by the setting contrast of described second image For contrast preset value;
3rd adjustment module 206, for described obtain the second image after, the tone of described second image is regulated and exists Presetting in tone interval, described default tone interval is the tone value ± A of described pending image, and described A is natural number.
The most described default tone interval=[tone value-A of described pending image, the tone value of described pending image+ A]。
Fig. 4 shows the structural representation of the first processing module in the embodiment of the present invention, as it can be seen, described first processes Module specifically may include that
Detector unit 2011, for detecting the device parameter of current electronic device;
Determine unit 2012, right for according to described device parameter and the device parameter that pre-builds and blur radius Should be related to and determine blur radius;
Blur unit 2013, is used for utilizing described blur radius that described pending image carries out surface blur and obtains described First image.
Fig. 5 shows the structural representation of the 3rd processing module in the embodiment of the present invention, as it can be seen, at the described 3rd Reason module specifically may include that
Receive unit 2031, for receiving the opacity parameter value that user is determined by scalable litter;
Mixed cell 2032, is used for utilizing described opaque parameter value to enter described pending image and described second image Line linearity mixes.
In enforcement, the adjustable extent of the opacity parameter of described linear hybrid can be 0~40.
For convenience of description, each several part of apparatus described above is divided into various module or unit to be respectively described with function. Certainly, the function of each module or unit can be realized in same or multiple softwares or hardware when implementing the present invention.
Embodiment three,
Image that the embodiment of the present invention is provided mill skin scheme can apply to image and beautifies etc. in software, and detailed process can With as follows:
Assuming that user has downloaded above-mentioned image at mobile phone terminal and beautified software, the mobile phone of this user is iPhone6.
User can open this software by the mode such as touching, clicking on, and can clap first with the self-timer that software carry According to obtaining pending image, it is also possible to the picture stored in directly selecting mobile phone, as pending image, is clicked on and beautified picture.
Fig. 6 shows the schematic diagram of image mill skin scene in the embodiment of the present invention, as it can be seen, determine pending user After image, described software i.e. can determine that this pending image, then can carry out grinding skin operation, specifically can be such that
1) device parameter of mobile phone is detected;
The mobile phone determining this user is iPhone6.
2) blur radius is determined;
Owing to the mobile phone of described user is iPhone6, it is 15 that this software can automatically determine blur radius.
3) utilize described blur radius that described pending image is carried out surface blur and obtain the first image;
4) artwork and described first image are carried out high contrast reservation process, obtain the second image;
Wherein, the constant during high contrast retains algorithm uses 128.
5) it is predetermined luminance value 0.1 by the brightness adjustment of described second image;
6) by the setting contrast of described second image for presetting contrast value 1.06;
7) import the ACV file previously generated, regulate the tone of the second image;
Described ACV file is the tone regulation file utilizing existing Photoshop Software Create.
8) artwork and described second image are carried out linear hybrid, generate final mill skin image;
When being embodied as, user can carry out the opacity of linear adjustment mixing according to the litter shown in Fig. 6, and software utilizes The parameter value of the opacity that user determines carries out linear hybrid to artwork and the second image, and user can check difference in time The mill bark effect of opacity, thus select the mill skin image oneself being satisfied with the most.
The embodiment of the present invention can realize image mill skin on cell phone apparatus, compares existing mill skin method, can retain Skin quality and texture so that the more true nature of the image after process.
Embodiment four,
Based on same inventive concept, embodiments provide a kind of electronic equipment, be illustrated below.
Fig. 7 shows the structural representation of electronic equipment in the embodiment of the present application, as it can be seen, described electronic equipment 700 May include that processor 701, memorizer 702, communication interface 703 and bus 704;
Described processor, described memorizer and described communication interface are connected by described bus and complete mutual leading to Letter;
Described memorizer storage executable program code;
Described processor is run by the executable program code of storage in the described memorizer of reading and performs with described The program that program code is corresponding, for performing a kind of image mill skin method;Wherein, described image mill skin method includes:
Pending image is carried out surface blur and obtains the first image;
Described pending image and described first image are carried out high contrast reservation process, obtains the second image;
Described pending image and described second image are carried out linear hybrid, obtains final mill skin image.
In the embodiment of the present invention, owing to the processor in described electronic equipment have employed above-mentioned image mill skin method, thus So that user carries out better nature when image grinds skin by this electronic equipment.
Embodiment five,
Based on same inventive concept, embodiments providing a kind of storage medium, wherein, this storage medium is used for depositing Storage application program, described application program is for operationally performing a kind of image mill skin method described in the embodiment of the present invention.
Embodiment six,
Based on same inventive concept, embodiments providing a kind of application program, wherein, this application program is used for A kind of image mill skin method described in the embodiment of the present invention is performed during operation.
In the embodiment of the present invention, owing to described application program have employed above-mentioned image mill skin method, so that use Family carries out better nature when image grinds skin by this application program.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The upper computer program product implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter On calculation machine or other programmable devices, execution sequence of operations step is to produce computer implemented process, thus at computer Or the instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram The step of the function specified in one square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into all changes and the amendment of the scope of the invention.

Claims (10)

1. an image mill skin method, it is characterised in that comprise the steps:
Pending image is carried out surface blur and obtains the first image;
Described pending image and described first image are carried out high contrast reservation process, obtains the second image;
Described pending image and described second image are carried out linear hybrid, obtains final mill skin image.
2. the method for claim 1, it is characterised in that described obtain the second image after, described method also includes:
It is brightness preset value by the brightness adjustment of described second image;
It is contrast preset value by the setting contrast of described second image;
Being regulated in default tone interval by the tone of described second image, described default tone interval is [described pending figure Tone value-the A of picture, the tone value+A of described pending image], described A is natural number.
3. the method for claim 1, it is characterised in that described pending image is carried out surface blur obtain the first figure Picture, including:
The device parameter of detection current electronic device;
The device parameter according to described device parameter and pre-build and the corresponding relation of blur radius determine blur radius;
Utilize described blur radius that described pending image is carried out surface blur and obtain described first image.
4. the method for claim 1, it is characterised in that described described pending image is carried out with described second image Linear hybrid, including:
Receive the opacity parameter value that user is determined by scalable litter;
Utilize described opaque parameter value that described pending image and described second image are carried out linear hybrid.
5. method as claimed in claim 4, it is characterised in that the adjustable extent of the opacity parameter of described linear hybrid It is 0~40.
6. an image mill leather jacket is put, it is characterised in that including:
First processing module, obtains the first image for pending image is carried out surface blur;
Second processing module, for described pending image and described first image are carried out high contrast reservation process, obtains the Two images;
3rd processing module, for described pending image and described second image are carried out linear hybrid, obtains final mill Skin image.
7. device as claimed in claim 6, it is characterised in that farther include:
First adjustment module, for described obtain the second image after, be that brightness is pre-by the brightness adjustment of described second image If value;
Second adjustment module, for described obtain the second image after, by the setting contrast of described second image for contrast Degree preset value;
3rd adjustment module, for described obtain the second image after, the tone of described second image is regulated and is filling in colors on a sketch in advance Adjust interval in, described default tone interval be [tone value-A of described pending image, the tone value of described pending image+ A], described A is natural number.
8. device as claimed in claim 6, it is characterised in that described first processing module specifically includes:
Detector unit, for detecting the device parameter of current electronic device;
Determine unit, for true with the corresponding relation of blur radius according to described device parameter and the device parameter that pre-builds Determine blur radius;
Blur unit, is used for utilizing described blur radius that described pending image is carried out surface blur and obtains described first figure Picture.
9. device as claimed in claim 6, it is characterised in that described 3rd processing module specifically includes:
Receive unit, for receiving the opacity parameter value that user is determined by scalable litter;
Mixed cell, is used for utilizing described opaque parameter value linearly to mix described pending image and described second image Close.
10. an electronic equipment, it is characterised in that including: processor, memorizer, communication interface and bus;
Described processor, described memorizer and described communication interface are connected by described bus and complete mutual communicating;
Described memorizer storage executable program code;
Described processor runs and described executable program by reading the executable program code of storage in described memorizer The program that code is corresponding, for performing a kind of image mill skin method;Wherein, described image mill skin method includes:
Pending image is carried out surface blur and obtains the first image;
Described pending image and described first image are carried out high contrast reservation process, obtains the second image;
Described pending image and described second image are carried out linear hybrid, obtains final mill skin image.
CN201610480088.0A 2016-06-27 2016-06-27 Image buffing method and device and electronic equipment Pending CN106169177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610480088.0A CN106169177A (en) 2016-06-27 2016-06-27 Image buffing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610480088.0A CN106169177A (en) 2016-06-27 2016-06-27 Image buffing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106169177A true CN106169177A (en) 2016-11-30

Family

ID=58064512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610480088.0A Pending CN106169177A (en) 2016-06-27 2016-06-27 Image buffing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106169177A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600556A (en) * 2016-12-16 2017-04-26 合网络技术(北京)有限公司 Image processing method and apparatus
CN109146823A (en) * 2018-09-25 2019-01-04 广州华多网络科技有限公司 Image processing method, device, equipment and the storage medium retained based on high contrast
CN109377454A (en) * 2018-09-25 2019-02-22 广州华多网络科技有限公司 A kind of image processing method, device, equipment, storage medium and live broadcasting method
CN109741272A (en) * 2018-12-25 2019-05-10 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110378846A (en) * 2019-06-28 2019-10-25 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and the electronic equipment of processing image mill skin
CN111915478A (en) * 2020-07-14 2020-11-10 厦门真景科技有限公司 Beautifying method, device and equipment based on edge-preserving blur and computer-readable storage medium
CN112150353A (en) * 2020-09-30 2020-12-29 广州虎牙科技有限公司 Image processing method and device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299921A (en) * 2011-08-09 2011-12-28 深圳市万兴软件有限公司 Conversion method of video file adapted to mobile terminal and system thereof
CN103871028A (en) * 2012-12-17 2014-06-18 腾讯科技(深圳)有限公司 Method and system for adjusting picture defects
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104392419A (en) * 2014-12-04 2015-03-04 厦门美图之家科技有限公司 Method for adding vignette effect into image
CN104463814A (en) * 2014-12-08 2015-03-25 西安交通大学 Image enhancement method based on local texture directionality
CN104574284A (en) * 2013-10-24 2015-04-29 南京普爱射线影像设备有限公司 Digital X-ray image contrast enhancement processing method
CN104581196A (en) * 2014-12-30 2015-04-29 北京像素软件科技股份有限公司 Video image processing method and device
CN104794693A (en) * 2015-04-17 2015-07-22 浙江大学 Human image optimization method capable of automatically detecting mask in human face key areas

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299921A (en) * 2011-08-09 2011-12-28 深圳市万兴软件有限公司 Conversion method of video file adapted to mobile terminal and system thereof
CN103871028A (en) * 2012-12-17 2014-06-18 腾讯科技(深圳)有限公司 Method and system for adjusting picture defects
CN104574284A (en) * 2013-10-24 2015-04-29 南京普爱射线影像设备有限公司 Digital X-ray image contrast enhancement processing method
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104392419A (en) * 2014-12-04 2015-03-04 厦门美图之家科技有限公司 Method for adding vignette effect into image
CN104463814A (en) * 2014-12-08 2015-03-25 西安交通大学 Image enhancement method based on local texture directionality
CN104581196A (en) * 2014-12-30 2015-04-29 北京像素软件科技股份有限公司 Video image processing method and device
CN104794693A (en) * 2015-04-17 2015-07-22 浙江大学 Human image optimization method capable of automatically detecting mask in human face key areas

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
费宇拓: "打造人像的精致妆容", 《照相机》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600556A (en) * 2016-12-16 2017-04-26 合网络技术(北京)有限公司 Image processing method and apparatus
CN109146823A (en) * 2018-09-25 2019-01-04 广州华多网络科技有限公司 Image processing method, device, equipment and the storage medium retained based on high contrast
CN109377454A (en) * 2018-09-25 2019-02-22 广州华多网络科技有限公司 A kind of image processing method, device, equipment, storage medium and live broadcasting method
CN109741272A (en) * 2018-12-25 2019-05-10 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110378846A (en) * 2019-06-28 2019-10-25 北京字节跳动网络技术有限公司 A kind of method, apparatus, medium and the electronic equipment of processing image mill skin
CN110378846B (en) * 2019-06-28 2022-03-15 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for processing image buffing
CN111915478A (en) * 2020-07-14 2020-11-10 厦门真景科技有限公司 Beautifying method, device and equipment based on edge-preserving blur and computer-readable storage medium
CN111915478B (en) * 2020-07-14 2023-06-23 厦门真景科技有限公司 Beautifying method, device and equipment based on edge protection blurring and computer readable storage medium
CN112150353A (en) * 2020-09-30 2020-12-29 广州虎牙科技有限公司 Image processing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN106169177A (en) Image buffing method and device and electronic equipment
CN103777852A (en) Image obtaining method and device
CN108230255A (en) It is used to implement the method, apparatus and electronic equipment of image enhancement
CN103533240B (en) With the method and apparatus of photo later stage treatment real-time parameter calibration during taking pictures
CN106570472B (en) A kind of skin color detection method, device and terminal
JP2021531571A (en) Certificate image extraction method and terminal equipment
TWI777098B (en) Method, apparatus and electronic device for image processing and storage medium thereof
CN103745430B (en) Rapid beautifying method of digital image
CN106407919A (en) Image processing-based text separation method, device and image forming device
CN104658030A (en) Secondary image mixing method and apparatus
CN108076384A (en) A kind of image processing method based on virtual reality, device, equipment and medium
CN113450272B (en) Image enhancement method based on sinusoidal variation and application thereof
CN107239518A (en) A kind of image comparison method, contrast device, electronic equipment and storage medium
CN102750671A (en) Image colorful noise removal method
CN106846271A (en) A kind of method of reticulate pattern in removal identity card picture
CN105701780A (en) Remote sensing image processing method and system thereof
CN114612337B (en) Image processing method, device, electronic device and storage medium
CN113177878B (en) Method and device for realizing American cartoon style filter effect based on image transformation
CN104394320A (en) Image processing method, device and electronic equipment
CN103839244A (en) Real-time image fusion method and device
CN112541955B (en) Image processing method, device and equipment
CN108322720A (en) Image shows content clarity lifting system
CN105530505B (en) 3-D view conversion method and device
CN104144332A (en) Image color adjusting method and electronic device thereof
CN116760964A (en) Method, device, equipment and medium for determining parallax of left and right eye images of three-dimensional video

Legal Events

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

Application publication date: 20161130