Varicosity marking method, device and program product

By obtaining the varicose site images for detection, the developer coating path and dose are determined, and varicose veins labeling is used to solve the safety and accuracy of varicose veins development, and the rapid and accurate development of varicose veins is achieved.

CN120355652AActive Publication Date: 2025-07-22XUANWU HOSPITAL OF CAPITAL UNIV OF MEDICAL SCI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510336768.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-07-22
Estimated Expiration
2045-03-20

AI Technical Summary

Technical Problem

In the prior art, varicose developer injections have risks such as thrombosis and phlebitis, making it difficult to achieve convenient, fast and accurate development of varicose parts.

Method used

By obtaining the image of the varicose vein site for color and flatness detection, determining the coating path and dose of the developer, using developer coating for varicose veins, and adjusting the coating scheme in combination with image detection to ensure that the development effect meets the preset standards.

Benefits of technology

Fast development of varicose veins is achieved, the risk of developer injection is avoided, and the accuracy and safety of labeling is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120355652A_ABST
    Figure CN120355652A_ABST
Patent Text Reader

Abstract

The invention discloses a varicosity marking method, a varicosity marking device and a program product. The method comprises the following steps: acquiring an image of a varicosity part to be marked, and performing color detection and flatness detection on the varicosity part in the image to obtain a detection result; the detection result is used for representing the form of the varicosity part and the severity of different positions of the varicosity part; determining a coating path of a developing agent according to the form of the varicosity part, and determining the coating dosage of the developing agent at the corresponding position according to the severity of different positions of the varicosity part; the coating path covers the varicosity part to be marked; and according to the coating path and the coating doses at different positions of the varicosity, the varicosity part to be marked is coated with a developing agent, and the varicosity part is marked. By adopting the method, the varicose vein part can be developed conveniently and quickly, and meanwhile, the marking accuracy of the varicose vein part is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical detection technologies, and particularly to a varicose vein marking method, device, and program product. Background Art

[0002] Varicose veins are a common vascular disease caused by reasons such as blood stasis and weak vein walls, and usually manifested as venous tortuosity and dilation, skin changes. Varicose vein angiography is an important means in the treatment process of varicose veins, which can be used to determine the lesion site and degree, evaluate the blood flow condition, guide surgical treatment, etc.

[0003] Currently, it is common to inject a contrast agent at the varicose vein site to achieve the positioning of the lesion site and provide a guiding basis for subsequent surgeries. However, intravenous injection of the contrast agent has risks such as triggering thrombosis and causing phlebitis. Summary of the Invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a varicose vein marking method, device, and program product that can achieve convenient and rapid imaging of varicose vein sites while ensuring the marking accuracy of varicose vein sites.

[0005] In a first aspect, this application provides a varicose vein marking method. The method includes: Obtain an image of the varicose vein site to be marked, perform color detection and flatness detection on the varicose vein site in the image to obtain a detection result; the detection result is used to characterize the morphology of the varicose vein site and the severity at different positions of the varicose vein site; Determine the coating path of the contrast agent according to the morphology of the varicose vein site, and determine the coating dose of the contrast agent at the corresponding position according to the severity at different positions of the varicose vein site; the coating path covers the varicose vein site to be marked; Coat the varicose vein site to be marked with the contrast agent according to the coating path and the coating dose at different positions of the varicose vein to mark the varicose vein site.

[0006] In combination with the first aspect, in a possible implementation manner, coating the varicose vein site to be marked with the contrast agent according to the coating path and the coating dose at different positions of the varicose vein to mark the varicose vein site includes: after each coating, detect the imaging effect of the varicose vein site after coating until the imaging effect of the varicose vein site after coating reaches a preset effect, then stop coating the varicose vein site to be marked, and complete the marking of the varicose vein site.

[0007] In combination with the first aspect, in a possible implementation, the developer is applied to the varicose vein site to be marked according to the coating path and the coating dose at different positions of the varicose vein, and the varicose vein site is marked, including: after each coating, an image of the varicose vein site after coating is acquired, and color detection and flatness detection are performed on the image of the varicose vein site after coating to obtain the detection result of the varicose vein site after coating; according to the detection result of the varicose vein site after coating, the coating path of the developer and the coating dose at different positions of the varicose vein are re-determined; the developer is applied to the varicose vein site for the next time according to the re-determined coating path and the coating dose at different positions of the varicose vein.

