Processing method and device of image with human face

An image processing and image technology, which is applied in the field of image processing with human faces, can solve problems such as poor image quality, and achieve the effect of improving image quality

Inactive Publication Date: 2016-08-24
LEMOBILE INFORMATION TECH BEIJING
View PDF5 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that when the existing technology processes images with human faces, it cannot perform white balance adjustment well, and the image quality is not good

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
  • Processing method and device of image with human face
  • Processing method and device of image with human face
  • Processing method and device of image with human face

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] figure 1 It is a schematic flowchart of an image processing method with a human face provided by Embodiment 1 of the present invention. The method is executed by an image processing device with a human face, and the device is generally integrated in a device with a shooting function, such as an intelligent mobile terminal. see figure 2 , the image processing method with human face, comprising:

[0054] S110. Acquire an image with a human face in the current shooting scene.

[0055] After turning on the device with the shooting function, take an image with a face in the current scene through the front camera or rear camera in the device. Wherein, the device with the shooting function can be a smart phone, a tablet computer and a personal computer with a camera.

[0056] S120. Perform face recognition on an image with a human face to obtain a human face area and an ambient light area other than the human face area.

[0057] The image with the face is divided into re...

Embodiment 2

[0074] figure 2 This is a schematic flowchart of an image processing method with a human face provided by the second embodiment of the present invention. see figure 2 , and the image processing method with a human face includes:

[0075] S210: Acquire an image with a human face in the current shooting scene.

[0076] S220. Perform face recognition on the image with the face to obtain a face area and an ambient light area other than the face area.

[0077] S230. Determine the face decision point in the face area and the ambient light decision point in the ambient light area.

[0078] S240. Calculate the decision point distance between the face decision point and the ambient light decision point.

[0079] S250: When it is judged whether the distance between the face decision point and the ambient light decision point is greater than the set distance threshold, if yes, go to step S260; otherwise, go to step S270.

[0080] S260. Adjust the white balance parameter of the fac...

Embodiment 3

[0087] image 3 This is a schematic flowchart of an image processing method with a human face provided by Embodiment 3 of the present invention. see image 3 , and the image processing method with a human face includes:

[0088] S310. Acquire an image with a human face in the current shooting scene.

[0089] S320. Perform face recognition on the image with the face to obtain the face area and the ambient light area except the face area.

[0090] S330: Divide the image with the human face into 256 macroblocks, and calculate the red / green ratio and the blue / green ratio of the color of each macroblock.

[0091] Among them, an image with a face is divided into 16 rows and 16 columns, that is, 256 macroblocks, each macroblock corresponds to a sub-image in a certain image, and the number of macroblocks can be set according to specific conditions. The average value of R / G and B / G of the pixels included in the macroblock may be used as the R / G and B / G of the macroblock.

[0092] ...

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 processing method and device of an image with a human face. The method comprises the steps that the image with the human face in a current scene is acquired; human face recognition is carried out on the image with the human face to acquire a human face region and an ambient light region except the human face region; a human face decision point of the human face region and an ambient light decision point of the ambient light region are determined; according to the human face decision point, the ambient light decision point and a set distance threshold, a white balance parameter is adjusted; and according to the white balance parameter, the image with the human face is adjusted. According to the technical scheme provided by the invention, by dividing the image with the human face into the human face region and the ambient light region, white balance parameter adjustment is carried out on the human face region; the scene nature is effectively reduced; and the image quality is improved.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an image processing method and device with a human face. Background technique [0002] In the prior art, the white balance of the smart terminal in various scenarios is obtained by judging the gray point position of the entire picture. When the front camera in the smart terminal is used to take a selfie, the face area in the selfie image occupies a large proportion. The face area in the image is warm light, and the pixels in this part of the area fall in the warm light area. The face area The proportion of pixels in the entire image is relatively large, and the white balance is misjudged as low color temperature. After white balance processing, the overall image is finally bluish. [0003] In addition, most people like to take pictures in a brightly colored environment. The background saturation of the image captured by the rear camera is high. After white balan...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00G06K9/00
CPCG06T5/001G06T2207/30201G06V40/16G06T5/00G06F18/00
Inventor 王文平肖鹏
Owner LEMOBILE INFORMATION TECH BEIJING
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