Light therapeutic apparatus, data visualization method and device thereof, equipment and medium

By acquiring and comparing image data of skin lesion areas and calculating and visualizing skin recovery scores, the unintuitive problem of patients' treatment effect when using phototherapy devices at home is solved, and the treatment confidence and effect are significantly improved.

CN119494825APending Publication Date: 2025-02-21SICHUAN HUACHUAN XINGGUANG MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411551357.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-07-29
Filing Date
2024-11-01
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

When patients use phototherapy devices on their own at home, it is difficult to intuitively understand the treatment status and effects, resulting in insufficient treatment confidence and delayed treatment.

Method used

By acquiring and comparing image data for skin lesion areas, calculating skin recovery scores, and generating images through visual processing, helping patients and medical staff to intuitively understand the treatment effect.

Benefits of technology

It significantly improves patients' understanding of the effect of phototherapy treatment, enhances treatment confidence, and avoids treatment delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119494825A_ABST
    Figure CN119494825A_ABST
Patent Text Reader

Abstract

The invention discloses a light therapeutic apparatus and a data visualization method, device, equipment and medium thereof, and the data visualization method of the light therapeutic apparatus comprises the steps: obtaining a first lesion skin lesion region and a second lesion skin lesion region, the first lesion skin lesion region being obtained at a previous moment, and the second lesion skin lesion region being obtained at a later moment; performing contour alignment on the first lesion skin lesion area and the second lesion skin lesion area, comparing the sizes of the first lesion skin lesion area and the second lesion skin lesion area, and determining a skin recovery score; and summarizing and visualizing the skin restoration scores to generate a visualized image. By means of the method, the treatment result achieved after treatment can be more obviously displayed to the user, the user can more conveniently know the treatment effect of phototherapy treatment on the focus area, and the difficulty of understanding the effect brought by treatment understanding of the phototherapy instrument by the user is lowered.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is based on the Chinese patent application with application number CN202411022537.8 and application date July 29, 2024, and claims its priority. The entire contents of the application are hereby introduced as a whole into this application. Technical Field

[0002] The present invention relates to the technical field of medical devices, and in particular to a phototherapy device and a data visualization method, device, equipment and medium thereof. Background Art

[0003] Under the existing technology, the use of phototherapy, especially ultraviolet phototherapy, to treat skin diseases, especially vitiligo, has become a recognized effective treatment method. With the diversification of products and technological iterations, phototherapy equipment has entered thousands of households, allowing ordinary patients to use treatment equipment at home without having to go to professional medical institutions for treatment.

[0004] However, compared with professional phototherapy devices and supporting professional medical staff in institutions, there are some problems when patients use phototherapy devices at home. It is not easy for patients to intuitively understand the conditions treated by phototherapy devices, and they have insufficient knowledge of the treatment process and effects, which can easily lead to a loss of confidence in treatment and delay treatment. Summary of the invention

[0005] The embodiments of the present invention provide a phototherapy device and a data visualization method, device, equipment and medium thereof, aiming to solve the problem that it is difficult for patients to intuitively understand the conditions treated by the phototherapy device and their insufficient understanding of the treatment process and effects.

[0006] In a first aspect, an embodiment of the present invention provides a data visualization method for a light therapy device, comprising:

[0007] Acquire a first lesion skin area and a second lesion skin area, wherein the first lesion skin area is acquired at a previous moment, and the second lesion skin area is acquired at a later moment;

[0008] Aligning the contours of the first lesion area with the second lesion area, and comparing the sizes of the first lesion area with the second lesion area to determine a skin recovery score;

[0009] The skin rejuvenation scores are summarized and visualized to generate a visualization image.

[0010] In a data visualization method for a light therapy device provided by the present invention, the step of obtaining a first diseased skin lesion area includes: obtaining a first skin lesion image obtained by shooting; and obtaining the first diseased skin lesion area by calculation based on pixels corresponding to the first skin lesion image.

[0011] In a data visualization method for a light therapy device provided by the present invention, the step of calculating a first diseased skin lesion area based on pixels corresponding to the first skin lesion image includes: processing the first skin lesion image according to pixels to generate a first grid image; gray-scaling the first grid image to make the lesion area appear bright white and the non-lesion area appear dark; and calculating the size of the first diseased skin lesion area based on the number of bright white pixels.