[0008] In combination with the first aspect, in a possible implementation, the development effect of the varicose vein site after coating is detected, including: an image of the varicose vein site after coating is acquired, and color detection and flatness detection are performed on the varicose vein site after coating according to the marked image of the varicose vein site to obtain the detection result of the varicose vein site after coating; the difference between the detection result of the varicose vein site after coating and the detection result of the varicose vein site before coating is determined; the development effect of the varicose vein site after coating is determined according to the difference.

[0009] In combination with the first aspect, in a possible implementation, the determination process for the development effect of the varicose vein site after coating to reach the preset effect includes: if the difference is less than or equal to the preset difference threshold, it is determined that the development effect of the marked varicose vein site reaches the preset effect.

[0010] In combination with the first aspect, in a possible implementation, the varicose vein marking method further includes: after each coating, the coating times are recorded until the coating times reach the preset times, and the application of the developer to the varicose vein site to be marked is stopped, and the marking of the varicose vein site is completed.

[0011] In combination with the first aspect, in a possible implementation, color detection and flatness detection are performed on the varicose vein site in the image to obtain the detection result, including: color detection is performed on the varicose vein site in the image to obtain the hue and lightness at different positions of the varicose vein site; flatness detection is performed on the varicose vein site in the image to obtain the flatness at different positions of the varicose vein site; the shape of the varicose vein site is determined according to the hue and flatness at different positions of the varicose vein site; the severity at different positions of the varicose vein site is determined according to the lightness and flatness at different positions of the varicose vein site.

[0012] In combination with the first aspect, in a possible implementation, the varicose vein marking method further includes: sending a review request to a reviewer, where the review request includes the image of the varicose vein part after marking; receiving the review result returned by the reviewer, and correcting the image of the varicose vein part after marking according to the review result; the review result includes the marking result of the varicose vein part by the reviewer.

[0013] In a second aspect, the present application also provides a varicose vein marking device. The device includes an imaging device, a control device, and a marking device. The imaging device is configured to acquire an image of the varicose vein part to be marked and send the image to the control device. The control device is configured to perform color detection and flatness detection on the varicose vein part in the received image to obtain a detection result; plan the coating path of the developer according to the shape of the varicose vein part, and determine the coating dose of the developer at corresponding positions according to the severity of different positions of the varicose vein part; the detection result is used to characterize the shape of the varicose vein part and the severity of different positions of the varicose vein part; the coating path covers the varicose vein part to be marked. The marking device is configured to coat the varicose vein part to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and mark the varicose vein part.

[0014] In a third aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in the first aspect.

[0015] In a fourth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the method described in the first aspect.

[0016] Embodiments of the present application provide a varicose vein marking method, device, and program product. First, an image of the varicose vein site is obtained, and color detection and / or flatness detection are performed on the varicose vein site to be marked based on the image of the varicose vein site, obtaining a detection result. Then, according to the initial detection result of the varicose vein site, the coating path of the developer and the coating dose at different positions of the varicose vein site are determined, and the developer is coated on the varicose vein site to be marked according to the coating path and the coating dose, completing the marking of the varicose vein site to be marked. The method provided by the embodiments of the present application uses the developer to perform a developing process on the varicose vein site by coating, which can achieve more convenient and rapid development of the varicose vein site compared with the method of injecting the developer, and can avoid the damage to the human body caused by injecting the developer. In addition, the present application first obtains the detection result of the varicose vein site to be marked through image detection, and controls the coating path and coating dose of the developer according to the detection result, making the coating scheme of the developer more in line with the shape and state (severity) of the varicose vein site, ensuring the effectiveness of the developer coating, that is, ensuring the accuracy of the varicose vein site marking. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Other features, objects, and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings: Figure 1 It is a schematic structural diagram of a varicose vein marking device in an embodiment; Figure 2 It is a schematic flowchart of a varicose vein marking method in an embodiment; Figure 3 It is another schematic flowchart of a varicose vein marking method in an embodiment; Figure 4 It is another schematic flowchart of a varicose vein marking method in an embodiment; Figure 5 It is another schematic flowchart of a varicose vein marking method in an embodiment; Figure 6 It is another schematic flowchart of a varicose vein marking method in an embodiment; Figure 7 It is an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0018] The present application will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention and are not intended to limit the invention. In addition, it should be noted that for the sake of description, only parts related to the invention are shown in the drawings.

