Method for dermoscopy and dermoscopy system

By using dermoscope image processing technology in a non-invasive way, the position of hair follicles is detected and the images are overlapped, which solves the problem of accuracy and repeatability of dermoscope positioning and improves the accuracy of diagnosis of hair loss diseases and patient experience.

CN118436316BActive Publication Date: 2024-08-27PEKING UNIVERSITY THIRD HOSPITAL (THE THIRD CLINICAL MEDICAL SCHOOL OF PEKING UNIVERSITY)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410895452.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-08-27
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

When dermoscopy is used to diagnose hair loss diseases, the existing technology requires the use of interventional medical tattoos for positioning. This causes some patients to have concerns about minimally invasive procedures, and it is difficult to ensure the accuracy and repeatability of the two positionings.

Method used

A non-invasive method is used to obtain the head skin image, detect the hair follicle position as a key point, draw the image, and detect the same area as the initial positioning area in subsequent images, and guide the operator to move the dermoscope through image coincidence to achieve the target image precise positioning.

Benefits of technology

It achieves the accuracy and repeatability of two positionings, avoids the use of interventional markers, improves patient comfort, and assists doctors in conducting more accurate diagnosis and treatment assessments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118436316B
    Figure CN118436316B
Patent Text Reader

Abstract

The present invention provides a method for a dermatoscope and a dermatoscope system. The method comprises: obtaining a first head skin image from the dermatoscope; detecting the position of hair follicles from the first head skin image as a first key point; drawing a first image using the first key point; selecting and marking an asymmetric area on the first image as a first positioning area to be matched; storing the first head skin image and the first positioning area; obtaining a second head skin image from the dermatoscope; detecting the position of hair follicles from the second head skin image as a second key point; drawing a second image using the second key point; detecting and marking a second positioning area identical to the first positioning area in the second image; and superimposing the second image marked with the second positioning area on the first image marked with the first positioning area. The present invention does not use an invasive method for positioning, and is patient-friendly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical equipment, and in particular to a method for dermatoscope, a dermatoscope system and a computing device. Background Art

[0002] As a non-invasive examination method, dermoscopy can clearly observe the changes in the scalp, hair follicles, hair and other structures in the skin 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.

[0003] In some scenarios, such as in the case of androgenic alopecia, it is necessary to use a dermatoscope to obtain the initial image of the hair loss area at the beginning of the treatment and the image of the hair loss area after a period of treatment, so as to evaluate and analyze the treatment effect. In order to obtain the image of the same part as the initial image in the subsequent stage, the commonly used method is to use medical tattooing (see Figure 1 ). Medical tattooing, also known as "medical marking" or "surgical marking," is a technique used to mark specific locations on a patient's body, primarily for precision and repeatability during medical procedures. The dyes used are specifically designed for medical purposes to ensure they are safe for the skin while still allowing the marking to be clearly visible. These dyes are generally non-toxic and hypoallergenic to the skin. Medical tattoos may last for a while, but they will eventually fade with time and the skin's natural turnover. Medical tattooing is an invasive procedure as it involves the use of a needle to penetrate the top layer of the skin. Although this is a relatively superficial procedure, it still requires piercing the skin barrier, making it a minimally invasive procedure, which is a concern for some hair loss patients.

[0004] Therefore, there is a need for a non-invasive method for positioning a dermatoscope when using a dermatoscope to obtain head skin images, ensuring accuracy and repeatability during two positionings. Summary of the invention

[0005] The present invention aims to provide a method for dermatoscope, a dermatoscope system and a computing device, which can achieve accuracy and repeatability during two positioning in a non-invasive manner.

[0006] According to one aspect of the present invention, a method for a dermatoscope is provided, the method being used to position a dermatoscope when acquiring a head skin image using the dermatoscope, the method comprising:

[0007] Acquire a first head skin image from the dermatoscope;

[0008] Detecting hair follicle positions from the first head skin image as first key points;

[0009] Drawing a first image using the first key point;

[0010] Selecting and marking an asymmetric area on the first image as a first positioning area to be matched;

[0011] storing the first head skin image and the first positioning area;

[0012] acquiring a second head skin image from the dermatoscope;

[0013] Detecting hair follicle positions from the second head skin image as second key points;