[0012] In a data visualization method for a phototherapy device provided by the present invention, the step of obtaining a second diseased skin lesion area includes: drawing the upper, lower, left and right edges of the first skin lesion image to generate edge boundaries; identifying the lesion skin boundary based on the pixels corresponding to the first skin lesion image and drawing to generate a lesion boundary line; generating a positioning frame based on the edge boundary and the lesion boundary line; photographing the second skin lesion image through the positioning frame; and calculating the second diseased skin lesion area based on the pixels corresponding to the second skin lesion image.

[0013] In a data visualization method for a light therapy device provided by the present invention, the step of aligning the contours of the first lesion area and the second lesion area includes: establishing reference coordinates based on the first lesion area; and aligning the second lesion area with the reference coordinates.

[0014] In a data visualization method for a light therapy device provided by the present invention, the step of comparing the sizes of the first lesion area and the second lesion area to determine the skin recovery score includes: assigning an initial score based on the first lesion area; comparing the area difference between the first lesion area and the second lesion area; and adjusting the initial score based on the area difference to determine the skin recovery score.

[0015] In the second aspect, an embodiment of the present invention further provides a phototherapy device, comprising a head and a body, wherein the head comprises a camera module, a treatment module, a control module and a heat dissipation module, and the body comprises a power supply module and a communication module, and the phototherapy device is used to execute the steps of the above method.

[0016] In a third aspect, an embodiment of the present invention further provides a data visualization device for a phototherapy device, comprising a unit for executing the above-mentioned data visualization method for a phototherapy device.

[0017] In a fourth aspect, an embodiment of the present invention further provides a computer device, comprising a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to execute the steps of the data visualization method of the above-mentioned phototherapy device.

[0018] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the steps of the data visualization method of the above-mentioned phototherapy device can be implemented.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] In the technical solution of the present invention, images of the diseased skin of patients with skin diseases are acquired, and then the diseased skin lesion areas acquired multiple times are compared with each other through image processing, and the skin recovery score is determined based on the comparison results. Finally, the images are summarized and visualized to generate a visual image, so that the treatment results achieved after treatment can be more clearly displayed to the user, allowing the user to more conveniently understand the therapeutic effect of phototherapy on the lesion area and avoid delays in treatment. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0022] Figure 1 A flow chart of a data visualization method for a light therapy device provided by the present invention;

[0023] Figure 2 A sub-flow chart of a data visualization method of a light therapy device according to an embodiment of the present invention;

[0024] Figure 3 A sub-flow chart of a data visualization method of a light therapy device according to another embodiment of the present invention;

[0025] Figure 4 A sub-flow chart of a data visualization method of a light therapy device according to another embodiment of the present invention;

[0026] Figure 5 A three-dimensional view a of a light therapy device provided by the present invention;

[0027] Figure 6 A three-dimensional view b of a phototherapy device provided by the present invention;

[0028] Figure 7 A cross-sectional view of a phototherapy device provided by the present invention;

[0029] Figure 8A schematic block diagram of a unit of a data visualization device of a light therapy device provided by the present invention;

[0030] Fig. 9 A schematic block diagram of a computer device provided for an embodiment of the present invention;

[0031] Description of figure markings:

[0032] 3. Head; 31. Camera module; 311. Camera; 312. Camera base; 32. Treatment module; 321. Light board; 322. Filter; 33. Control module; 331. Display screen; 332. Control button; 333. Functional PCB board; 34. Heat dissipation module; 341. Heat sink; 342. Cooling fan; 343. Cooling vent;

[0033] 4. Body; 41. Power supply module; 411. Power switch; 412. Battery; 413. Charging port; 42. Communication module. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0036] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0037] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0038] Reference Figures 1 to 4 As shown, an embodiment of the present application provides a data visualization method for a light therapy device, which may include the following steps:

[0039] S100: Acquire a first lesion skin region and a second lesion skin region, wherein the first lesion skin region is acquired at a previous moment, and the second lesion skin region is acquired at a later moment.

[0040] In this embodiment, the first lesion skin lesion area is the area occupied by the skin lesion of the lesion area obtained in the previous treatment, the previous moment is the time point of the previous treatment, the second lesion skin lesion area is the area occupied by the skin lesion of the lesion area obtained in the later treatment, and the later moment is the time point of the later treatment. By obtaining the area occupied by the skin lesion, the pathological condition of the patient's lesion area can be reflected very intuitively, and by obtaining the lesion area at least twice or more at different treatment time nodes, multiple comparison groups with time as the first variable can be formed for patients or medical staff to observe and obtain pathological information.

[0041] In one embodiment, referring to Figure 2 The step of obtaining the first lesion area includes:

