Method for analyzing skin images and method for evaluating the efficacy of medication
Quantitative analysis of skin images through the instance segmentation neural network model solves the problem of quantitative identification of features in skin images, enables accurate assessment of the severity of skin damage areas and medication effects, and improves the accuracy of diagnosis and treatment.
Patent Information
- Application Number
- CN202410805057.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-21
AI Technical Summary
Existing technology cannot quantitatively analyze the severity of skin lesions and medication effects in skin images. It mainly relies on qualitative analysis of dermoscopic features, making it difficult to achieve accurate assessment.
The pre-trained instance segmentation neural network model is used to process skin images. Through instance segmentation and geometric calculation, the number of yellow spots, black spots, short vellus hair, exclamation mark hair, broken hair and normal hair is quantitatively analyzed, and multiple images are combined The data are averaged and used as the analysis results of skin images to evaluate the efficacy of medication.
It achieves accurate quantitative analysis of skin image features, improves the accuracy of diagnosis and efficacy evaluation, and can assist doctors in making diagnosis and treatment decisions.
Smart Images

Figure CN118379281B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image computer processing, and in particular to a method for analyzing skin images and a method and computing equipment for evaluating the efficacy of medication. Background Art
[0002] As a non-invasive examination method, dermoscopy can clearly observe the changes in the structures of the scalp, hair follicles, and hair in the lesion area, avoiding the direct extraction of scalp and hair samples, and providing a certain basis for diagnosis. More and more studies have confirmed that dermoscopy plays an important role in the diagnosis of hair loss diseases. For example, alopecia areata can be observed under a dermoscopy with a variety of features such as yellow spots, black spots, broken hair, exclamation mark hair, and short vellus hair, and multiple dermoscopic features can coexist in the same lesion.
[0003] However, there is currently no way to conduct a quantitative analysis of the severity of skin lesions and the effectiveness of medication. It is more of a rough qualitative analysis based on the main manifestations under the dermatoscope. Summary of the invention
[0004] The present invention aims to provide a method for analyzing skin images and a method and computing device for evaluating the efficacy of medication, which can quantitatively analyze hair features in skin images.
[0005] According to one aspect of the present invention, there is provided a method for analyzing a skin image, the method comprising:
[0006] Get images of the alopecia areata area on the head from a dermoscopic image;
[0007] Sending the head alopecia areata hair loss area image to a pre-trained instance segmentation neural network model for processing, wherein the pre-trained instance segmentation neural network model is used to perform instance segmentation of yellow dot signs, black dot signs, and rooted hairs in the head alopecia areata hair loss area image;
[0008] Performing geometric measurement on the segmented rooted hairs, so as to further determine whether the rooted hairs are short vellus hairs, exclamation mark hairs, broken hairs or normal hairs;
[0009] The numbers of yellow dot signs, black dot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs are counted respectively as the analysis results of the skin images.
[0010] According to some embodiments, geometric measurement is performed on the segmented rooted hairs, including:
[0011] Measuring the length and diameter of the rooted hair;
[0012] If the length of the rooted hair is less than a first threshold and the diameter is less than a second threshold, the rooted hair is short vellus hair;
[0013] If the length of the rooted hair is less than a first threshold and the diameter is greater than a second threshold, the rooted hair is a broken hair;
[0014] If the diameter of the rooted hair at a portion adjacent to the root is smaller than the diameter of the portion away from the root, the rooted hair is an exclamation mark hair;
[0015] If the rooted hair cannot be classified as short vellus hair, exclamation mark hair or broken hair, the rooted hair is normal hair.
[0016] According to some embodiments, after obtaining the image of the alopecia areata area on the head from the dermatoscope, the method further includes:
[0017] The image of the alopecia areata area on the head is preprocessed.
[0018] According to some embodiments, preprocessing the image of the alopecia areata area on the head includes:
[0019] Increasing the contrast of the image of the alopecia areata area on the head; and / or
[0020] Adjusts the color temperature of the image of areas of hair loss on the head.
[0021] According to some embodiments, the instance segmentation neural network model includes a masked region convolutional neural network model.
[0022] According to some embodiments, the mask region convolutional neural network model is additionally configured with a starting point detection branch for detecting a starting point region.
[0023] According to another aspect of the present invention, there is provided a method for analyzing a skin image, the method comprising:
[0024] Obtain multiple dermoscopic images of the alopecia areata area on the head;
[0025] For each alopecia areata area image, using any of the above methods, the number of yellow spot signs, black spot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs are obtained;
[0026] The numbers of yellow spot signs, black spot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs are summed up, the average is taken and then rounded up as the final analysis result of the skin image.
[0027] According to another aspect of the present invention, there is provided a method for evaluating the efficacy of a medication, comprising:
[0028] Using any of the aforementioned methods to obtain analysis results of images of the alopecia areata area on the head at predetermined treatment intervals;
[0029] The efficacy of the medication is evaluated based on the analysis results.
[0030] According to another aspect of the present application, a computer program product is provided, comprising: a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above methods.
[0031] According to another aspect of the present invention, a computing device is provided, comprising a processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the processor executes any of the above methods.
[0032] According to another aspect of the present invention, there is provided a non-transitory computer-readable storage medium having computer-readable instructions stored thereon, and when the instructions are executed by a processor, the processor is caused to execute any of the above methods.
[0033] According to the exemplary embodiment, the present invention first abstracts short vellus hair, exclamation mark hair, broken hair and normal hair into a type of rooted hair and performs instance segmentation. Further geometric calculations are performed on the basis of instance segmentation to improve the accuracy of feature detection. By detecting and quantitatively counting the features, the proportion or quantity of each feature can be accurately recognized, thereby assisting doctors in making diagnoses and evaluating the efficacy.
[0034] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below.
[0036] Figure 1 Example image showing the yellow spot sign.
[0037] Figure 2 Example image showing the black spot sign.
[0038] Figure 3 Example image showing broken hair.
[0039] Figure 4 An example image showing an exclamation mark is shown.
[0040] Figure 5 Example image showing short vellus hair.
[0041] Figure 6 A flow chart of a method for analyzing a skin image according to an example embodiment is shown.
[0042] Figure 7 An example image showing a rooted hair.
[0043] Figure 8A block diagram of a computing device according to an example embodiment of the invention is shown. DETAILED DESCRIPTION
[0044] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0045] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solution of the present invention can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present invention.
[0046] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0047] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0048] It should be understood that although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one component from another component. Therefore, the first component discussed below can be referred to as the second component without departing from the teachings of the present inventive concept. As used herein, the term "and / or" includes any one of the associated listed items and all combinations of one or more.
[0049] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0050] Those skilled in the art will appreciate that the drawings are merely schematic diagrams of example embodiments, and the modules or processes in the drawings are not necessarily necessary for implementing the present invention, and therefore cannot be used to limit the protection scope of the present invention.
[0051] The definitions or descriptions of various features (yellow dot sign, black dot sign, broken hair, short vellus hair, exclamation mark hair, etc.) in alopecia areata skin images include but are not limited to color, equivalent diameter, length, geometric shape, surrounding features, etc. The yellow dot sign refers to the appearance of a yellow dot in the center of the hair follicle opening (see Figure 1 ), is caused by the enlargement of the infundibulum of the hair follicle, the aggregation of the cortex and keratin, that is, an empty follicle filled with keratin. The black spot sign is the remaining hair shaft after the hair is severed at the scalp level (see Figure 2 ), mainly due to the rapid degeneration of hair follicles, the separated hair shafts are retained at the hair follicle opening and have not yet been discharged. Hair breakage is the separation of hair at a certain distance from the skin surface (see Figure 3 Exclamation mark hair is caused by the hair gradually becoming thinner near the scalp, forming an exclamation mark shape with thick top and thin bottom (see Figure 4 ), which is generally considered to be a characteristic change of alopecia areata. The short vellus hair is newly erected hair (see Figure 5 ), the length is generally not more than 10mm, and the diameter is less than 0.05mm.
[0052] At present, the recognition of various features in alopecia areata skin images is mainly done by qualitative recognition by the human eye, because it is difficult for the human eye to accurately and quantitatively recognize alopecia areata skin images. Therefore, the efficacy of treatment is currently mainly evaluated based on the recovery of the hair loss area identified by the naked eye, which cannot achieve accurate evaluation, especially early evaluation of the efficacy.
[0053] To this end, the present invention proposes a method based on a neural network model, which can quantitatively analyze alopecia areata skin images obtained through a dermatoscope, and can assist doctors in diagnosing alopecia areata and evaluating the treatment effect.
[0054] The technical solution of the present invention is described in detail below with reference to the accompanying drawings.
[0055] Figure 6 A flow chart of a method for analyzing a skin image according to an example embodiment is shown.
[0056] Figure 6The method shown can be used to analyze images of alopecia areata areas on the head from a dermatoscope, providing assistance and technical support for doctors in diagnosing alopecia areata and evaluating the effectiveness of treatment.
[0057] See also Figure 6 , at S601, an image of alopecia areata area on the head is obtained from a dermatoscope.
[0058] Dermatoscope, also known as light microscope, is a quick, convenient and non-invasive examination method. Its technical principle is to reduce the reflection, refraction and diffraction of light in the stratum corneum of the skin through a certain medium (generally mineral oil, ethanol, water, etc.) to make the stratum corneum translucent; then with the help of the magnification of the dermatoscope, the structure of the epidermis, the epidermis-dermis junction and the superficial dermis can be seen, showing morphological characteristics that cannot be seen by the naked eye. Since the first description of dermatoscope in the 1980s, it has undergone important technical improvements and innovations. All second-generation devices have improved the optics of ordinary light-emitting diode illumination. Currently, there are two modes of dermatoscopes available: one is non-polarized light that requires medium immersion, and the other is polarized light (contact and non-contact dermatoscopes). Compared with polarized light dermatoscopes, non-polarized light under direct contact has sharper colors and less distortion, thus having higher illumination and resolution. Dermatoscopes used to examine the scalp and hair are also called trichoscopes.
[0059] The dermatoscope is connected to a computer, and the images obtained can be transmitted and stored in the computer for subsequent analysis.
[0060] In S603, the image of the alopecia areata area on the head is sent to a pre-trained instance segmentation neural network model for processing.
[0061] The instance segmentation neural network model can not only classify each pixel, but also distinguish different instances. According to some embodiments, the instance segmentation neural network model adopts a mask region convolutional neural network model (Mask R-CNN). Mask R-CNN is a neural network model for instance segmentation, which is extended on the basis of Faster R-CNN and adds the ability to generate fine segmentation masks of target objects. The loss function of Mask R-CNN is a multi-task loss function because it simultaneously considers the performance of multiple subtasks, including classification, bounding box regression, and the newly added mask generation task. The total loss function of Mask R-CNN is the weighted sum of the losses of the above three tasks, and the weight of each task can be adjusted according to actual conditions to balance the importance of different tasks. During the training process, these loss functions jointly guide the network to learn to better identify, locate and segment objects.
[0062] Although instance segmentation neural network models such as Mask R-CNN have excellent instance segmentation capabilities and can segment a variety of objects in an image, if these models are used to directly perform instance segmentation on the yellow dot sign, black dot sign, short vellus hair, exclamation mark hair, and broken hair, the results obtained are not good. The inventors found that this is because short vellus hair, exclamation mark hair, broken hair, and normal hair have great similarities, and some subtle differences are difficult to be identified, resulting in unsatisfactory results. For this reason, the inventors first abstracted short vellus hair, exclamation mark hair, broken hair, and normal hair into a type of rooted hair, that is, hair that grows from hair follicles, rather than hair that overlaps on hair follicles. In other words, in the image, rooted hair is hair with a specific starting area (i.e., the hair follicle area) (see Figure 7 ). By performing instance segmentation on rooted hairs, interference from hairs in other areas can be naturally excluded.
[0063] Therefore, according to an example embodiment, the pre-trained instance segmentation neural network model is used to perform instance segmentation of yellow dot signs, black dot signs, and rooted hairs in an image of alopecia areata area on the head.
[0064] According to some embodiments, in order to better identify the starting point area of rooted hair, a branch may be added to the output part of the Mask R-CNN model, which is specifically used to predict the starting point area.
[0065] According to some embodiments, after obtaining the image of the alopecia areata area on the head from the dermatoscope, the image of the alopecia areata area on the head may be preprocessed before being sent to the pre-trained instance segmentation neural network model. For example, according to some embodiments, the accuracy of instance segmentation may be improved by increasing the contrast of the image of the alopecia areata area on the head and / or adjusting the color temperature of the image of the alopecia areata area on the head.
[0066] According to some embodiments, when preparing a data set for model training, the diversity of the data can be increased. In addition to conventional rotation, scaling, and flipping, advanced data enhancement techniques such as MixUp can be used. In addition, considering the occlusion of black dot signs and yellow dot signs by hair, such occluded data sets can be added.
[0067] In S605, geometric measurement is performed on the segmented rooted hairs to further determine whether the rooted hairs are short vellus hairs, exclamation mark hairs, broken hairs, or normal hairs.
[0068] According to the example embodiment, in order to further distinguish the rooted hair, the length and diameter of the rooted hair are first measured. If the length of the rooted hair is less than a first threshold and the diameter is less than a second threshold, the rooted hair is short vellus hair. If the length of the rooted hair is less than a first threshold and the diameter is greater than a second threshold, the rooted hair is broken hair. If the diameter of the rooted hair adjacent to the root is smaller than the diameter of the rooted hair away from the root, the rooted hair is an exclamation mark hair. If the rooted hair cannot be classified as short vellus hair, exclamation mark hair or broken hair, the rooted hair is normal hair. According to the example embodiment, since further geometric measurement is performed on the basis of instance segmentation, the accuracy of feature detection can be improved.
[0069] According to some embodiments, the segmented image can be loaded using the OpenCV library, and then each rooted hair can be traversed, and the bounding box or precise outline of the hair can be obtained using the contour detection function, and the hair length can be estimated by the perimeter of the outline. According to some embodiments, an edge detection algorithm (such as Canny edge detection) is used to find the edges on both sides of the rooted hair. Then, along the direction of the hair, the shortest distance between the edges is calculated as the "diameter" of the hair. This operation is performed for each point or at sampling points at regular intervals to obtain the change in hair width.
[0070] In S607, the numbers of yellow spot signs, black spot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs are counted respectively as the analysis results of the skin image.
[0071] Studies have shown that the black dot sign and yellow dot sign are positively correlated with the severity of alopecia areata, while short vellus hair is negatively correlated with the severity of alopecia areata. The black dot sign, exclamation mark hair, broken hair, and short vellus hair are also related to the activity of the disease. The stable period is mainly manifested by the yellow dot sign, and the active period indicators are broken hair, black dot sign, and exclamation mark hair, indicating that the disease needs active treatment. The sign of effective treatment also represents the recovery period, which is the disappearance of the above-mentioned activity indicators and the increase of new vellus hair. From a diagnostic perspective, the yellow dot sign and short vellus hair are sensitive indicators for diagnosing alopecia areata, while the black dot sign, broken hair, and exclamation mark hair are more specific indicators for diagnosing alopecia areata.
[0072] After obtaining the quantitative feature analysis results, we can have an accurate understanding of the proportion or quantity of each feature, thereby assisting doctors in making a diagnosis.
[0073] According to some embodiments, in order to minimize missed detection due to occlusion and the like, multiple images of the alopecia areata area on the head from a dermatoscope may be obtained, for example, images at different azimuth angles or images of the same position before and after the hair is disturbed. Then, for each image of the alopecia areata area on the head, the number of yellow dot signs, black dot signs, short vellus hair, exclamation mark hair, broken hair, and normal hair is obtained using the aforementioned method. The number of yellow dot signs, black dot signs, short vellus hair, exclamation mark hair, broken hair, and normal hair obtained is summed, the average is taken, and then rounded as the final analysis result of the skin image.
[0074] According to some embodiments, the aforementioned method can be applied to evaluate the efficacy of medication. For example, the aforementioned method is used to obtain analysis results of images of alopecia areata areas on the head at predetermined treatment intervals, and then the efficacy of medication can be evaluated based on the analysis results.
[0075] At present, the efficacy is mainly evaluated based on the recovery of the area of hair loss observed by the naked eye. According to the embodiments of the present invention, various quantitative features are easier to evaluate the efficacy. For example, studies have shown that the hair in the new recovery period appears as short vellus hair, which is white, fine and soft hair and is not easy to detect with the naked eye. As the condition improves, the hair gradually grows into terminal hair. After treatment, the increase in the density of normal hair, i.e., terminal hair, compared with that before treatment indicates that the treatment is effective. In addition, the number of short vellus hairs can be used as an important indicator of the effectiveness of alopecia areata treatment, and the number of black spot signs and broken hair gradually decreases to disappear.
[0076] Figure 5 A block diagram of a computing device according to an example embodiment of the invention is shown.
[0077] like Figure 5 As shown, computing device 30 includes processor 12 and memory 14. Computing device 30 may also include bus 22, network interface 16, and I / O interface 18. Processor 12, memory 14, network interface 16, and I / O interface 18 may communicate with each other via bus 22.
[0078] The processor 12 may include one or more general-purpose CPUs (Central Processing Units, processors), microprocessors, or application-specific integrated circuits, etc., for executing relevant program instructions. According to some embodiments, the computing device 30 may also include a high-performance graphics card (GPU) 20 for accelerating the processor 12.
[0079] The memory 14 may include a machine system readable medium in the form of a volatile memory, such as a random access memory (RAM), a read-only memory (ROM) and / or a cache memory. The memory 14 is used to store one or more programs including instructions and data. The processor 12 may read the instructions stored in the memory 14 to execute the above-mentioned method according to the embodiment of the present invention.
[0080] The computing device 30 may also communicate with one or more networks via the network interface 16. The network interface 16 may be a wireless network interface.
[0081] The bus 22 may include an address bus, a data bus, a control bus, etc. The bus 22 provides a path for exchanging information between components.
[0082] It should be noted that, in the specific implementation process, the computing device 30 may also include other components necessary for normal operation. In addition, those skilled in the art may understand that the above device may only include components necessary for implementing the embodiments of this specification, and need not include all components shown in the figure.
[0083] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when the program is executed by a processor. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), a network storage device, a cloud storage device, or any type of medium or device suitable for storing instructions and / or data.
[0084] An embodiment of the present invention also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any method recorded in the above method embodiments.
[0085] Those skilled in the art can clearly understand that the technical solution of the present invention can be implemented with the help of software and / or hardware. "Unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array, an integrated circuit, etc.
[0086] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0087] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0088] In the several embodiments provided by the present invention, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0090] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0091] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.
[0092] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0093] The exemplary embodiments of the present invention are specifically shown and described above. It should be understood that the present invention is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present invention is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended clauses.
Claims
1. A method for analyzing skin images, characterized in that: The method comprises: Obtain images of the alopecia areata area on the head from a dermoscopic image; Sending the head alopecia areata hair loss area image to a pre-trained instance segmentation neural network model for processing, wherein the pre-trained instance segmentation neural network model is used to perform instance segmentation on yellow dot signs, black dot signs, and rooted hairs in the head alopecia areata hair loss area image, and the instance segmentation neural network model adopts a masked area convolutional neural network model, and the total loss function of the masked area convolutional neural network model is a weighted sum of the losses of three tasks: classification, bounding box regression, and mask generation, and the weight of each task is adjusted according to actual conditions; Performing geometric measurement on the segmented rooted hairs, so as to further determine whether the rooted hairs are short vellus hairs, exclamation mark hairs, broken hairs or normal hairs; The number of yellow spot signs, black spot signs, short vellus hair, exclamation mark hair, broken hair and normal hair is counted as the analysis result of the skin image. The segmented rooted hair is subjected to geometric measurement, including: Measuring the length and diameter of the rooted hair; If the length of the rooted hair is less than a first threshold and the diameter is less than a second threshold, the rooted hair is short vellus hair; If the length of the rooted hair is less than a first threshold and the diameter is greater than a second threshold, the rooted hair is a broken hair; If the diameter of the rooted hair at a portion adjacent to the root is smaller than the diameter of the portion away from the root, the rooted hair is an exclamation mark hair; If the rooted hair cannot be classified as short vellus hair, exclamation mark hair or broken hair, the rooted hair is normal hair.
2. The method according to claim 1, characterized in that After obtaining images of the alopecia areata area on the head from the dermoscopy, it also includes: The image of the alopecia areata area on the head is preprocessed.
3. The method according to claim 2, characterized in that Preprocessing the image of the alopecia areata area on the head includes: Increasing the contrast of the image of the alopecia areata area on the head; and / or Adjusts the color temperature of the image of areas of hair loss on the head.
4. The method according to claim 1, characterized in that: The mask region convolutional neural network model is additionally configured with a starting point detection branch for detecting the starting point region.
5. A method for analyzing skin images, characterized in that: The method comprises: Obtain multiple dermoscopic images of the alopecia areata area on the head; For each alopecia areata area image, using the method according to any one of claims 1 to 4, the number of yellow spot signs, black spot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs is obtained; The numbers of yellow spot signs, black spot signs, short vellus hairs, exclamation mark hairs, broken hairs and normal hairs are summed up, the average is taken and then rounded up as the final analysis result of the skin image.
6. A method for evaluating the efficacy of a medication, characterized in that: include: Obtaining analysis results of images of alopecia areata areas on the head at predetermined treatment intervals using the method according to any one of claims 1 to 5; The efficacy of the medication is evaluated based on the analysis results.
7. A computer program product, characterized in that The method comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.
8. A computing device, characterized in that include: processor; as well as A memory storing a computer program, which, when executed by the processor, enables the processor to perform the method according to any one of claims 1 to 6.
Citation Information
Cited By
Method and system for evaluating alopecia areata target area repigmentation based on standardized entity reference cards
CN123032676A
