CN111127367A - Method, device and system for processing face image - Google Patents

Method, device and system for processing face image Download PDF

Info

Publication number
CN111127367A
CN111127367A CN201911370960.6A CN201911370960A CN111127367A CN 111127367 A CN111127367 A CN 111127367A CN 201911370960 A CN201911370960 A CN 201911370960A CN 111127367 A CN111127367 A CN 111127367A
Authority
CN
China
Prior art keywords
region
face
image
sub
skin color
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.)
Pending
Application number
CN201911370960.6A
Other languages
Chinese (zh)
Inventor
孙文君
周凡贻
黄小寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201911370960.6A priority Critical patent/CN111127367A/en
Priority to PCT/CN2020/078818 priority patent/WO2021128593A1/en
Publication of CN111127367A publication Critical patent/CN111127367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20208High dynamic range [HDR] image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

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 provides a method, a device and a system for processing a face image, wherein the method comprises the following steps: acquiring an original image; selecting a first area of the original image; dividing the skin color information of the original image according to the first area; and obtaining a corresponding target face image based on the skin color information. The method and the device have the advantages that the portrait details can be displayed more clearly in each scene, the stereoscopic impression of the dark skin portrait can be displayed, the consistency of portrait photographing in different environments is achieved, and therefore the dynamic range of the human face when the portrait photographing, particularly the dark skin portrait photographing, is improved.

Description