[0042] S110: Acquire a first skin lesion image;

[0043] S120: Obtain a first skin lesion area based on the pixels corresponding to the first skin lesion image.

[0044] In the present embodiment, the skin lesion picture refers to an image file reflecting the condition of the lesion area of ​​a skin disease patient obtained by photographing a photographic device or a phototherapy device with a photographic device. When photographing using a photographic device or a phototherapy device with a photographic device, in order to make the photographed file meet the needs of subsequent use so as to calculate the skin lesion area, it is necessary to shoot according to some standards, including selecting the photographing area and adjusting the angle of the photographing by artificially preset or by software calculated reference standards. In order to enhance the expressiveness of imaging, it is usually necessary to fill in the light before taking pictures, or for some special pathological conditions, it is necessary to use special lighting to illuminate the lesion area after imaging so as to make it easier to distinguish, for example, for the vitiligo lesion area, normal skin is pale white or grayish white under ultraviolet light, while the lesion part of the vitiligo lesion area is porcelain white under ultraviolet light, and the boundary is clear, so it is usually necessary to supplement with ultraviolet light when taking the skin lesion pictures of vitiligo patients so as to obtain the best picture of the lesion area condition. After obtaining the first skin lesion image, it is possible to distinguish whether a certain pixel in the image represents a lesion area based on the color number of the pixel corresponding to the first skin lesion image. Since the colors presented by normal skin and lesion skin are different, the pixel points representing normal skin and the pixel points representing lesion skin can be divided according to the color number range of the pixel points in the image, and then the number of pixel points representing lesion skin is counted, combined with the total number of pixels in the entire image, and finally the first lesion skin lesion area is calculated.

[0045] In particular, since the images captured by the camera itself are two-dimensional images, for skin areas with larger curvature on the human body, such as arms and legs, the two-dimensional images captured at a single area position cannot accurately reflect the patient's entire skin lesion condition. Therefore, for skin areas with larger curvature, image processing and splicing will be performed after taking the picture, and the software will be calibrated to obtain a skin lesion image that can fully reflect the patient's entire skin lesion condition, and then the corresponding diseased skin lesion area will be calculated based on the pixels corresponding to the skin lesion image.

[0046] In one embodiment, referring to Figure 3 The step of calculating the first skin lesion area based on the pixels corresponding to the first skin lesion image comprises:

[0047] S121: Processing the first skin lesion image according to pixels to generate a first grid image;

[0048] S122: grayscale the first grid image so that the lesion area appears bright white and the non-lesion area appears dark;

[0049] S123: Calculate the size of the first lesion area according to the number of bright white pixels.

[0050] In this embodiment, the grid image refers to an image file in which each pixel or pixel matrix is ​​divided by longitude and latitude in the image, and the lesion area refers to an area composed of continuous pixels or pixel matrix that can represent the diseased skin, and the non-lesion area refers to an area composed of continuous pixels or pixel matrix that can represent normal skin. The first skin lesion image is gridded according to the pixels, and the longitude and latitude arranged in the horizontal and vertical directions are given to the image to generate the first grid image. The pixels are digitized by the gridded file to facilitate recording the position and color attributes of each pixel or pixel matrix. Then the first grid image is grayscale processed so that the lesion area is bright white and the non-lesion area is dark. After the grayscale processing is two-colorized, the number range of colors carried by the image to be subsequently calculated for area is reduced. For example, the colors carried by the pixels carried by the original image include sixty-four colors, and after the above adjustment, there are only 16 colors, which reduces the calculation difficulty for the computer to determine whether the color carried by the pixel represents the skin of the lesion area or the normal skin, and improves the processing efficiency. Afterwards, since it is known that the lesion area is bright white, the size of the first lesion skin lesion area can be calculated based on the number of pixels showing bright white.

[0051] In one embodiment, referring to Figure 2 The step of obtaining the second lesion area includes:

[0052] S130: Drawing the upper, lower, left, and right edges of the first skin lesion image to generate edge boundaries;

[0053] S140: Identifying the lesion skin boundary based on the pixels corresponding to the first skin lesion image and drawing to generate a lesion boundary line;

[0054] S150: generating a positioning frame according to the edge boundary and the lesion boundary line;

[0055] S160: photographing a second skin lesion image using the positioning frame;

[0056] S170: Obtain a second skin lesion area based on the pixels corresponding to the second skin lesion image.

