Image face changing method based on local occlusion condition
A partial occlusion, conditional technique used in image processing and computer graphics
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2019-11-15
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical fields of image processing and computer graphics, and mainly relates to a face-changing method of a target image based on partial occlusion. Background technique
[0002] Image face-swapping technology refers to automatically transplanting the user's face in the input image to the target image, replacing the specified face in the target image, so that the image's face is automatically fused into the target image. The process of image face-changing requires keeping the facial appearance and expression features of the input image unchanged, but it must match the pose of the target face, and the final synthesized face image must have a natural overall effect, that is, it is required that the facial features after face-changing The skin color, makeup, and lighting environment of the input face can be matched with the target image. This technology can make the user who inputs the image have a sense of substitution and...
Examples
Embodiment Construction
[0074] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0075] The resolution of the test image is selected as 800×600, and the corresponding hardware test environment is memory 16G, CPU 4.0Hz, and the development platform Matlab.
[0076] Step 1: Preprocessing the input image and the target image;
[0077] For the input image I S and target image I T Mark the occluders in , and then use the marked points to extract the occluders, that is, to divide the occluders according to their contours, and respectively divide the input image I S and target image I T Carry out occlusion and face area segmentation. When there is no occlusion, no occlusion segmentation is performed and only face area segmentation is performed. When the face image has image occlusions other than the face itself, the shape of the occlusion is used as the segmentation contour , the occluder is segmented, and thus the occluder area and th...