IP Library › Granted Patent US 12,633,160
Granted Patent B2
US 12,633,160 · App. 18/290,700 · Granted May 19, 2026

Face region detection and local reshaping enhancement

Inventors: Tsung-Wei Huang (Sunnyvale, CA); Guan-Ming Su (Fremont, CA)
Assignee: Dolby Laboratories Licensing Corporation
G06V40/162G06T5/20G06T5/40G06T5/94G06V10/34G06T2207/10016G06T2207/30201
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,633,160
App. No.
18/290,700
Granted
May 19, 2026
Kind
B2
Abstract

Methods and corresponding systems to process face regions are disclosed. The described methods include providing face bounding boxes and confidence levels for the faces, generating a histogram of the pixels and the faces, generating a probability of face, and generating a face probability map. A face contrast adjustment and a face saturation adjustment can be applied to the face probability map.

Claims (36)

1 . A method of performing local reshaping on an input image including one or more faces, the method comprising: generating a histogram of all pixels in the input image; based on a combination of face bounding boxes for the one or more faces with a basic face shape model, generating a basic face shape map comprising a pixel mapping of basic face shapes for the one or more faces; based on the input image and the basic face shape map, generating histograms of the one or more faces; based on the histograms of the one more faces, generating for each bin of the histogram of all pixels a probability of face comprising a probability of a pixel being in a face, based on the probability of face, generating a face probability map comprising a pixel mapping of the input image to the probabilities of each pixel individually being part of a face, and generating a reshaped image from the input image based on the face probability map and one or more selected reshaping functions, wherein after generating the probability of face and before generating the face probability map, local smoothing the probability of face to generate a smoothened probability of face, and applying a soft morphological operation to the smoothened probability of face to generate the face probability map.

2 . The method of claim 1 , wherein the basic face shape model comprises an inscribed ellipse of a bounding box.

3 . The method of any of claim 1 , wherein the generating of the probability of face comprises:

filtering the histogram of all pixels to generate a filtered histogram of all pixels, and

filtering the histograms of the one or more faces to generated filtered histograms of the one or more faces.

4 . The method of claim 3 , further wherein the generating of the probability of face further comprises:

scaling and thresholding a combination of the filtered histogram of all pixels and filtered histograms of the one or more faces to generate an initial probability of face.

5 . The method of claim 4 , wherein the initial probability of face comprises an initial probability of face in YUV channel.

6 . The method of claim 3 , wherein:

the filtering the histogram of all pixels is performed using a gaussian filter, and

the filtering the histograms of the one or more faces is performed using a gaussian filter.

7 . The method of claim 4 , wherein the combination of the filtered histogram of all pixels and filtered histograms of the one or more faces comprises a ratio of the filtered histograms of the one or more faces with the filtered histogram of all pixels.

8 . The method of claim 4 , wherein the generating of the probability of face further comprises:

subtracting the generated histograms of the one or more faces from the generated histogram of all pixels to generate a histogram of non-face.

9 . The method of claim 8 , wherein generating of the probability of face further comprises:

based on the initial probability of face and the histogram of non-face, generating an updated probability of non-face, and

based on the initial probability of face and the histograms of the one or more faces, generating an updated probability of face.

10 . The method of claim 9 , generating of the probability of face further comprises:

combining the updated probability from non-face and the updated probability from face to generate an updated probability, and

filtering the updated probability to generate the probability of face.

11 . The method of claim 10 , wherein the filtering is performed using a gaussian filter.

12 . The method of claim 10 , further comprising:

after generating the probability of face and before generating the face probability map, local smoothing the probability of face to generate a smoothened probability of face, and

applying a soft morphological operation to the smoothened probability of face to generate the face probability map.

13 . The method of claim 10 , wherein the combining the updated probability from non-face and the updated probability from face comprises:

generating a weighted sum of updated probability from non-face and the updated probability from face.

14 . The method of claim 1 further comprising:

applying local reshaping by:

applying face saturation adjustment and face contrast adjustment to the face probability map to generate an adjusted face probability map; and

generating a reshaped image based on the adjusted face probability map and one or more selected reshaping function.

15 . The method of claim 14 , wherein the applying the face contrast adjustment is performed by adjusting a contrast of the one or more faces based on a face contrast reduction ratio.

16 . The method of claim 14 , wherein the applying the face saturation adjustment is performed by adjusting a saturation of the one or more faces based a face desaturation offset and a face desaturation threshold.

17 . The method of claim 1 , further comprising:

trimming the histograms of the one or more faces to reduce a memory space required to store the histograms of the one or more faces.

18 . A video decoder comprising hardware, software, or both configured to carry out the method of claim 1 .

19 . A non-transitory computer-readable storage medium having stored thereon computer-executable instruction for executing a method with one or more processors in accordance with claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2024
From: HUANG, TSUNG-WEI; SU, GUAN-MING
To: DOLBY LABORATORIES LICENSING CORPORATION
Reel/Frame 067183/0825 →
Priority Claims (1)
EP 21188517 · Jul 29, 2021 · regional
Continuity (2)
Provisional Application 63226938 · Jul 29, 2021
Related Publication 20240428612A1 · Dec 26, 2024
References Cited (19)
US 10628700B2 · Puri · 2020 [cited by applicant]
US 20030223622A1 · Simon · 2003 [cited by applicant]
US 20140010448A1 · Lischinski · 2014 [cited by applicant]
US 20140112553A1 · Yamaguchi · 2014 [cited by examiner]
US 20150003727A1 · Carpenter · 2015 [cited by applicant]
US 20170076142A1 · Chang · 2017 [cited by examiner]
US 20170339417A1 · Puri · 2017 [cited by applicant]
US 20190014884A1 · Fu · 2019 [cited by applicant]
US 20190122404A1 · Freeman · 2019 [cited by applicant]
US 20190318158A1 · Qin · 2019 [cited by applicant]
US 20200311386A1 · Velusamy · 2020 [cited by examiner]
JP 2011090569A · 2011 [cited by applicant]
WO 2022072884A1 · 2022 [cited by applicant]
WO 2022260907A1 · 2022 [cited by applicant]
Birgitta Tinkauppi: “Face Colour Under Varying Illumination—Analysis and Applications” Aug. 30, 2002 (Aug. 30, 2002), XP055480928, ISBN: 978-951-42-6788-8; vol. 171; Section 6; figures 27, 35. 117 pages. [cited by applicant]
He, Kaiming, Jian Sun, and Xiaoou Tang. “Guided image filtering.” IEEE transactions on pattern analysis and machine intelligence 35, No. 6 (2012): 1397-1409. 13 pages. [cited by applicant]
Soriano Met Al: “Adaptive skin color modeling using the skin locus for selecting training pixels”, Pattern Recognition, Elsevier, GB, vol. 36, No. 3, Mar. 1, 2003 (Mar. 1, 2003), pp. 681-690, XP004393099, ISSN: 0031-320… [cited by applicant]
Wells, William M. “Efficient synthesis of Gaussian filters by cascaded uniform filters.” IEEE Transactions on Pattern Analysis and Machine Intelligence 2 (1986): 234-239. 6 pages. [cited by applicant]
Zhang, Shifeng, Xiangyu Zhu, Zhen Lei, Hailin Shi, Xiaobo Wang, and Stan Z. Li. “Faceboxes: A CPU real-time face detector with high accuracy.” In 2017 IEEE International Joint Conference on Biometrics (IJCB), pp. 1-9. I… [cited by applicant]