Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of drawing hair

A hair and direction map technology, applied in the field of image processing, can solve the problems of long modeling time, unsuitable for mobile terminals, complex algorithms, etc., and achieves the effect of simple fitting method, improved computing speed, and efficient computing.

Active Publication Date: 2022-04-22
CHENDU PINGUO TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, there are also algorithms with better hair rendering effects, for example, "Single-View Hair Modeling for Portrait Manipulation", M Chai, L Wang, Y Weng, Y Yu, B Guo, "Acm Transactions on Graphics", 2012, 31 (4): 1-8, but the algorithm provided by this article is complex, the modeling time is long, and the processing time is calculated in minutes, so it is not suitable for use on mobile terminals (such as mobile APPs)

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
  • A method of drawing hair
  • A method of drawing hair
  • A method of drawing hair

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] 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.

[0020] Step 101, performing hair region segmentation on the original image to obtain a hair region probability map; the hair region probability map is a single-channel grayscale image;

[0021] In this embodiment, the original image is an RGB image I rgb , and set the width of the RGB image as width and the height as height. The hair area is segmented on the RGB image by the method of image segmentation, and the hair area probability map HairMask is obtained, and the HairMask is a single-channel grayscale image. Image segmentation is already a relatively mature technology, and the present invention uses a deep learning method to perform hair region segmentation on the above-mentioned original image. The segmentation algorithm based on deep learning can refer 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 for drawing hair, which includes: segmenting an original image into a hair region to obtain a hair region probability map; the hair region probability map is a single-channel grayscale image; and extracting the direction of hair from the original image; Extracting a hair path from the hair region probability map according to the direction of the hair; drawing hair according to the hair path. The technical scheme provided by the invention can automatically and quickly perform fine hair drawing on the mobile terminal, and meets user requirements.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a hair drawing method. Background technique [0002] In recent years, photography applications on mobile phones have emerged in an endless stream. These applications have functions such as beauty and make-up, which greatly enrich people's life fun and are deeply loved by users. Among the above-mentioned applications, there is an APP specially designed for portrait hair treatment to achieve further beauty and makeup effects. However, the existing methods for portrait hair processing are relatively simple, either directly replacing the original hair with new hair materials, or simply changing the color of the original hair. Unsatisfactory, can not meet the needs of users. [0003] The solution to the above problems is to finely draw the hair of the original portrait as required. In the prior art, there are also algorithms with better hair rendering effects, for example,...

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 Patents(China)
IPC IPC(8): G06T7/11G06T11/20
CPCG06T7/11G06T11/20G06T2207/20016
Inventor 黄亮徐滢
Owner CHENDU PINGUO TECH CO LTD