Method, device and system for processing face image
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, and a system for processing a face image.
Background
HDR (High-Dynamic Range, High Dynamic Range image) as image processing technology advances, a technique applied to make a camera see the feature of an image can provide more Dynamic Range and image details than a general image, and a final HDR image is synthesized from LDR (Low-Dynamic Range, Low Dynamic Range image) of different exposure times and using LDR images corresponding to the best details for each exposure time. The visual effect in the real environment can be better reflected.
However, most of the current HDR methods are HDR with respect to the entire picture scene, and are rarely combined with portrait detection.
Even some HDR methods involving single portrait detection only process the portrait for multiple times, and the clearest pixel points are synthesized. However, how to make the pixel points the clearest is not a quantitative analysis, and even if all the pixel points of the portrait part are clear, it cannot be guaranteed that the synthesized face part has no problems, for example, the problems that the stereoscopic impression of the portrait disappears, the dynamic range of the portrait decreases instead, the portrait becomes flat, and the like can occur.
Disclosure of Invention
The invention provides a method, a device and a system for processing a face image, which are used for displaying portrait details more clearly in each scene, showing the three-dimensional effect of a dark skin portrait and achieving the consistency of portrait photographing in different environments, thereby improving the dynamic range of the face when the portrait is photographed, particularly the dark skin portrait is photographed.
In a first aspect, a method for processing a face image provided in an embodiment of the present invention includes:
acquiring an original image;
selecting a first area of the original image;
dividing the skin color information of the original image according to the first area;
and obtaining a corresponding target face image based on the skin color information.
In one possible design, before selecting the first region of the original image, the method further includes:
and selecting a face area from the original image, and if the brightness of the face area is detected to be not less than a preset target value, taking the corresponding original image as a standard image and storing the current exposure T.
In one possible design, selecting a first region of the original image includes:
extracting the characteristics of the standard image, dividing the standard image into a plurality of sub-regions, and selecting the first region from the sub-regions, wherein the first region comprises a forehead region corresponding to the face.
In one possible design, the method further includes:
and carrying out positive exposure and negative exposure treatment on each subarea according to the current exposure T to obtain a plurality of alternative subareas.
In one possible design, the dividing of the skin color information for the original image according to the first region includes:
matching the characteristics of the first region with the characteristics of the candidate sub-regions to obtain at least one corresponding candidate sub-region serving as a matching sub-region;
and determining the skin color category corresponding to the first region according to the matching sub-region.
In one possible design, obtaining a corresponding target face image based on the skin color information includes:
obtaining a matching sub-region corresponding to each sub-region in the face region according to the skin color category;
and fusing all the matching sub-regions to obtain the target face image.
In one possible design, before determining the skin color category corresponding to the first region according to the matching sub-region, the method further includes:
and training through a training data set to obtain the one-to-one correspondence of the matched sub-region and the skin color category corresponding to the first region.
In one possible design, after obtaining a corresponding target face image based on the skin color information, the method further includes:
and smoothing the target face image, and displaying on a display interface.
In one possible design, the acquiring the original image includes:
and performing face detection on the preview interface, entering a photographing mode if no face area exists in the preview interface, and performing photographing dimming according to a preset photometric mode to acquire an original image.
In a second aspect, an apparatus for processing a face image according to an embodiment of the present invention includes:
the acquisition module is used for acquiring an original image;
the input module is used for inputting the original image as a skin color face model; wherein, the skin color face model is as follows: dividing skin color categories of the original image according to the forehead area of the face, and obtaining a corresponding target face image based on the skin color categories;
and the output module is used for outputting the target face image through the skin color face model.
In a third aspect, a system for processing a face image provided in an embodiment of the present invention includes: the device comprises a memory and a processor, wherein the memory stores executable instructions of the processor; wherein the processor is configured to perform the method of facial image processing of any of the first aspects via execution of the executable instructions.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for processing a face image according to any one of the first aspect.
The invention provides a method, a device and a system for processing a face image, wherein the method comprises the following steps: acquiring an original image; selecting a first area of the original image; dividing the skin color information of the original image according to the first area; and obtaining a corresponding target face image based on the skin color information. The method and the device have the advantages that the portrait details can be displayed more clearly in each scene, the stereoscopic impression of the dark skin portrait can be displayed, the consistency of portrait photographing in different environments is achieved, and therefore the dynamic range of the human face when the portrait photographing, particularly the dark skin portrait photographing, is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic view of an application scenario of the present invention;
fig. 2 is a flowchart of a method for processing a face image according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a face model according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a face image processing apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a face image processing apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a system for processing a face image according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
HDR (High Dynamic Range) is an image post-processing technique, which is an image mapping technique that exceeds the Range of brightness that can be represented by a display. Mapping a wide range of brightness to a range of brightness that can be represented by a sheet or screen is similar to the camera exposure function, as is the human eye. The quantity of light entering the photoreceptor can be controlled by the aperture of the camera, and convincing pictures can be obtained by processing the brightness of the photoreceptor.
However, most of the photometric modes in the prior art are HDR of the whole picture scene, and are rarely combined with portrait detection, even some of the portrait HDR related to individual portrait detection only processes the portrait for multiple times, and the sharpest pixel points are synthesized.
Fig. 1 is a schematic view of an application scene of the present invention, and a user uses an intelligent device such as a mobile phone, a tablet computer, an ipad, etc. to perform scene shooting to obtain an image with a suitable exposure, as shown in fig. 1, the user uses a mobile phone 11 to perform scene shooting including a portrait, and since the exposure of each scene is different and the received light is different, the shot image is dim and dim, and especially the shooting of a dark skin portrait cannot meet the requirement of a high dynamic range of the portrait, the light measuring mode of the present invention needs to be used to perform scene shooting, especially to obtain a dark skin portrait, and then a target face image, i.e., a high dynamic face image 12, is output according to a skin-color face model, thereby improving the shooting experience of dark skin-color people.
Fig. 2 is a flowchart of a method for processing a face image according to an embodiment of the present invention, and as shown in fig. 2, the method for processing a face image according to the embodiment may include:
and S101, acquiring an original image.
Specifically, when photographing is performed through terminal devices such as a mobile phone, face detection is performed on a preview interface (for example, a mobile phone screen), if no face is detected, a photographing mode is entered, and photographing dimming is performed according to a preset photometric mode to obtain an original image. The original image includes face information.
The light metering mode is a mode of testing the reflectivity of a camera and a shot object, measures the brightness of light, is a process of realizing correct exposure of the camera, has the advantage of directly reflecting the light of a seen scene through a lens for light metering, and mainly comprises four light metering modes, namely average light metering, local light metering, point light metering and central key average light metering. In general, the original image has the result that the uniformity of the overall exposure is poor and the image is dim.
S102, selecting a first area of the original image.
Specifically, in an optional embodiment, before selecting the first region of the original image, the method further includes: and selecting a face area from the original image, and if the brightness of the detected face area is not less than a preset target value, taking the corresponding original image as a standard image and storing the current exposure T.
For example, based on the method in the prior art, a face region is selected from an original image, and then it is detected that the brightness of the face region is not less than a preset target value AE, the original image is used as a standard image, for example, refer to a picture displayed in the mobile phone 11 in fig. 1, and the previous exposure T of the original image is stored, the current exposure indicates the exposure degree of the image, that is, how much light is received, the more light is received, that is, the higher the exposure is, the brighter the image is; the lower the exposure, the darker the image. In this embodiment, the preset target value is not limited.
And further acquiring a first region of the original image, comprising: the method comprises the steps of extracting the features of a standard image, dividing the standard image into a plurality of sub-regions, and selecting a first region from the sub-regions, wherein the first region comprises a forehead region corresponding to a human face. And carrying out positive exposure and negative exposure treatment on each subarea according to the current exposure T to obtain a plurality of alternative subareas.
Specifically, the features of the original image corresponding to the standard image are extracted, and the standard image is divided into a plurality of sub-regions, for example, the standard image is divided into a plurality of sub-regions, and the face region is divided into M sub-regions, where the sub-regions include a first region, for example, a forehead region of a face. And then, performing multi-frame exposure with the current exposure T, and performing positive exposure and negative exposure processing of small STEP multi-frames on each subarea of the standard image, for example, performing each processing of positive exposure and negative exposure for X times, so as to respectively obtain corresponding candidate subareas. For example, after a sub-region is subjected to positive exposure and negative exposure for X times based on the current exposure T, 2X +1 candidate sub-regions corresponding to the sub-region are obtained. In particular, exposure processing is performed on a face region, for example, after the forehead region (i.e., the first region) of the face is subjected to positive exposure and negative exposure for X times based on the current exposure level T, 2X +1 candidate sub-regions corresponding to the forehead region are obtained. In order to more comprehensively acquire the brightness values of different sub-regions of the face region, the STEP requiring multi-frame exposure is small enough, that is, the number of frames is required to be large enough. And 2X +1 alternative sub-areas collected by each sub-area are cached, and M (2X +1) alternative sub-images are obtained according to the M sub-areas.
S103, dividing the skin color information of the original image according to the first area, and matching the characteristics of the first area with the characteristics of the candidate sub-areas to obtain at least one corresponding candidate sub-area serving as a matching sub-area; and determining the skin color category corresponding to the first region according to the matching sub-region.
In this embodiment, the characteristics of the forehead area are matched with the alternative sub-areas corresponding to the forehead area to obtain at least one alternative sub-area, and then the matched sub-area is obtained from the alternative sub-areas, and the skin color category, such as dark brown is determined according to the matched sub-area; and then obtaining matching sub-regions corresponding to other (M-1) sub-regions in the face region according to the dark skin color category, namely obtaining the matching sub-regions from 2X +1 alternative sub-regions corresponding to each sub-region, and further fusing all the matching sub-regions to obtain a target face image.
S104, obtaining a matching sub-region corresponding to each sub-region in the face region according to the skin color category; and fusing all the matching sub-regions to obtain a target face image.
Specifically, matching the characteristics of the forehead area with the characteristics of the corresponding alternative sub-areas to obtain one or more successfully matched alternative sub-areas, and taking one of the alternative sub-areas as a matching sub-area; and determining a skin color category corresponding to the forehead area (namely the first area) of the face according to the matching sub-area, obtaining a matching sub-area corresponding to each sub-area in the face area according to the skin color category, and further fusing all the matching sub-areas to obtain a target face image. For example, the sub-regions may include a forehead region divided by the position of the eyebrows to the hairline, cheek regions located on both sides of the face, from the eyes to the lower jaw, an eye region constituted by the outer rim of the eyelids, and so on.
In an optional embodiment, after obtaining the corresponding target face image based on the skin color information, the method further includes: and smoothing the target face image, and displaying on a display interface.
Specifically, each sub-region, especially the matching sub-region corresponding to the face region, is fused to obtain a target face image, and noise or distortion on the target face image can be reduced through smooth (image smoothing). And finally, a high-dynamic face image is output, and the image can obtain all details of the face and can be matched with the brightness order of the acquired portrait, so that the portrait is clear and three-dimensional. And then displayed on the display interface.
The original image obtained in the prior art is not suitable for exposure, so that flickering and darkness of face shooting may occur, and even the forehead area of the obtained face may be flickering and darkness in severe cases. The embodiment can effectively ensure that the obtained target image is clear and three-dimensional and has good consistency, thereby improving the photographing experience of dark skin color crowds and being suitable for processing face images in various scenes.
With reference to fig. 3 in conjunction with the above example, fig. 3 is a schematic structural diagram of a face model according to a second embodiment of the present invention; specifically, a selection branch 21, a division branch 22, a matching branch 23 and a fusion branch 24; the selecting branch is used for selecting a face area according to the original image to obtain a standard image; the dividing branch is used for extracting the characteristics of the standard image, dividing the standard image into a plurality of sub-regions, selecting a first region from the sub-regions, and obtaining a plurality of corresponding alternative sub-regions according to the sub-regions; the matching branch is used for matching the characteristics of the first region with the characteristics of the candidate sub-regions to obtain at least one corresponding candidate sub-region as a matching sub-region; determining a skin color category corresponding to the first region according to the matching sub-region; the fusion branch is used for obtaining a matching sub-region corresponding to each sub-region in the face region according to the skin color category; and fusing all the matching sub-regions to obtain a target face image.
In an optional embodiment, the original image is input into a skin color face model, the skin color face model can be divided into smaller sub-regions, and the obtained standard image can also be divided into alternative sub-regions with the same number and smaller size; further, the characteristics of the forehead area are matched with the corresponding alternative sub-areas to obtain at least one matched alternative sub-area, further obtain a corresponding matched sub-area, and determine the skin color category according to the matched sub-area, such as dark brown; and then obtaining matching sub-regions corresponding to other sub-regions according to the dark brown skin color category, namely obtaining the matching sub-regions from a plurality of candidate sub-regions corresponding to each sub-region, and fusing all the matching sub-regions to obtain a target face image. The method can effectively ensure that the target image is clear and three-dimensional and has good consistency, thereby improving the photographing experience of dark skin color crowds and being suitable for processing face images in various scenes.
In an optional embodiment, before determining the skin color category corresponding to the first region according to the matching sub-region, the method further includes: and training through a training data set to obtain the one-to-one correspondence of the matched sub-region and the skin color category corresponding to the first region.
Specifically, the training data set includes a plurality of face images with different skin colors, and the training data set may be set and stored according to an existing face database, or the training data set may be formed by collecting and downloading face images with different skin colors from the internet. The large population of the dark skin color N is obtained based on a large amount of dark skin color portrait analysis, and the skin color categories are mainly classified according to the forehead area of the portrait as a reference point, because the forehead area contains the most abundant information, such as H (Hue, or Hue), S (Saturation), Y (yellow), and the like.
Through multiple times of training of the training data set, the one-to-one correspondence relationship between the matching sub-regions and the corresponding skin color categories of the forehead region of the face is finally obtained, high stability and better robustness are achieved, the fact that the portrait is bright and cannot be frosted under a backlight scene can be guaranteed, and even under the condition that glare appears when an original image is shot outdoors on a sunny day, the portrait effect can be still improved through the model.
The embodiment improves the dynamic range of the human face when the human face is photographed, particularly when the dark skin color human face is photographed, not only can more clear human face details be obtained in each scene, but also the human face stereoscopic impression of dark skin color people can be shown, and the consistency of the human face photographing under different environments can be ensured.
Fig. 4 is a schematic structural diagram of a face image processing apparatus according to a third embodiment of the present invention, and as shown in fig. 4, the face image processing apparatus according to the third embodiment of the present invention may include:
an obtaining module 33, configured to obtain an original image;
an input module 34, configured to input the original image as a skin color face model; the skin color face model is as follows: dividing skin color categories of the original image according to the forehead area of the face, and obtaining a corresponding target face image based on the skin color categories;
and the output module 35 is configured to output the target face image through the skin color face model.
The device for processing a face image in this embodiment may execute the technical solution in the method shown in fig. 2, and for the specific implementation process and technical principle, reference is made to the relevant description in the method shown in fig. 2, which is not described herein again.
Fig. 5 is a schematic structural diagram of a face image processing apparatus according to a fourth embodiment of the present invention, and as shown in fig. 5, the face image processing apparatus according to the present embodiment may further include, before the original image is used as an input of the skin color face model on the basis of fig. 4:
a construction module 31, configured to construct an initial face model; wherein the initial face model comprises: selecting a branch, dividing the branch, matching the branch and fusing the branches; the selecting branch is used for selecting a face area according to the original image to obtain a standard image; the dividing branch is used for extracting the characteristics of the standard image, dividing the standard image into a plurality of sub-regions, selecting a first region from the sub-regions, and obtaining a plurality of corresponding alternative sub-regions according to the sub-regions; the matching branch is used for matching the characteristics of the first region with the characteristics of the candidate sub-regions to obtain at least one corresponding candidate sub-region as a matching sub-region; determining a skin color category corresponding to the first region according to the matching sub-region; the fusion branch is used for obtaining a matching sub-region corresponding to each sub-region in the face region according to the skin color category; and fusing all the matching sub-regions to obtain a target face image.
And an obtaining module 32, configured to train the initial face model through a training data set to obtain a skin color face model.
Fig. 6 is a schematic structural diagram of a system for processing a face image according to a fifth embodiment of the present invention, and as shown in fig. 6, the system 40 for processing a face image according to this embodiment may include: a processor 41 and a memory 42.
A memory 42 for storing a computer program (such as an application program, a functional module, and the like that implement the above-described method of face image processing), computer instructions, and the like;
the computer programs, computer instructions, etc. described above may be stored in one or more memories 42 in partitions. And the above-mentioned computer program, computer instructions, data, etc. can be called by the processor 41.
A processor 41 for executing the computer program stored in the memory 42 to implement the steps of the method according to the above embodiments.
Reference may be made in particular to the description relating to the preceding method embodiment.
The processor 41 and the memory 42 may be separate structures or may be integrated structures integrated together. When the processor 41 and the memory 42 are separate structures, the memory 42 and the processor 41 may be coupled by a bus 43.
The server in this embodiment may execute the technical solution in the method shown in fig. 2, and for the specific implementation process and the technical principle, reference is made to the relevant description in the method shown in fig. 2, which is not described herein again.
In addition, embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment performs the above-mentioned various possible methods.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing a face image, comprising:
acquiring an original image;
selecting a first area of the original image;
dividing the skin color information of the original image according to the first area;
and obtaining a corresponding target face image based on the skin color information.
2. The method of claim 1, further comprising, prior to selecting the first region of the original image:
and selecting a face area from the original image, and if the brightness of the face area is detected to be not less than a preset target value, taking the corresponding original image as a standard image and storing the current exposure T.
3. The method of claim 2, wherein selecting the first region of the original image comprises:
extracting the characteristics of the standard image, dividing the standard image into a plurality of sub-regions, and selecting the first region from the sub-regions, wherein the first region comprises a forehead region corresponding to the face.
4. The method of claim 3, further comprising:
and carrying out positive exposure and negative exposure treatment on each subarea according to the current exposure T to obtain a plurality of alternative subareas.
5. The method of claim 4, wherein the dividing of the skin tone information for the original image according to the first region comprises:
matching the characteristics of the first region with the characteristics of the candidate sub-regions to obtain at least one corresponding candidate sub-region serving as a matching sub-region;
and determining the skin color category corresponding to the first region according to the matching sub-region.
6. The method of claim 5, wherein deriving a corresponding target face image based on the skin color information comprises:
obtaining a matching sub-region corresponding to each sub-region in the face region according to the skin color category;
and fusing all the matching sub-regions to obtain the target face image.
7. The method of claim 5, further comprising, prior to determining the skin tone category corresponding to the first region from the matching sub-region:
and training through a training data set to obtain the one-to-one correspondence of the matched sub-region and the skin color category corresponding to the first region.
8. The method of any one of claims 1-7, wherein the acquiring the raw image comprises:
and performing face detection on the preview interface, entering a photographing mode if no face area exists in the preview interface, and performing photographing dimming according to a preset photometric mode to acquire an original image.
9. An apparatus for processing a face image, comprising:
the acquisition module is used for acquiring an original image;
the input module is used for inputting the original image as a skin color face model; wherein, the skin color face model is as follows: dividing skin color categories of the original image according to the forehead area of the face, and obtaining a corresponding target face image based on the skin color categories;
and the output module is used for outputting the target face image through the skin color face model.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of facial image processing according to any one of claims 1 to 8.
CN201911370960.6A 2019-12-26 2019-12-26 Method, device and system for processing face image Pending CN111127367A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911370960.6A CN111127367A (en) 2019-12-26 2019-12-26 Method, device and system for processing face image
PCT/CN2020/078818 WO2021128593A1 (en) 2019-12-26 2020-03-11 Facial image processing method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911370960.6A CN111127367A (en) 2019-12-26 2019-12-26 Method, device and system for processing face image