[0057] In this embodiment, the edge boundary refers to the overall reference obtained by drawing the border of the skin lesion image, the lesion boundary line refers to the boundary depiction of the area composed of continuous pixel points that only appear as lesion skin in the skin lesion image, as a reference for the shape and position of the lesion area, and the positioning frame refers to the reference information that provides the positioning basis for the photographic device or the phototherapy device with a photographic device when the next skin lesion image is obtained. As the treatment progresses and time changes, the skin in the lesion area will also change, including the curvature of the skin, the area and shape of the lesion area, or new lesion areas may be generated. Therefore, in order to make each skin lesion image obtained fully reflect the lesion area status during the current treatment, and to make the comparison of the lesion skin lesion area calculated from multiple skin lesion images more accurate, it is necessary to rely on each skin lesion image obtained to update the positioning information of the photographic device or the phototherapy device with a photographic device when shooting. By drawing the upper, lower, left and right edges of the skin lesion image to generate edge boundaries, a reference can be obtained, and then the pixels corresponding to the skin lesion image are identified to obtain the lesion skin boundary and draw to generate the lesion boundary line to obtain another reference. The shape and position relationship between the above two references can be used to confirm the positioning frame of the re-positioning information of the photographic device or the phototherapy device with a photographic device during the next shooting. In actual operation, the edge boundary is generally used to determine the boundary of the photographic device or the phototherapy device with a photographic device during shooting, so as to avoid that some lesion area skin is not photographed, and the lesion boundary line is the accurate positioning of the lesion area in the picture, so as to ensure that the angle of the photo, the degree of illumination and the clarity of the photo are as small as possible from the previous time, so that the final skin lesion image is fully representative. In the subsequent treatment, the next skin lesion image is obtained by shooting through the above positioning frame, and then the corresponding lesion skin lesion area is calculated based on the pixels corresponding to the skin lesion image. After multiple treatments, multiple lesion skin lesion areas obtained at different times can be obtained.

[0058] S200: Aligning the contours of the first lesion area with the second lesion area, and comparing the sizes of the first lesion area with the second lesion area to determine a skin recovery score;

[0059] In this embodiment, the skin recovery score refers to a score used to evaluate the treatment effect. Since the first lesion area and the second lesion area are obtained under different conditions, the contours must be aligned by changing the size or rotating them to make them comparable, and then a ratio score can be obtained by comparing the sizes of the first lesion area and the second lesion area. The ratio score is defined as the skin recovery score to evaluate the effect of skin phototherapy.

[0060] In one embodiment, referring to Figure 4 The step of aligning the contours of the first lesion area and the second lesion area comprises:

[0061] S210: establishing reference coordinates according to the first lesion area;

[0062] S220: Align the second lesion area with the reference coordinates.

[0063] In this embodiment, a reference coordinate is established for the first lesion area, so that a reference is provided for the alignment of the second lesion area acquired subsequently. The specific reference coordinate established will vary according to the shape and position of the first lesion area. After acquiring the second lesion area, it is aligned with the above-mentioned reference coordinate, and the contour alignment of the first lesion area and the second lesion area can be completed.

[0064] In one embodiment, referring to Figure 4 The step of comparing the sizes of the first lesion area and the second lesion area to determine the skin recovery score comprises:

[0065] S230: assigning an initial score according to the first lesion area;

[0066] S240: comparing the area difference between the first lesion area and the second lesion area;

[0067] S250: Adjust the initial score according to the area difference to determine a skin recovery score.

[0068] In this embodiment, the initial score refers to a benchmark score that reflects the condition of the lesion area at the beginning of treatment or the last treatment. The initial score is assigned according to the first lesion area, and the area difference between the first lesion area and the second lesion area is compared. The initial score is adjusted according to the area difference to determine the skin recovery score. In actual use, the lesion area may have many complex situations. For example, its distribution may be scattered and unconcentrated, or the lesion area may be in contact with the scar, which will affect the comparison. Therefore, the software will be used to segment the lesion area and classify and assign points, so that the subsequent calculation of the area difference is more accurate. When the area of ​​the lesion area is reduced after treatment, the initial score will be increased to obtain a better score to reflect the good treatment effect.

[0069] S300: Summarize and visualize the skin scores to generate a visualization image.

[0070] In this embodiment, the visual image refers to an image such as a table, a line graph or a bar graph that can be intuitively viewed and understood by the patient or medical staff, so that the patient or medical staff can quickly understand the effect of the treatment. After obtaining multiple skin recovery scores, a visual chart or image with the skin recovery score of each time as the vertical axis can be generated with time or the number of treatment sequences as the horizontal axis. Through these charts or images, patients can clearly understand the treatment status of their phototherapy, which makes it easier to understand their own symptoms and boost their confidence to persist in treatment.

