Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2016-08-31
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method and device for rapid beauty treatment to solve the problem that the current beauty image cannot be applied to the video in real time and the whole image is whitened, resulting in an image that is not natural and beautiful

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 and device for quick photo beautifying
  • Method and device for quick photo beautifying
  • Method and device for quick photo beautifying

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a method and a device for quick photo beautifying. The method comprises the steps of performing skin area detection on an original photo for obtaining a mask photo; performing whitening and buffering on an image in the original photo, and obtaining a processed photo; and mixing the original photo with the processed photo by means of a mask picture, thereby obtaining a beautified photo, and settling a problem of no enough attractive image caused by incapability of applying the beautified image into the video in real time and incapability of whitening the whole photo.

Description

technical field [0001] The present application relates to image processing technology, in particular to a method and device for rapid beauty treatment. Background technique [0002] With the popularization of cameras and other mobile terminals with cameras, it is more and more convenient for people to take photos, and the number of photos taken is also increasing. After the shooting is completed, the photos are usually beautified and sent to blogs, Weibo, personal space and other platforms to share with friends and family. [0003] To beautify images in the prior art, bilateral filters are usually used to beautify images. Due to the large amount of calculations for images using bilateral filters, the images after beautification cannot achieve real-time performance when applied to videos. requirements. At the same time, since the brightness of the entire image is adjusted by using the brightness domain, it is easy to cause the background brightness of the image to change, s...

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): G06T3/00
CPCG06T3/04
Inventor 杜瑶王涛张彦刚
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products