[0019] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and in combination with the embodiments. Additionally, the term "and / or" in this article merely describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe the specific order of the objects.

[0020] The varicose vein marking method provided by the embodiments of the present application can be applied to a varicose vein marking device as shown in Figure 1 The varicose vein marking device includes an imaging device 10, a control device 20, and a marking device 30. The imaging device 10 is used to obtain an image of the varicose vein part to be marked, such as the leg image of the marked object in the figure. The control device 20 is used to confirm the specific position of the varicose vein according to the image and control the marking device 30 to coat the developer according to the confirmed varicose vein position, so as to realize the automatic detection and marking of the varicose vein part.

[0021] In one embodiment, a varicose vein marking method is provided, and the method includes steps as shown in Figure 2 the following: Step 101: Obtain an image of the varicose vein part to be marked, perform color detection and flatness detection on the varicose vein part in the image, and obtain a detection result.

[0022] In the embodiments of the present application, the imaging device 10 takes a picture of the varicose vein part of the marked object to obtain an image of the varicose vein part, and then transmits the image to the control device 20 in a wired or wireless manner.

[0023] It can be understood that the part of the varicose vein often presents a color darker than the skin color, such as cyan, red, purple, etc.; or presents an earthworm-like bulge, or both. Therefore, the color detection, or the flatness detection, or both the color detection and the flatness detection can be performed on the varicose vein part to be marked according to the image of the varicose vein part, and a detection result of the varicose vein part is obtained.

[0024] Among them, the detection result can include the morphological parameters of the varicose vein part to be marked and the severity at different positions of the varicose vein part to be marked. The morphological parameters are used to characterize the line shape of the varicose vein and the vein width at different varicose vein positions. The severity at different positions of the varicose vein part to be marked can be represented by a grade, such as severe, relatively severe, mild; or can be represented by a number, for example, 1, 2, 3, 4, 5, and the larger the number, the higher the severity.

[0025] In the embodiments of the present application, the control device 20 can perform color detection and / or flatness detection on the varicose vein area image through a pre-trained varicose vein area detection model to obtain a color detection result and / or a flatness detection result, and analyze the color detection result and / or the flatness detection result to obtain the varicose vein area detection result. Specifically, since there are certain differences between the color of the varicose vein area and that of the non-varicose vein area, and there are certain differences between the flatness of the varicose vein area and that of the non-varicose vein area, the specific position of varicose veins in the image, the line shape of the veins, the width at different vein positions, the concavity and convexity at different vein positions, the degree of concavity and convexity, etc. can be determined through the color detection result and / or the flatness detection result. Furthermore, the morphological parameters of the varicose vein area and the severity at different positions can be analyzed. The depth of the color and the flatness at different positions of the varicose vein area can also characterize the severity at different positions of the varicose vein area. It can be understood that the color is positively correlated with the severity, that is, the darker the color, the more severe the varicose veins; the flatness is negatively correlated with the severity, that is, the flatter the surface of the varicose vein area, the less severe the varicose veins.

[0026] Regarding the training process of the varicose vein area detection model: Multiple varicose vein area images can be obtained first, and color marking and / or flatness marking can be performed on the varicose vein areas in the multiple varicose vein area images to obtain sample images. Then, the sample images are divided into a training set and a test set, and the initial model is trained until the model accuracy reaches the preset accuracy, and then the varicose vein area detection model is obtained.

[0027] Step 102: Determine the coating path of the developer according to the morphology of the varicose vein area, and determine the coating dose of the developer at the corresponding position according to the severity at different positions of the varicose vein area.

[0028] Among them, the coating path covers the varicose vein area to be marked.

[0029] In the embodiments of the present application, the coating starting point, coating end point, and the coating path between the coating starting point and the coating end point of the developer for the varicose vein area to be marked can be determined according to the morphological parameters of the varicose vein area to be marked. The planned coating path should cover each varicose vein of the varicose vein area to be marked to ensure the effectiveness and comprehensiveness of the development of the varicose vein area to be marked, that is, to ensure the accuracy of the marking of the varicose vein area.

[0030] In a possible implementation manner, for the varicose vein area to be marked with a complex morphology, multiple relative coating starting points and coating end points can be planned. Correspondingly, there can be multiple coating paths in the coating scheme.

