Color mapping method and device thereof

A color mapping and pixel technology, applied in the field of image processing, can solve problems such as unnatural and real effects, and achieve accurate and reliable estimation.

Active Publication Date: 2015-09-09
FUJIAN TQ DIGITAL
View PDF5 Cites 3 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
  • Color mapping method and device thereof
  • Color mapping method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0037] see figure 1 , is a flowchart of the color mapping method described in an embodiment of the present invention. The method comprises the steps of:

[0038] S1. Obtain the brightness values ​​of each pixel in the first region and each pixel in the second region according to a preset brightness calculation formula;

[0039] In this embodiment, the preset brightness calculation formula is the following formula: Y=(4899*R+9617*G+1868*B+8192) / 16384, where Y represents the brightness value of a pixel point, and R, G, B respectively represent the value of each color component of the pixel in the RGB color model. In other implementations, the preset brightness calculation formula can also be other formulas in the prior art that calcu...

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

In order to realize a true and natural color mapping result, the invention provides a color mapping method which comprises a step of obtaining the brightness value of each pixel of a first area and a second area according to a preset brightness calculation mode, a step of sorting the pixels of the first area according to the brightness value of each pixel of the first area to obtain a first sequence and sorting the pixels of the second area according to the brightness value of each pixel of the second area to obtain a second sequence, a step of obtaining the position data Ii of a pixel I of the second area in the second sequence, using Ii to read a corresponding pixel i' in the first sequence and mapping the color value of the corresponding pixel i' to the pixel i. The invention also provides a device for realizing the method, the mapping actual effect generated by the scheme is equivalent of the effect of maintaining a constant light condition, the color of a target area is mapped to a source area on the above basis, an obtained result is real and natural, and an estimated effect which is in accordance with the reality can be obtained.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a color mapping 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 Applications(China)
IPC IPC(8): G06T11/40
Inventor 吴拥民叶仲雯许凯杰何汉鑫刘德建陈宏展
Owner FUJIAN TQ DIGITAL
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