Method and device for quick photo beautifying
A beautifying and fast technology, applied in the field of image processing, can solve problems such as whitening, unnatural and beautiful images, and real-time application of beautifying images, so as to achieve natural and beautiful images
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] refer to figure 1 , which shows a flow chart of a fast beautification treatment method described in Embodiment 1 of the present application, the method can be executed by a beautification treatment device, wherein the device can be implemented by software and / or hardware, and can also be used as a mobile terminal Part of it is built into the mobile terminal. The method can be applied to beautify the photos taken, and can also beautify the images in the video playback. The method specifically includes:
[0057] Step 101: Perform skin area detection on the original image to obtain a mask image.
[0058] The original image can include person images and other background images, and the original image can also be called a photo. In this application, the mask image is obtained by detecting the skin area of the original image.
[0059] Masks are usually divided into three types, namely, layer masks, clipping masks, and vector masks. Masks are a kind of selection, but they a...
Embodiment 2
[0064] refer to figure 2 , which shows a flow chart of a rapid beauty treatment method described in Embodiment 2 of the present application, specifically including:
[0065] Step 201: Perform skin area detection on the original image to obtain a mask image.
[0066] The basic idea of skin region detection in this application is to use the ellipse model of YCrCb space for skin detection, specifically including:
[0067] Step 2011: Convert the original image from RGB space to YCrCb space by using the ellipse model of YCrCb space.
[0068] The RGB space represents the colors of the three channels of red, green, and blue, and the methods for encoding a color are collectively referred to as "color space" or "color gamut". Simply put, the "color space" of any color can be defined as a fixed number or variable, and the range of RGB is 0-255.
[0069] YCrCb space is YUV space, which is mainly used to optimize the transmission of color video signals. Compared with RGB space, its ...
Embodiment 3
[0115] refer to Figure 8 , which shows a structural diagram of a rapid beauty treatment device according to Embodiment 3 of the present application, which may specifically include: .
[0116] The skin detection module 801 is configured to perform skin area detection on the original image to obtain a mask image.
[0117]The processing module 802 is configured to perform whitening and skin smoothing on the image in the original image to obtain a processed image.
[0118] The beautification module 803 is configured to use the mask image to mix the original image and the processed image to obtain a beautification image.
[0119] Preferably, the skin detection module 801 includes:
[0120] The first conversion unit is used to transfer the original image from the RGB space to the YCrCb space;
[0121] A judging unit, configured to use the ellipse model on the YCrCb space to judge the skin of each pixel in the original image to obtain a mask image.
[0122] Preferably, the proce...
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