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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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],
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com