| CPC G06T 7/90 (2017.01) [G06T 7/10 (2017.01); G06T 2207/20221 (2013.01); G06T 2207/30196 (2013.01)] | 13 Claims |

|
1. A method of visualizing dyeing hair, which is performed in a computer device,
wherein the computer device comprises at least one processor configured to execute computer-readable instructions included in memory, and
the method of visualizing dyeing hair comprises:
separating, by the at least one processor, a hair area from an image related to a dyeing target;
detecting, by the at least one processor, a color characteristic of the hair area;
determining, by the at least one processor, a target color corresponding to the color characteristic by using a dataset comprising color difference values of dyeing hair using a hairdye product;
performing, by the at least one processor, a color transfer using the target color on the hair area; and
merging, by the at least one processor, the hair area on which the color transfer using the target color as been performed with the image,
wherein:
detecting the color characteristic comprises extracting a brightness level and undertone level of a hair color based on a color value of pixels that constitute the hair area, and
performing the color transfer comprises performing the color transfer for transferring a representative color to the target color by considering the brightness level and the undertone level as a representative color, wherein a distribution of pixels brightness deviations is modified based on a brightness of the target color.
|