[0031] The severity of varicose veins at different positions of the varicose vein part to be marked is different. For relatively severe varicose vein positions, the coating dose of the developer can cover the varicose vein part. For example, the width after coating the developer at this dose can be greater than the width of the varicose vein at the corresponding position. For varicose vein positions with a relatively low severity, since their color, flatness, etc. are not obvious compared to other varicose vein positions, relatively more developer can be coated to ensure effective imaging of varicose veins with a relatively low severity.

[0032] Therefore, the coating doses of the developer at different positions of the varicose vein part to be marked are different, that is, the doses of the developer coated on different sections of the coating path are different. Specifically, the severity at different positions of the varicose vein part to be marked and the coating dose of the developer can be negatively correlated.

[0033] Step 103: Coat the developer on the varicose vein part to be marked according to the coating path and the coating doses at different positions of the varicose veins, and mark the varicose vein part.

[0034] In the embodiment of the present application, after determining the coating path and the coating dose, the control device 20 can control the marking device 30 to move from the starting point to the end point of each coating path, and during the movement, export the developer to coat the varicose vein part of the marking object. While controlling the movement of the marking device 30 according to the coating path, the control device 20 controls the developer export dose of the marking device 30 according to the coating doses at different positions of the varicose veins to ensure the accuracy of the developer coating.

[0035] In a possible implementation, the present application can mark varicose veins for the case where the marked object lies flat before surgery. In this case, the color and unevenness of the varicose vein part of the marked object are not obvious. Therefore, before obtaining the image of the varicose vein part to be marked, a large-scale and comprehensive coating can be performed on the varicose vein part of the marked object, so that the varicose vein part of the varicose vein object to be marked is preliminarily developed. At the same time, it can avoid missing the varicose vein part area where the varicose veins are not obvious, and ensure the effectiveness and comprehensiveness of the development. That is, for the marked object lying flat before surgery, during the first coating, first perform a large-scale coating on the varicose vein part, and then obtain the image of the varicose vein part to be marked. Based on the image, perform color detection and flatness detection, and after determining the coating path and coating dose according to the detection results, perform a second coating. And during the second coating, apply the developer to the varicose vein part to be marked according to the above coating path and the coating dose at different positions of the varicose veins, so as to increase the clarity of the preliminarily developed varicose vein part and ensure the marking accuracy of the varicose vein part. The present application marks varicose veins for the case where the marked object lies flat before surgery, and can also avoid the problem that the marked object moves greatly from the time after the varicose vein part is marked to before surgery, resulting in a large difference between the image of the varicose vein part to be marked and the preoperative image, thereby affecting the intraoperative effect.

[0036] In a possible implementation, to ensure the marking effect of the varicose vein part, the varicose vein part can be coated with the developer multiple times to ensure clear development of the varicose vein part. For the case of multiple coatings, after each coating, detect the development effect of the varicose vein part after coating until the development effect of the varicose vein part after coating reaches the preset effect, and then stop coating the developer on the varicose vein part to be marked, and complete the marking of the varicose vein part.

[0037] Among them, the development effect can be the clarity of the varicose vein part, and the preset effect can be the preset clarity threshold.

[0038] In the embodiment of the present application, in the case of coating the varicose vein part with the developer multiple times, after each coating, an image of the varicose vein part after coating can be taken, and through image processing of the image of the varicose vein part after coating, the clarity of the varicose veins after the developer is coated can be determined until the clarity of the varicose veins after the developer is coated reaches the preset clarity threshold, indicating that the development effect of the varicose vein part is good and clear enough to visually display the varicose vein symptoms of the marked object, which is convenient for subsequent surgical treatment. Therefore, it is possible to stop coating the developer on the varicose vein part to be marked and complete the marking of the varicose vein part.

[0039] In a possible implementation, the number of coating times can also be preset according to the developing effect of the developer itself or experience, so that the varicose vein part is clear enough after coating according to the preset number of coating times. In the case of presetting the number of coating times, after each coating, the number of coating times is recorded until the number of coating times reaches the preset number, and the coating of the developer on the varicose vein part to be marked is stopped, and the marking of the varicose vein part is completed.