[0014] Drawing a second image using the second key point;

[0015] Detecting and marking a second positioning area identical to the first positioning area in the second image;

[0016] The second image marked with the second positioning area is overlapped and superimposed on the first image marked with the first positioning area, so as to guide the operator to move the dermatoscope so that the second positioning area overlaps with the first positioning area to determine the target image.

[0017] According to some embodiments, detecting hair follicle positions as first key points from the first head skin image includes:

[0018] The hair follicle positions are segmented on the first head skin image using a pre-trained image semantic segmentation model.

[0019] According to some embodiments, the asymmetric region is a triangular region or a polygonal region.

[0020] According to some embodiments, a center point of the first image is located within the first positioning area.

[0021] According to some embodiments, detecting and marking a second localization area identical to the first localization area in the second image comprises:

[0022] A second positioning area identical to the first positioning area is detected and marked in the second image using an object detection method based on a pre-trained neural network.

[0023] According to some embodiments, superimposing the second image marked with the second positioning area on the first image marked with the first positioning area includes:

[0024] The second image having only the outline of the second positioning area drawn therein is overlapped and superimposed on the first image having the outline of the first positioning area drawn therein.

[0025] According to some embodiments, the aforementioned method further comprises:

[0026] The second head skin image when the second positioning area overlaps with the first positioning area is determined as the target image.

[0027] According to another aspect of the present application, a dermatoscope system is provided, comprising:

[0028] a dermatoscope, which is used to obtain images of the skin on the head;

[0029] An image server is communicatively connected to the dermatoscope, and is used to receive the head skin image from the dermatoscope and process it, wherein the image server comprises:

[0030] An image acquisition module, used to acquire a first head skin image and a second head skin image from the dermatoscope;

[0031] A key point detection module, configured to detect a hair follicle position from the first head skin image as a first key point and to detect a hair follicle position from the second head skin image as a second key point;

[0032] A drawing module, configured to draw a first image using the first key point and draw a second image using the second key point;

[0033] A marking module, used for selecting and marking an asymmetric area on the first image as a first positioning area to be matched;

[0034] a matching module, configured to detect and mark in the second image a second positioning area identical to the first positioning area;

[0035] a superposition module, used for superimposing the second image marked with the second positioning area on the first image marked with the first positioning area, so as to guide the operator to move the dermatoscope so that the second positioning area coincides with the first positioning area to determine the target image;

[0036] A storage module is used to store the first head skin image, the first positioning area and the target image.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] According to an exemplary embodiment, in order to position the dermatoscope when using the dermatoscope to obtain head skin images multiple times, the technical solution of the present invention extracts the positioning area, and detects the previously determined positioning area in the subsequent image after the image is acquired, so that the operator can move the dermatoscope until the second positioning area coincides with the first positioning area. At this time, the image obtained by the dermatoscope is the image obtained at the previous position, and can be determined as the target image acquired this time. In this way, even if an invasive marking method is not used, the consistency of the two positionings can be achieved. The technical solution of the present invention is highly adaptable and patient-friendly, and can assist doctors in making more accurate diagnosis and treatment evaluations.

[0041] 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

[0042] 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.

[0043] Figure 1 Example image showing a medical tattoo on the head skin.

[0044] Figure 2 A flow chart of a method for dermoscopy according to an example embodiment is shown.

[0045] Figure 3 The first image drawn using the first key points is schematically shown.

[0046] Figure 4 A first positioning area on a first image is schematically shown.

[0047] Figure 5 A second image with a second localization area is schematically shown.

[0048] Figure 6 A schematic diagram showing a second image superimposed on a first image.

[0049] Figure 7 A dermatoscope system according to an example embodiment is shown.

[0050] Figure 8 A block diagram of a computing device according to an example embodiment of the invention is shown. DETAILED DESCRIPTION

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] 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.

[0057] 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.

[0058] In order to use a dermatoscope to obtain multiple images of the head skin at the same location for evaluation and analysis of treatment effects, medical tattooing is currently commonly used. Although medical tattooing is a relatively superficial process, it is still a minimally invasive operation, which some hair loss patients are more concerned about.