Publications (1)

Publication Number Publication Date
CN111127367A true CN111127367A (en) 2020-05-08

Family

ID=70503511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911370960.6A Pending CN111127367A (en) 2019-12-26 2019-12-26 Method, device and system for processing face image

Country Status (2)

Country Link
CN (1) CN111127367A (en)
WO (1) WO2021128593A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113870404A (en) * 2021-09-23 2021-12-31 聚好看科技股份有限公司 Skin rendering method and device of 3D model

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113792714B (en) * 2021-11-16 2022-05-17 中国南方电网有限责任公司超高压输电公司广州局 Method, device and system for identifying personnel entering and leaving converter station
CN115965735B (en) * 2022-12-22 2023-12-05 百度时代网络技术(北京)有限公司 Texture map generation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077931B1 (en) * 2006-07-14 2011-12-13 Chatman Andrew S Method and apparatus for determining facial characteristics
CN108564558A (en) * 2018-01-05 2018-09-21 广州广电运通金融电子股份有限公司 Wide dynamic images processing method, device, equipment and storage medium
CN110248107A (en) * 2019-06-13 2019-09-17 Oppo广东移动通信有限公司 Image processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113870404A (en) * 2021-09-23 2021-12-31 聚好看科技股份有限公司 Skin rendering method and device of 3D model
CN113870404B (en) * 2021-09-23 2024-05-07 聚好看科技股份有限公司 Skin rendering method of 3D model and display equipment