[0040] In the embodiment of the present application, when the control device 20 controls the marking device 30 to coat the varicose vein part to be marked, the coating parameter N can be set in advance, and N = 0 is initialized. After each coating is completed, N is modified to N + 1 to record the coating times of the developer until N reaches the preset number, indicating that the developing effect of the varicose vein part after coating reaches the preset effect, and the varicose vein part of the marking object is clear enough. Therefore, the coating of the developer on the varicose vein part to be marked can be stopped, and the marking of the varicose vein part is completed.

[0041] The varicose vein marking method provided by the embodiment of the present application first obtains an image of the varicose vein part, performs color detection and / or flatness detection on the varicose vein part to be marked according to the image of the varicose vein part, and obtains a detection result. Then, according to the initial detection result of the varicose vein part, the coating path of the developer and the coating dose at different positions of the varicose vein part are determined, and the developer is coated on the varicose vein part to be marked according to the coating path and the coating dose, and the marking of the varicose vein part to be marked is completed. The method provided by the embodiment of the present application uses the developer to perform developing treatment on the varicose vein part by coating, which can realize more convenient and rapid developing of the varicose vein part compared with the method of injecting the developer, and can avoid the damage to the human body caused by injecting the developer. In addition, the present application first obtains the detection result of the varicose vein part to be marked through image detection, and controls the coating path and coating dose of the developer according to the detection result, so that the coating scheme of the developer is more in line with the shape and state (severity) of the varicose vein part, ensuring the effectiveness of the developer coating, that is, ensuring the accuracy of the varicose vein part marking.

[0042] The foregoing embodiments provide a solution for coating the varicose vein part multiple times. In another embodiment of the present application, after each coating, the coating path and the coating dose can be updated according to the developing situation of the varicose vein part to ensure the effectiveness of the developer coating and guarantee the accuracy of the marking. For example, the foregoing "coating the varicose vein part to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein to mark the varicose vein part" includes the steps as Figure 3 shown: Step 201: After each coating, collect the image of the varicose vein area after coating, perform color detection and flatness detection on the image of the varicose vein area after coating, and obtain the detection result of the varicose vein area after coating.

[0043] Step 202: According to the detection result of the varicose vein area after coating, re-determine the coating path of the developer and the coating dose at different positions of the varicose veins.

[0044] Step 203: Perform the next coating of the developer on the varicose vein area according to the re-determined coating path and the coating dose at different positions of the varicose veins.

[0045] In the embodiment of the present application, considering that in the case of multiple coatings of the developer, the development situation of the varicose vein area may change after each coating. To ensure the effectiveness of the next coating, after each coating, the image of the varicose vein area after coating can be collected, and color detection and flatness detection are performed on the image of the varicose vein area after coating to obtain the detection result of the varicose vein area after coating, that is, the morphology of the varicose vein area after coating and the severity at different positions are obtained.

[0046] Furthermore, according to the morphology of the varicose vein area after coating and the severity at different positions, re-determine the coating path of the developer and the coating dose at different positions of the varicose veins, update the coating path and the coating dose, so that the updated coating path and coating dose are more in line with the current varicose vein situation developed. Perform the next coating of the developer on the varicose vein area according to the re-determined coating path and the coating dose at different positions of the varicose veins, so as to ensure the accuracy of each coating during multiple coatings, and thus ensure the accuracy of varicose vein marking.

[0047] The method provided in the embodiment of the present application can, in the case of multiple coatings of the developer on the varicose vein area, re-detect the development situation of the varicose vein area after each coating, re-determine the coating path of the developer and the coating dose at different positions of the varicose veins, and perform the next coating of the developer according to the re-determined coating path and coating dose, ensuring the accuracy of each coating in the case of multiple coatings and ensuring the accuracy of varicose vein marking.

[0048] The foregoing embodiments introduce the solution for detecting the development effect in the case of multiple coatings of the developer. In another embodiment of the present application, the development effect can be determined by the difference in the development situations of two adjacent coatings. For example, the "detecting the development effect of the varicose vein area after coating" involved above can include the steps as Figure 4 shown: Step 301: Obtain the image of the varicose vein site after coating, and perform color detection and flatness detection on the varicose vein site after coating according to the marked varicose vein site image to obtain the detection result of the varicose vein site after coating.

[0049] Step 302: Determine the difference between the detection result of the varicose vein site after coating and the detection result of the varicose vein site before coating.