[0059] To this end, the present invention proposes a solution that uses neural network image processing technology to extract positioning areas, and detects the previously determined positioning areas in subsequent images after they are acquired, so that the operator can move the dermatoscope until the second positioning area coincides with the first positioning area. At this time, the image obtained by the dermatoscope is the image obtained at the previous position, and can be determined as the target image acquired this time. According to the technical solution of the present invention, even if an invasive marking method is not used, the consistency of the two positionings can be achieved, which is more patient-friendly.

[0060] The technical solution of the present invention is described in detail below with reference to the accompanying drawings.

[0061] Figure 2 A flow chart of a method for dermoscopy according to an example embodiment is shown.

[0062] Figure 2 The method shown is used to position a dermatoscope when acquiring an image of the skin of the head using the dermatoscope.

[0063] See also Figure 2 , at S201, a first head skin image is acquired from the dermatoscope.

[0064] Dermoscopy, also known as light microscopy, 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 (usually mineral oil, ethanol, water, etc.), making the stratum corneum translucent; then, with the help of the magnification of the dermoscopy, the structure of the epidermis, the epidermis-dermis junction and the superficial dermis can be seen, showing morphological features that are invisible to the naked eye. Since the first description of dermoscopy in the 1980s, it has undergone important technical improvements and innovations. All second-generation devices have improved the optics using ordinary light-emitting diodes for illumination. Currently, there are two modes of dermoscopy available: one is non-polarized light that requires medium immersion, and the other is polarized light (contact and non-contact dermoscopy). Compared with polarized light dermoscopy, non-polarized light under direct contact has sharper colors and less distortion, thus having higher illumination and resolution. Dermoscopy used for examining the scalp and hair is also called trichoscope. The dermoscopy is connected to a computer, and the images obtained can be transmitted and stored to the computer for subsequent analysis. According to an example embodiment, a first head skin image obtained by a dermatoscope, such as an image of an androgenic alopecia area, may be transmitted to an image server to which the dermatoscope is communicatively connected for image processing.

[0065] In S203, hair follicle positions are detected from the first head skin image as first key points.

[0066] According to some embodiments, the hair follicle position of the first head skin image may be segmented using a pre-trained image semantic segmentation model, and the obtained hair follicle position is used as the first key point. For example, a pre-trained U-Net deep learning model may be used to segment the hair follicle position, and the U-Net deep learning model may be pre-trained using a data set containing hair follicle annotations.

[0067] U-Net is a convolutional neural network (CNN) characterized by the use of a structure called "U-shaped", which consists of a contraction path and a symmetrical expansion path, where the contraction path is used to capture contextual information and the expansion path is used for precise positioning. In the contraction path, the network gradually reduces the spatial size of the feature map through continuous convolution and pooling layers, while increasing the number of feature channels. This allows more contextual information to be captured. In the expansion path, the network gradually restores the spatial size of the feature map through upsampling and convolution layers, while reducing the number of feature channels. This allows the target to be located more accurately. An important feature of U-Net is the skip connection, which connects the feature map in the contraction path with the feature map in the expansion path. This enables the upsampled feature map in the expansion path to obtain higher resolution features, thereby improving the accuracy of segmentation.

[0068] It is easy to understand that the technical solution of the present application can adopt other semantic segmentation neural network models other than U-Net, such as FCN, DeepLab, Mask R-CNN, etc.

[0069] In S205, a first image is drawn using the first key points.

[0070] According to an example embodiment, the key point image is redrawn using the first key points obtained by segmentation as the first image (see Figure 3 ) to position the dermatoscope when acquiring subsequent images.

[0071] In S207, an asymmetric area is selected and marked on the first image as a first positioning area to be matched.

[0072] According to some embodiments, the asymmetric region is a triangular region or a polygonal region.

[0073] According to some embodiments, the center point of the first image is located within the first positioning area. For example, one way to select the asymmetric area is to select four points on the coordinate axis with the center of the first image as the origin to obtain an asymmetric quadrilateral around the origin (see Figure 4 ).

[0074] In S209, the first head skin image and the first positioning area are stored.

[0075] According to an example embodiment, the first head skin image and the first positioning area are stored for subsequent comparative analysis of therapeutic effects and for positioning when a dermatoscope acquires images.

[0076] According to some embodiments, the first positioning area is saved as an image. According to other embodiments, the first positioning area is saved as a set of coordinate points.

