Method and device for optimizing skin analysis model using light reflection characteristic reproduction image reconstructed through optical approach
The method optimizes skin analysis by using reproduced light reflection characteristics to enhance the skin analysis model, addressing the limitations of existing methods by improving performance and reducing equipment costs, enabling accurate skin analysis across various environments.
Patent Information
- Application Number
- PCT/KR2024/003455
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-05
- Filing Date
- 2024-03-20
- Publication Date
- 2024-09-26
AI Technical Summary
Current skin analysis methods require expensive special imaging equipment and are limited by various imaging environments, making it difficult to obtain reliable results, especially when analyzing complex skin conditions like melanin and hemoglobin, and are not suitable for general camera and light source setups.
A method and device that optimize a skin analysis model using reproduced images of light reflection characteristics reconstructed through an optical approach, which includes acquiring an initial image, generating a skin feature map, and calculating a loss function to minimize the output value, allowing for supervised learning of the skin analysis model without expensive diagnostic equipment.
This approach enables high-performance skin analysis without the need for expensive imaging equipment and provides reliable results by optimizing the skin analysis model using reproduced light reflection characteristics, improving the accuracy and efficiency of skin analysis across different imaging environments.
Smart Images

Figure KR2024003455_26092024_PF_FP
Abstract
Description
Method and device for optimizing a skin analysis model using an image reconstructed from light reflection characteristics through an optical approach
[0001] The present invention relates to a deep learning-based skin analysis technology, and more particularly, to a method and device for optimizing a skin analysis model using an image reconstructed through an optical approach to reproduce light reflection characteristics.
[0002] As the lifestyle trend of cultivating one's external appearance and emphasizing a healthy lifestyle spreads, the number of people seeking to diagnose their skin and receive skin care and various health management services is also increasing.
[0003] Skin and health care services are typically prescribed through consultations with various specialists, including dermatologists. However, there are significant problems with the time and cost consumed through the use of specialized personnel and offline consultations.
[0004] To address these issues, research is actively being conducted on remote skin and health management or using mobile devices. However, due to limitations in the computing performance of mobile devices, limitations in the camera performance of mobile devices, and deterioration of the quality of results due to external environments during filming, it is difficult to provide consistently high-quality services to a large number of users.
[0005] In particular, for analyzing complex skin conditions such as melanin and hemoglobin, a method is used to take skin images in a state where ambient light is blocked to facilitate accurate measurement of skin conditions in clinical settings, and to analyze the taken skin images using professional analysis tools.
[0006] This analysis method requires expensive special filming equipment and analysis tools that are dependent on the conditions of the special filming equipment to provide reliable results on skin components by analyzing skin images based on the interaction between light and skin tissue. Therefore, it is difficult to obtain reliable analysis results when applying this analysis method in a camera and light source environment that is generally widespread.
[0007] In addition, high-resolution images are required to capture skin images for clinical purposes, and complex calculations such as fitting for all pixels must be repeated during the image processing process, which requires a lot of time and computational resources.
[0008] Meanwhile, deep learning-based skin analysis models have the advantage of not being tied down to relatively expensive special filming equipment, but they have the same limitations as existing analysis methods in that they must precisely film and analyze skin analysis results in advance as a learning data set.
[0009] Therefore, there is a need for a new skin analysis method that can be implemented without providing precise skin analysis results when learning a skin analysis model without being limited to various video shooting environments.
[0010] [Prior Art Literature]
[0011] [Non-patent literature]
[0012] (Non-patent Document 1) Prahl, Scott. “Optical absorption of hemoglobin. 1999.” URL: https: / omlc.org / spectra / hemoglobin / (besucht am 04. 09. 2018) (2014).
[0013] (Non-patent Document 2) Jacques, Steven. “Optical absorption of melanin.” Oregon Medical Laser Center, URI: https: / omlc.org / spectra / melanin / extcoeff.html (1988).
[0014] (Non-patent Document 3) Krishnaswamy, Aravind, and Gladimir VG Baranoski. “A biophysically-based spectral model of light interaction with human skin.” (2004).
[0015] (Non-patent Document 4) Preece, Stephen J., and Ela Claridge. “Spectral filter optimization for the recovery of parameters which describe human skin.” (2004).
[0016] (Non-patent Document 5) Dawson, JB, et al. “A theoretical and experimental study of light absorption and scattering by in vivo skin.”, (1980).
[0017] (Non-patent Document 6) N. Ohta, "The Basis of Color Reproduction Engineering" (Japanese), Corona-sha Co of Japan, published (1997)
[0018] The purpose of the present invention to solve the above problems is to provide a method and device for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach.
[0019] One aspect of the present invention for achieving the above object provides a computing device for performing a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach.
[0020] The computing device includes at least one processor; and instructions for directing the at least one processor to perform at least one operation.
[0021] The at least one operation includes: acquiring an initial image by photographing a user's face area; preprocessing the initial image to generate an input image; inputting the generated input image into a skin analysis model and acquiring a skin feature map as an output of the skin analysis model; generating a light reflection characteristic reproduction image from the acquired skin feature map; and calculating a loss function using the generated light reflection characteristic reproduction image and the input image, and supervising learning the skin analysis model so that an output value of the calculated loss function is minimized.
[0022] The above skin feature map includes a hemoglobin feature map that predicts the distribution of hemoglobin constituting the user's facial skin; a melanin feature map that predicts the distribution of melanin constituting the user's facial skin; a shadow feature map that predicts the distribution of shadows appearing on the user's facial skin; and a reflection feature map that predicts the distribution of surface morphological characteristics due to light reflected from the user's facial surface.
[0023] The step of generating the input image includes: a step of generating a skin detection mask from the initial image; a step of dividing the initial image into a preset size to obtain a plurality of first patches, and a step of dividing the skin detection mask into a preset size to obtain a plurality of second patches; a step of corresponding the first patches and the second patches to patches at the same positions in the image on a 1:1 basis, and generating a plurality of third patches whose pixel values at the same positions are multiplied by each other for each of the two corresponding patches, and whose pixel values at the corresponding positions are the result of multiplying the pixel values at the corresponding positions; and a step of generating an input image by arranging the generated plurality of third patches at the same positions as the initial image and connecting them to each other.
[0024] The step of generating the above-described light reflection characteristic reproduction image includes: a step of generating skin light reflection spectrum data using the melanin feature map and the hemoglobin feature map; a step of generating a camera color space image by reflecting light source spectrum information and camera characteristic information corresponding to a light source used when photographing the face area into the skin light reflection spectrum data; and a step of generating the light reflection characteristic reproduction image by performing color correction based on the camera color space image.
[0025] The above skin light reflection spectrum data includes light reflectance, which represents the ratio of light reflected according to the wavelength of light across the entire facial skin, based on the light absorption and light scattering of human facial skin calculated in the visible light wavelength range.
[0026] The above light reflectance is determined by determining the light absorbance, which indicates the degree of light absorption according to the wavelength of light in the human skin layer, and the light scattering, which indicates the degree of light scattering according to the wavelength of light in the skin layer, and using the determined light absorbance and light scattering.
[0027] Another aspect of the present invention for achieving the above object provides a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach.
[0028] The method comprises the steps of: capturing a user's face area to obtain an initial image; preprocessing the initial image to generate an input image; inputting the generated input image into a skin analysis model and obtaining a skin feature map as an output of the skin analysis model; generating a light reflection characteristic reproduction image from the obtained skin feature map; and calculating a loss function using the generated light reflection characteristic reproduction image and the input image, and supervising learning the skin analysis model so that an output value of the calculated loss function is minimized.
[0029] When using the method and device for analyzing the user's skin melanin and hemoglobin using the deep learning-based optical approach according to the present invention as described above, the skin light reflection characteristics are reproduced to generate an image reproducing the light reflection characteristics, and the generated image reproducing the light reflection characteristics is used for supervised learning of the skin analysis model. Therefore, there is an advantage in that model optimization is possible without securing learning data using an expensive skin diagnosis device after the initial model configuration of the skin analysis model.
[0030] Additionally, since model optimization is performed by reflecting the optical characteristics of the light source and skin, it has the advantage of being able to improve the performance of the skin analysis model even without expensive professional photography equipment.
[0031] Figure 1 is a conceptual diagram illustrating the basic configuration of a kiosk device according to one embodiment.
[0032] FIG. 2 is a diagram illustrating an operation for skin analysis of a kiosk device according to one embodiment.
[0033] FIG. 3 is a diagram illustrating an example of skin analysis results displayed by a kiosk device according to one embodiment.
[0034] FIG. 4 is a conceptual diagram illustrating a process of performing a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment.
[0035] FIG. 5 is a conceptual diagram illustrating a preprocessing process for generating an input image from an initial image according to one embodiment.
[0036] FIG. 6 is a drawing for explaining a concept for generating an image reproducing light reflection characteristics according to one embodiment.
[0037] FIG. 7 is a representative flowchart illustrating a process for generating an image reproducing light reflection characteristics according to one embodiment.
[0038] FIG. 8 is a diagram comparing an image obtained as an output of an optimized skin analysis model using a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment with an image taken using professional diagnostic equipment.
[0039] FIG. 9 is a diagram illustrating a hardware configuration of a device that performs a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment.
[0040] [Explanation of symbols]
[0041] 1000: Kiosk device
[0042] 100: Computing Device
[0043] 110: Processor
[0044] 120: Memory
[0045] 130: Transmitter and receiver device
[0046] 140: Input interface device
[0047] 150: Output interface device
[0048] 160: Storage device
[0049] 170: Bus
[0050] The present invention is susceptible to various modifications and embodiments. Specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, but rather to encompass all modifications, equivalents, and alternatives falling within the spirit and technical scope of the present invention. Throughout the description of each drawing, similar reference numerals have been used to designate similar components.
[0051] Terms such as first, second, A, and B may be used to describe various components, but these components should not be limited by these terms. These terms are used solely to distinguish one component from another. For example, without departing from the scope of the present invention, a first component may be referred to as a second component, and similarly, a second component may also be referred to as a first component. The term "and / or" includes a combination of multiple related items described herein or any of multiple related items described herein.
[0052] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.
[0053] The terminology used in this application is only used to describe specific embodiments and is not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, it should be understood that the terms "comprise" or "have" indicate the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, but do not exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0054] Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and will not be interpreted in an idealized or overly formal sense unless explicitly defined herein.
[0055] Hereinafter, a preferred embodiment according to the present invention will be described in detail with reference to the attached drawings.
[0056]
[0057] Figure 1 is a conceptual diagram illustrating the basic configuration of a kiosk device according to one embodiment.
[0058] The various skin analysis methods and operations related thereto described throughout the specification of the present invention may be performed by a kiosk device (1000), but are not limited thereto, and it should be understood that they may be implemented by various types of computing devices capable of computational processing, including a processor and memory, in addition to the kiosk device (1000).
[0059] For example, the computing device may be a communication-capable desktop computer, laptop computer, notebook, smart phone, tablet PC, mobile phone, smart watch, smart glass, e-book reader, portable multimedia player (PMP), portable game console, navigation device, digital camera, digital multimedia broadcasting (DMB) player, digital audio recorder, digital audio player, digital video recorder, digital video player, PDA (Personal Digital Assistant), etc.
[0060] Referring to FIG. 1, a kiosk device (1000) according to one embodiment may include a photographing module (300) for photographing a facial image of a user (2000), a display module (200) for analyzing the facial image photographed by the photographing module (300) and displaying a skin analysis result corresponding to the facial image to the user (2000), a body frame (100) on which the display module (200) and the photographing module (300) are mounted, a bottom support (500) for supporting the load of the body frame (100) from the ground, and a connecting leg (400) for physically connecting the bottom support (500) and the body frame (100) to each other to transmit the load of the body frame (100) to the bottom support (500).
[0061] The shooting module (300) is positioned at the top center of the body frame (100) and can capture an image of the user's (2000) face.
[0062] The display module (200) can display a photographing guide for skin analysis to the user (2000) and display a facial image of the user (2000) captured in real time by the photographing module (300) according to the photographing guide. That is, the user (200) can adjust the photographing position and align the photographing guide while checking the facial image of the user displayed in real time on the display module (200).
[0063] The display module (200) can display skin analysis results for a facial image to a user (2000).
[0064] In one embodiment, the display module (200) may be a flat display device, but may also be a flexible display device. In the case of a flat display device, it may be a liquid crystal display (LCD) or an electroluminescence display (ELD). Electroluminescence displays can be divided into inorganic light emitting displays and organic light emitting displays depending on the material of the light emitting layer. An active matrix type organic light emitting display device may include an organic light emitting diode (OLED) that emits light by itself.
[0065] In a specific implementation example, the display module (200) may include a display panel composed of a plurality of pixels, a display panel driver for writing pixel values to pixels of the display panel, a power supply for supplying power to the pixels and the display panel driver, etc.
[0066] Additionally, the display module (200) may further include a touch screen that receives input from a user (2000). For example, the touch screen may be positioned on top of the display panel, overlapping the display panel. Here, the touch screen may be a capacitive or pressure-sensitive touch screen.
[0067] However, this is not necessarily limited to the above, and instead of the touch screen being included in the display module (200) (or in parallel therewith), the kiosk device (1000) may have an input interface device for receiving user input separately coupled to the body frame (100). For example, the input interface device may include at least one mechanical button.
[0068] The connecting leg portion (400) may be composed of a pair of bar-shaped legs arranged in parallel with each other. In this case, the connecting leg portion (400) may further include a leg receiving portion (410) including two bar-shaped holes formed perpendicular to the ground and penetrating inward to receive the bar-shaped legs.
[0069] The leg receiving portion (410) can support adjustment of the length of the connecting leg portion (400) by receiving at least a portion of a pair of bar-shaped legs and fixing the pair of bar-shaped legs at the received height position.
[0070] To this end, a pair of bar-shaped legs are not physically connected to the bottom support (500), but are fixed at a specific height by the leg receiving portion (410), and the leg receiving portion (410) can be physically connected to the bottom support (500).
[0071] In one embodiment, the leg receiving portion (410) may further include a leg fixing portion (not shown) coupled to penetrate one side (e.g., one side of the back). The leg fixing portion may penetrate one side of the leg receiving portion (410) and press the pair of bar-shaped legs accommodated in the leg receiving portion (410) in a direction perpendicular to the ground, thereby fixing the pair of bar-shaped legs to a specific height of the leg receiving portion (410).
[0072]
[0073] FIG. 2 is a diagram illustrating an operation for skin analysis of a kiosk device according to one embodiment.
[0074] The kiosk device (1000) may further include a control unit (hereinafter, the control unit is interpreted as including at least one of a processor (described later) or a central processing unit (CPU), or a graphics processing unit (GPU) included in the kiosk device (1000), and the control unit may be interpreted as being replaced with the aforementioned processor, etc.) that controls a shooting module to acquire a facial image, analyzes the acquired facial image to generate skin analysis result data, and transmits the generated skin analysis result data to a display module.
[0075] Referring to FIG. 2, when the control unit of the kiosk device (1000) receives an input for initiating skin analysis from a user (2000) through the display module (200), it can enter the photographing preparation stage (PG1) for skin analysis.
[0076] In the shooting preparation stage (PG1), the control unit of the kiosk device (1000) can control the display module (200) to display a boundary area (FACEGD) and a shooting guide message to the user (2000).
[0077] In one embodiment, the boundary area (FACEGD) may be formed in an elliptical shape with a vertical length longer than a horizontal width, and a central area corresponding to the size of the preset boundary area (FACEGD) may be displayed within the boundary area (FACEGD) in an image captured in real time by the shooting module (300).
[0078] At this time, the shooting guide message (Please properly align your face and / or take off your hat and glasses for a moment) may be displayed overlapping the video being shot in real time in the boundary area (FACEGD) or may be displayed in a location adjacent to the boundary area (FACEGD) (e.g., at the top of the boundary area).
[0079] The control unit of the kiosk device (1000) can identify the face of the user (2000) in the image displayed in the boundary area (FACEGD) and optionally enter the auxiliary shooting preparation stage (PG2) based on the identification result.
[0080] For example, if a face is not identified in the image displayed in the boundary area (FACEGD), the identified face is smaller than a pre-specified size, a blur is found in the identified face, the identified face is over the outline of the boundary area (FACEGD), or a wearing item (hat, glasses, etc.) is detected in the identified face, the control unit of the kiosk device (1000) may enter the auxiliary shooting preparation stage (PG2) and display an additional guide message through the display module (200).
[0081] The control unit of the kiosk device (1000) can optionally control parameters (e.g., aperture value, gamma, color tone, focal magnification, shutter speed, focus position, etc.) of the camera included in the shooting module (300) in the auxiliary shooting preparation stage (PG2).
[0082] The control unit of the kiosk device (1000) can enter the general shooting stage (PG3) after the shooting preparation stage (PG1) or the auxiliary shooting preparation stage (PG2).
[0083] In the general shooting stage (PG3), the control unit of the kiosk device (1000) can control the shooting module (300) to the first mode and acquire the first face image of the user (2000) identified in the boundary area (FACEGD).
[0084] In one embodiment, the first mode may be referred to as a general light shooting mode, and in the first mode, the control unit of the kiosk device (1000) may control the 1-1 LED (Light Emitting Diode) group included in the shooting module (300) to emit light.
[0085] In the general shooting stage (PG3), the control unit of the kiosk device (1000) can control the shooting module (300) to the second mode and acquire a second face image of the user (2000) identified in the boundary area (FACEGD).
[0086] In one embodiment, the second mode may be referred to as a polarization shooting mode, and in the first mode, the control unit of the kiosk device (1000) may control the first-second LED groups included in the shooting module (300) to emit light.
[0087] The above 1-1 LED group and the 1-2 LED group emit light of the same color in the visible light range, and the positions of the arrangements within the photographing module (300) can be arranged in parallel with each other vertically. For example, the 1-1 LED group and the 1-2 LED group can each be composed of LEDs that emit white color having a color temperature of 4000k (Kelvin) and a color rendering index (CRI) of 80.
[0088] When the first face image and the second face image are acquired, the control unit of the kiosk device (1000) can enter the UV (ultra violet) shooting stage (PG4).
[0089] In the UV photographing stage (PG4), the control unit of the kiosk device (1000) may display a warning message via the display module (300). The warning message may be a message to close one's eyes to prevent eye damage from ultraviolet rays. In this case, the warning message may not only be displayed via the display module (300), but may also be output as audible audio via a speaker. For this purpose, the kiosk device (1000) may further include a speaker (not shown).
[0090] The control unit of the kiosk device (1000) can identify the face of the user (2000) from the image displayed in the boundary area (FACEGD) and identify the eye closure state of the user (2000) from the identified face.
[0091] When the eye-closed state is identified, the control unit of the kiosk device (1000) controls the shooting module (300) to the third mode and can acquire a third face image of the identified user (2000) in the boundary area (FACEGD).
[0092] In one embodiment, the third mode may be referred to as a UV shooting mode, and in the third mode, the control unit of the kiosk device (1000) may control the second LED group included in the shooting module (300) to emit light.
[0093] For example, the second LED group may consist of LEDs that emit light in the ultraviolet region with a wavelength of 365 nm.
[0094] The control unit of the kiosk device (1000) can analyze the skin of the user (2000) using the first to third facial images and generate skin analysis result data.
[0095] In one embodiment, the control unit of the kiosk device (1000) can perform skin analysis based on AI (Artificial Intelligence) using the first to third facial images.
[0096] In a specific implementation example, the control unit of the kiosk device (1000) can determine the pores and wrinkles of the user using the first facial image.
[0097] The control unit of the kiosk device (1000) can determine at least one of redness, pigmentation, and skin trouble of the user using the second facial image.
[0098] The control unit of the kiosk device (10000) can determine the user's sebum using a third facial image.
[0099]
[0100] FIG. 3 is a diagram illustrating an example of skin analysis results displayed by a kiosk device according to one embodiment.
[0101] Referring to FIG. 3, the control unit of the kiosk device (1000) can determine at least one of wrinkles, pigmentation, redness, pores, sebum, dark circles, and skin trouble of the user (2000) as skin analysis result data.
[0102] At this time, the control unit of the kiosk device (1000) can determine an evaluation score for each item corresponding to at least one of wrinkles, pigmentation, redness, pores, sebum, dark circles, and skin trouble, and display the determined evaluation score to the user through the display module (300).
[0103] The control unit of the kiosk device (1000) can determine at least one of the skin age and the skin composite score of the user (2000) based on the skin analysis result data.
[0104] In one embodiment, the control unit of the kiosk device (1000) can compare the item-by-item evaluation scores according to the skin analysis result data with the person's age and item-by-item evaluation scores (or the average value of evaluation scores corresponding to the age and item) collected and stored in advance, select the age with the most similar item-by-item evaluation scores, and determine the selected age as the skin age.
[0105] In one embodiment, the control unit of the kiosk device (1000) may add up the item-by-item evaluation scores based on the skin analysis result data (or may add up the item-by-item evaluation scores by assigning weights to them) and determine a comprehensive skin score based on the added evaluation scores. In this case, the control unit of the kiosk device (1000) may also apply a correction value based on skin age to the added evaluation scores to determine the comprehensive skin score.
[0106] Meanwhile, when an item-by-item evaluation score is displayed to the user and an input is received from the user to select one of the displayed items, a user face area corresponding to the item may be displayed via the display module (300). In this case, there may be multiple user face areas corresponding to the item, and colors may be displayed differently depending on the degree of good or bad skin condition of the item.
[0107] The item-by-item evaluation scores may be set to the same score distribution range (e.g., between 0 and 10 points) for each item, but are not limited thereto.
[0108] In one embodiment, the control unit of the kiosk device (1000) may select a cosmetic suitable for the user from among candidate cosmetics included in a cosmetic list stored in the internal storage in advance based on an evaluation score for each item corresponding to at least one of wrinkles, pigmentation, redness, pores, sebum, dark circles, and skin trouble, and display the selected cosmetic as a recommended cosmetic to the user through the display module (300).
[0109] For example, the control unit of the kiosk device (1000) may select items having evaluation scores that are equal to or lower than a preset threshold score among the evaluation scores for each item, select at least one cosmetic ingredient (or raw material) corresponding to each of the selected items, select a cosmetic containing the selected cosmetic ingredient (or raw material) from among candidate cosmetics, and determine the selected cosmetic as a recommended cosmetic.
[0110] The control unit of the kiosk device (1000) can input an initial image of a user, generate an input image from the input initial image, input the generated input image into a skin analysis model, and generate skin analysis result data based on the output of the input skin analysis model.
[0111] The control unit of the kiosk device (1000) may correspond to a processor of various computing devices described throughout the specification, or may be a central processing unit (CPU), and may be interpreted as a replacement for the corresponding hardware unit.
[0112]
[0113] FIG. 4 is a conceptual diagram illustrating a process of performing a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment.
[0114] Referring to FIG. 4, a method for optimizing a skin analysis model using an image of a light reflection characteristic reproduction reconstructed through an optical approach may include a step of receiving an initial image as input, a step of preprocessing the received initial image to generate an input image, a step of inputting the generated input image to a skin analysis model, and a step of obtaining a skin feature map as an output of the skin analysis model, a step of generating an image of a light reflection characteristic reproduction from the obtained skin feature map, and a step of calculating a loss function using the generated image of a light reflection characteristic reproduction and the input image, and a step of supervised learning the skin analysis model so that an output value of the calculated loss function is minimized.
[0115] It should be understood that the method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment of the present invention can be performed by the control unit of the kiosk device (1000) described above or by various computing devices described throughout the specification.
[0116] For convenience of explanation, the following description assumes that the process is performed by the control unit of the kiosk device (1000).
[0117] Here, the initial image is a facial image in which the user's face area is captured, and may be obtained by capturing the user's face area using a capture module (300) built into the kiosk device (1000), or may be obtained by inputting an image captured using an external capture device.
[0118] That is, the initial image may be a video of the user's eyes, nostrils, mouth, eyebrows, hair, and external background other than the face, captured together with the facial skin.
[0119] The input image can be generated by removing the remaining areas (e.g., eyes, nostrils, mouth, eyebrows, hair, external background other than the face, etc.) from the initial image except for the user's facial skin.
[0120] The skin analysis model can receive an input image with all areas except facial skin removed, and output a skin feature map corresponding to the input image.
[0121] For example, a skin analysis model is an artificial neural network based on a convolutional neural network (CNN), and the artificial neural network based on a convolutional neural network (CNN) may include a convolutional layer that receives image frames of a preset size as input images and outputs a feature map, an activation layer that determines whether to activate the output using an activation function for the extracted feature map, a pooling layer that performs sampling on the output according to the activation layer, a fully connected layer that performs classification according to class, and an output layer that ultimately outputs the output according to the fully connected layer.
[0122] A convolutional layer may be a layer that extracts features of input data by convolving the input image and a filter input to the layer. Here, the filter is a function that detects characteristic parts of the input image, and it may be a function that is determined by continuously learning from training data. The output image output after the convolution operation by the convolutional layer may be referred to as a feature map. In addition, the interval value at which the convolution is performed may be referred to as a stride, and feature maps of different sizes may be extracted depending on the stride value. At this time, if the size of the filter is smaller than the input image, the feature map will have a smaller size than the original input image. To prevent feature loss through multiple steps, a padding process may be additionally performed. At this time, the padding process may be a process of maintaining the size of the input image and the size of the feature map identical by adding a preset value (e.g., 0 or 1) to the periphery of the generated feature map.
[0123] Here, the convolutional layer according to one embodiment of the present invention may use a structure in which 3Х3 convolutional layers are sequentially and repeatedly connected, but is not limited thereto.
[0124] The activation layer is a layer that determines whether to activate or not by changing the feature map into a non-linear value according to the activation function. The activation function that can be used is the sigmoid function, ReLU function, softmax function, LeakyReLU function, etc. For example, the softmax function can be a function that normalizes all input values to values between 0 and 1 and has the characteristic that the sum of the output values is always 1.
[0125] The pooling layer is a layer that selects representative features of the feature map by performing subsampling or pooling on the feature map obtained as the output of the convolutional layer. Max pooling, which extracts the largest value for a certain area of the feature map, and average pooling, which extracts the average value, can be performed. Preferably, the pooling layer can perform max pooling of size 2X2.
[0126] An artificial neural network based on a CNN (Convolutional Neural Network) may include multiple connection structures of the aforementioned convolutional layers, activation layers, and pooling layers.
[0127] For example, an artificial neural network based on a CNN (Convolutional Neural Network) may be used, such as a CNN-based S-CNN (shallow convolutional neural network), YOLO (You Look Only Once), SSD (Single Shot MultiBox Detector), Faster R-CNN, ResNet, U-Net, etc. In an embodiment according to the present invention, a model with a somewhat simplified (or lightweight) hierarchical structure based on a U-Net is used.
[0128] In one embodiment, the skin feature map may include a hemoglobin feature map predicting the distribution of hemoglobin constituting the user's facial skin, a melanin feature map predicting the distribution of melanin constituting the user's facial skin, a shadow feature map predicting the distribution of shadows appearing on the user's facial skin, and a reflection feature map predicting the distribution of surface morphological characteristics due to light reflected from the user's facial surface.
[0129] Here, the hemoglobin feature map and the melanin feature map are feature maps that represent the skin distribution of hemoglobin and melanin components among the components of the user's facial skin, and the shadow feature map and the reflection feature map are feature maps that represent the face's shadow distribution and light reflection distribution according to the user's facial shape and light source.
[0130] To this end, the skin analysis model can be initially trained in advance to be able to output a hemoglobin feature map, a melanin feature map, a shadow feature map, and a reflectance feature map, respectively. For example, a face image of a sample user is taken, and an input image is generated by performing preprocessing on the taken face image, and a hemoglobin training image, a melanin training image, a shadow training image, and a reflectance training image representing the distribution of hemoglobin among skin components, the distribution of melanin among skin components, the shadow distribution of the skin due to a light source, and the reflectance distribution due to a light source are obtained using specialized skin analysis equipment for the taken face image, and when the input image is input to the skin analysis model, the hemoglobin training image, the melanin training image, the shadow training image, and the reflectance training image can be initially trained to output the answer sheet.
[0131] When a skin feature map including a hemoglobin feature map, a melanin feature map, a shadow feature map, and a reflectance feature map is obtained as an output of a skin analysis model, an image reproducing light reflectance characteristics can be generated using the obtained skin feature map.
[0132] These images reproducing light reflection characteristics may be images reproducing input images by taking into account the spectral shape of the light source, the degree of skin reflection according to the skin, and the color characteristics according to the sensor characteristics of the camera.
[0133] That is, by mathematically modeling the optical characteristics of the shooting conditions that occur according to the light source, skin reflection, and camera characteristics from the skin feature map obtained as the output of the skin analysis model, an image reproducing the light reflection characteristics can be generated.
[0134] Once the image reproducing the light reflection characteristics is generated, the loss function is calculated using the input image and the image reproducing the light reflection characteristics, and the skin analysis model can be optimized by supervised learning so that the result value of the calculated loss function is minimized.
[0135] In one embodiment, the loss function may be mean square error (MSE) or cross entropy error.
[0136] As a concrete example, the loss function can be defined by the following mathematical expression 1.
[0137]
[0138] In mathematical expression 1, k is the number of pixels in the input image of the skin analysis model (or the image reproducing the light reflection characteristics), di is the value of the ith pixel in the image reproducing the light reflection characteristics, and pi is the value of the ith pixel in the input image.
[0139] As another example, the loss function can be defined by the following mathematical expression 2.
[0140]
[0141] In mathematical expression 2, k is the number of pixels in the input image of the skin analysis model (or the image reproducing the light reflection characteristics), di is the value of the ith pixel in the image reproducing the light reflection characteristics, and pi is the value of the ith pixel in the input image.
[0142]
[0143] FIG. 5 is a conceptual diagram illustrating a preprocessing process for generating an input image from an initial image according to one embodiment.
[0144] Referring to FIG. 5, the control unit of the kiosk device (1000) can generate a skin detection mask from an initial image in a preprocessing process.
[0145] A skin detection mask may be an image in which pixels corresponding to facial skin are marked with a pre-specified pixel value (e.g., a white color value or 255, which is the maximum pixel value in 8 bits) for an initial image in which the user's face is captured, and pixels corresponding to the remaining area excluding the facial skin are marked with another pre-specified pixel value (e.g., a black color value or pixel value 0).
[0146] In one embodiment, the control unit of the kiosk device (1000) may generate a skin detection mask by extracting only the area corresponding to the skin from an initial image of the user's face using a pre-trained deep learning-based skin detection model. Here, the skin detection model may be pre-trained to output a skin detection mask that removes the remaining areas from the face except for the facial skin when an image of the face is input.
[0147] To this end, the skin detection model can be supervised by using images of the faces of sample users as input images, and using training images (answer sheets) in which pixels corresponding to facial skin in the images of the faces of sample users are marked with a first pixel value (e.g., white color value) in advance, and pixels corresponding to the remaining areas excluding the facial skin are marked with a second pixel value (e.g., black color value) in advance.
[0148] At this time, training images can be manually generated by a person, or collected by applying various other known object detection algorithms (e.g., algorithms that detect parts of the face other than the eyes, nostrils, and other facial skin).
[0149] The control unit of the kiosk device (1000) can divide the skin detection mask and the initial image into a plurality of patches each having a preset size. For example, the control unit of the kiosk device (1000) can divide the initial image into a preset size (e.g., 256X256 pixel size) to obtain a plurality of first patches, and divide the skin detection mask into a preset size (same size as the division size of the initial image, for example, 256X256 pixel size) to obtain a plurality of second patches.
[0150] Next, the control unit of the kiosk device (1000) can create a plurality of third patches by making the first patches and the second patches correspond one to one with patches at the same position within the corresponding image, and by multiplying the pixel values at the same position for each of the two corresponding patches and using the resulting value as the pixel value at the corresponding position.
[0151] The control unit of the kiosk device (1000) can generate an input image by arranging a plurality of generated third patches in the same positions as the initial image and connecting them to each other.
[0152] That is, as illustrated in FIG. 5, the input image may be an image in which the remaining areas, excluding the areas corresponding to the skin of the face by the skin detection mask, are marked with a second pixel value (e.g., a black color value) that is specified in advance.
[0153]
[0154] FIG. 6 is a drawing for explaining a concept for generating an image reproducing light reflection characteristics according to one embodiment.
[0155] When capturing a user's face for facial skin analysis, the characteristics of the light source (e.g., spectrum according to light wavelength) provided to capture the user's face clearly at the time of capture primarily affect the facial image obtained as a result of the capture.
[0156] Furthermore, when light from a light source reaches the facial skin, the degree of reflection from the facial skin surface (i.e., skin reflectivity) can secondary impact the facial image, as each individual's skin tissue roughness and refractive index vary. In this case, in addition to surface reflection, some light is scattered and absorbed within the skin, and some light is also scattered from the skin surface, potentially affecting the facial image.
[0157] In addition, when light is received through the lens of the camera after being reflected (and scattered) from the facial skin, it is converted into pixels during the process of being received, and the quantum efficiency (QE), which indicates the rate at which light transmitted to the camera lens is converted into a digital signal such as a pixel, varies depending on the characteristics of the shooting module (camera), and this quantum efficiency can have a three-dimensional effect on the facial image.
[0158] In one embodiment of the present invention, a method is proposed to mathematically model the first to third optical factors that have an influence in the process of acquiring a facial image containing facial skin as a photographing result, and to use the modeling result to generate an image of reproducing optical factors contained in an input image of a skin analysis model from a skin characteristic map which is an output of the skin analysis model, thereby generating an image of reproducing optical reflection characteristics, and to optimize (or supervise learning) the skin analysis model so that the difference between the generated image of reproducing optical reflection characteristics and the input image is minimized.
[0159]
[0160] FIG. 7 is a representative flowchart illustrating a process for generating an image reproducing light reflection characteristics according to one embodiment.
[0161] Referring to FIG. 7, in order to generate a light reflection characteristic reproduction image, the control unit of the kiosk device (1000) can first generate skin light reflection spectrum data using a melanin feature map and a hemoglobin feature map (S100).
[0162] The epidermis, the outermost layer of the skin, absorbs light through melanin, and in the dermis, inside the epidermis, light is absorbed through hemoglobin and light is scattered through collagen fibers and elastic fibers.
[0163] By utilizing these light absorption and scattering characteristics of the skin, the light absorption and light scattering dependent on the wavelength of light in the skin layer can be calculated.
[0164] Specifically, in step S100, the control unit of the kiosk device (1000) can calculate the light absorbance according to the wavelength of light according to the following mathematical expression 3.
[0165]
[0166] In the above mathematical expression 3, μ a (λ) is the light absorbance according to the wavelength (λ) of light, and i is a natural number greater than or equal to 1 and less than or equal to 2. When i is 1, it means the melanin component of facial skin, and when i is 2, it means the hemoglobin component of facial skin, and S i is the volume fraction of skin component (i) per unit volume of facial skin, and can apply the average known volume fraction of skin component per unit volume for facial skin of a person (or a specific race) or the experimentally measured volume fraction of skin component per unit volume. For example, the volume fraction of human melanin is 1.3% to 43%, and the volume fraction of human hemoglobin is 2% to 7%, so it is preferable to apply the known volume fraction for a person having a similar race, place of origin, etc. to the user to be measured, and ε i (λ) is the extinction coefficient of the corresponding skin component (i) according to the wavelength (λ) of light. The extinction coefficient of the skin component theoretically known can be applied, or the result value precisely measured using a spectrophotometer can be applied. In addition, C i is the concentration of the corresponding skin component (i), and the concentration of melanin can be determined from the melanin feature map output from the skin analysis model, and the concentration of hemoglobin can be determined from the hemoglobin feature map. That is, by substituting the output of the skin analysis model into the concentration of the skin component in mathematical expression 3, the light absorbance according to mathematical expression 3 can be calculated.
[0167] As an implementation example, the public literature on the absorption coefficient of hemoglobin according to concentration and wavelength (Prahl, Scott. "Optical absorption of hemoglobin. 1999." URl: https: / omlc.org / spectra / hemoglobin / (besucht am 04. 09. 2018) (2014)) can be referenced and applied, and the public literature on the absorption coefficient of melanin according to concentration and wavelength (Jacques, Steven. "Optical absorption of melanin." Oregon Medical Laser Center, URI: https: / omlc.org / spectra / melanin / extcoeff.html (1988)) can be referenced and applied to mathematical expression 3.
[0168] In addition, in mathematical expression 3, the skin component (i) is subdivided into oxy-hemoglobin, deoxy-hemoglobin, eumelanin, and pheomelanin, and each variable according to mathematical expression 3 is applied according to the subdivided skin component (i) to calculate mathematical expression 3.
[0169] Generally, there is a known approach in the art to solve the optical inverse problem of obtaining the concentration of skin components using methods such as Independent Component Analysis (ICA) or Principal Component Analysis (PCA) based on skin images. However, such approaches have limitations in that they require repeated mathematical operations such as fitting for every pixel of the image, and the resolution of the analyzed image is limited by the performance of the equipment performing the operations. In the present invention, a skin analysis model generates the concentration of skin components (Ci) in the form of a two-dimensional feature map (melanin feature map, hemoglobin feature map), and based on this, an image reproducing light reflection characteristics is generated, thereby approaching the optical forward problem in which the accuracy of the feature map that can determine the concentration of skin components (Ci) is verified. Finally, a method is proposed to improve the performance of a deep learning-based skin analysis model that receives a skin image as input and generates a skin component feature map (melanin feature map, hemoglobin feature map). The concentration of skin components is theoretically calculated based on absolute values, but the relative distribution of values may change during the calculation and imaging processes, and correction using specialized equipment measurements may be required for future precise diagnosis based on absolute values.
[0170] Additionally, in step S100, the control unit of the kiosk device (1000) can calculate the light scattering according to the wavelength of light according to the following mathematical expression 4.
[0171]
[0172] In the above mathematical expression 4, λ0 is a preset reference wavelength, a is a known scattering attenuation coefficient at a preset reference wavelength (λ0), fRay is a fraction of scattering events, and b Mieis the scattering intensity in Mie scattering. In the part multiplied by the scattering attenuation coefficient in mathematical expression 4, the front part that is inversely proportional to the fourth power of the wavelength (λ) of light may correspond to the part reflecting the characteristics according to Rayleigh scattering, and the rear part may correspond to the part reflecting the characteristics according to Mie scattering. In addition to the method of theoretically calculating the light scattering characteristics that change due to the relative difference in the wavelength of light and the size of the skin component particles through mathematical expression 4, the light scattering degree can also be calculated by precisely measuring the Henyey-Greenstein scattering phase function according to the scattering angle formed by the incident light and the scattered light with a spectrometer, and the light scattering degree according to the wavelength of light known through other known precise measurement methods may also be applied.
[0173] As an example of implementation, the open literature on the calculation of skin light scattering and its results (Steven L. Jacques, "Origins of tissue optical properties in the UVA, Visible, and NIR regions," 1996., URI:https: / omlc.org / news / jan98 / skinoptics.html) can be used to calculate light scattering.
[0174] In step S100, the control unit of the kiosk device (1000) calculates the light absorption and light scattering according to mathematical expressions 3 and 4 within a wavelength range of visible light (e.g., 400 to 720 nm) at a predetermined wavelength interval (10 nm), thereby calculating the light absorption and light scattering of the skin for the entire wavelength range of visible light.
[0175] In step S100, the control unit of the kiosk device (1000) can calculate the light reflectance (R), which represents the ratio of light reflected according to the wavelength of light on the entire facial skin, as skin light reflection spectrum data based on the light absorbance and light scattering of the skin calculated in the visible light wavelength range.
[0176] Specifically, the control unit of the kiosk device (1000) can calculate the light reflectance (R) according to the following mathematical expression 5 based on the light absorbance and light scattering of the skin.
[0177]
[0178] In the above mathematical expression 5, R(λ) is the optical reflectance according to the wavelength of light, and T epidermis (λ) is the light penetration coefficient, which indicates the degree of light penetration (transmittance) in the epidermal layer according to the wavelength (λ) of light, and R dermis (λ) is the optical reflectance (or optical reflectance) that indicates the degree of light reflection in the dermis layer according to the wavelength (λ) of light. The optical penetration of the epidermis layer (T epidermis (λ)) and the optical reflectance (R) of the dermis dermis(λ)) can be calculated by mathematically calculating the diffusion equation or the radiative transfer equation under previously studied skin layer thickness conditions using the light absorbance and light scattering of the skin according to mathematical equations 3 and 4, or by repeatedly performing simulations in which a large number of photons are incident on the skin layer using a method such as Monte Carlo simulation. The calculation process may include a process of calculating the degree of light intensity attenuation using the modified Beer-Lambert law and a process of calculating the degree of light reflection and refraction according to the difference in refractive index using the Fresnel equation. The skin layer thickness condition varies depending on the race and site, and may be, for example, 0.005 cm to 0.035 cm for the epidermis and 0.1 cm to 0.4 cm for the dermis.
[0179] The optical reflectance (R) according to mathematical expression 5 is the optical reflectance representing the entire skin layer including the epidermis and dermis, and is a simple form of Kubelka-Munk Theory that applies that light passing through the epidermis is reflected in the opposite direction by the dermis and passes through the epidermis and is detected from the outside. Depending on the purpose, mathematical expression 5 can be modified and applied to consider the case where the light is directly reflected and detected from the epidermis or is reflected multiple times from the epidermis and dermis and comes out from the outside. Alternatively, the optical characteristics of the epidermis and dermis can be modeled and Monte Carlo simulation can be applied to directly measure the optical reflectance of the entire skin layer, thereby replacing the optical reflectance (R) according to mathematical expression 5. When applying Monte Carlo simulation, the process may include repeating the simulation under various conditions of optical absorbance and light scattering, interpolating the values that were not simulated, and tabulating the skin layer optical reflectance for the entire range of conditions of optical absorbance and light scattering.
[0180] As a concrete implementation example, the skin reflectance can be obtained by applying the light absorbance and light scattering according to Equations 3 and 4 to various published literatures that calculate the skin reflectance according to wavelength for the skin layer depth (Example 1. Krishnaswamy, Aravind, and Gladimir V.G. Baranoski. "A biophysically-based spectral model of light interaction with human skin." 2004., Example 2. Preece, Stephen J., and Ela Claridge. "Spectral filter optimization for the recovery of parameters which describe human skin." 2004., Example 3. Dawson, J.B., et al. "A theoretical and experimental study of light absorption and scattering by in vivo skin.", 1980). The skin reflectance obtained in this way can be used instead of the light reflectance according to Equation 5.
[0181] After step S100, the control unit of the kiosk device (1000) can generate a camera color space image by reflecting the camera characteristic information into the skin light reflection spectrum data (S110).
[0182] Here, the camera characteristic information may include the spectral power distribution (SPD) according to the wavelength of the light source that captures the facial image and the quantum efficiency (QE) of the capturing module (camera) that captures the facial image.
[0183] At this time, the spectral power distribution can be experimentally obtained by measuring the light source used to capture the facial image using a spectrometer. Additionally, the quantum efficiency can be obtained from the known specification sheet for the relevant photographing module or by using other known measurement methods.
[0184] Specifically, in step S110, the control unit of the kiosk device (1000) can generate a camera color space image for each color channel (R, G, B) by integrating the result of applying the camera characteristic information to the skin light reflection spectrum data over the visible light wavelength range.
[0185] For example, in step S110, the control unit of the kiosk device (1000) can generate a camera color space image for each color channel according to the following mathematical expression 6.
[0186]
[0187] In the above mathematical expression 6, Im is a pixel value according to a color channel (m), and m is a symbol indicating a color channel (r, g, b). For example, when m is r, it means a red channel, when m is g, it means a green channel, and when m is b, it means a blue channel. λ max and λ min are the maximum and minimum wavelengths in the visible light range, L(λ) is the spectral power distribution (SPD) according to the wavelength of the light source that captures the facial image, R(λ) is the light reflectance of the entire skin calculated according to the aforementioned mathematical expression 5, and C m (λ) is the quantum efficiency (QE) according to the color channel (m) of the photographing module (camera) that captures the facial image.
[0188] Meanwhile, the light entering the lens of the shooting module (camera) may include not only light reflected from the skin but also light scattered, and therefore, when considering scattering inside the skin, the camera color space image for each color channel in Equation 6 may be produced according to Equation 7 below.
[0189]
[0190]
[0191]
[0192] In the above mathematical expression 7, Mshading(λ) is a shading feature map obtained as an output of the skin analysis model, and Mspecular(λ) is a reflection feature map obtained as an output of the skin analysis model. I d(m) (λ) is a model that models the process in which light scattered inside the skin and exits the skin is detected by the camera sensor. It is formulated to reflect the influence of the spectral characteristics (SPD) of the light source, the skin light reflectance representing the optical characteristics inside the skin, and the shadow feature map generated by the facial structure and the irradiation direction of the external light source that are not related to the components inside the skin. I s(m) (λ) represents the process by which light is reflected from the skin surface and detected by the camera sensor. Since it does not optically interact with the internal components of the skin, it was formulated by applying a reflection feature map to the spectral characteristics (SPD) of the light source. In Equation 7, the description of the same symbol according to Equation 6 applies to the remaining symbols.
[0193] Next, in step S110, the control unit of the kiosk device (1000) generates a color channel-specific camera color space image (I) according to the following mathematical expression 6 or mathematical expression 7. r , I g , I b ) can be combined into one to create a camera color space image.
[0194] Here, the camera color space image refers to an image that reflects the color expression according to the specifications of the shooting module (camera). It may be desirable to convert this to a common color space so that it is independent of the color expression characteristics of the shooting module.
[0195] To this end, the control unit of the kiosk device (1000) can perform color correction based on the camera color space image to generate an image reproducing light reflection characteristics (S120).
[0196] In step S120, the color correction of the control unit of the kiosk device (1000) includes an operation of generating an image reproducing light reflection characteristics obtained by converting a camera color space image into a common color space image.
[0197] Specifically, in step S120, the control unit of the kiosk device (1000) can adjust the white balance in the camera color space image. Here, the white balance adjustment may be a step of performing normalization on the camera color space image using the color value of light directly input to the shooting module by the light source used for shooting the image.
[0198] Next, in step S120, the control unit of the kiosk device (1000) can convert the camera color space image on which white balance adjustment has been performed into a common color space image using a virtual color checker. Specifically, the virtual color checker means the light reflectance spectrum of each patch of the color checker, and the virtual color checker can be obtained by using various externally disclosed color checker APIs based on a known paper (N. Ohta, The Basis of Color Reproduction Engineering (Japanese), Corona-sha Co of Japan, published 1997), or by calculating the ratio of the reflectance spectrum measured experimentally using a spectrophotometer and the light source spectral power distribution.
[0199]
[0200] FIG. 8 is a diagram comparing an image obtained as an output of an optimized skin analysis model using a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment with an image taken using professional diagnostic equipment.
[0201] Referring to FIG. 8, when comparing a hemoglobin characteristic map output as an optimized skin analysis model using a method (invention method) for optimizing a skin analysis model using a light reflection characteristic reproduction image reconstructed through an optical approach according to one embodiment and a hemoglobin characteristic image obtained through a professional diagnostic device, it can be confirmed that the distribution shape of hemoglobin is derived almost similarly.
[0202] In the same way, by comparing the melanin characteristic map output by the optimized skin analysis model by applying the invention method with the melanin characteristic image obtained through professional diagnostic equipment, it can be confirmed that the melanin distribution pattern is also derived quite similarly.
[0203] That is, when supervised learning is performed to optimize a skin analysis model using the method proposed in the present invention, the skin analysis model is optimized to minimize deviations in light reflection characteristics according to the shooting environment (shooting light source, shooting module, shooting location, shooting time, etc.), so there is an advantage of being able to obtain high-precision skin analysis results even without using expensive diagnostic equipment.
[0204] In addition, after the measurements or related data required for mathematical modeling are completed, optimization is possible by generating an image reproducing the light reflection characteristics using the method according to the aforementioned Figure 7, so it is possible to supplement the prediction performance through optimization even without collecting images of skin analysis results using a large amount of specialized diagnostic equipment.
[0205] In addition, it provides analysis results that facilitate absolute comparison of analysis results between subjects without reducing the resolution of facial skin images, and has the advantage of being usable for professional-level skin diagnosis purposes through performance correction using highly reliable professional diagnostic equipment.
[0206]
[0207] FIG. 9 is a diagram illustrating a hardware configuration of a device that performs a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment.
[0208] A method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach according to one embodiment may be performed by a kiosk device (1000) as described above or by various other types of computing devices (100).
[0209] At this time, referring to FIG. 9, a kiosk device (1000) or other various types of computing devices (100) may include at least one processor (110) and a memory (120) that stores instructions that instruct the at least one processor (110) to perform at least one operation.
[0210] Here, at least one processor (110) may mean a central processing unit (CPU), a graphics processing unit (GPU), or a dedicated processor on which methods according to embodiments of the present invention are performed.
[0211] The memory (120) may be composed of at least one of a volatile storage medium and a non-volatile storage medium. For example, the memory (120) may be one of a read-only memory (ROM) and a random access memory (RAM).
[0212] A kiosk device (1000) or other various types of computing devices may further include a storage device (160) that stores initial data, preprocessing data, intermediate processing data or temporary data, output data, etc. used in the process of performing at least one of the above operations.
[0213] The storage device (160) may be a flash memory, a hard disk drive (HDD), a solid state drive (SSD), or various memory cards (e.g., a micro SD card).
[0214] In addition, the kiosk device (1000) or other various types of computing devices may include a transceiver (130) that performs communication via a wireless network. In addition, the kiosk device (1000) or other various types of computing devices may further include an input interface device (140), an output interface device (150), a storage device (160), etc. Each component included in the kiosk device (1000) or other various types of computing devices may be connected by a bus (170) to perform communication with each other.
[0215]
[0216] The methods according to the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded on a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc., either singly or in combination. The program instructions recorded on the computer-readable medium may be those specifically designed and constructed for the present invention, or may be known and available to those skilled in the computer software art.
[0217] Examples of computer-readable media may include hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, and flash memory. Examples of program instructions may include not only machine language codes generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc. The hardware devices described above may be configured to operate with at least one software module to perform the operations of the present invention, and vice versa.
[0218] Additionally, the above-described method or device may be implemented by combining all or part of its configuration or function, or may be implemented separately.
[0219] Although the present invention has been described above with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various modifications and changes may be made to the present invention without departing from the spirit and scope of the present invention as set forth in the claims below.
Claims
1. A computing device for performing a method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach, at least one processor; and comprising instructions that direct at least one processor to perform at least one operation; At least one of the above actions, A step of obtaining an initial image by photographing the user's face area; A step of preprocessing the above initial image to generate an input image; A step of inputting the generated input image into a skin analysis model and obtaining a skin feature map as an output of the skin analysis model; A step of generating an image reproducing light reflection characteristics from the acquired skin feature map; and A step of calculating a loss function using the generated light reflection characteristic reproduction image and the input image, and supervising learning of a skin analysis model so that the output value of the calculated loss function is minimized, Computing device.
2. In claim 1, The above skin feature map is, A hemoglobin feature map predicting the distribution of hemoglobin that constitutes the facial skin of the user; A melanin feature map predicting the distribution of melanin that constitutes the facial skin of the user; A shading feature map predicting the shading distribution appearing on the facial skin of the user; and A reflection feature map that predicts the distribution of surface morphological characteristics by the reflected light from the user's face surface; Computing device.
3. In claim 2, The step of generating the above input image is: A step of generating a skin detection mask from the initial image; A step of dividing the initial image into preset sizes to obtain a plurality of first patches, and dividing the skin detection mask into preset sizes to obtain a plurality of second patches; A step of generating a plurality of third patches by corresponding the first patches and the second patches to patches at the same position in the image on a 1:1 basis, and using the result of multiplying the pixel values at the same position for each of the two corresponding patches as the pixel values at the corresponding position; and A step of generating an input image by arranging and connecting a plurality of generated third patches to the same positions as the initial image; Computing device.
4. In claim 2, The step of generating an image reproducing the above light reflection characteristics is: A step of generating skin light reflection spectrum data using the above melanin feature map and the above hemoglobin feature map; A step of generating a camera color space image by reflecting the light source spectrum information and camera characteristic information corresponding to the light source used when photographing the above facial area into the skin light reflection spectrum data; and A step of performing color correction based on the camera color space image to generate an image reproducing the light reflection characteristics; including; Computing device.
5. In claim 4, The above skin light reflectance spectrum data is, Including the optical reflectance, which indicates the ratio of light reflected according to the wavelength of light across the entire facial skin based on the optical absorbance and optical scattering of human facial skin calculated in the visible light wavelength range. Computing device.
6. In claim 5, The above light reflectance is, Light absorbance, which indicates the degree of light absorption according to the wavelength of light in the human skin layer, and Determine the light scattering degree, which indicates the degree of light scattering according to the wavelength of light in the above skin layer, Determined using the above-determined light absorbance and light scattering, Computing device.
7. A method for optimizing a skin analysis model using an image of light reflection characteristics reconstructed through an optical approach performed by a computing device, A step of obtaining an initial image by photographing the user's face area; A step of preprocessing the above initial image to generate an input image; A step of inputting the generated input image into a skin analysis model and obtaining a skin feature map as an output of the skin analysis model; A step of generating an image reproducing light reflection characteristics from the acquired skin feature map; and A step of calculating a loss function using the generated light reflection characteristic reproduction image and the input image, and supervising learning of a skin analysis model so that the output value of the calculated loss function is minimized, method.
Citation Information
Patent Citations
Method and apparatus for face recognition
KR1020170018666A
Smoking article and aerosol-generating systems comprising thereof
KR1020230147319A
Electronic device comprising flexible window
KR1020240030880A
Acceleration method of Computer Generated Holograms using High-Level Synthesis on FPGA
KR102550328B1
Method and device for optimizing a skin analysis model using a reproduction image of light reflection characteristics reconstructed through an optical approach
KR102648659B1
Cited By
Blood fat monitoring method based on prediction model
CN119745378A
