Image processing method and device and electronic equipment
An image processing and image technology, applied in the field of image processing, can solve problems such as face distortion, poor generalization ability of image face-changing schemes, and unnaturalness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0085] Image 6 The flow of the image processing method provided for the embodiment of the present invention Figure 1 ,Can achieve figure 1 The image processing logic shown in the image processing method includes the following steps:
[0086] S610. Acquire a first face image and a second face image.
[0087] Wherein, in order to facilitate unified processing of the face images, the acquired face images have the same size. E.g figure 1 Image A and Image B in .
[0088] S620. Determine mapping relationship information between pixels in the face area in the first face image and in the second face image and pixel positions in the set face image, respectively.
[0089] The most important thing for image face swapping is the position of the facial features. Therefore, in order to make the calculation of the facial features as accurate as possible and reduce the amount of data calculation, in this scheme, the face area in the face image (the area where the facial features are c...
Embodiment 2
[0116] Figure 9 The flow of the image processing method provided for the embodiment of the present invention Figure four , the method can be used as Figure 6 ~ Figure 8 The supplementary processing process of any one of the image processing methods is used to perform skin color fusion processing on the generated transformed second face image, that is, according to the image skin color pairing in the first face image and / or the second face image The transformed second human face image is subjected to skin color fusion processing to obtain a skin color fusion image corresponding to the transformed second human face image. like Figure 9 As shown, the image processing method may specifically include the following steps:
[0117] S910, respectively forming Laplacian pyramids corresponding to the first face image and the second face image.
[0118] like image 3 As shown, taking the above-mentioned Image B as an example, the process of establishing its corresponding Laplaci...
Embodiment 3
[0146] like Figure 11 Shown is the structure of the image processing device of the embodiment of the present invention Figure 1 , the image processing device can be controlled to execute as Image 6 The method steps shown in, it comprises:
[0147] Facial image acquisition module 111, used to obtain the first facial image and the second facial image;
[0148] The mapping information determining module 112 is used to respectively determine the mapping relationship information between the pixel points of the face area in the first face image and the second face image and the pixel point positions in the set face image;
[0149] Human face conversion processing module 113, for according to the first human face image and in the second human face image the pixel point of the human face area and the mapping relationship information of the pixel point position in the set human face image, the person in the second human face image The pixels in the face area are correspondingly r...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