[0077] At S211, a second head skin image from the dermatoscope is acquired.

[0078] According to an example embodiment, a second head skin image from the dermatoscope may be acquired after a certain period of time of treatment for, for example, androgenic alopecia.

[0079] In S213, hair follicle positions are detected from the second head skin image as second key points.

[0080] Referring to S203, according to an exemplary embodiment, a pre-trained image semantic segmentation model may be used to segment the hair follicle positions of the second head skin image, and the obtained hair follicle positions are used as second key points.

[0081] In S215, a second image is drawn using the second key points.

[0082] Referring to S205 , according to an example embodiment, the key point image is redrawn using the second key points obtained by segmentation as a second image.

[0083] At S217 , a second positioning area that is the same as the first positioning area is detected and marked in the second image.

[0084] According to some embodiments, a target detection method based on a pre-trained neural network may be used to detect and mark a second localization area in the second image that is identical to the first localization area (see Figure 5 ). For example, the pre-trained YOLOV7 neural network model can be used to detect the first positioning area. YOLO is a target detection algorithm that has been used to detect traffic signals, test proctoring, game aiming devices, and various industrial automation tools. It is easy to understand that those skilled in the art can also use other methods to detect the first positioning area, such as through RCNN, Fast RCNN, Faster RCNN, MaskRCNN and other neural network models or KD-Tree for detection.

[0085] In S219, the second image marked with the second positioning area is overlapped and superimposed on the first image marked with the first positioning area.

[0086] According to an exemplary embodiment, the second image marked with the second positioning area is overlapped and superimposed on the first image marked with the first positioning area (see Figure 6 ), based on the positional relationship, guide the operator to move the dermatoscope so that the second positioning area coincides with the first positioning area to determine the target image.

[0087] According to some embodiments, in order to avoid interference and influence of image details on operators, when the second image marked with the second positioning area is overlapped and superimposed on the first image marked with the first positioning area, the second image with only the outline of the second positioning area is overlapped and superimposed on the first image with the outline of the first positioning area, and other information other than the outline is eliminated (see Figure 6 ).

[0088] In order to ensure the accuracy of the evaluation, it is actually required to obtain images of the same part subsequently, that is, the first head skin image and the second head skin image should correspond to the same position of the head skin. The technical solution of the present invention extracts the positioning area, and detects the previously determined positioning area in the subsequent image after the image is acquired, so that the operator can move the dermatoscope until the second positioning area coincides with the first positioning area. At this time, the image obtained by the dermatoscope is the image obtained at the previous position, so it can be determined as the target image obtained this time. In this way, even if no invasive marking method is used, the consistency of the two positionings can be achieved.

[0089] Figure 7 A dermatoscope system according to an example embodiment is shown.

[0090] See also Figure 7 According to an exemplary embodiment, a dermatoscope system includes a dermatoscope 710 and an image server 720. The dermatoscope 710 is used to obtain a head skin image. The image server 720 is connected to the dermatoscope 710 for receiving the head skin image from the dermatoscope 710 and processing it.

[0091] like Figure 7 As shown, the image server 720 includes an image acquisition module 701 , a key point detection module 703 , a drawing module 705 , a marking module 707 , a matching module 709 , an overlay module 711 and a storage module 713 .

[0092] According to an example embodiment, the image acquisition module 701 is used to acquire a first head skin image and a second head skin image from the dermatoscope. For example, the image acquisition module 701 obtains a first head skin image, such as an image of an androgenic alopecia site, through a dermatoscope; and acquires a second head skin image, such as after a certain period of time of treatment of androgenic alopecia.

[0093] The key point detection module 703 is used to detect the hair follicle position from the first head skin image as the first key point and to detect the hair follicle position from the second head skin image as the second key point. As mentioned above, according to some embodiments, the hair follicle position can be segmented on the first and second head skin images using a pre-trained image semantic segmentation model, and the obtained hair follicle position can be used as the first and second key points. For example, the hair follicle position can be segmented using a pre-trained U-Net deep learning model.

[0094] The drawing module 705 is used to draw a first image using the first key points and to draw a second image using the second key points.