[0050] Step 303: Determine the development effect of the varicose vein site after coating according to the difference.

[0051] In the embodiment of the present application, in the case of coating the developer multiple times, for each coating, after coating, obtain the image of the varicose vein site after coating, and perform color detection and flatness detection on the varicose vein site after coating according to the marked varicose vein site image to obtain the detection result of the varicose vein site after coating, that is, obtain the shape of the varicose vein site after coating and the severity at different positions of the varicose vein site. Then, the shape difference between the varicose vein site before and after coating, and the severity difference between the varicose vein site before and after coating can be calculated respectively. According to the two differences, the difference between the varicose vein site before and after coating is determined by means of average value calculation or weighted summation. Finally, the development effect of the varicose vein site after coating is determined according to the difference.

[0052] It can be understood that the smaller the difference between the varicose vein site before and after coating, the more stable the development effect of the varicose vein site after coating the developer, that is, the development effect of the varicose vein site tends to the preset effect. Therefore, the preset difference threshold can be used to judge whether the development effect of the varicose vein site reaches the preset effect. Specifically, if the difference is less than or equal to the preset difference threshold, it is determined that the development effect of the marked varicose vein site reaches the preset effect.

[0053] In this embodiment, the difference threshold can be set in advance. When the difference between the varicose vein site before and after coating is less than the preset difference threshold, it is determined that the development effect of the varicose vein site reaches the preset effect, and the coating of the developer on the varicose vein site can be stopped.

[0054] In a possible implementation manner, to obtain the image of the varicose vein site after coating, the difference image between the image of the varicose vein site after coating and the image of the varicose vein site before coating can also be calculated, and the difference between the varicose vein site before and after coating is judged through the difference image, and then the development effect of the varicose vein site is judged according to the difference.

[0055] The method provided by the embodiments of the present application can determine the imaging effect of the varicose vein site after coating based on the differences between the varicose vein site before and after coating. That is, the embodiments of the present application can determine the imaging effect of the varicose vein site in real time and accurately based on the differences before and after coating, so as to stop the coating of the developer in time when the imaging effect reaches the preset effect, and improve the marking efficiency of the developer.

[0056] The foregoing embodiments introduce the solution for detecting the varicose vein site. In another embodiment of the present application, the varicose vein site to be marked can be marked based on the result of re-detecting the varicose vein site to be marked after the imaging process. For example, the "performing color detection and flatness detection on the varicose vein site in the image to obtain the detection result" involved above includes the steps as Figure 5 shown below: Step 401: Perform color detection on the varicose vein site in the image to obtain the hue and lightness at different positions of the varicose vein site.

[0057] Step 402: Perform flatness detection on the varicose vein site in the image to obtain the flatness at different positions of the varicose vein site.

[0058] Step 403: Determine the shape of the varicose vein site according to the hue and flatness at different positions of the varicose vein site.

[0059] Step 404: Determine the severity at different positions of the varicose vein site according to the lightness and flatness at different positions of the varicose vein site.

[0060] In the embodiments of the present application, after obtaining the image of the varicose vein site to be marked, color detection is performed on the varicose vein site in the image to obtain the hue and lightness at different positions of the varicose vein site; flatness detection is performed on the varicose vein site in the image by means of laser or the like to obtain the flatness at different positions of the varicose vein site.

[0061] Then, according to the hue at different positions of the varicose vein site, based on the color difference between the varicose vein site and the non-varicose vein site, the boundary between the varicose vein site and the non-varicose vein site can be determined; or according to the flatness at different positions of the varicose vein site, based on the flatness difference between the protruding varicose vein site and the flat non-varicose vein site, the boundary between the varicose vein site and the non-varicose vein site can be determined. Finally, the above two boundaries can be fused (for example, select one of them, or take the median of the two boundaries) to determine the shape of the varicose vein site.

[0062] Based on the brightness at different positions of the varicose vein site and the brightness difference between different positions of varicose vein sites with different severities, the severity at different positions of the varicose vein site can also be determined. At the same time, according to the flatness at different positions of the varicose vein site, the bulging degree at different positions of the varicose vein site can be judged, and then the severity at different positions of the varicose vein can be determined.

