Face image relighting method

A face image and re-illumination technology, which is applied in the field of face image re-illumination, can solve the problems of difficulty in finding the exact position of the light source, material correlation coefficient, reconstruction and restoration of the 3D structure of the face, and increase in the number of samples. Strong controllability, high accuracy, and the effect of reducing errors and uncertainties

Active Publication Date: 2017-12-22
CHENDU PINGUO TECH
View PDF4 Cites 53 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] From the above methods, it can be seen that the existing face image re-illumination technology needs to prepare a large amount of sample data in different face poses in advance.
At the same time, considering that different races and skin colors have different facial structures (face shapes) and different light reflectances, this greatly increases the number of samples required for preparation
Based on the interference of these environmental factors and

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
  • Face image relighting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0026] figure 1 It is a flowchart of a method for re-lighting a face image provided by an embodiment of the present invention.

[0027] Step 101, obtaining a two-dimensional face image; performing face recognition and facial features positioning on the obtained two-dimensional face image, and obtaining two-dimensional feature points of predetermined parts of the face;

[0028] In this embodiment, the two-dimensional face image that needs to be processed is obtained by taking pictures, and the obtained two-dimensional face image is represented by I(r, g, b), where r, g, and b respectively represent the corresponding The color value of the pixel. The two-dimensional feature points of the predetermined part of the face are usually the two-dimensional feature points...

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 face image relighting method, which comprises the steps of: performing face recognition on a two-dimensional face image, and acquiring two-dimensional feature points; performing face three-dimensional reconstruction according to the two-dimensional feature points and three-dimensional face model data, and generating a three-dimensional grid of a three-dimensional face image; carrying out local illumination rendering on the three-dimensional grid according to the illumination rendering parameters and a pre-established illumination model, and generating a first two-dimensional face illumination mapping graph; and performing skin color detection on the two-dimensional face image, and acquiring a two-dimensional face image skin color probability value; performing non-skin-color region protection on the first two-dimensional face illumination mapping graph according to the skin color probability value, so as to obtain a second two-dimensional face illumination mapping graph; carrying out edge extension on a facial contour of the second two-dimensional face illumination mapping graph, so as to obtain a third two-dimensional face illumination mapping graph; and subjecting the third two-dimensional face illumination mapping graph and the two-dimensional face image to relighting fusion, and generating a lighting result map. The face image relighting method provided by the invention is simple, feasible, fast and efficient, and is high in user controllability.

Description

technical field [0001] The invention relates to the technical field of digital image processing, in particular to a method for re-illuminating a human face image. Background technique [0002] In recent years, portrait beauty and makeup applications have become popular among young users. In order to obtain good shooting results, users usually need to be in a good lighting environment and lighting conditions. Due to the lighting conditions and the position of the light source, it is easy to lose the three-dimensional details of the face, resulting in a flat face after makeup, which lacks a sense of reality. As an improvement to the effect of the above-mentioned applications, a method of performing facial relighting (Relighting) on ​​the portrait photos in the later stage is proposed, that is, a method of relighting the face image. The method is to adjust the face image of the target person according to the change of illumination or external environment, and generate a face i...

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): G06K9/00G06T15/50G06T17/00
CPCG06T15/506G06T17/00G06V20/647G06V40/161
Inventor 张学成徐滢
Owner CHENDU PINGUO TECH
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