Human face image processing method and device
A face image and processing method technology, applied in the field of communication, can solve the problem of low accuracy in highlight areas, and achieve the effect of improving the accuracy and improving the repair effect.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] In this embodiment, a method for processing a human face image is provided, comprising the following steps: acquiring a highlight area of the human face image, the highlight area including a plurality of boundary pixels; acquiring the pixel with the highest probability of skin color in a preset area The pixel value of the pixel value, wherein the preset area is an area of a preset value from the boundary pixel point; according to the pixel value of the pixel point with the largest skin color probability, the pixel value of the boundary pixel point is optimized, so that Acquiring optimized pixel values of the boundary pixels; acquiring an initial repair map corresponding to the highlight region according to the optimized pixel value; performing repair processing on the highlight region according to the initial repair map.
[0032] Such as figure 1 As shown, in the present embodiment, the mobile terminal is used as the subject of implementation, and the processing m...
Embodiment 2
[0048] In this embodiment, a method for processing a human face image is provided, comprising the following steps: acquiring a highlight area of the human face image, the highlight area including a plurality of boundary pixels; acquiring the pixel with the highest probability of skin color in a preset area The pixel value of the pixel value, wherein the preset area is an area of a preset value from the boundary pixel point; according to the pixel value of the pixel point with the largest skin color probability, the pixel value of the boundary pixel point is optimized, so that Acquiring optimized pixel values of the boundary pixels; acquiring an initial repair map corresponding to the highlight region according to the optimized pixel value; performing repair processing on the highlight region according to the initial repair map.
[0049] Such as figure 2 As shown, taking the implementation subject as the mobile terminal as the implementation subject, the processing metho...
Embodiment 3
[0083] In order to better realize the above method, the present invention also provides a processing device for human face images, such as image 3As shown, the face image processing device includes: a first acquisition module 301 , a second acquisition module 302 , an optimization module 303 , a third acquisition module 304 and a restoration module 305 .
[0084] Wherein, the first acquisition module 301 is used to acquire a highlight area of a face image, and the highlight area includes a plurality of boundary pixel points.
[0085] Among them, such as Figure 4 As shown, the first acquisition module 301 includes:
[0086] The acquiring unit 3011 is configured to acquire a face image to be processed, and the face image to be processed is an RGB color image. Wherein, the face image to be processed may be a face image to be processed obtained by the mobile terminal from a local album or a network.
[0087] The denoising unit 3012 is configured to perform denoising process...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