[0063] The method provided by the embodiments of the present application can obtain the hue, brightness, and flatness parameters at different positions of the varicose vein site by performing color detection and flatness detection on the varicose vein site in the image. Then, based on the above parameters, the boundary between the varicose vein site and the non-varicose vein site can be judged, the shape of the varicose vein site can be determined, and the severity at different positions of the varicose vein can be determined. The embodiments of the present application can detect the varicose vein site through parameters in multiple dimensions, improving the detection accuracy of the varicose vein site.

[0064] In one embodiment, to further improve the accuracy of marking the varicose vein site, manual review can also be performed on the detection result of the varicose vein site to be marked after the development process. This embodiment includes the steps as Figure 6 shown: Step 501: Send a review request to the reviewer, where the review request includes the image of the marked varicose vein site.

[0065] Step 502: Receive the review result returned by the reviewer, and correct the marked varicose vein site image according to the review result.

[0066] Among them, the review result includes the marking result of the varicose vein site by the reviewer.

[0067] In the embodiments of the present application, the image of the marked varicose vein site is taken and sent to the reviewer's terminal as a review request, prompting the reviewer to perform a manual check on the marking result of the varicose vein site, and receiving the review result of correct marking or wrong marking returned by the reviewer. Among them, when the review result is wrong marking, it may include the marking result of the varicose vein site by the reviewer.

[0068] If the review result is correct marking, the marked object is processed during the operation based on the image of the marked varicose vein site; if the review result is wrong marking, the marking at the corresponding position of the varicose vein site is corrected according to the marking result of the varicose vein site by the reviewer, and the marked object is processed during the operation according to the image of the varicose vein site after the marking is corrected.

[0069] The method provided by the embodiments of the present application can perform manual review after the automatic marking of the varicose vein site, effectively improving the accuracy of marking the target varicose vein site.

[0070] It should be noted that although the operations of the method of the present invention are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the order of execution of the steps depicted in the flowchart can be changed. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.

[0071] In one embodiment, as Figure 1 shown, a varicose vein marking device is provided, which includes an imaging device 10, a control device 20, and a marking device 30. The imaging device 10 is configured to acquire an image of the varicose vein site to be marked and send the image to the control device 20; the control device 20 is configured to perform color detection and flatness detection on the varicose vein site in the received image to obtain a detection result; plan the coating path of the developer according to the shape of the varicose vein site, and determine the coating dose of the developer at corresponding positions according to the severity of different positions of the varicose vein site; the detection result is used to characterize the shape of the varicose vein site and the severity of different positions of the varicose vein site; the coating path covers the varicose vein site to be marked; the marking device 30 is configured to coat the varicose vein site to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and mark the varicose vein site.

[0072] The varicose vein marking device provided by the embodiments of the present application performs a developing process on the varicose vein site by using the developer in a coating manner, which can achieve a more convenient and faster developing of the varicose vein site compared with the way of injecting the developer, and can avoid the damage to the human body caused by the injection of the developer. Additionally, the present application first obtains the detection result of the varicose vein site to be marked through image detection, and controls the coating path and coating dose of the developer according to the detection result, so that the coating scheme of the developer better conforms to the shape and condition (severity) of the varicose vein site, ensuring the effectiveness of the developer coating, that is, ensuring the accuracy of the varicose vein site marking.

[0073] Next, refer to Figure 7 , which shows a schematic structural diagram of a computer system 600 of a terminal device or a server suitable for implementing the embodiments of the present application.

[0074] As Figure 7As shown, computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage section 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of system 800 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0075] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 610 as needed so that a computer program read therefrom can be installed into the storage section 608 as needed.

[0076] In particular, according to an embodiment of the present disclosure, the process described above with reference to Figure 2 can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly embodied on a machine-readable medium, the computer program including program code for performing Figure 2 the method. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 609, and / or installed from the removable medium 611.

[0077] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. And in this application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0078] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.

[0079] The units or modules involved in the embodiments described in this application can be implemented in software or in hardware. The described units or modules can also be provided in a processor. Among them, the names of these units or modules do not, in some cases, constitute a limitation on the units or modules themselves.

[0080] As another aspect, this application also provides a computer-readable storage medium, which can be included in the computer device described in the above embodiments, or can exist alone without being assembled into the computer device. The above computer-readable storage medium stores one or more programs, and when the above programs are executed by one or more processors, the methods described in this application are performed. For example, the steps of the Figure 1 method shown can be executed.

