SYSTEM AND METHOD FOR DETERMINING SKIN COLOR, METHOD FOR GENERATING ICC PROFILE, AND IMAGE CAPTURING DEVICE
20190371004 ยท 2019-12-05
Inventors
- Yu-Hsuan Lin (Hsinchu City, TW)
- ROU-JHEN CHEN (Hsinchu City, TW)
- CHENG-RU LI (Hsinchu City, TW)
- KUO-CHENG HUANG (Hsinchu City, TW)
- MING-YEN LIN (Kaohsiung City, TW)
- YI-WEN CHIU (Kaohsiung City, TW)
- SHANG-JYH HWANG (Kaohsiung City, TW)
- CHIH-YI YANG (Taipei City, TW)
Cpc classification
A61B5/0077
HUMAN NECESSITIES
A61B5/441
HUMAN NECESSITIES
G06T7/80
PHYSICS
G03B33/00
PHYSICS
G03B15/05
PHYSICS
A61B5/0075
HUMAN NECESSITIES
International classification
G06T7/80
PHYSICS
Abstract
The present invention provides a method and system for determining skin color, method for generating an ICC profile and an image capturing device. The method for determining a skin color includes: providing an image capturing device including a light sensing module and a light distributing module, in which the light distributing module includes a light source and a light isolation tube, the light isolation tube has a first end connected to the light sending module and a second end away from the light source, the light source is disposed on the first end, and the second end has an opening; capturing a first image of an area under test of a human body using the image capturing device, wherein the opening adheres to the area under test such that the image capturing device forms a darkroom environment with respect to the area under test.
Claims
1. A method for determining a skin color, comprising: providing an image capturing device including a light sensing module and a light distributing module, wherein the light distributing module comprises a light source and a light isolation tube, the light isolation tube having a first end connected to the light sensing module and a second end away from the light source, in which the light source is disposed on the first end, and the second end has an opening; capturing a first image of an area under test under test of a human body using the image capturing device, wherein the opening adheres to the area under test such that the image capturing device forms a darkroom environment with respect to the area under test; performing color calibration on the first image according to an ICC profile using a control unit; and generating a calibrated image using the control unit to determine the skin color of the area under test.
2. The method for determining a skin color according to claim 1, wherein the step of performing color calibration on the first image according to an ICC profile using a control unit further comprises: capturing a second image of a standard color card using the image capturing device, wherein the standard color card is located on a carrier, the standard color card can pass through the opening, and the opening adheres to the carrier such that the image capturing device and the carrier together form a darkroom environment with respect to the standard color card; and generating the ICC profile of the image capturing device according to the standard color card and the second image using the control unit.
3. The method for determining a skin color according to claim 1, wherein after the step of generating a calibrated image using the control unit to determine a skin color of the area under test, the method further comprises: retrieving color data of each pixel in the calibrated image using the control unit; and generating a pixel color statistical chart of the calibrated image using the control unit, wherein the pixel color statistical chart comprises a statistical value of the color data of each pixel of the calibrated image.
4. The method for determining a skin color according to claim 1, wherein after the step of generating a calibrated image using the control unit, to determine a skin color of the area under test, the method further comprises: displaying a plurality of color samples using an output unit for at least one feature color to be selected therefrom; retrieving the color data of each pixel in the calibrated image using the control unit; generating a pixel contribution statistical chart using the control unit, wherein the pixel contribution statistical chart comprises a number of pixels having color data the same as that of each feature color in the calibrated image; and displaying, the pixel contribution statistical chart using the output unit.
5. A method for generating an ICC profile, comprising: providing an image capturing device, the device comprising: a light sensing module; and a light distributing module comprising a light source and a light isolation tube, wherein the light isolation tube has a first end connected to the light sending module and a second end away from the light source, in which the light source is disposed on the first end, and the second end has an opening; capturing an image of a standard color card using the image capturing device, wherein the standard color card is located on a carrier, the standard color card can pass through the opening with the opening adhering to the carrier such that the image capturing device and the carrier together form a darkroom environment with respect to the standard color card; and generating an ICC profile of the image capturing device according to the standard color card and the image using the control unit.
6. An image capturing device for determining a skin color, comprising: a light sensing module; and a light distributing module comprising a light source and a light isolation tube, wherein the light isolation tube has a first end connected to the light sending module and a second end away from the light source, the light source is disposed on the first end, and the second end has an opening; and wherein the image capturing device is configured to capture a first image of an area under test of a human body, wherein the opening adheres to the area under test such that the image capturing device forms a darkroom environment with respect to the area under test.
7. The image capturing device according to claim 6, wherein a color rendering index (CRI) of the light source is greater than or equal to 90.
8. The image capturing device according to claim 6, wherein an inner wall surface of the light isolation tube is formed of a light-absorbing material.
9. The image capturing device according to claim 6, wherein the light isolation tube has a tube body and a light source setting portion, the light source setting portion being formed by extending the first end towards a central axis of the tube body, and the light source is disposed on the light source setting portion.
10. The image capturing device according to claim 6, wherein the light source includes a plurality of light emitting units, each light emitting unit having a light emitting element and an angle adjustment element, and the angle adjustment element is configured to adjust a light emitting angle of the light emitting element.
11. A system for determining a skin color, comprising: the image capturing device according to claim 6; and a control unit, electrically connected to the image capturing device, wherein the control unit is configured to perform color calibration on the first image according to an ICC profile, to generate a calibrated image.
12. The system for determining a skin color according to claim 11, wherein the image capturing device is configured to capture a second image of a standard color card, the standard color card being disposed on a carrier, in which the standard color card can pass through the opening with the opening adhering to the carrier such that the image capturing device and the carrier together form a darkroom environment with respect to the standard color card; and the control module is configured to generate the ICC profile according to the second image and the standard color card.
13. The system for determining a skin color according to claim 11, wherein the control unit is configured to retrieve the color data of each pixel in the calibrated image so as to generate a pixel color statistical chart of the calibrated image, in which the pixel color statistical chart includes a statistical value of the color data of each pixel in the calibrated image.
14. The system for determining a skin color according to claim 11, wherein the control unit is configured to retrieve the color data of each pixel in the calibrated image, and generate a pixel contribution statistical chart according to at least one feature color, the pixel contribution statistical chart including a number of pixels in the calibrated image having color data the same as that of each feature color.
15. The system for determining a skin color according to claim 14, further comprising: an output unit connected to the control unit, wherein the output unit is configured to display a plurality of color samples for at least one feature color to be selected therefrom, and display the pixel contribution statistical chart.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
DETAILED DESCRIPTION
[0022] A system and method for determining a skin color, a method for generating an ICC profile, and an image capturing device that are disclosed in the present invention are described below with preferred embodiments and appended drawings. A person skilled in the art can learn the advantages and effects of the present invention according to the content disclosed in this specification. However, the content disclosed below is not intended to limit the scope of protection of the present invention. Without departing from the spirit of the idea of the present invention, a person skilled in the art can implement the present invention based on different viewpoints and applications using other embodiments. In addition, it needs to be stated in advance that the accompanying drawings of the present invention are only for illustrative purposes and are not depicted according to actual dimensions. In addition, although various elements in this text may be described using terms such as first, second, and third, these elements should not be limited by these terms. These terms are mainly used for distinguishing between elements.
First Embodiment
[0023] Referring to
[0024] The manner of connection between the image capturing device 1 and the control unit 2 is not limited in the present invention. In addition, in this embodiment, the control unit 2 is connected to the light source 21 through a control circuit so as to control the light source 21. However, the present invention is not limited thereto.
[0025] Further referring to
[0026] As shown in
[0027] Furthermore, the light source 21 is a plurality of light emitting units 211 arranged in an annular shape. Each light emitting unit 211 has a light emitting element 2111 and an angle adjustment element 2112. The angle adjustment element 2112 can be configured to adjust a light emitting angle of the light emitting element 2111. For example, when the brightness of a part of an area under test A needs to be highlighted, or light amount of light rays in certain incident angles needs to be increased, adjustment can be performed using the angle adjustment element 2112. However, the present invention is not limited thereto. In other embodiments, the light emitting unit 211 may also include only the light emitting element 2111.
[0028] Referring to
[0029] As shown in
[0030] In addition to control over ambient light, control over a light source is also an important factor in the improvement of the image definition and color rendition. In detail, an inner wall surface of the light isolation tube 22 of this embodiment is formed of a light-absorbing material, and the light source 21 has a high color rendering index and is arranged in an annular shape. For instance, the color rendering index (CRI) of the light source 21 in this embodiment is 90 or greater than 90. However, the present invention is not limited thereto. Furthermore, a distance from the first end P1 to the second end P2 of the light isolation tube 22 of this embodiment is obtained through optimization calculation. The distance enables the light source 21 to exhibit high uniformity when the light is transmitted from the first end to the second end. Preferably, the distance helps achieve light uniformity of greater than 95%.
[0031] Through the aforementioned technical solution, when capturing the image in the area under test A, the image capturing device 1 can block ambient light with the light isolation tube 22 of the light distributing module 20, and obtain the image of the area under test A of low color difference and low noise with the light source 21 having a high color rendering index and high uniformity.
[0032] In this embodiment, color calibration in step S104 is performed on the first image using the ICC profile pre-stored in the control unit 2. The manner of generating the ICC profile is not limited in this embodiment. For example, the ICC profile may be generated using the method for generating an ICC profile provided in a second embodiment, or may be provided by a manufacturer of the image capturing device 1. The method for generating an ICC profile provided in the present invention will be described in detail in the second embodiment.
[0033] In this embodiment, after performing step S106, the control unit 2 may display the calibrated image using the output unit 3 for a user to determine the skin color of the area under test A. Furthermore, referring to
[0034] Specifically, the color data can be an RGB value, or other color description data according to another color representation system, and is not limited in the present invention. Referring to
[0035] Furthermore, referring to
[0036] For example, referring to
[0037] Through the aforementioned technical solution, with the light distributing module 20, the system for determining skin color of this embodiment of the present invention can form a darkroom environment through adhesion to the area under test when the area under test A of the body of the subject is photographed. In addition, the length of the light isolation tube 22 of the light distributing module 20 is optimized, and an inner wall thereof is a light-absorbing material. Moreover, in cooperation with a light source having a high color rendering index, a light source of high uniformity can be provided to photograph the area under test A. Furthermore, the light sensing module 10 is portable, and can improve the motility of implementation of medical skin measurement. Based on the above, the system for determining skin color of this embodiment of the present invention and the method using the same can achieve a portable darkroom environment so as to improve the image quality and color rendition when performing skin measurement.
Second Embodiment
[0038] Referring to
[0039] Referring to
[0040] Through the aforementioned solution, the second embodiment of the present invention provides an ICC profile for accurate color calibration by light and environmental control in the process of photographing a standard color card. It is worth mentioning that step S402 may further include a step of performing a mapping regression algorithm to further correct the ICC profile through a polynomial regression analysis method. In this way, the color realness of the calibrated image on which color calibration is performed using the ICC profile can be further improved.
[0041] Based on the above, through the technical solutions of the light isolation tube has a first end connected to the light sending module and a second end away from the light source, the light source being disposed on the first end, and the second end having an opening and the opening adheres to the area under test provided in the embodiments of the present invention, the image capturing device can form a darkroom environment with respect to an area under test. In this way, a portable darkroom environment can be achieved when performing skin measurement, thereby providing accurate skin color detection and skin color image calibration.
[0042] The content disclosed above is only preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Therefore, any equivalent technical variation made based on the specification and the drawings of the present invention falls into the scope of the present invention.