Varicose vein marking method, device, and program product
By acquiring images of varicose vein sites for detection and applying contrast agent, and by planning the path and dosage, the safety and accuracy issues of varicose vein contrast agent are solved, achieving safe and rapid varicose vein marking.
Patent Information
- Application Number
- CN202510336768.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2045-03-20
AI Technical Summary
Existing techniques for varicose vein contrast agent injection carry risks such as thrombosis and phlebitis, making it difficult to achieve safe and accurate contrast enhancement of varicose vein sites.
By acquiring images of varicose vein areas, color and smoothness are detected, the path and dosage of contrast agent are planned, marking is performed using contrast agent, and the coating scheme is adjusted in conjunction with image detection to ensure that the contrast agent effect meets the preset standard.
It enables safe and rapid visualization of varicose veins, avoiding the damage caused by contrast agent injection and ensuring the accuracy and effectiveness of marking.
Smart Images

Figure CN120355652B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of medical detection, in particular to a varicose vein marking method, device and program product. BACKGROUND
[0002] Varicose veins are a common vascular disease caused by blood stasis, weak vein wall, etc., usually manifested as tortuous and dilated veins, skin changes. Varicose vein imaging is an important means in the treatment of varicose veins, which can be used to determine the lesion site and degree, evaluate the blood flow, guide the surgical treatment, etc.
[0003] At present, the positioning of the lesion site is usually achieved by injecting a contrast agent at the varicose vein site, and the subsequent operation is guided. However, intravenous injection of the contrast agent has the risk of causing thrombosis and leading to phlebitis. SUMMARY
[0004] In view of the above defects or deficiencies in the prior art, it is desirable to provide a varicose vein marking method, device and program product, which can realize convenient and fast development of the varicose vein site while ensuring the marking accuracy of the varicose vein site.
[0005] In a first aspect, the present application provides a varicose vein marking method. The method comprises:
[0006] An image of a varicose vein site to be marked is obtained, color detection and flatness detection are performed on the varicose vein site in the image, and a detection result is obtained. The detection result is used to represent the morphology of the varicose vein site and the severity of different positions of the varicose vein site;
[0007] A development path of the contrast agent is determined according to the morphology of the varicose vein site, and a development dose of the contrast agent at the corresponding position is determined according to the severity of the different positions of the varicose vein site. The development path covers the varicose vein site to be marked;
[0008] The varicose vein site is marked by developing the contrast agent on the varicose vein site to be marked according to the development path and the development dose of the contrast agent at the different positions of the varicose vein site.
[0009] In combination with the first aspect, in a possible implementation manner, the varicose vein site is marked by developing the contrast agent on the varicose vein site to be marked according to the development path and the development dose of the contrast agent at the different positions of the varicose vein site, comprising: after each development, the development effect of the developed varicose vein site is detected until the development effect of the developed varicose vein site reaches a preset effect, the development of the contrast agent on the varicose vein site to be marked is stopped, and the marking of the varicose vein site is completed.
[0010] With reference to the first aspect, in a possible implementation manner, the method further includes: after each coating, collecting an image of the varicose vein part after the coating, and performing color detection and flatness detection on the image of the varicose vein part after the coating to obtain a detection result of the varicose vein part after the coating; and determining the coating path of the developing agent and the coating dosage at different positions of the varicose vein part according to the detection result of the varicose vein part after the coating; and performing developing agent coating on the varicose vein part according to the determined coating path and the coating dosage at different positions of the varicose vein part.
[0011] With reference to the first aspect, in a possible implementation manner, the method further includes: obtaining an image of the varicose vein part after the coating, and performing color detection and flatness detection on the varicose vein part after the coating according to the image of the varicose vein part after the coating to obtain a detection result of the varicose vein part after the coating; determining a difference between the detection result of the varicose vein part after the coating and the detection result of the varicose vein part before the coating; and determining the developing effect of the varicose vein part after the coating according to the difference.
[0012] With reference to the first aspect, in a possible implementation manner, the method further includes: if the difference is less than or equal to a preset difference threshold, determining that the developing effect of the varicose vein part after the coating reaches a preset effect.
[0013] With reference to the first aspect, in a possible implementation manner, the method further includes: after each coating, recording a coating frequency until the coating frequency reaches a preset frequency, and stopping the coating of the developing agent on the varicose vein part to be marked to complete the marking of the varicose vein part.
[0014] With reference to the first aspect, in a possible implementation manner, the method further includes: performing color detection on the varicose vein part in the image to obtain hue and lightness at different positions of the varicose vein part; performing flatness detection on the varicose vein part in the image to obtain flatness at different positions of the varicose vein part; determining a shape of the varicose vein part according to the hue and the flatness at different positions of the varicose vein part; and determining a severity at different positions of the varicose vein part according to the lightness and the flatness at different positions of the varicose vein part.
[0015] With reference to the first aspect, in a possible implementation manner, the varicose vein marking method further includes: sending a review request to a reviewer, the review request including the marked varicose vein site image; receiving a review result returned by the reviewer, and correcting the marked varicose vein site image according to the review result; the review result including a marking result of the varicose vein site by the reviewer.
[0016] In a second aspect, the present application further provides a varicose vein marking device. The device includes a camera device, a control device and a marking device,
[0017] The camera device is configured to acquire an image of a varicose vein site to be marked and send the image to the control device.
[0018] The control device is configured to perform color detection and flatness detection on the varicose vein site in the received image to obtain a detection result; plan a developing agent coating path according to the morphology of the varicose vein site, and determine a developing agent coating dose at a corresponding position according to the severity of the varicose vein site at different positions; the detection result is used to represent the morphology of the varicose vein site and the severity of the varicose vein site at different positions; and the coating path covers the varicose vein site to be marked.
[0019] The marking device is configured to coat the developing agent on the varicose vein site to be marked according to the coating path and the coating dose at different positions of the varicose vein, and mark the varicose vein site.
[0020] In a third aspect, the present application further provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement the method of the first aspect.
[0021] In a fourth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and the computer program is executed by a processor to implement the method of the first aspect.
[0022] The embodiment of the present application provides a varicose vein marking method, device and program product. First, a varicose vein part image is acquired, color detection and / or flatness detection are performed on a varicose vein part to be marked according to the varicose vein part image, and a detection result is obtained. Then, a developing agent coating path and a developing agent dosage at different positions of the varicose vein part are determined according to the initial varicose vein part detection result, and the developing agent is coated on the varicose vein part to be marked according to the coating path and the developing agent dosage, so that the marking of the varicose vein part to be marked is completed. The method provided by the embodiment of the present application uses the developing agent to develop the varicose vein part in a coating manner, so that the varicose vein part can be developed more conveniently and quickly compared with the injection manner of the developing agent, and damage of the human body caused by the injection of the developing agent can be avoided. In addition, the detection result of the varicose vein part to be marked is obtained through image detection, and the coating path and the developing agent dosage of the developing agent are controlled according to the detection result, so that the coating scheme of the developing agent is more consistent with the morphology and state (severity) of the varicose vein part, and the effectiveness of the developing agent coating is ensured, that is, the accuracy of the varicose vein part marking is ensured. BRIEF DESCRIPTION OF DRAWINGS
[0023] Other features, objects, and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments made with reference to the accompanying drawings:
[0024] Figure 1 FIG. 1 is a structural schematic diagram of a varicose vein marking device in an embodiment;
[0025] Figure 2 FIG. 2 is a flowchart of a varicose vein marking method in an embodiment;
[0026] Figure 3 FIG. 3 is another flowchart of a varicose vein marking method in an embodiment;
[0027] Figure 4 FIG. 4 is another flowchart of a varicose vein marking method in an embodiment;
[0028] Figure 5 FIG. 5 is another flowchart of a varicose vein marking method in an embodiment;
[0029] Figure 6 FIG. 6 is another flowchart of a varicose vein marking method in an embodiment;
[0030] Figure 7 FIG. 7 is an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION
[0031] The application will be described in further 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 application, and not to limit the application. In addition, it should be noted that only parts related to the application are shown in the drawings for ease of description.
[0032] It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict. The application will be described in further detail below with reference to the drawings and embodiments. In addition, the term "and / or" herein is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, and not to describe a specific order of the objects.
[0033] The varicose vein marking method provided by the embodiments of the present application can be applied to the varicose vein marking device as shown in Figure 1 The varicose vein marking device includes a camera device 10, a control device 20 and a marking device 30. The camera device 10 is used to obtain an image of a varicose vein part to be marked, for example, a leg image of a marking 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 apply a developing agent according to the confirmed varicose vein position, so as to realize automatic detection and marking of the varicose vein part.
[0034] In one embodiment, a varicose vein marking method is provided, which includes the steps as shown in Figure 2
[0035] Step 101, obtaining an image of a varicose vein part to be marked, and performing color detection and flatness detection on the varicose vein part in the image to obtain a detection result.
[0036] In the embodiments of the present application, the varicose vein part of the marking object is photographed by the camera device 10 to obtain an image of the varicose vein part, and then the image is transmitted to the control device 20 in a wired or wireless manner.
[0037] It can be understood that the varicose vein part often presents a color darker than the skin color, for example, blue, red, purple, etc.; or presents a worm-like protrusion, or both. Therefore, the varicose vein part to be marked can be color detected, or flatness detected, or both color detected and flatness detected according to the image of the varicose vein part, to obtain a varicose vein part detection result.
[0038] The detection result can include a morphological parameter of the varicose vein part to be marked and a severity of different positions of the varicose vein part to be marked. The morphological parameter is used to represent a line shape of the varicose vein and a vein width at different positions of the varicose vein. The severity of different positions of the varicose vein part to be marked can be represented by a grade, for example, severe, relatively severe, and mild, or represented by a number, for example, 1, 2, 3, 4, and 5. The larger the number is, the higher the severity is.
[0039] In the embodiment of the application, the control device 20 can perform color detection and / or flatness detection on the varicose vein part image by using the pre-trained varicose vein part detection model to obtain a color detection result and / or a flatness detection result. The varicose vein part detection result can be obtained by analyzing the color detection result and / or the flatness detection result. Specifically, since the color of the varicose vein part is different from the color of the non-varicose vein part, and the flatness of the varicose vein part is different from the flatness of the non-varicose vein part, the specific position of the varicose vein in the image, the line shape of the varicose vein, the width at different positions of the varicose vein, the concave-convex condition at different positions of the varicose vein, the concave-convex degree, and the like can be determined by the color detection result and / or the flatness detection result. Then, the morphological parameter of the varicose vein part and the severity at different positions of the varicose vein part can be obtained by analysis. The color depth and the flatness of different positions of the varicose vein part can also represent the severity of different positions of the varicose vein part. It can be understood that the color is positively correlated with the severity, that is, the darker the color is, the more severe the varicose vein is. The flatness is negatively correlated with the severity, that is, the more flat the surface of the varicose vein part is, the less severe the varicose vein is.
[0040] The training process of the varicose vein part detection model can be as follows. First, a plurality of varicose vein part images can be obtained, and the varicose vein parts in the plurality of varicose vein part images can be color labeled and / or flatness labeled to obtain sample images. Then, the sample images can be divided into a training set and a test set, and an initial model can be trained until the model accuracy reaches a preset accuracy. Then, the varicose vein part detection model is obtained.
[0041] In step 102, a developing agent coating path is determined according to the morphology of the varicose vein part, and a developing agent coating dose at a corresponding position is determined according to the severity of the varicose vein part at different positions.
[0042] The coating path covers the varicose vein part to be marked.
[0043] In the embodiments of the present application, the developing agent coating starting point, the developing agent coating ending point, and the coating path between the developing agent coating starting point and the developing agent coating ending point of the varicose vein part to be marked can be determined according to the morphological parameters of the varicose vein part to be marked. The planned coating path should cover each varicose vein of the varicose vein part to be marked, so as to ensure the effectiveness and comprehensiveness of the development of the varicose vein part to be marked, that is, to ensure the accuracy of the marking of the varicose vein part.
[0044] In a possible implementation manner, for a varicose vein part to be marked with complex morphology, a plurality of opposite coating starting points and coating ending points can be planned, and correspondingly, the coating scheme can have a plurality of coating paths.
[0045] The varicose vein severity is different at different positions of the varicose vein part to be marked. For the more serious varicose vein position, the developing agent coating dose can cover the varicose vein part, for example, the width of the developing agent after coating at the dose can be greater than the width of the varicose vein at the corresponding position; for the varicose vein position with lighter severity, since its color, flatness and the like are not obvious relative to other varicose vein positions, relatively more developing agent can be coated to ensure effective development of the varicose vein with lighter severity.
[0046] Therefore, the developing agent coating dose is different at different positions of the varicose vein part to be marked, that is, the developing agent dose coated on different sections of the coating path is different. Specifically, the severity at different positions of the varicose vein part to be marked can be negatively correlated with the developing agent coating dose.
[0047] In step 103, the developing agent is coated on the varicose vein part to be marked according to the coating path and the coating dose at different positions of the varicose vein, and the varicose vein part is marked.
[0048] In the embodiments of the present application, after the coating path and the coating dose are determined, the controller 20 can control the marking device 30 to move along each coating path from the starting point to the ending point of the coating path, and in the moving process, the developing agent is discharged to coat the varicose vein part of the marking object. While controlling the marking device 30 to move along the coating path, the controller 20 controls the developing agent discharge dose of the marking device 30 according to the coating dose at different positions of the varicose vein, so as to ensure the accuracy of the developing agent coating.
[0049] In a possible implementation, the application can mark varicosities in the case of a preoperative flat lying of the marking object. In this case, the color and unevenness of the varicose part of the marking object are not obvious, so before obtaining the image of the varicose part to be marked, the varicose part of the marking object can be coated in a large range and all aspects to make the varicose part of the varicose object to be marked initially develop, and at the same time, the varicose part area with unobvious varicose can be avoided to be missed, and the effectiveness and comprehensiveness of the development are ensured. That is, for the marking object in the preoperative flat lying condition, when coating for the first time, the varicose part is coated in a large range, and then the image of the varicose part to be marked is obtained. Based on the image, color detection and flatness detection are performed, and then based on the detection result, the coating path and coating dose are determined, and then secondary coating is performed. When the secondary coating is performed, the varicose part to be marked is coated with a developing agent according to the coating path and the coating dose at different positions of the varicose part, so as to increase the definition of the varicose part initially developed, and ensure the marking accuracy of the varicose part. The application can mark varicose in the case of preoperative flat lying of the marking object, and can also avoid the problem that the marking object moves in a large range from the varicose part after marking to the preoperative time, so that the image of the varicose part to be marked is greatly different from the preoperative image, thereby affecting the intraoperative effect.
[0050] In a possible implementation, to ensure the marking effect of the varicose part, the varicose part can be coated with a developing agent for multiple times to ensure the clear development of the varicose part. For multiple coating, after each coating, the development effect of the coated varicose part is detected until the development effect of the coated varicose part reaches a preset effect, the developing agent is stopped from being coated on the varicose part to be marked, and the marking of the varicose part is completed.
[0051] Here, the development effect can be the definition of the varicose part, and the preset effect can be a preset definition threshold.
[0052] In the embodiment of the application, in the case of multiple developing agent coatings on the varicose part, the image of the coated varicose part can be captured after each coating, and the definition of the varicose part after the developing agent coating can be determined by image processing on the image of the coated varicose part until the definition of the varicose part after the developing agent coating reaches a preset definition threshold, which indicates that the development effect of the varicose part is good and clear enough to intuitively show the varicose symptoms of the marking object, and is convenient for subsequent surgical treatment. Therefore, the developing agent can be stopped from being coated on the varicose part to be marked, and the marking of the varicose part is completed.
[0053] In a possible implementation manner, 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 after being coated according to the preset number of coating times is clear enough. In the case of the preset number of coating times, the number of coating times is recorded after each coating until the number of coating times reaches the preset number, the varicose vein part to be marked is stopped from being coated with the developer, and the marking of the varicose vein part is completed.
[0054] 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 is initialized as 0. After each coating is completed, N is modified as N+1 to record the number of coating times of the developer, until N reaches the preset number, which indicates that the developing effect of the varicose vein part after being coated reaches the preset effect, and the varicose vein part of the marking object is clear enough. Therefore, the varicose vein part to be marked can be stopped from being coated with the developer, and the marking of the varicose vein part is completed.
[0055] The varicose vein marking method provided in the embodiment of the present application first acquires the varicose vein part image, performs color detection and / or flatness detection on the varicose vein part to be marked according to the varicose vein part image, and obtains a detection result. Then, the coating path of the developer and the coating dose of the varicose vein part at different positions are determined according to the initial varicose vein part detection result, and the varicose vein part to be marked is coated with the developer 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 in the embodiment of the present application uses the developer to develop the varicose vein part by coating, which can realize more convenient and fast development of the varicose vein part compared with the injection method of the developer, and can avoid damage to the human body caused by injection of the developer. In addition, the detection result of the varicose vein part to be marked is obtained by image detection, and the coating path and the coating dose of the developer are controlled according to the detection result, so that the coating scheme of the developer is more consistent with the morphology and state (severity) of the varicose vein part, and the effectiveness of the developer coating is ensured, that is, the accuracy of the marking of the varicose vein part is ensured.
[0056] The embodiments described in the foregoing provide a coating scheme for the varicose vein part multiple times. In another embodiment of the present application, the coating path and the coating dose can be updated according to the development of the varicose vein part after each coating, to ensure the effectiveness of the developer coating and ensure the accuracy of the marking. For example, the "marking of the varicose vein part by coating the varicose vein part to be marked with the developer according to the coating path and the coating dose of the varicose vein part at different positions" includes the steps as shown in Figure 3 .
[0057] In step 201, after each coating, an image of the coated varicose part is collected, color detection and flatness detection are performed on the image of the coated varicose part, and a detection result of the coated varicose part is obtained.
[0058] In step 202, the coating path of the developing agent and the coating dose at different positions of the varicose part are re-determined according to the detection result of the coated varicose part.
[0059] In step 203, the next developing agent coating of the varicose part is performed according to the re-determined coating path and the coating dose at different positions of the varicose part.
[0060] In the embodiments of the present application, considering that the developing situation of the varicose part may change after each coating in the case of multiple coatings of the developing agent, in order to ensure the effectiveness of the next coating, the image of the coated varicose part can be collected after each coating, and color detection and flatness detection can be performed on the image of the coated varicose part, and a detection result of the coated varicose part is obtained, that is, the morphology and severity at different positions of the coated varicose part are obtained.
[0061] Then, the coating path of the developing agent and the coating dose at different positions of the varicose part are re-determined according to the morphology and severity at different positions of the coated varicose part, and the coating path and the coating dose are updated, so that the updated coating path and the coating dose are more in line with the current developed varicose situation. The next developing agent coating of the varicose part is performed according to the re-determined coating path and the coating dose at different positions of the varicose part, so as to ensure the accuracy of each coating in the case of multiple coatings, and further ensure the accuracy of the varicose marking.
[0062] The method provided in the embodiments of the present application can re-detect the developing situation of the varicose part after each coating in the case of multiple coatings of the developing agent on the varicose part, re-determine the coating path of the developing agent and the coating dose at different positions of the varicose part, and perform the next developing agent coating according to the re-determined coating path and the coating dose, so as to ensure the accuracy of each coating in the case of multiple coatings and ensure the accuracy of the varicose marking.
[0063] The foregoing embodiments introduce a scheme for detecting developing effect in the case of multiple coatings of the developing agent. In another embodiment of the present application, the developing effect can be determined by the difference between the developing situations of two adjacent coatings. For example, the "detecting the developing effect of the coated varicose part" mentioned in the foregoing can include the steps as shown in Figure 4
[0064] In step 301, an image of the varicose part after coating is acquired, and color detection and flatness detection are performed on the varicose part after coating according to the marked varicose part image, to obtain a detection result of the varicose part after coating.
[0065] In step 302, a difference between the detection result of the varicose part after coating and the detection result of the varicose part before coating is determined.
[0066] In step 303, the developing effect of the varicose part after coating is determined according to the difference.
[0067] In the embodiment, in the case of multiple coatings of the developing agent, for each coating, after coating, an image of the varicose part after coating is acquired, and color detection and flatness detection are performed on the varicose part after coating according to the marked varicose part image, to obtain a detection result of the varicose part after coating, that is, a morphology of the varicose part after coating and a severity of the varicose part at different positions. Then, a morphology difference between the varicose part before coating and the varicose part after coating, and a severity difference between the varicose part before coating and the varicose part after coating can be calculated respectively, and the difference between the varicose part before coating and the varicose part after coating is determined according to the two differences by mean calculation or weighted summation. Finally, the developing effect of the varicose part after coating is determined according to the difference.
[0068] It can be understood that the smaller the difference between the varicose part before coating and the varicose part after coating, the more stable the developing effect of the varicose part after coating of the developing agent, that is, the developing effect of the varicose part tends to be the preset effect. Therefore, whether the developing effect of the varicose part reaches the preset effect can be determined by a preset difference threshold. Specifically, if the difference is less than or equal to the preset difference threshold, it is determined that the developing effect of the marked varicose part reaches the preset effect.
[0069] In the embodiment, the difference threshold can be set in advance, and when the difference between the varicose part before coating and the varicose part after coating is less than the preset difference threshold, it is determined that the developing effect of the varicose part reaches the preset effect, and the coating of the developing agent on the varicose part can be stopped.
[0070] In a possible implementation, the image of the varicose part after coating is acquired, and a difference value image of the image of the varicose part after coating and the image of the varicose part before coating can also be calculated, the difference between the varicose part before coating and the varicose part after coating is determined through the difference value image, and then the developing effect of the varicose part is determined according to the difference.
[0071] The method provided in the embodiments of the present application can determine the developing effect of the varicose vein part after coating by the difference between the varicose vein part before coating and the varicose vein part after coating. That is, the embodiments of the present application can determine the developing effect of the varicose vein part in real time and accurately by the difference between before and after coating, so as to stop the developing agent coating in time when the developing effect reaches the preset effect, and improve the labeling efficiency of the developing agent.
[0072] The foregoing embodiments introduce the scheme of detecting the varicose vein part. In another embodiment of the present application, the varicose vein part to be labeled can be labeled based on the detection result of the varicose vein part to be labeled after the developing process. For example, the foregoing “color detection and flatness detection of the varicose vein part in the image to obtain the detection result” includes the steps shown in the following table: Figure 5
[0073] Step 401: Color detection of the varicose vein part in the image to obtain the hue and brightness of the varicose vein part at different positions.
[0074] Step 402: Flatness detection of the varicose vein part in the image to obtain the flatness of the varicose vein part at different positions.
[0075] Step 403: Determination of the morphology of the varicose vein part according to the hue and flatness of the varicose vein part at different positions.
[0076] Step 404: Determination of the severity of the varicose vein part at different positions according to the brightness and flatness of the varicose vein part at different positions.
[0077] In the embodiments of the present application, after obtaining the image of the varicose vein part to be labeled, color detection is performed on the varicose vein part in the image to obtain the hue and brightness of the varicose vein part at different positions; and flatness detection is performed on the varicose vein part in the image by laser or other methods to obtain the flatness of the varicose vein part at different positions.
[0078] Then, according to the hue of the varicose vein part at different positions, the color difference between the varicose vein part and the non-varicose vein part can be determined based on the color difference between the varicose vein part and the non-varicose vein part; or according to the flatness of the varicose vein part at different positions, the flatness difference between the convex varicose vein part and the flat non-varicose vein part can be determined based on the flatness difference between the convex varicose vein part and the flat non-varicose vein part. Finally, the two limits (for example, one of them or the median of the two limits) can be fused to determine the morphology of the varicose vein part.
[0079] According to the brightness of different positions of the varicose part, the severity of different positions of the varicose part can also be determined based on the brightness difference between different positions of the varicose part with different severity; and according to the flatness of different positions of the varicose part, the protrusion degree of different positions of the varicose part can be determined, and then the severity of different positions of the varicose part can be determined.
[0080] The method provided in the embodiments of the present application can obtain the hue, brightness and flatness parameters of different positions of the varicose part by color detection and flatness detection on the varicose part in the image. Then, the boundary between the varicose part and the non-varicose part can be determined according to the above parameters, the morphology of the varicose part can be determined, and the severity of different positions of the varicose part can be determined. The embodiments of the present application can detect the varicose part through multiple parameters, thereby improving the detection accuracy of the varicose part.
[0081] In one embodiment, to further improve the accuracy of the varicose part marking, the detection result of the varicose part to be marked after the development processing can also be manually reviewed. The embodiment includes the steps as shown in Figure 6 .
[0082] Step 501, a review request is sent to a reviewer, and the review request includes a varicose part image after marking.
[0083] Step 502, the review result returned by the reviewer is received, and the varicose part image after marking is corrected according to the review result.
[0084] The review result includes the marking result of the varicose part by the reviewer.
[0085] In the embodiments of the present application, the varicose part image after marking is photographed and sent to the terminal of the reviewer as a review request, prompting the reviewer to manually check the marking result of the varicose part, and receiving the review result of correct marking or incorrect marking returned by the reviewer. When the review result is incorrect marking, the marking result of the varicose part by the reviewer can be included.
[0086] If the review result is correct marking, the marking object is processed intraoperatively based on the varicose part image after marking; if the review result is incorrect marking, the marking at the corresponding position of the varicose part is corrected according to the marking result of the varicose part by the reviewer, and the marking object is processed intraoperatively according to the varicose part image after marking.
[0087] The method provided in the embodiments of the present application can be manually reviewed after the automatic marking of the varicose part, thereby effectively improving the accuracy of the marking of the target varicose part.
[0088] It should be noted that although the operations of the method of the present invention are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart may be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0089] In one embodiment, such as Figure 1 As 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 used to acquire an image of the varicose vein area to be marked and send the image to the control device 20. The control device 20 is used to perform color detection and flatness detection on the varicose vein area in the received image to obtain detection results; to plan the coating path of the contrast agent according to the morphology of the varicose vein area, and to determine the contrast agent coating dosage at corresponding locations according to the severity of different locations of the varicose vein area; the detection results are used to characterize the morphology of the varicose vein area and the severity of different locations of the varicose vein area; the coating path covers the varicose vein area to be marked; the marking device 30 is used to apply contrast agent to the varicose vein area to be marked according to the coating path and the coating dosage at different locations of the varicose vein, thereby marking the varicose vein area.
[0090] The varicose vein marking device provided in this application uses a contrast agent to develop varicose veins through coating. Compared to contrast agent injection, this method provides a more convenient and faster way to develop varicose veins and avoids the damage to the human body caused by contrast agent injection. Furthermore, this application first obtains the detection results of the varicose vein area to be marked through image detection, and then controls the coating path and dosage of the contrast agent based on the detection results. This ensures that the contrast agent coating scheme better matches the morphology and condition (severity) of the varicose vein area, guaranteeing the effectiveness of the contrast agent coating and thus ensuring the accuracy of varicose vein marking.
[0091] The following is for reference. Figure 7 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing terminal devices or servers in the embodiments of this application.
[0092] like Figure 7As shown, the computer system 600 includes a central processing unit (CPU) 601 which can perform various appropriate actions and processes in accordance with programs stored in a read only memory (ROM) 602 or loaded from the storage section 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 800 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0093] Connected to the I / O interface 605 are an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a display such as 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 necessary. A removable recording medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 610 as necessary, so that a computer program read therefrom is installed into the storage section 608 as necessary.
[0094] In particular, the processes described above with reference to Figure 2 the embodiments of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program tangibly embodied on a machine-readable medium, the computer program including instructions for executing Figure 2 the methods described above. 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 recording medium 611.
[0095] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium or 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 thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations 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 may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0097] The units or modules described in the embodiments of the present application can be implemented in the form of software or in the form of hardware. The described units or modules can also be arranged in a processor. In some cases, the names of the units or modules do not constitute a limitation on the units or modules themselves.
[0098] As another aspect, the present application also provides a computer readable storage medium, which can be included in the computer device described in the above embodiments, or can exist separately and not be assembled into the computer device. The computer readable storage medium stores one or more programs, when the programs are used by one or more processors to execute the methods described in the present application. For example, the computer readable storage medium can store the programs for executing Figure 1 each step of the method shown.
[0099] The embodiments of the present application provide a computer program product, which includes instructions that, when executed, cause the method described in the embodiments of the present application to be performed. For example, the computer program product can store the programs for executing Figure 1 each step of the method shown.
[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0101] The above description is merely preferred embodiments of the present application and a description of the principles of the technology used. Those skilled in the art should understand that the scope of the application involved in the present application is not limited to the technical solutions formed by the specific combinations of the above technical features, and also covers other technical solutions formed by any combination of the above technical features or equivalent features without departing from the inventive concept. For example, the above features can be replaced with technical features disclosed in the present application (but not limited to) having similar functions to form technical solutions.
Claims
1. A varicose vein marking method characterized by, The method comprises: The method comprises: The method comprises: The method comprises:
2. The method of claim 1, wherein, The method comprises: The method comprises: The method comprises: The method comprises:
3. The method of claim 1, wherein, The method comprises: The method comprises: The method comprises: The method comprises:
4. The method of claim 3, wherein, The method comprises: The method comprises:
5. The method of claim 1, wherein, The method comprises: The method comprises:
6. The method of claim 1, wherein, The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: The method comprises: color detection is performed on the varicose part in the image to obtain hue and brightness of different positions of the varicose part; flatness detection is performed on the varicose part in the image to obtain flatness of different positions of the varicose part; the morphology of the varicose part is determined according to the hue and the flatness of different positions of the varicose part; the severity of different positions of the varicose part is determined according to the brightness and the flatness of different positions of the varicose part.
7. The method of claim 1, wherein, The method further comprises: sending a review request to a reviewer, the review request comprising the marked varicose part image; receiving a review result returned by the reviewer, and correcting the marked varicose part image according to the review result; the review result comprising a marking result of the varicose part by the reviewer.
8. A varicose vein marking device, characterized by The device comprises a camera, a controller and a marker, The camera is configured to acquire an image of a varicose part to be marked after the varicose part of a marking object is preliminarily developed after being fully coated in a large range, and send the image to the controller; the marking object is in a preoperative lying state; The controller is configured to perform color detection and flatness detection on the varicose part in the received image to obtain a detection result; plan a plurality of developing agent coating paths according to the morphology of the varicose part, and determine a developing agent coating dose at a corresponding position according to the severity of different positions on each coating path of the varicose part; the detection result is used to represent the morphology of the varicose part and the severity of different positions of the varicose part; The coating paths cover the varicose part to be marked; the severity of different positions of the varicose part to be marked is negatively correlated with the developing agent coating dose; The marker is configured to coat the varicose part to be marked with developing agent according to the coating paths and the coating dose of different positions of the varicose part, detect the developing effect of the coated varicose part after each coating, until the developing effect of the coated varicose part reaches a preset effect, stop coating the varicose part to be marked with developing agent, and complete marking of the varicose part.
9. A computer program product comprising a computer program, characterized in that, The computer program is executed by a processor to implement the steps of the method of any one of claims 1 to 6. The computer program is executed by a processor to implement the steps of the method of any one of claims 1 to 6.
Citation Information
Patent Citations
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