[0095] The marking module 707 is used to select and mark an asymmetric area on the first image as a first positioning area to be matched. As mentioned above, according to some embodiments, the asymmetric area is a triangular area or a polygonal area. According to some embodiments, the center point of the first image is located within the first positioning area.

[0096] The matching module 709 is used to detect and mark the second positioning area that is the same as the first positioning area in the second image. According to some embodiments, a target detection method based on a pre-trained neural network can be used to detect and mark the second positioning area that is the same as the first positioning area in the second image. For example, a pre-trained YOLOV7 neural network model can be used to perform first positioning area detection.

[0097] The overlay module 711 is used to overlap the second image marked with the second positioning area on the first image marked with the first positioning area, so as to guide the operator to move the dermatoscope so that the second positioning area overlaps with the first positioning area to determine the target image, which will not be repeated here.

[0098] The storage module 713 is used to store the first head skin image, the first image, the first positioning area and the target image. As mentioned above, according to some embodiments, the first positioning area is saved as an image. According to other embodiments, the first positioning area is saved as a set of coordinate points.

[0099] Figure 8 A block diagram of a computing device according to an example embodiment of the invention is shown.

[0100] like Figure 8 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.

[0101] 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.

[0102] 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.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] 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.

[0108] 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.

[0109] 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.

[0110] 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.

[0111] 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.

[0112] 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.

[0113] 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.

[0114] 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.

[0115] 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.

[0116] 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 a dermatoscope, the method being used to position a dermatoscope when acquiring a head skin image using the dermatoscope, characterized in that: The method comprises: Acquire a first head skin image from the dermatoscope; Detecting hair follicle positions from the first head skin image as first key points; Drawing a first image using the first key point; Selecting and marking an asymmetric area on the first image as a first positioning area to be matched; storing the first head skin image and the first positioning area; acquiring a second head skin image from the dermatoscope; Detecting hair follicle positions from the second head skin image as second key points; Drawing a second image using the second key point; Detecting and marking a second positioning area identical to the first positioning area in the second image; The second image marked with the second positioning area is overlapped and superimposed on the first image marked with the first positioning area, so as to guide the operator to move the dermatoscope so that the second positioning area overlaps with the first positioning area to determine the target image.

2. The method according to claim 1, characterized in that: Detecting hair follicle positions as first key points from the first head skin image includes: The hair follicle positions are segmented on the first head skin image using a pre-trained image semantic segmentation model.

3. The method according to claim 1, characterized in that The asymmetric area is a triangular area or a polygonal area.

4. The method according to claim 3, characterized in that The center point of the first image is located within the first positioning area.

5. The method according to claim 1, characterized in that Detecting and marking a second positioning area identical to the first positioning area in the second image, comprising: A second positioning area identical to the first positioning area is detected and marked in the second image using an object detection method based on a pre-trained neural network.

6. The method according to claim 1, characterized in that The method of overlapping the second image marked with the second positioning area with the first image marked with the first positioning area comprises: The second image having only the outline of the second positioning area drawn therein is overlapped and superimposed on the first image having the outline of the first positioning area drawn therein.

7. The method according to claim 1, characterized in that Also includes: The second head skin image when the second positioning area overlaps with the first positioning area is determined as the target image.

8. A dermatoscope system, characterized in that: include: a dermatoscope, which is used to obtain images of the skin on the head; An image server is communicatively connected to the dermatoscope, and is used to receive the head skin image from the dermatoscope and process it, wherein the image server comprises: An image acquisition module, used to acquire a first head skin image and a second head skin image from the dermatoscope; A key point detection module, configured to detect a hair follicle position from the first head skin image as a first key point and to detect a hair follicle position from the second head skin image as a second key point; A drawing module, configured to draw a first image using the first key point and draw a second image using the second key point; A marking module, used for selecting and marking an asymmetric area on the first image as a first positioning area to be matched; a matching module, configured to detect and mark in the second image a second positioning area identical to the first positioning area; a superposition module, used for superimposing the second image marked with the second positioning area on the first image marked with the first positioning area, so as to guide the operator to move the dermatoscope so that the second positioning area coincides with the first positioning area to determine the target image; A storage module is used to store the first head skin image, the first positioning area and the target image.

9. 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 7 when being executed by a processor.

10. 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 7.