Method and device for beautifying picture

An image and original image technology, applied in the field of image beautification, can solve the problems of blurring, fading, and difficulty in completely removing foreign objects in the surrounding area of ​​the area to be beautified, and achieve a good beautification effect.

Active Publication Date: 2010-07-21
SHENZHEN TENCENT COMP SYST CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Using the method of Gaussian blur to beautify the image, it is difficult to completely remove the foreign matter on the image, but only to make it lighter; at the same time, it will also cause the problem of blurring the surrounding area of ​​​​the area to be beautified

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060]In order to realize that the surroundings of the area to be beautified will not become blurred and the area to be beautified can be completely beautified during the process of beautifying the image, this embodiment provides a method for beautifying the image, see figure 2 , the method includes:

[0061] 201: Obtain the area to be beautified and its edge area in the original image;

[0062] 202: Repair the color of the pixels on the edge area according to the information of the pixels outside the edge area;

[0063] 203: Replace the repaired pixels with pixels adjacent to the repaired pixel and located in the region to be beautified to form a new edge region until the number of pixels in the region to be beautified is 0.

[0064] The embodiment of the present invention provides a method for beautifying an image. By obtaining the area to be beautified and its edge area in the original image, and repairing the pixels in the edge area, the pixels located in the area to be ...

Embodiment 2

[0066] In order to realize that the surroundings of the area to be beautified will not become blurred and the area to be beautified can be completely beautified during the process of beautifying the image, this embodiment provides a method for beautifying an image based on the first embodiment. see image 3 , the method includes:

[0067] 301: Locate the area to be beautified and its edge area on the original image;

[0068] Among them, the area to be beautified and its edge area can be located in the original image by means of manual dotting, circle selection or smearing by the user.

[0069] Specifically, see Figure 4 , assuming Figure 4 The image shown is the original image, Figure 4 The black line shown in is the outer contour of the pixel width of the area to be beautified selected by the user in the original image by manual selection. This method divides the original image into three areas, namely the normal area and the edge area. and areas to be beautified. Wh...

Embodiment 3

[0122] In order to realize that the surroundings of the area to be beautified will not become blurred and the area to be beautified can be completely beautified during the process of beautifying the image, this embodiment provides a method for beautifying an image on the basis of Embodiment 1 or 2. see Image 6 , the method includes:

[0123] 601: Locate the area to be beautified and its edge area on the original image;

[0124] Wherein, the edge area of ​​the area to be beautified can be located in the original image by means of manual dotting, circle selection, or smearing by the user.

[0125] Specifically, see in embodiment 2 Figure 4 , assuming Figure 4 The image shown is the original image, Figure 4 The black line shown in is the outer contour of the pixel width of the area to be beautified selected by the user in the original image by manual selection. This method divides the original image into three areas, namely the normal area and the edge area. and areas to...

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 and a device for beautifying picture, which belong to the technical field of computers. The method comprises the following steps that: an area to be beautified and a marginal area in an original picture are obtained; pixel points of the marginal area are undertaken the color repairing according to the pixel point information outside the marginal area; pixel points which are adjacent to the pixel points after the repairing and are arranged inside the area to be beatified substitute the pixel points repaired to form a new marginal area until the number of the pixel points in the area to be beautified is zero. The device comprises an obtaining model and a repairing module. The area to be beautified is completely eliminated, so the beautifying effect is very good.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for beautifying images. Background technique [0002] In the prior art, the process of beautifying the image and removing foreign objects may include, but is not limited to: beautifying the skin in the image, removing acne, spots, scars, etc., so that the skin is smooth and natural; it is also possible to beautify the clothes in the image , Remove stains, wrinkles, etc., making clothes clean and tidy. [0003] The above process of beautifying the image generally adopts the Gaussian blur method, that is, by manually positioning the area to be beautified, a Gaussian module is made on the area to be beautified of the original image with a certain radius in the center of the area to be beautified, and then Gaussian The blurred image is superimposed on the original image, so as to lighten the area to be beautified and realize the beautification of the image. Take ...

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): H04N1/387
Inventor 傅斌吴永坚杨洋
Owner SHENZHEN TENCENT COMP SYST CO LTD
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