Method for rapidly removing flaw in portrait photo

A technology for blemishes and photos, which is applied in the field of quickly removing blemishes in portrait photos, can solve problems such as long time, large amount of calculation, and difficulty in real-time processing, and achieve the effect of fast algorithm speed, smooth skin and stable effect

Active Publication Date: 2020-02-28
CHENDU PINGUO TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The whole process takes a long time and has a large amount of computation, so it is difficult to do real-time processing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for rapidly removing flaw in portrait photo
  • Method for rapidly removing flaw in portrait photo
  • Method for rapidly removing flaw in portrait photo

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0057] like Figure 1-8 Shown, the present invention comprises the following steps:

[0058] S1. Perform Gaussian blur on image A to obtain image B, wherein image A is the original image;

[0059] S2, traversing the pixels of picture A and picture B;

[0060] S3. Calculate the pixel values ​​RGB corresponding to picture A and picture B under the current coordinates;

[0061] S4. Calculate the high-frequency picture C according to the difference between the green channel in the picture A and picture B pixel values, the purpose is to enlarge the edge information,

[0062] DIFF=(ORG.G-BLUR.G)*(ORG.G-BLUR.G)*30,

[0063] DIFF = CLAMP(DIFF,0,1),

[0064] The RGB values ​​of picture A and picture B both use normalized values, that is, the value range is [0,1],

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for rapidly removing flaws in portrait photos. The method comprises: firstly, blurring an image, obtaining the most ideal skin state; performing operation through theinitial image and the blurred image to obtain a high-frequency image; performing superposition calculation on the high-frequency image, the initial image and the blurred image to obtain the optimizedimage. For selfie software or portrait products, the conditions of facial nevus and color spots of figures of the products are improved, so that the skin is smoother and flatter, the algorithm speed is high, rapid real-time operation can be realized, and the effect is stable.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method for quickly removing blemishes in portrait photos. Background technique [0002] The current blemish removal is basically removing freckles and moles, using opencv to detect dark spots, and then performing Gaussian blur on these places. The whole process takes a long time and has a large amount of calculation, so it is difficult to do real-time processing. This patent adopts a new type of fast algorithm, most of which use shader, which can perform real-time calculation very well. Simple and fast, good stability. And it can effectively separate the skin color part, and compare the parts other than the face, so as to only deal with the face. Contents of the invention [0003] The purpose of the present invention is to provide a method for quickly removing blemishes in portrait photos, aimed at Selfie software or portrait products, improving the facial moles a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00
CPCG06T5/005G06T5/003G06T5/007G06T2207/10024G06T2207/30201
Inventor 龚彦铭
Owner CHENDU PINGUO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products