IP Library Granted Patent US 11,847,798
Granted Patent B2
US 11,847,798 · App. 17/259,626 · Granted Dec 19, 2023

Pigment detection method and electronic device

Inventor: Henghui Lu (Beijing, CN)
Assignee: HONOR DEVICE CO., LTD.
G06T7/90A61B5/443G06T2207/20028G06T2207/20081G06T2207/20104G06T2207/30088
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 11,847,798
App. No.
17/259,626
Granted
Dec 19, 2023
Kind
B2
Abstract

A pigment detection method includes: extracting a first image from a to-be-detected RGB skin image, where the first image is used to represent a body reflection component in the RGB skin image, and the RGB skin image is photographed by a device having an RGB image photographing function; extracting a pigment from an R channel, a B channel, and a G channel of the first image based on a correspondence between a first spectral response curve of the pigment and a second spectral response curve of the device having the RGB image photographing function; and generating a pseudo-color image based on the extracted pigment, and displaying the pseudo-color image.

Claims (47)

1. A pigment detection method, comprising:

extracting a first image from an RGB skin image, wherein the first image is used to represent a body reflection component in the RGB skin image, and the RGB skin image is photographed by a device having an RGB image photography function;

extracting a pigment from an R channel, a B channel, and a G channel of the first image by determining a function relationship between a first spectral response curve of the pigment and a second spectral response curve of photosensitive units in the device, and by determining a correspondence between the pigment and channel values of the R channel, G channel, and B channel;

generating a pseudo-color image based on the extracted pigment; and

displaying the pseudo-color image.

2. The method of claim 1 , wherein the method further comprises:

converting the RGB skin image into a first Lab image;

extracting a body reflection component from each of an L channel, an a channel, and a b channel of the first Lab image;

combining the body reflection components extracted from the L channel, the a channel, and the b channel of the first Lab image to obtain a second Lab image; and

converting the second Lab image into an RGB image to obtain the first image.

3. The method of claim 2 , wherein the body reflection component of the L channel of the first Lab image is a difference between an initial value of the L channel of the first Lab image and a surface reflection component of the L channel of the first Lab image; the body reflection component of the a channel of the first Lab image is a difference between an initial value of the a channel of the first Lab image and a surface reflection component of the a channel of the first Lab image; and the body reflection component of the b channel of the first Lab image is a difference between an initial value of the b channel of the first Lab image and a surface reflection component of the b channel of the first Lab image, wherein

the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by separately performing filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

4. The method of claim 3 , wherein the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by performing bilateral filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

5. The method of claim 1 , wherein the pigment comprises hemoglobin.

6. The method of claim 1 , wherein the pigment comprises melanin.

7. The method of claim 1 , wherein the pigment comprises carotene.

8. The method of claim 1 , wherein the pigment comprises lipochrome.

9. The method of claim 1 , wherein the pigment comprises bile pigment.

10. An electronic device, comprising:

a memory comprising instructions; and

a processor coupled to the memory, the instructions being executed by the processor to cause the electronic device to:

extract a first image from an RGB skin image, wherein the first image is used to represent a body reflection component in the RGB skin image, and the RGB skin image is photographed by a device having an RGB image photography function;

extract a pigment from an R channel, a B channel, and a G channel of the first image by determining a function relationship between a first spectral response curve of the pigment and a second spectral response curve of photosensitive units in the device, and by determining a correspondence between the pigment and channel values of the R channel, G channel, and B channel;

generate a pseudo-color image based on the extracted pigment; and

display the pseudo-color image.

11. The electronic device of claim 10 , wherein the instructions further cause the electronic device to:

convert the RGB skin image into a first Lab image;

extract a body reflection component from each of an L channel, an a channel, and a b channel of the first Lab image;

combine the body reflection components extracted from the L channel, the a channel, and the b channel of the first Lab image to obtain a second Lab image; and

convert the second Lab image into an RGB image to obtain the first image.

12. The electronic device of claim 11 , wherein the body reflection component of the L channel of the first Lab image is a difference between an initial value of the L channel of the first Lab image and a surface reflection component of the L channel of the first Lab image; the body reflection component of the a channel of the first Lab image is a difference between an initial value of the a channel of the first Lab image and a surface reflection component of the a channel of the first Lab image; and the body reflection component of the b channel of the first Lab image is a difference between an initial value of the b channel of the first Lab image and a surface reflection component of the b channel of the first Lab image.

13. The electronic device of claim 12 , wherein the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by separately performing filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

14. The electronic device of claim 12 , wherein the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by performing bilateral filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

15. A computer program product for detecting a pigment, the computer program product being embodied in a non-transitory computer readable medium and comprising computer instructions for:

extracting a first image from an RGB skin image, wherein the first image is used to represent a body reflection component in the RGB skin image, and the RGB skin image is photographed by a device having an RGB image photography function;

extracting a pigment from an R channel, a B channel, and a G channel of the first image by determining a function relationship between a first spectral response curve of the pigment and a second spectral response curve of photosensitive units in the device, and by determining a correspondence between the pigment and channel values of the R channel, G channel, and B channel;

generating a pseudo-color image based on the extracted pigment; and

displaying the pseudo-color image.

16. The computer program product of claim 15 , wherein the computer program product further comprises computer instructions for:

converting the RGB skin image into a first Lab image;

extracting a body reflection component from each of an L channel, an a channel, and a b channel of the first Lab image;

combining the body reflection components extracted from the L channel, the a channel, and the b channel of the first Lab image to obtain a second Lab image; and

converting the second Lab image into an RGB image to obtain the first image.

17. The computer program product of claim 16 , wherein the body reflection component of the L channel of the first Lab image is a difference between an initial value of the L channel of the first Lab image and a surface reflection component of the L channel of the first Lab image; the body reflection component of the a channel of the first Lab image is a difference between an initial value of the a channel of the first Lab image and a surface reflection component of the a channel of the first Lab image; and the body reflection component of the b channel of the first Lab image is a difference between an initial value of the b channel of the first Lab image and a surface reflection component of the b channel of the first Lab image.

18. The computer program product of claim 17 , wherein the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by separately performing filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

19. The computer program product of claim 17 , wherein the surface reflection components of the L channel, the a channel, and the b channel of the first Lab image are obtained by performing bilateral filtering processing on the initial values of the L channel, the a channel, and the b channel of the first Lab image.

20. The computer program product of claim 15 , wherein the pigment comprises hemoglobin.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2021
From: LU, HENGHUI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 056077/0989 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 055919/0344 →
Priority Claims (1)
CN 201810776213.1 · Jul 16, 2018 · national
Continuity (1)
Related Publication 20210319589A1 · Oct 14, 2021