[0071] Through the present invention, the treatment results achieved after treatment can be more clearly displayed to the user, allowing the user to more conveniently understand the therapeutic effect of phototherapy on the lesion area, thereby reducing the difficulty for the user to understand the efficacy of phototherapy.

[0072] An embodiment of the present invention provides a light therapy device, referring to Figure 5 , 6and 7, executing the above-mentioned data visualization method of the light therapy device, the light therapy device includes a head 3 and a body 4, the head 3 includes: a camera module 31, a treatment module 32, a control module 33 and a heat dissipation module 34, and the body 4 includes a power supply module 41 and a communication module 42. The camera module 31 includes a camera 311 and a camera base 312, the camera 311 is used to collect skin lesion pictures, and the camera base 312 is used to adjust the angle of the camera 311. The treatment module 32 includes a light-emitting lamp board 321 and a filter 322, the light-emitting lamp board 321 is used to emit light for light therapy, and the filter 322 is used to filter some light. The light board 321 includes an infrared light source and an ultraviolet light source. The infrared light source is used to emit infrared rays of 815nm to 845nm, with a peak wavelength of 830nm and an infrared radiation intensity of 200 to 500mW / cm2. The ultraviolet light source is used to emit ultraviolet rays of 300nm to 320nm, with a peak wavelength of 308nm and an ultraviolet radiation intensity of 10 to 50mW / cm2. The control module 33 includes a display screen 331, a control button 332 and a functional PCB board 333. All programs carried by the phototherapy device are carried by the functional PCB board 333. The user can interact with the display screen 331 and the control button 332. The heat dissipation module 34 includes a heat sink 341, a heat dissipation fan 342 and a heat dissipation vent 343. The heat sink 341 is attached to the light board 321 to dissipate heat for the light board 321. The heat dissipation fan 342 cools the heat sink 341 by blowing air. The air blown by the heat dissipation fan 342 is discharged from the phototherapy device through the heat dissipation vent 343. The power supply module 41 includes a power supply circuit (not shown in the figure), a power switch 411, a battery 412 and a charging port 413. The battery 412 and the charging port 413 are connected through the power supply circuit to realize charging, and each component is connected to the battery 412 through the power supply circuit to realize power supply. Two power switches 411 are arranged to control the power on and off of the phototherapy device. The communication module 42 is used to realize the communication between the phototherapy device and the remote server. In actual use, due to the size and cost of the phototherapy device itself, the skin lesion image will be uploaded to the server through the communication module 42 for processing and then sent down for reception. At the same time, the treatment data in the phototherapy device and the recorded data on the server will be sent down to other terminals of the user or doctor to realize interconnection.

[0073] The data visualization device 600 of a light therapy device provided by the embodiment of the present invention is referred to Figure 8 , corresponding to the above-mentioned data visualization method of the light therapy device, the device can be configured in the light therapy device, mobile phone or computer terminal. Figure 5 The data visualization device 600 of the light therapy device includes an acquisition unit 601, an alignment unit 602 and a visualization unit 603.

[0074] Among them, the acquisition unit is used to acquire the first lesion skin lesion area and the second lesion skin lesion area, wherein the first lesion skin lesion area is acquired at a previous moment, and the second lesion skin lesion area is acquired at a later moment; the alignment unit is used to align the contours of the first lesion skin lesion area and the second lesion skin lesion area, and compare the sizes of the first lesion skin lesion area and the second lesion skin lesion area to determine the skin recovery score; the visualization unit is used to summarize and visualize the skin scores to generate a visualization image.

[0075] In one embodiment, the acquisition unit includes: a first acquisition unit and a first calculation unit.

[0076] Among them, the first acquisition unit is used to acquire the first skin lesion image obtained by taking a photo; the first calculation unit is used to calculate the first lesion skin lesion area based on the pixels corresponding to the first skin lesion image.

[0077] In one embodiment, the first calculation unit includes: a gridding unit, used to process the first skin lesion image according to pixel points to generate a first grid image; a graying unit, used to grayscale the first grid image so that the lesion area appears bright white and the non-lesion area appears dark; and a size calculation unit, used to calculate the size of the first diseased skin lesion area according to the number of bright white pixels.

