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

Method and system for automatically segmenting hairs in head images

An automatic segmentation and image-based technology, applied in image enhancement, image data processing, computer components, etc., can solve the problems of not making full use of hair and background discriminative information, and the segmentation results are not accurate enough, so as to achieve easy integration and accurate results , the effect of improving accuracy

Active Publication Date: 2012-05-02
INST OF COMPUTING TECH CHINESE ACAD OF SCI +1
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods basically use color, etc. to establish a generative model, and do not make full use of the discriminative information of hair and background, resulting in inaccurate segmentation results.

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 system for automatically segmenting hairs in head images
  • Method and system for automatically segmenting hairs in head images
  • Method and system for automatically segmenting hairs in head images

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0107] Step S310, performing region division on the head image of the image to be segmented.

[0108] Perform region segmentation on the image to be segmented, and select the hair seed region and the background seed region from the region to be segmented.

[0109] In this example, at first the method called Mean Shift is used to over-segment the preprocessed image obtained in step S100. In an example, the result of over-segmentation of the face image is as follows image 3 shown. Each pixel in the image will have a region label. Back-end processing will treat a region as a whole for seed selection and hair segmentation.

[0110] Step S320, taking the average value of the position prior probability of each pixel in the area as the position prior probability of the area.

[0111] Step S330, the hair and non-hair SVM classifier judges whether the region is a hair region according to the average value of the features of the region.

[0112] Step S340, selecting a region as a h...

Embodiment 2

[0121] A hair seed and a background seed are selected among the pixels of the image to be segmented.

[0122] Step S310', the hair and non-hair SVM classifier judges whether the pixel is in the hair region according to the value of the feature of each pixel.

[0123] Step S320', according to the judgment result and the position prior probability of the hair and non-hair SVM classifier of each pixel, select the pixel as the hair seed and the pixel as the background seed from the pixels of the head image of the image to be segmented.

[0124] Combine the judgment of the hair and non-hair SVM classifier of the pixel with the prior probability of the hair position by Bayesian method to obtain the Bayesian posterior probability of the pixel; select from the pixel according to the Bayesian posterior probability of the pixel Pixels to seed the hair and pixels to seed the background.

[0125] Step S400, extract features from the hair seed region and the background seed region, and co...

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 relates to a method and a system for automatically segmenting hairs in head images. The method comprises the following steps of: (1) extracting the head images containing the face and the hairs by a face detection and characteristic positioning algorithm, and carrying out normalization on the extracted head images; (2) obtaining position prior models according to hair pixel points marked in all the head images for the head images with the marked hairs in a training set, extracting characteristics and carrying out the study of hair and non-hair SVM (Support Vector Machine) classifiers; (3) selecting hair seeds and background seeds from images to be segmented according to the position prior models and the hair and non-hair SVM classifiers; (4) extracting characteristics from hair seed areas and background seed areas, and finishing the online study of the hair and non-hair SVM classifiers corresponding to the images to be segmented according to the characteristics; and (5) carrying out hair segmentation according to the hair and non-hair SVM classifiers corresponding to the images to be segmented and the position prior models. By the method and the system, the hair-segmenting accuracy can be improved.

Description

technical field [0001] The invention relates to the field of hair segmentation, in particular to a method and system for automatically segmenting hair from a head image. Background technique [0002] Hair plays a vital role in the overall image of a person. Therefore, hair-related applications such as hair modeling, editing, coloring, compositing, and animation production have attracted more and more attention in recent years. Among these tasks, hair segmentation is often the primary task of the front end. However, in hair-related applications, hair is usually considered segmented, or manually calibrated. Besides hair-related applications, many computer vision tasks can benefit from hair segmentation techniques. For example, the hairstyles of men and women are generally very different, and the segmented hair can provide important clues for gender classification; and with the change of age, people's hairstyle style, hair color, especially when they are old, will change gre...

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
IPC IPC(8): G06T5/00G06K9/64
Inventor 山世光王丹曾炜张洪明陈熙霖
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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