[0081] The embodiments of this application provide a computer program product, which includes instructions that, when run, cause the methods described in the embodiments of this application to be executed. For example, the steps of the Figure 1 method shown can be executed.

[0082] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0083] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the technical solutions formed by mutually replacing the above features with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A method for marking varicose veins, characterized in that, The method includes: Obtaining an image of the varicose vein site to be marked, performing color detection and flatness detection on the varicose vein site in the image to obtain a detection result; the detection result is used to characterize the morphology of the varicose vein site and the severity at different positions of the varicose vein site; Determining the coating path of the developer according to the morphology of the varicose vein site, and determining the coating dose of the developer at the corresponding position according to the severity at different positions of the varicose vein site; the coating path covers the varicose vein site to be marked; Coating the varicose vein site to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and marking the varicose vein site.

2. The method according to claim 1, characterized in that, The coating the varicose vein site to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and marking the varicose vein site includes: After each coating, detecting the developing effect of the varicose vein site after coating, and stopping coating the varicose vein site to be marked with the developer until the developing effect of the varicose vein site after coating reaches a preset effect, and completing the marking of the varicose vein site.

3. The method according to claim 1 or 2, characterized in that The coating the varicose vein site to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and marking the varicose vein site includes: After each coating, collecting an image of the varicose vein site after coating, performing color detection and flatness detection on the image of the varicose vein site after coating to obtain a detection result of the varicose vein site after coating; Redetermining the coating path of the developer and the coating dose at different positions of the varicose vein according to the detection result of the varicose vein site after coating; Performing the next coating of the developer on the varicose vein site according to the redetermined coating path and the coating dose at different positions of the varicose vein.

4. The method according to claim 2, wherein The detecting the developing effect of the varicose vein site after coating includes: Obtaining an image of the varicose vein site after coating, and performing color detection and flatness detection on the varicose vein site after coating according to the image of the marked varicose vein site to obtain a detection result of the varicose vein site after coating; Determining the difference between the detection result of the varicose vein site after coating and the detection result of the varicose vein site before coating; Determining the developing effect of the varicose vein site after coating according to the difference.

5. The method according to claim 4, wherein The determining process for the developing effect of the varicose vein site after coating to reach the preset effect includes: If the difference is less than or equal to a preset difference threshold, it is determined that the developing effect of the marked varicose vein site reaches the preset effect.

6. The method according to claim 1, wherein The method further includes: After each coating, recording the number of coatings, and stopping coating the varicose vein site to be marked with the developer until the number of coatings reaches a preset number, and completing the marking of the varicose vein site.

7. The method according to claim 1, characterized in that The performing color detection and flatness detection on the varicose vein site in the image to obtain a detection result includes: Performing color detection on the varicose vein site in the image to obtain the hue and lightness at different positions of the varicose vein site; Perform flatness detection on the varicose vein part in the image to obtain the flatness at different positions of the varicose vein part; Determine the shape of the varicose vein part according to the hue and the flatness at different positions of the varicose vein part; Determine the severity at different positions of the varicose vein part according to the lightness and the flatness at different positions of the varicose vein part.

8. The method according to claim 1, wherein The method further includes: Send a review request to the reviewer, where the review request includes the image of the varicose vein part after marking; Receive the review result returned by the reviewer, and correct the marked varicose vein part image according to the review result; the review result includes the marking result of the varicose vein part by the reviewer.

9. A varicose vein marking device, characterized in that, The device includes an imaging device, a control device, and a marking device, The imaging device is configured to acquire an image of the varicose vein part to be marked and send the image to the control device; The control device is configured to perform color detection and flatness detection on the varicose vein part in the received image to obtain a detection result; plan the coating path of the developer according to the shape of the varicose vein part, and determine the coating dose of the developer at the corresponding position according to the severity at different positions of the varicose vein part; the detection result is used to characterize the shape of the varicose vein part and the severity at different positions of the varicose vein part; The coating path covers the varicose vein part to be marked; The marking device is configured to coat the varicose vein part to be marked with the developer according to the coating path and the coating dose at different positions of the varicose vein, and mark the varicose vein part.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Deep venipuncture path generation method and device

    CN116704213A

  • Lower limb varicose vein recognition method and device based on image recognition

    CN117982175A

  • Device suitable for drawing operation mark for patient with varicose vein of lower limb

    CN216570236U