CN104978710A - Method and device for identifying and adjusting human face luminance based on photographing - Google Patents
Method and device for identifying and adjusting human face luminance based on photographing Download PDFInfo
- Publication number
- CN104978710A CN104978710A CN201510383548.3A CN201510383548A CN104978710A CN 104978710 A CN104978710 A CN 104978710A CN 201510383548 A CN201510383548 A CN 201510383548A CN 104978710 A CN104978710 A CN 104978710A
- Authority
- CN
- China
- Prior art keywords
- region
- face
- brightness
- human face
- face region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000008569 process Effects 0.000 description 10
- 230000001105 regulatory effect Effects 0.000 description 8
- 230000001815 facial effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000010606 normalization Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000013598 vector Substances 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005286 illumination Methods 0.000 description 3
- 230000007812 deficiency Effects 0.000 description 2
- 210000001061 forehead Anatomy 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 210000004279 orbit Anatomy 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000002537 cosmetic Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to a method and a device for identifying and adjusting human face luminance based on photographing. The device comprises an identifying unit, a comparing unit and an adjusting unit, wherein the identifying unit is used for acquiring an image to be photographed and identifying a human face region in the image; the comparing unit is used for obtaining pixel luminance in the human face region and dividing the human face region into at least two regions according to the pixel luminance and a pre-set strategy; and the adjusting unit is used for adjusting a luminance value of the region according to a size comparing result of the luminance value of each region and a pre-set luminance range so that the luminance value of the human face region in the photographed image is uniform. By the aid of the method and the device for identifying and adjusting the human face luminance based on photographing, different parts of the human face region in the photographed image can be subjected to luminance adjustment so that the brightness of the human face region in the photographed image is more uniform and the individualized requirements of users are met.
Description
Technical field
The present invention relates to technique for taking field, particularly relate to a kind of based on the method and apparatus identifying and regulate face brightness of taking pictures.
Background technology
At present, use the camera of terminal device to take portrait or face, due to extraneous complicated light conditions, very easily produce the phenomenon of overexposure or under-exposure at face area.Such as by the impact of light diffusion, for the skin of general oil or the skin of highly cosmetic, easily cause the overexposure of face's regional area.Such as in darker environment, use flashlamp, once the brightness of flashlamp or angle inappropriate, also very easily cause the under-exposure of face's regional area.For above-mentioned situation, the camera of existing terminal device, at shooting Shi Douyou face automatic exposure function, namely carries out light-metering according to people face part, thus controls the depth of exposure of sensor, reaches to allow the object of face overall brightness appropriateness.But this technology carries out spectrum assignment to whole shooting picture, the forehead region overexposure of face sometimes still can be produced, or the phenomenon of the regional exposure such as canthus, eye socket deficiency.
Summary of the invention
The object of the invention is to propose a kind of method and apparatus identifying the brightness of adjustment face based on taking pictures, brightness regulation can be carried out to the different piece of human face region in shooting picture, make the brightness of human face region in the image shot evenly, meet the individual demand of user.
For reaching this object, the present invention by the following technical solutions:
First aspect, provides a kind of based on the method identifying and regulate face brightness of taking pictures, comprising:
Obtain image to be captured, identify the human face region in described image;
Obtain the pixel intensity in described human face region, according to preset strategy, described human face region is divided at least two pieces of regions according to described pixel intensity;
According to the brightness value in each block region and the size comparison result of predetermined luminance range, regulate the brightness value in described region, to make the brightness value of human face region described in the image shot even.
Second aspect, provides a kind of based on the device identifying and regulate face brightness of taking pictures, comprising:
Recognition unit, for obtaining image to be captured, identifies the human face region in described image;
Comparing unit, for obtaining the pixel intensity in described human face region, is divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity;
Regulon, for according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulates the brightness value in described region, to make the brightness value of human face region described in the image shot even.
Beneficial effect of the present invention is: a kind of based on the method and apparatus identifying and regulate face brightness of taking pictures, and comprising recognition unit, comparing unit and regulon, described recognition unit, for obtaining image to be captured, identifying the human face region in described image; Described comparing unit, for obtaining the pixel intensity in described human face region, is divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity; Described regulon, for according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulates the brightness value in described region, to make the brightness value of human face region described in the image shot even.Visible, based on the method and apparatus identifying and regulate face brightness of taking pictures, should can carry out brightness regulation to the different piece of human face region in shooting picture, make the brightness of human face region in the image shot evenly, meet the individual demand of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing the embodiment of the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the content of the embodiment of the present invention and these accompanying drawings.
Fig. 1 is provided by the invention based on the method flow diagram identifying method first embodiment regulating face brightness of taking pictures.
Fig. 2 is provided by the invention based on the method flow diagram identifying method second embodiment regulating face brightness of taking pictures.
Fig. 3 is provided by the invention based on the block diagram identifying device first embodiment regulating face brightness of taking pictures.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is provided by the invention based on the method flow diagram identifying method first embodiment regulating face brightness of taking pictures.The method identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, can be applicable to the various mobile terminal device possessing camera function, such as panel computer, notebook computer, PC, smart mobile phone, Wearable electronic equipment etc.
Based on the method identifying and regulate face brightness of taking pictures, should comprise:
Step S101, obtain image to be captured, identify the human face region in described image.
The identification of the unique point on the identification Main Basis face of the human face region of shooting image, before carrying out Feature point recognition to facial image, also need to carry out feature point extraction and classification, this process generally needs to do geometrical normalization algorithm and gray scale normalization algorithm.
Geometrical normalization algorithm face in image is transformed to same position and onesize according to Face detection result.Gray scale normalization algorithm refers to and carries out the process such as illumination compensation to image, and illumination compensation to a certain degree can overcome the impact of illumination variation and improve the accuracy of Feature point recognition.
Identify in face process, first facial image to be determined and face template are carried out template matches, if coupling, so projected to face subspace, determine whether face by the sub-face technology of feature.Wherein, template matches, refers to according to human face characteristic point, facial image is divided into 14 zoness of different, represent this region by the gray-scale statistical value in each region, with the average gray normalization of whole sample, thus obtain the face template with unique point vector representation.By the method for unsupervised learning to training sample cluster, obtain reference template race.The template of test pattern is mated under certain distance measure with reference template, by threshold decision matching degree.
The sub-face technology of feature is from the angle of statistics, and find the fundamental element of facial image distribution, namely the proper vector of facial image sample set covariance matrix, characterizes facial image approx with this.These proper vectors are called eigenface (Eigenface).In fact, eigenface reflects and lies in the information of face sample set inside and the structural relation of face.The proper vector of the sample set covariance matrix of eyes, cheek, lower jaw is called eigen eyes, feature jaw and feature lip, is referred to as the sub-face of feature.The sub-face of feature opens into subspace in corresponding image space, is called sub-face space.Calculate the projector distance of test pattern window in sub-face space, if video in window meets threshold value comparison condition, then judge that it is face.The region that this face is corresponding is human face region.
Step S102, the pixel intensity obtained in described human face region, be divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity.
Pixel intensity refers to the corresponding bright that each pixel possesses, this brightness and form and aspect are that it doesn't matter, same brightness both can be redness also can be green, just as the image in black and white (gray scale) televisor, can not determine red or green only according to a gray scale.So the brightness of pixel and form and aspect have nothing to do.The brightness value of pixel is between 0 to 255, higher near the pixel intensity of 255, and lower near the pixel intensity of 0, remainder just belongs to middle tone.The differentiation of this brightness a kind ofly definitely to distinguish, and the pixel namely near 255 is Gao Guang, and the pixel near 0 is shadow, and middle tone is about 128.
Step S103, according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulate the brightness value in described region, to make the brightness value of human face region described in the image shot even.
The brightness value of human face region is even, the method identifying the brightness of adjustment face based on taking pictures provided by the application embodiment of the present invention is provided, overcome the impact of extraneous complicated light conditions further, avoid the forehead region overexposure of portrait or the facial image generation face of taking, or the phenomenon of the regional exposure such as canthus, eye socket deficiency, reach allow face overall brightness evenly object.
To sum up, the method identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, brightness regulation can be carried out to the different piece of human face region in shooting picture, make the brightness of human face region in the image shot evenly, meet the individual demand of user.
Please refer to Fig. 2, it is provided by the invention based on the method flow diagram identifying method second embodiment regulating face brightness of taking pictures.The present embodiment, on the basis identifying method first embodiment regulating face brightness based on taking pictures, illustrates the step of the brightness value of control band.
Based on the method identifying and regulate face brightness of taking pictures, should comprise:
Step S201, obtain image to be captured, identify the human face region in described image.
Step S202, the pixel intensity obtained in described human face region, be divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity.
Preferably, described preset strategy, comprises following four kinds of modes, is specially:
The first, using region identical for pixel intensity in described human face region as same region, described human face region is divided.
The second, the luminance difference of neighbor in described human face region is less than or equal to the region of preset difference value threshold value as same region, described human face region is divided.
3rd, if the human face region identified in described image is positive face, then with the center line of described positive face for boundary, judge whether the luminance difference in left face region and right face region belongs to predeterminable area difference range, if, then press from left to right the order of picture element scan line by line, described human face region is divided at least two pieces of regions.
4th, if the human face region identified in described image is side face, then by the order of picture element scan by column from top to bottom or from top to bottom, just described human face region is divided at least two pieces of regions.
The backstage operand of the first preset strategy is little, but the region unit number marked off is more, and the processing time of later stage brightness regulation process can be longer.After brightness value adjustment process is complete, the brightness value of human face region is even, change is fine and smooth.
The backstage operand of the second preset strategy is comparatively large compared to the first strategy, but the region unit number marked off is less compared to the first strategy, and the processing time meeting tactful in the first of later stage brightness regulation process is shorter.After brightness value adjustment is complete, the brightness value change of human face region is still even.
It is positive face that the third preset strategy corresponds to human face region, and the scene of the light conditions almost symmetry in left face region and right face region, the order of so pressing from left to right picture element scan line by line divides human face region, the difference comparison of neighbor brightness only can be done in backstage, judge that whether neighbor brightness is equal or difference is less, carry out the division of human face region as standard.Backstage calculating process is fast, and operational method is simple.
It is side face that 4th kind of preset strategy corresponds to human face region, and the scene that the light conditions difference in left face region and right face region is larger, so divide human face region by the order of picture element scan by column from top to bottom or from top to bottom, the difference comparison of neighbor brightness only can be done in backstage, judge that whether neighbor brightness is equal or difference is less, carry out the division of human face region as standard.Backstage calculating process is fast, and operational method is simple.
Above four kinds of preset strategy, user according to concrete application scenarios, can select targetedly, to make the process of whole adjustment face brightness quicker, smooth.
Wherein, described in the human face region identified in described image be positive face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default positive face difference range, then the human face region identified in described image is positive face;
The described human face region identified in described image is side face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default side face difference range, then the human face region identified in described image is side face.
The difference that in image to be captured, the right face of left face sum of human face region is long-pending is less, then can think that the human face region in image to be captured is positive face;
The difference that in image to be captured, the right face of left face sum of human face region is long-pending is comparatively large, then can think that the human face region in image to be captured is side face.
If the brightness value in the described region of step S203a is more than or equal to the product of face's average brightness and default high brightness rate threshold, then judge that described size comparison result is as excessively bright, the brightness in this excessively bright for brightness value block region is turned down, the brightness value in this excessively bright block region is adjusted in the scope of the product being less than face's average brightness and default high brightness rate threshold, to make the brightness value of human face region described in the image shot even.
If the brightness value in the described region of step S203b is less than or equal to face's average brightness and presets the product of dark brighteness ratio threshold value, then judge that described size comparison result is as excessively dark, the brightness in this excessively dark for brightness value block region is heightened, be greater than face's average brightness the brightness value in this excessively dark block region is adjusted to and presets in the scope of product of dark brighteness ratio threshold value, to make the brightness value of human face region described in the image shot even.
It should be noted that, step S203a and step S203b does not have sequencing relation, can be first implementation step S203a implementation step S203b again, also can first implementation step S203b implementation step S203a again, an enforcement can also be selected for step S203a and step S203b.
The method identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, first starts the camera function of terminal device, opens human face region recognition function in process of taking pictures; Then according to human face region recognition function, the position of human face region is obtained; Then judge whether to exist the partially dark situation of subregion overexposure and subregion according to the monochrome information of face area; Be specially:
Set two threshold values:
Preset high brightness rate threshold (y_high_ratio), be preferably 1.2;
Preset dark brighteness ratio threshold value (y_low_ratio), be preferably 0.8;
Calculate face's average brightness (y_average) of face area;
Brightness judgement is carried out to the region of face;
If the brightness value Y >=y_average*y_high_ratio in described region, illustrates current region overexposure, then reduce the brightness in this region.
If the brightness value Y≤y_average*y_low_ratio in described region, then illustrate that current region is excessively dark, then improve the brightness in this region.
Finally to close a terminal the camera function of equipment.
Preferably, the brightness value in described region is the mean value of all pixel intensity in described region.
Certainly, the brightness value in described region can also be the mean square deviation of all pixel intensity in described region.Those skilled in the art according to common practise, under the technical background of the technical program, can also select the computing method of the brightness value in other forms of region, and no longer citing repeats herein.
To sum up, the method identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, according to face area Luminance Distribution to face area subregion, and regulate the region of brightness to carry out face's brightness regulation for needing, thus making face's brightness in the image shot more even, further improvement is taken pictures the phenomenon of descendant's face area brightness irregularities at present.
It is below the embodiment identifying the device of adjustment face brightness based on taking pictures provided by the invention.Identifying based on taking pictures regulates the embodiment of the device of face brightness and above-mentioned identifying based on taking pictures to regulate the embodiment of the method for face brightness to belong to same design, the detail content of not detailed description in the embodiment identifying the device regulating face brightness based on taking pictures, can with reference to above-mentioned based on the embodiment of the method identifying and regulate face brightness of taking pictures.
Please refer to Fig. 3, it is provided by the invention based on the block diagram identifying device first embodiment regulating face brightness of taking pictures.
Based on the device identifying and regulate face brightness of taking pictures, should comprise:
Recognition unit, for obtaining image to be captured, identifies the human face region in described image;
Comparing unit, for obtaining the pixel intensity in described human face region, is divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity;
Regulon, for according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulates the brightness value in described region, to make the brightness value of human face region described in the image shot even.
To sum up, the device identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, brightness regulation can be carried out to the different piece of human face region in shooting picture, make the brightness of human face region in the image shot evenly, meet the individual demand of user.
Below provided by the invention based on device second embodiment identifying and regulate face brightness of taking pictures.
Based on the device identifying and regulate face brightness of taking pictures, should comprise:
Recognition unit, for obtaining image to be captured, identifies the human face region in described image;
Comparing unit, for obtaining the pixel intensity in described human face region, is divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity;
Regulon, for according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulates the brightness value in described region, to make the brightness value of human face region described in the image shot even.
Wherein, the brightness value in described region is the mean value of all pixel intensity in described region.
Wherein, the size comparison result of the described brightness value according to each block region and predetermined luminance range, regulates the brightness value in described region, comprising:
If the brightness value in described region is more than or equal to the product of face's average brightness and default high brightness rate threshold, then judge that described size comparison result is as excessively bright, the brightness in this excessively bright for brightness value block region is turned down, the brightness value in this excessively bright block region is adjusted in the scope of the product being less than face's average brightness and default high brightness rate threshold;
If the brightness value in described region is less than or equal to face's average brightness and presets the product of dark brighteness ratio threshold value, then judge that described size comparison result is as excessively dark, the brightness in this excessively dark for brightness value block region is heightened, is greater than face's average brightness the brightness value in this excessively dark block region is adjusted to and presets in the scope of product of dark brighteness ratio threshold value.
Wherein, described preset strategy, comprising:
Using region identical for pixel intensity in described human face region as same region, described human face region is divided; Or
The luminance difference of neighbor in described human face region is less than or equal to the region of preset difference value threshold value as same region, described human face region is divided; Or
If the human face region identified in described image is positive face, then with the center line of described positive face for boundary, judge whether the luminance difference in left face region and right face region belongs to predeterminable area difference range, if, then press from left to right the order of picture element scan line by line, described human face region is divided at least two pieces of regions; Or
If the human face region identified in described image is side face, then by the order of picture element scan by column from top to bottom or from top to bottom, just described human face region is divided at least two pieces of regions.
Wherein, described in the human face region identified in described image be positive face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default positive face difference range, then the human face region identified in described image is positive face;
The described human face region identified in described image is side face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default side face difference range, then the human face region identified in described image is side face.
To sum up, the device identifying the brightness of adjustment face based on taking pictures that the embodiment of the present invention provides, according to face area Luminance Distribution to face area subregion, and regulate the region of brightness to carry out face's brightness regulation for needing, thus making face's brightness in the image shot more even, further improvement is taken pictures the phenomenon of descendant's face area brightness irregularities at present.
Based on the method and apparatus identifying and regulate face brightness of taking pictures, brightness regulation can be carried out to the different piece of human face region in shooting picture, make the brightness of human face region in the image shot evenly, meet the individual demand of user.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise storer, disk or CD etc.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.
Claims (10)
1., based on the method identifying and regulate face brightness of taking pictures, it is characterized in that, comprising:
Obtain image to be captured, identify the human face region in described image;
Obtain the pixel intensity in described human face region, according to preset strategy, described human face region is divided at least two pieces of regions according to described pixel intensity;
According to the brightness value in each block region and the size comparison result of predetermined luminance range, regulate the brightness value in described region, to make the brightness value of human face region described in the image shot even.
2. according to claim 1 based on the method identifying and regulate face brightness of taking pictures, it is characterized in that, the brightness value in described region is the mean value of all pixel intensity in described region.
3. according to claim 2 based on the method identifying and regulate face brightness of taking pictures, it is characterized in that, the size comparison result of the described brightness value according to each block region and predetermined luminance range, regulates the brightness value in described region, comprising:
If the brightness value in described region is more than or equal to the product of face's average brightness and default high brightness rate threshold, then judge that described size comparison result is as excessively bright, the brightness in this excessively bright for brightness value block region is turned down, the brightness value in this excessively bright block region is adjusted in the scope of the product being less than face's average brightness and default high brightness rate threshold;
If the brightness value in described region is less than or equal to face's average brightness and presets the product of dark brighteness ratio threshold value, then judge that described size comparison result is as excessively dark, the brightness in this excessively dark for brightness value block region is heightened, is greater than face's average brightness the brightness value in this excessively dark block region is adjusted to and presets in the scope of product of dark brighteness ratio threshold value.
4. according to claim 1 based on the method identifying and regulate face brightness of taking pictures, it is characterized in that, described preset strategy, comprising:
Using region identical for pixel intensity in described human face region as same region, described human face region is divided; Or
The luminance difference of neighbor in described human face region is less than or equal to the region of preset difference value threshold value as same region, described human face region is divided; Or
If the human face region identified in described image is positive face, then with the center line of described positive face for boundary, judge whether the luminance difference in left face region and right face region belongs to predeterminable area difference range, if, then press from left to right the order of picture element scan line by line, described human face region is divided at least two pieces of regions; Or
If the human face region identified in described image is side face, then by the order of picture element scan by column from top to bottom or from top to bottom, just described human face region is divided at least two pieces of regions.
5. the method identifying the brightness of adjustment face based on taking pictures according to claim 4, is characterized in that,
The described human face region identified in described image is positive face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default positive face difference range, then the human face region identified in described image is positive face;
The described human face region identified in described image is side face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default side face difference range, then the human face region identified in described image is side face.
6., based on the device identifying and regulate face brightness of taking pictures, it is characterized in that, comprising:
Recognition unit, for obtaining image to be captured, identifies the human face region in described image;
Comparing unit, for obtaining the pixel intensity in described human face region, is divided at least two piece regions according to preset strategy by described human face region according to described pixel intensity;
Regulon, for according to the brightness value in each block region and the size comparison result of predetermined luminance range, regulates the brightness value in described region, to make the brightness value of human face region described in the image shot even.
7. according to claim 6 based on the device identifying and regulate face brightness of taking pictures, it is characterized in that, the brightness value in described region is the mean value of all pixel intensity in described region.
8. according to claim 7 based on the device identifying and regulate face brightness of taking pictures, it is characterized in that, the size comparison result of the described brightness value according to each block region and predetermined luminance range, regulates the brightness value in described region, comprising:
If the brightness value in described region is more than or equal to the product of face's average brightness and default high brightness rate threshold, then judge that described size comparison result is as excessively bright, the brightness in this excessively bright for brightness value block region is turned down, the brightness value in this excessively bright block region is adjusted in the scope of the product being less than face's average brightness and default high brightness rate threshold;
If the brightness value in described region is less than or equal to face's average brightness and presets the product of dark brighteness ratio threshold value, then judge that described size comparison result is as excessively dark, the brightness in this excessively dark for brightness value block region is heightened, is greater than face's average brightness the brightness value in this excessively dark block region is adjusted to and presets in the scope of product of dark brighteness ratio threshold value.
9. according to claim 6 based on the device identifying and regulate face brightness of taking pictures, it is characterized in that, described preset strategy, comprising:
Using region identical for pixel intensity in described human face region as same region, described human face region is divided; Or
The luminance difference of neighbor in described human face region is less than or equal to the region of preset difference value threshold value as same region, described human face region is divided; Or
If the human face region identified in described image is positive face, then with the center line of described positive face for boundary, judge whether the luminance difference in left face region and right face region belongs to predeterminable area difference range, if, then press from left to right the order of picture element scan line by line, described human face region is divided at least two pieces of regions; Or
If the human face region identified in described image is side face, then by the order of picture element scan by column from top to bottom or from top to bottom, just described human face region is divided at least two pieces of regions.
10. the device identifying the brightness of adjustment face based on taking pictures according to claim 9, is characterized in that,
The described human face region identified in described image is positive face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default positive face difference range, then the human face region identified in described image is positive face;
The described human face region identified in described image is side face, comprising: if the difference that in described image, the right face of left face sum of human face region is long-pending belongs to default side face difference range, then the human face region identified in described image is side face.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510383548.3A CN104978710B (en) | 2015-07-02 | 2015-07-02 | A kind of method and apparatus that face brightness is adjusted based on identification of taking pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510383548.3A CN104978710B (en) | 2015-07-02 | 2015-07-02 | A kind of method and apparatus that face brightness is adjusted based on identification of taking pictures |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978710A true CN104978710A (en) | 2015-10-14 |
CN104978710B CN104978710B (en) | 2018-07-10 |
Family
ID=54275190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510383548.3A Expired - Fee Related CN104978710B (en) | 2015-07-02 | 2015-07-02 | A kind of method and apparatus that face brightness is adjusted based on identification of taking pictures |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978710B (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224932A (en) * | 2015-10-21 | 2016-01-06 | 北京旷视科技有限公司 | A kind of face identification method and system |
CN105872407A (en) * | 2016-04-18 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and system for picture processing based on brightness value reduction |
CN105913373A (en) * | 2016-04-05 | 2016-08-31 | 广东欧珀移动通信有限公司 | Image processing method and device |
CN106357978A (en) * | 2016-09-05 | 2017-01-25 | 广东欧珀移动通信有限公司 | Image outputting method and device as well as terminal |
CN106897963A (en) * | 2017-01-04 | 2017-06-27 | 奇酷互联网络科技(深圳)有限公司 | Adjust method, device and the terminal device of brightness of image |
CN106991675A (en) * | 2017-03-31 | 2017-07-28 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN107093168A (en) * | 2017-03-10 | 2017-08-25 | 厦门美图之家科技有限公司 | Processing method, the device and system of skin area image |
CN107346544A (en) * | 2017-06-30 | 2017-11-14 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN107566752A (en) * | 2017-10-31 | 2018-01-09 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable storage medium |
CN107911617A (en) * | 2017-12-27 | 2018-04-13 | 上海传英信息技术有限公司 | Photographic method and device |
CN108174088A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of brightness adjusting method, device, terminal and computer readable storage medium |
CN108564537A (en) * | 2017-12-29 | 2018-09-21 | 珠海市君天电子科技有限公司 | Method, apparatus, electronic equipment and the medium of image procossing |
CN108769526A (en) * | 2018-06-12 | 2018-11-06 | 广州视源电子科技股份有限公司 | Image adjusting method, device, equipment and storage medium |
CN109255763A (en) * | 2018-08-28 | 2019-01-22 | 百度在线网络技术(北京)有限公司 | Image processing method, device, equipment and storage medium |
CN109348138A (en) * | 2018-10-12 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Light irradiation regulating method, device, equipment and storage medium |
CN109936693A (en) * | 2017-12-18 | 2019-06-25 | 东斓视觉科技发展(北京)有限公司 | The image pickup method of follow shot terminal and photograph |
CN110069974A (en) * | 2018-12-21 | 2019-07-30 | 北京字节跳动网络技术有限公司 | Bloom image processing method, device and electronic equipment |
CN110070493A (en) * | 2018-05-09 | 2019-07-30 | 深圳天珑无线科技有限公司 | Image processing method, device, storage medium and electronic equipment |
CN110958398A (en) * | 2018-09-27 | 2020-04-03 | 浙江宇视科技有限公司 | Motion point light source restraining method and device |
CN112232146A (en) * | 2020-09-27 | 2021-01-15 | 厦门亿联网络技术股份有限公司 | Face brightness calculation method, device, equipment and storage medium |
CN112995527A (en) * | 2021-02-27 | 2021-06-18 | 深圳市数码龙电子有限公司 | Light supplementing method and system for camera, intelligent terminal and storage medium |
CN114663313A (en) * | 2022-03-25 | 2022-06-24 | 清华大学 | Visual method, apparatus, device and medium for enhancing human face speckle characteristics |
CN114845062A (en) * | 2022-04-29 | 2022-08-02 | 深圳市联洲国际技术有限公司 | Image processing method, nonvolatile storage medium, processor and electronic device |
WO2022160905A1 (en) * | 2021-01-28 | 2022-08-04 | 北京字节跳动网络技术有限公司 | Image brightness adjustment method and apparatus, and electronic device and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996030871A1 (en) * | 1995-03-31 | 1996-10-03 | Polaroid Corporation | Brightness adjustement of images using digital scene analysis |
CN101216881A (en) * | 2007-12-28 | 2008-07-09 | 北京中星微电子有限公司 | A method and device for automatic image acquisition |
EP1276315A3 (en) * | 2001-07-12 | 2008-08-20 | Eastman Kodak Company | A method for processing a digital image to adjust brightness |
JP2010130231A (en) * | 2008-11-26 | 2010-06-10 | Olympus Imaging Corp | Imaging apparatus |
CN101782967A (en) * | 2010-03-19 | 2010-07-21 | 周庆芬 | Method for extracting brightness characteristic quantity of face image and method for identifying face image |
US20100271507A1 (en) * | 2009-04-24 | 2010-10-28 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
CN102006421A (en) * | 2009-09-01 | 2011-04-06 | 华晶科技股份有限公司 | Processing method for image with face |
EP2466362A2 (en) * | 2010-12-20 | 2012-06-20 | Samsung Electronics Co., Ltd. | Method and apparatus for providing stereoscopic image |
CN103810463A (en) * | 2012-11-14 | 2014-05-21 | 汉王科技股份有限公司 | Face recognition device and face image detection method |
CN104517272A (en) * | 2014-12-31 | 2015-04-15 | 深圳市天视通电子科技有限公司 | Image enhancing method and device |
-
2015
- 2015-07-02 CN CN201510383548.3A patent/CN104978710B/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996030871A1 (en) * | 1995-03-31 | 1996-10-03 | Polaroid Corporation | Brightness adjustement of images using digital scene analysis |
EP1276315A3 (en) * | 2001-07-12 | 2008-08-20 | Eastman Kodak Company | A method for processing a digital image to adjust brightness |
CN101216881A (en) * | 2007-12-28 | 2008-07-09 | 北京中星微电子有限公司 | A method and device for automatic image acquisition |
JP2010130231A (en) * | 2008-11-26 | 2010-06-10 | Olympus Imaging Corp | Imaging apparatus |
CN101742124A (en) * | 2008-11-26 | 2010-06-16 | 奥林巴斯映像株式会社 | Camera device and luminous quantity regulating method for the camera device |
US20100271507A1 (en) * | 2009-04-24 | 2010-10-28 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
CN102006421A (en) * | 2009-09-01 | 2011-04-06 | 华晶科技股份有限公司 | Processing method for image with face |
CN101782967A (en) * | 2010-03-19 | 2010-07-21 | 周庆芬 | Method for extracting brightness characteristic quantity of face image and method for identifying face image |
EP2466362A2 (en) * | 2010-12-20 | 2012-06-20 | Samsung Electronics Co., Ltd. | Method and apparatus for providing stereoscopic image |
CN103810463A (en) * | 2012-11-14 | 2014-05-21 | 汉王科技股份有限公司 | Face recognition device and face image detection method |
CN104517272A (en) * | 2014-12-31 | 2015-04-15 | 深圳市天视通电子科技有限公司 | Image enhancing method and device |
Non-Patent Citations (4)
Title |
---|
LU YUAN 等: "Automatic Exposure Correction of Consumer Photographs", 《ECCV 2012》 * |
YINTING WANG 等: "Automatic local exposure correction using bright channel prior for under-exposed images", 《SIGNAL PROCESSING》 * |
徐小东: "图像亮度的自动调整", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》 * |
王想 等: "图像和视频亮度的自动调整", 《电子学报》 * |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224932A (en) * | 2015-10-21 | 2016-01-06 | 北京旷视科技有限公司 | A kind of face identification method and system |
CN105913373A (en) * | 2016-04-05 | 2016-08-31 | 广东欧珀移动通信有限公司 | Image processing method and device |
CN105913373B (en) * | 2016-04-05 | 2019-06-04 | Oppo广东移动通信有限公司 | Image processing method and device |
CN105872407A (en) * | 2016-04-18 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and system for picture processing based on brightness value reduction |
CN106357978B (en) * | 2016-09-05 | 2019-05-03 | Oppo广东移动通信有限公司 | Image output method, device and terminal |
CN106357978A (en) * | 2016-09-05 | 2017-01-25 | 广东欧珀移动通信有限公司 | Image outputting method and device as well as terminal |
CN106897963A (en) * | 2017-01-04 | 2017-06-27 | 奇酷互联网络科技(深圳)有限公司 | Adjust method, device and the terminal device of brightness of image |
CN107093168A (en) * | 2017-03-10 | 2017-08-25 | 厦门美图之家科技有限公司 | Processing method, the device and system of skin area image |
CN106991675A (en) * | 2017-03-31 | 2017-07-28 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN107346544A (en) * | 2017-06-30 | 2017-11-14 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN107346544B (en) * | 2017-06-30 | 2020-05-26 | 联想(北京)有限公司 | Image processing method and electronic equipment |
CN107566752A (en) * | 2017-10-31 | 2018-01-09 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable storage medium |
CN109936693A (en) * | 2017-12-18 | 2019-06-25 | 东斓视觉科技发展(北京)有限公司 | The image pickup method of follow shot terminal and photograph |
CN108174088A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of brightness adjusting method, device, terminal and computer readable storage medium |
CN107911617A (en) * | 2017-12-27 | 2018-04-13 | 上海传英信息技术有限公司 | Photographic method and device |
CN108564537A (en) * | 2017-12-29 | 2018-09-21 | 珠海市君天电子科技有限公司 | Method, apparatus, electronic equipment and the medium of image procossing |
CN108564537B (en) * | 2017-12-29 | 2022-08-26 | 北京乐蜜科技有限责任公司 | Image processing method, image processing device, electronic equipment and medium |
CN110070493A (en) * | 2018-05-09 | 2019-07-30 | 深圳天珑无线科技有限公司 | Image processing method, device, storage medium and electronic equipment |
CN108769526A (en) * | 2018-06-12 | 2018-11-06 | 广州视源电子科技股份有限公司 | Image adjusting method, device, equipment and storage medium |
CN109255763A (en) * | 2018-08-28 | 2019-01-22 | 百度在线网络技术(北京)有限公司 | Image processing method, device, equipment and storage medium |
CN110958398A (en) * | 2018-09-27 | 2020-04-03 | 浙江宇视科技有限公司 | Motion point light source restraining method and device |
CN109348138A (en) * | 2018-10-12 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Light irradiation regulating method, device, equipment and storage medium |
CN110069974B (en) * | 2018-12-21 | 2021-09-17 | 北京字节跳动网络技术有限公司 | Highlight image processing method and device and electronic equipment |
CN110069974A (en) * | 2018-12-21 | 2019-07-30 | 北京字节跳动网络技术有限公司 | Bloom image processing method, device and electronic equipment |
CN112232146A (en) * | 2020-09-27 | 2021-01-15 | 厦门亿联网络技术股份有限公司 | Face brightness calculation method, device, equipment and storage medium |
CN112232146B (en) * | 2020-09-27 | 2024-04-09 | 厦门亿联网络技术股份有限公司 | Face brightness calculation method, device, equipment and storage medium |
WO2022160905A1 (en) * | 2021-01-28 | 2022-08-04 | 北京字节跳动网络技术有限公司 | Image brightness adjustment method and apparatus, and electronic device and medium |
CN112995527B (en) * | 2021-02-27 | 2021-12-21 | 深圳市数码龙电子有限公司 | Light supplementing method and system for camera, intelligent terminal and storage medium |
CN112995527A (en) * | 2021-02-27 | 2021-06-18 | 深圳市数码龙电子有限公司 | Light supplementing method and system for camera, intelligent terminal and storage medium |
CN114663313A (en) * | 2022-03-25 | 2022-06-24 | 清华大学 | Visual method, apparatus, device and medium for enhancing human face speckle characteristics |
CN114845062A (en) * | 2022-04-29 | 2022-08-02 | 深圳市联洲国际技术有限公司 | Image processing method, nonvolatile storage medium, processor and electronic device |
CN114845062B (en) * | 2022-04-29 | 2024-04-02 | 深圳市联洲国际技术有限公司 | Image processing method, nonvolatile storage medium, processor and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN104978710B (en) | 2018-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104978710A (en) | Method and device for identifying and adjusting human face luminance based on photographing | |
CN105096267B (en) | A kind of method and apparatus that eye brightness is adjusted based on identification of taking pictures | |
US11265523B2 (en) | Illuminant estimation referencing facial color features | |
USRE47960E1 (en) | Methods and devices of illuminant estimation referencing facial color features for automatic white balance | |
CN108197546B (en) | Illumination processing method and device in face recognition, computer equipment and storage medium | |
CN101964874B (en) | Image processing apparatus and image processing method | |
US8902328B2 (en) | Method of selecting a subset from an image set for generating high dynamic range image | |
US8977056B2 (en) | Face detection using division-generated Haar-like features for illumination invariance | |
US8175382B2 (en) | Learning image enhancement | |
CN103369214A (en) | An image acquiring method and an image acquiring apparatus | |
WO2016065053A2 (en) | Automatic display image enhancement based on user's visual perception model | |
US8285133B2 (en) | Dynamic lighting control in hybrid camera-projector device | |
CN106941588B (en) | Data processing method and electronic equipment | |
CN111447372B (en) | Control method, device, equipment and medium for brightness parameter adjustment | |
CN113610723B (en) | Image processing method and related device | |
CN108319940A (en) | Face recognition processing method, device, equipment and storage medium | |
CN109348207B (en) | Color temperature adjusting method, image processing method and device, medium and electronic equipment | |
CN106803920A (en) | Image processing method and device and intelligent conference terminal | |
CN111695474B (en) | Method for adaptively adjusting gamma curve of iris image of human eye | |
CN113379650B (en) | Face image exposure method and device, electronic equipment and storage medium | |
CN109120856A (en) | Camera shooting method and device | |
CN113781330A (en) | Image processing method, device and electronic system | |
CN109325906B (en) | Image processing method and device, storage medium and electronic equipment | |
CA2759721C (en) | Dynamic lighting control in hybrid camera - projector device | |
CN103971111B (en) | Image processing method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180710 |
|
CF01 | Termination of patent right due to non-payment of annual fee |