[0078] In one embodiment, the acquisition unit also includes: a first boundary drawing unit, used to draw the upper, lower, left and right edges of the first skin lesion image to generate an edge boundary; a second boundary drawing unit, used to identify the lesion skin boundary based on the pixels corresponding to the first skin lesion image and draw to generate a lesion boundary line; a positioning frame generating unit, used to generate a positioning frame according to the edge boundary and the lesion boundary line; a second acquisition unit, used to obtain a second skin lesion image by photographing with the positioning frame; a second calculation unit, used to calculate a second diseased skin lesion area based on the pixels corresponding to the second skin lesion image.

[0079] In one embodiment, the alignment unit includes: a coordinate establishing unit, used to establish a reference coordinate according to the first lesion skin area; and a first alignment unit, used to align the second lesion skin area with the reference coordinate.

[0080] In one embodiment, the alignment unit also includes: an initial score unit, which assigns an initial score according to the first lesion skin lesion area; an area comparison unit, which compares the area difference between the first lesion skin lesion area and the second lesion skin lesion area; and a recovery score determination unit, which adjusts the initial score according to the area difference to determine the skin recovery score.

[0081] The data visualization device of the above-mentioned light therapy device can be implemented in the form of a computer program. The computer program can be used in Fig. 9 Runs on the computer device shown.

[0082] See also Fig. 9 , Fig. 9 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 can be a terminal or a server, wherein the terminal can be an electronic device with communication function such as a smart phone, a computer, and a phototherapy device. The server can be an independent server or a server cluster composed of multiple servers.

[0083] See also Fig. 9 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0084] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a data visualization method for a light therapy device.

[0085] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0086] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a data visualization method for a light therapy device.

[0087] The network interface 505 is used to communicate with other devices over the network. Fig. 9 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0088] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of the above method.

[0089] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0090] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0091] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the above method.

[0092] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0093] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0094] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0095] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0096] 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 storage medium. Based on this understanding, the technical solution of the present invention is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0097] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A data visualization method for a light therapy device, characterized in that: include: Acquire a first lesion skin area and a second lesion skin area, wherein the first lesion skin area is acquired at a previous moment, and the second lesion skin area is acquired at a later moment; Aligning the contours of the first lesion area with the second lesion area, and comparing the sizes of the first lesion area with the second lesion area to determine a skin recovery score; The skin rejuvenation scores are summarized and visualized to generate a visualization image.

2. The data visualization method of the light therapy device according to claim 1, characterized in that: The step of obtaining the first lesion skin lesion area comprises: Acquire a first photographed skin lesion image; A first skin lesion area is obtained by calculation based on pixels corresponding to the first skin lesion image.

3. The data visualization method of the light therapy device according to claim 2, characterized in that: The step of calculating the first skin lesion area based on the pixels corresponding to the first skin lesion image comprises: Processing the first skin lesion image according to pixel points to generate a first grid image; Grayscale processing is performed on the first grid image so that the lesion area appears bright white and the non-lesion area appears dark; The size of the first lesion area is calculated according to the number of bright white pixels.

4. The data visualization method of the light therapy device according to claim 2, characterized in that: The step of obtaining the second lesion skin lesion area comprises: Drawing the upper, lower, left, and right edges of the first skin lesion image to generate edge boundaries; Identify the lesion skin boundary based on the pixels corresponding to the first skin lesion image and draw it to generate a lesion boundary line; Generate a positioning frame according to the edge boundary and the lesion boundary line; Taking a picture through the positioning frame to obtain a second skin lesion picture; The second skin lesion area is obtained based on the pixels corresponding to the second skin lesion image.

5. The data visualization method of the light therapy device according to claim 1, characterized in that: The step of aligning the contours of the first lesion area and the second lesion area comprises: Establishing reference coordinates according to the first lesion area; Aligning the second lesion area with the reference coordinates.

6. The data visualization method of the light therapy device according to claim 1, characterized in that: The step of comparing the sizes of the first lesion area and the second lesion area to determine the skin recovery score comprises: Assigning an initial score according to the area of ​​the first lesion; comparing the area difference between the first lesion area and the second lesion area; The initial score is adjusted based on the area difference to determine a skin restoration score.

7. A phototherapy device, characterized in that: It includes a head and a body, the head includes a control module and a camera module, a treatment module and a heat dissipation module connected to the control module, the body includes a power supply module for powering the head and a communication module for communication, and the phototherapy device is used to perform the steps of the method as described in any one of claims 1-6.

8. A data visualization device for a light therapy device, characterized in that: A unit comprising the method according to any one of claims 1 to 6.

9. A computer device, characterized in that: The computer device comprises a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 can be implemented.