Also Published As

Publication number Publication date
WO2021128593A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
CN111402135B (en) Image processing method, device, electronic equipment and computer readable storage medium
CN108495050B (en) Photographing method, photographing device, terminal and computer-readable storage medium
JP6905602B2 (en) Image lighting methods, devices, electronics and storage media
EP3631754B1 (en) Image processing apparatus and method
CN108933899B (en) Panorama shooting method, device, terminal and computer readable storage medium
CN113992861B (en) Image processing method and image processing device
Tursun et al. An objective deghosting quality metric for HDR images
CN108737738B (en) Panoramic camera and exposure method and device thereof
CN106161939B (en) Photo shooting method and terminal
CN111127367A (en) Method, device and system for processing face image
CN107040726B (en) Double-camera synchronous exposure method and system
CN112818732B (en) Image processing method, device, computer equipment and storage medium
CN111738969B (en) Image fusion method, device and computer readable storage medium
Guthier et al. Flicker reduction in tone mapped high dynamic range video
CN106416218B (en) Image processing apparatus, photographic device, image processing method and storage medium
CN109819176A (en) A kind of image pickup method, system, device, electronic equipment and storage medium
Florea et al. Directed color transfer for low-light image enhancement
CN104010134B (en) For forming the system and method with wide dynamic range
CN111275648B (en) Face image processing method, device, equipment and computer readable storage medium
CN114257730A (en) Image data processing method and device, storage medium and computer equipment
CN113240760B (en) Image processing method, device, computer equipment and storage medium
Van Vo et al. High dynamic range video synthesis using superpixel-based illuminance-invariant motion estimation
CN113989387A (en) Camera shooting parameter adjusting method and device and electronic equipment
CN114339028A (en) Photographing method, electronic device and computer-readable storage medium
JP2002010283A (en) Display method and processor for face image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination