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

Virtual hair coloring method and device

A preset algorithm and pixel point technology, applied in the field of image processing, can solve problems such as unnatural and real effects

Active Publication Date: 2018-08-10
FUJIAN TQ DIGITAL
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there are few applications of existing technologies in virtual hair dyeing. The only virtual hair dyeing technology simply maps the color on the swatch to the model's hair area. The true color of the person's hair after applying it provides a more reliable estimate

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
  • Virtual hair coloring method and device
  • Virtual hair coloring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0046] see figure 1 , is a flow chart of the virtual hair dyeing method described in an embodiment of the present invention; the virtual hair dyeing method includes steps:

[0047] S1. Obtain the target image and the image to be dyed, and extract the target area and the area to be dyed therefrom with a preset algorithm;

[0048] In this embodiment, the "preset algorithm" mentioned in step S1 is the GraphCut image segmentation algorithm.

[0049] Further, extracting the target area or the area to be dyed from the target image or the image to be dyed with the GraphCut image segmentation algorithm specifically includes the following steps:

[0050] Generate a non-extracted area image of the same size as the target image or the image 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 provides a virtual hair coloring scheme, allowing required hair color to be mapped to a user's hair to obtain natural virtual hair coloring while keeping original light conditions, and provides a virtual hair coloring method. The virtual hair coloring method includes the steps of extracting a target area and an area to be colored, by a preset algorithm; acquiring brightness values of pixels in the target area and those of pixels in the area to be colored, according to a preset brightness calculation formula; according to the brightness values of the pixels in both the target area and the area to be colored, ranking the pixels in the target area to obtain a target sequence and a sequence to be colored; acquiring positional data Ii of the pixel I, in the sequence to be colored, from the area to be colored, reading the corresponding pixel i' from the target sequence through the positional data Ii, and mapping a color value of the pixel i' to the pixel I, and valuing the pixel I with coordinate values of the pixel in the area to be colored.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a virtual hair coloring method and device. Background technique [0002] Makeup and styling are an indispensable part of women's daily life, and hairstyle and hair color have a key impact on women's overall makeup image. Therefore, how to choose a hair color that suits them has gradually become a hot issue for women. In recent years, with the development of computer simulation, the method of virtual makeup using image processing technology has begun to appear in people's field of vision. Time and resource consumption, has a wide range of application prospects. [0003] However, there are few applications of existing technologies in virtual hair dyeing. The only virtual hair dyeing technology simply maps the color on the swatch to the model's hair area. The actual color of the person's hair afterward provides a more reliable estimate. Contents of the invention [0004] Therefo...

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): G06T11/00G06T7/00G06T7/13G06T7/187
Inventor 吴拥民叶仲雯许凯杰何汉鑫刘德建陈宏展
Owner FUJIAN TQ DIGITAL
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