A method and device for judging abnormal blood vessel images under laparoscopy

By performing brightness value inspection and histogram processing on the blood vessel background area during gynecological endoscopic exploration, the accuracy problem of judgment of blood vessel abnormalities is solved and the accuracy and reliability of diagnosis are improved.

CN117495817BActive Publication Date: 2024-09-03THE FIRST PEOPLES HOSPITAL OF FOSHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311496619.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2024-09-03
Estimated Expiration
2043-11-10

AI Technical Summary

Technical Problem

In gynecological endoscopic exploration, there is a lack of effective methods and standards to judge abnormal conditions of blood vessels, which makes it difficult to diagnose non-specific inflammation and affects the understanding and treatment of the disease.

Method used

By calculating the brightness value of the blood vessel background area acquired by the endoscopic lens, if it does not meet the preset conditions, the histogram is standardized to generate a second image, and the judgment module is used to determine whether the blood vessel is abnormal based on the color characteristics of the blood vessel.

Benefits of technology

It improves the accuracy of endoscopic vascular abnormality judgment, reduces misjudgments, and provides an objective judgment standard to help doctors identify vascular abnormalities more accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117495817B
    Figure CN117495817B
Patent Text Reader

Abstract

The present application provides a method and device for judging abnormal blood vessel images under laparoscope, which relates to the field of image judgment technology. The key points of the technical solution are as follows: including: calculating a first brightness value of a first blood vessel background area in a first image obtained by laparoscope; when the first brightness value does not meet a preset condition, performing histogram normalization processing on the first blood vessel background area to obtain a second image; inputting the second image into a judgment module, and the judgment module judges whether the blood vessel is abnormal according to the blood vessel color characteristics in the second image. The method and device for judging abnormal blood vessel images under laparoscope provided by the present application have the advantage of accurately judging whether the blood vessel is abnormal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image judgment, and in particular to a method and device for judging abnormal blood vessel images under laparoscopy. Background Art

[0002] With the rapid development of science and technology, minimally invasive surgery has become an important method of hospital surgery. Laparoscopic exploration is an important method in the examination of gynecological patients. Doctors can observe the details of the patient's cavity in detail through abdominal exploration.

[0003] In previous gynecological surgical explorations, people only focused on anatomical changes or tumor characteristics, and did not pay special attention to blood vessels. There were no relevant indicators or corresponding standards. However, everyone recognizes that vascular changes have clinical significance.

[0004] The blood vessels seen under laparoscopy during gynecological surgery are mainly on the surface of pelvic organs, such as the peritoneum, bladder, uterus, fallopian tubes, etc. However, the characteristics of blood vessel distribution, density, morphology, color, filling, etc. are often ignored, mainly because there are no good objective evaluation methods and means, let alone judgment standards. Vascular hyperplasia has a clear relationship with inflammation, which makes some non-specific inflammations difficult to diagnose. Even if surgery is performed, there is no objective indicator and it is ignored and missed, which affects the understanding and treatment of the disease.

[0005] With the development of image recognition technology, various features of blood vessels under the microscope can be calculated and compared. Combined with clinical data, it is possible to determine whether the blood vessels are abnormal, especially important features such as blood vessel morphology and color.

[0006] However, compared to the scenario in gastroenteroscopy where vascular characteristics are closely observed and judged, in gynecological laparoscopic exploration, due to the complex internal structure of the abdominal cavity, uneven lighting is prone to occur. Observing blood vessels in this scenario can easily have an adverse effect on disease judgment.

[0007] In view of the above problems, this application proposes a new solution. Summary of the invention

[0008] The purpose of the present application is to provide a method and device for determining abnormal blood vessel images under laparoscopy, which has the advantage of accurately determining whether a blood vessel is abnormal.

[0009] In the first aspect, the present application provides a method for determining abnormal blood vessel images under laparoscopy, and the technical solution is as follows:

[0010] include:

[0011] Calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope;

[0012] When the first brightness value does not meet a preset condition, performing a histogram normalization process on the first blood vessel background area to obtain a second image;

[0013] The second image is input to a judgment module, and the judgment module judges whether the blood vessels are abnormal according to the blood vessel color features in the second image.

[0014] By calculating the first brightness value in the first blood vessel background area, if the first brightness value does not meet the preset conditions, it means that the first brightness value in the first blood vessel background area will affect the blood vessel color characteristics, which may easily lead to misjudgment when judging whether the blood vessel is abnormal by the blood vessel color characteristics. Therefore, when the first brightness value does not meet the preset conditions, the first blood vessel background area can be histogram-regulated to obtain a second image, and then the second image is input into the judgment module, and the judgment module is used to extract the blood vessel color characteristics, and then judge whether the blood vessel is abnormal. Therefore, the solution provided by the present application has the beneficial effect of accurately judging whether the blood vessel is abnormal.

[0015] Furthermore, in the present application, the step of performing histogram normalization processing on the first blood vessel background area to obtain the second image includes:

[0016] Acquire a brightness histogram of each of the third images of the blood vessel background regions marked as normal brightness in the blood vessel background region data set;

[0017] Calculating an average brightness histogram according to each of the brightness histograms;

[0018] The first blood vessel background area is subjected to histogram normalization processing according to the average brightness histogram to obtain the second image.

[0019] Further, in the present application, the step of calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope includes:

[0020] Inputting the first image into the blood vessel background region recognition unit in the judgment module, the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region from the first image;

[0021] Calculating a first brightness value of the first blood vessel background area;

[0022] The step of inputting the second image into a judgment module, wherein the judgment module judges whether the blood vessels are abnormal according to the blood vessel color features in the second image comprises:

[0023] inputting the second image into a blood vessel segmentation unit in the determination module, wherein the blood vessel segmentation unit segments a first blood vessel image from the second image;

[0024] The first blood vessel image is input to a judgment unit in the judgment module, and the judgment unit judges whether the blood vessel is abnormal according to the color feature of the first blood vessel image.

[0025] Further, in the present application, the first image is an RGB image, and the step of inputting the first image into the vascular background area recognition unit in the judgment module, and the vascular background area recognition unit identifying the first vascular background area from the first image includes:

[0026] Inputting the first image as an RGB image to a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region as an RGB image from the first image as an RGB image;

[0027] The step of performing histogram normalization processing on the first blood vessel background area to obtain a second image comprises:

[0028] Converting the first blood vessel background region as an RGB image from the RGB space to the YUV space, and extracting the corresponding Y channel image, U channel image, and V channel image;

[0029] The first blood vessel background region, which is the Y channel image, the U channel image, and the V channel image, is subjected to a histogram normalization process to obtain the second image, which is a YUV image.

[0030] Further, in the present application, the step of inputting the second image into a judgment module, wherein the judgment module judges whether the blood vessel is abnormal according to the blood vessel color feature in the second image includes:

[0031] Inputting the second image as a YUV image into a judgment module;

[0032] The determination module calculates a y value, a u value, a v value, a y / u value, a y / v value, and a u / v value in the second image as a YUV image;

[0033] Whether the blood vessel is abnormal is determined according to the y value, the u value, the v value, the y / u value, the y / v value, and the u / v value.

[0034] Furthermore, the present application also includes:

[0035] Establish a blood vessel background area dataset based on the RGB model;

[0036] Establish a blood vessel region segmentation dataset based on the YUV model;

[0037] Establish a data set for abnormal blood vessel color judgment based on the YUV model;

[0038] According to the blood vessel background area data set, the blood vessel area segmentation data set and the blood vessel color abnormality judgment data set, training is performed to obtain corresponding blood vessel background area recognition models, blood vessel area segmentation models and blood vessel color abnormality judgment models respectively;

[0039] The blood vessel background region recognition model, the blood vessel region segmentation model and the blood vessel color abnormality judgment model are correspondingly stored in the blood vessel background region recognition unit, the blood vessel segmentation unit and the judgment unit respectively.

[0040] In a second aspect, the present application also provides a laparoscopic vascular abnormality image judgment device, comprising:

[0041] A calculation module, used for calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope;

[0042] a processing module, configured to perform histogram normalization processing on the first blood vessel background area to obtain a second image when the first brightness value does not meet a preset condition, and input the second image to a judgment module;

[0043] A judgment module is used to judge whether the blood vessels are abnormal according to the blood vessel color characteristics in the second image.

[0044] Furthermore, in the present application, the processing module includes:

[0045] A first processing unit is used to obtain a brightness histogram in each third image of the blood vessel background area marked as normal brightness in the blood vessel background area data set;

[0046] A second processing unit, configured to calculate an average brightness histogram according to each of the brightness histograms;

[0047] The third processing unit is used to perform histogram normalization processing on the first blood vessel background area according to the average brightness histogram to obtain the second image.

[0048] Furthermore, in the present application, the calculation module includes:

[0049] a first calculation unit, configured to input the first image into a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region from the first image;

[0050] A second calculation unit, configured to calculate a first brightness value of the first blood vessel background area;

[0051] The judging module comprises:

[0052] a first judging unit, configured to input the second image into a blood vessel segmentation unit in the judging module, wherein the blood vessel segmentation unit segments a first blood vessel image from the second image;

[0053] The second judgment unit is used to input the first blood vessel image into the judgment unit in the judgment module, and the judgment unit judges whether the blood vessel is abnormal according to the color characteristics of the first blood vessel image.

[0054] Further, in the present application, the first image is an RGB image, and the first calculation unit includes:

[0055] a first calculation subunit, configured to input the first image as an RGB image into a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region as an RGB image from the first image as an RGB image;

[0056] The processing module comprises:

[0057] a third calculation unit, configured to convert the first blood vessel background region, which is an RGB image, from an RGB space to a YUV space, and extract a corresponding Y channel image, a U channel image, and a V channel image;

[0058] The fourth calculation unit is used to perform histogram normalization processing on the first blood vessel background area as the Y channel image, the U channel image and the V channel image to obtain the second image as a YUV image.

[0059] As can be seen from the above, the present application provides a method and device for judging abnormal blood vessel images under laparoscope, by calculating the first brightness value in the first blood vessel background area. If the first brightness value does not meet the preset conditions, it means that the first brightness value in the first blood vessel background area will affect the blood vessel color characteristics, which may easily lead to misjudgment when judging whether the blood vessel is abnormal by the blood vessel color characteristics. Therefore, when the first brightness value does not meet the preset conditions, the first blood vessel background area can be histogram-regulated to obtain a second image, and then the second image is input into the judgment module, and the judgment module is used to extract the blood vessel color characteristics, and then judge whether the blood vessel is abnormal. Therefore, the solution provided by the present application has the beneficial effect of accurately judging whether the blood vessel is abnormal. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 A schematic diagram of a laparoscopic vascular abnormality image judgment method provided in this application.

[0061] Figure 2A schematic diagram of the structure of a laparoscopic vascular abnormality image judgment device provided in the present application.

[0062] Figure 3 A schematic diagram of the background area of ​​the first blood vessel in the first image provided by the present application

[0063] In the figure: 210, calculation module; 220, processing module; 230, judgment module. DETAILED DESCRIPTION

[0064] The technical solutions in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0065] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0066] Please refer to Figure 1 The present application provides a method for determining abnormal blood vessel images under laparoscopy, and its technical solution specifically includes:

[0067] S110, calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope;

[0068] S120, when the first brightness value does not meet the preset condition, performing histogram normalization processing on the first blood vessel background area to obtain a second image;

[0069] S130, inputting the second image into a judgment module, and the judgment module judges whether the blood vessels are abnormal according to the blood vessel color features in the second image.

[0070] The laparoscope is used to explore the abdominal cavity area, so the first image obtained refers to the image inside the abdominal cavity.

[0071] There are many organs and tissues in the abdominal cavity, and blood vessels are mainly distributed on the surface of pelvic organs, such as peritoneum, bladder, uterus, fallopian tubes, etc.

[0072] Since there are many organs and tissues in the abdominal cavity, the laparoscope is generally integrated with a light source during exploration. However, due to the complex situation in the abdominal cavity, the light source is irradiated in the abdominal cavity, which is prone to uneven lighting and obvious changes in brightness.

[0073] The first blood vessel background region refers to the region where blood vessels are distributed and extracted from the first image. Figure 3 , Figure 3 The entire displayed picture is the first image, wherein area A represents the first blood vessel background area.

[0074] Among them, the first brightness value can specifically refer to the lowest brightness value in the first blood vessel background area, can refer to the highest brightness value in the first blood vessel background area, can refer to the average value of the lowest brightness of a preset number of pixel points in the first blood vessel background area, and can refer to the average value of the highest brightness of a preset number of pixel points in the first blood vessel background area.

[0075] The preset condition may specifically be a maximum allowed brightness threshold, a minimum allowed brightness threshold, or an average brightness threshold.

[0076] In addition, in some of the embodiments, the brightness distribution information in the first blood vessel background area can also be obtained, and then it is determined whether the brightness distribution information meets the preset conditions. If not, histogram normalization processing can be performed. At this time, the preset conditions can also include a preset brightness distribution.

[0077] Among them, the judgment module is provided with a model obtained based on neural network training. Specifically, pictures of normal blood vessels and pictures of abnormal blood vessels can be collected, and then annotated to obtain a data set, and then a model that can judge whether the blood vessels are abnormal based on the color characteristics of the blood vessels is obtained through neural network training. In existing actual clinical practice, it can be found that the color characteristics of the blood vessels are closely related to whether the blood vessels are abnormal. According to existing medical observations, if the color of the blood vessels is dark, the saturation is high, and the color is darker, it is very likely to be an abnormal condition. However, there is currently no objective and accurate judgment standard between the color of the blood vessels and whether the blood vessels are abnormal. If the judgment is based on the experience of the doctor, the doctor's experience is very high. In addition, it is also easy to make wrong judgments when using the human eye to make judgments.

[0078] In this regard, the solution proposed in this application uses machine learning to train a model, and then during the laparoscopic exploration process, it automatically determines whether the blood vessels are abnormal, so as to remind the doctor and reduce the burden on the doctor.

[0079] However, in this process, due to the complex and changeable environment in the abdominal cavity, problems such as uneven lighting and obvious changes in brightness and darkness are prone to occur. These problems will directly affect the color characteristics of the blood vessels. Therefore, in the scheme of the present application, after obtaining the first image, the first blood vessel background area in the first image is first extracted, and then the first brightness value in the first blood vessel background area is calculated. If the first brightness value does not meet the preset conditions, the first blood vessel background area is subjected to histogram regulation processing to obtain a second image. Through the histogram regulation processing, the image with high brightness and darkness is processed into an image with excessively smooth brightness and darkness and low brightness and darkness, so as to prevent the misjudgment of blood vessel color characteristics due to lighting problems, thereby improving the accuracy of judgment.

[0080] Specifically, in some of the embodiments, after acquiring the first image, a first blood vessel background area is extracted from the first image, and then a first brightness value in the first blood vessel background area is calculated. After the first brightness value is calculated, a qualified area and an unqualified area can be distinguished according to the first brightness value, and the qualified area is input into a judgment module. The judgment module judges whether the blood vessel is abnormal according to the blood vessel color characteristics, performs histogram normalization processing on the unqualified area, and then inputs the processed image into the judgment module for judgment.

[0081] Specifically, when performing histogram regulation processing on the unqualified area, the histogram of the qualified area can be obtained, and the histogram regulation processing of the unqualified area is performed by using the histogram of the qualified area.

[0082] Preferably, in some embodiments, when the first brightness value in the first blood vessel background area does not meet the preset conditions, the entire first blood vessel background area is subjected to histogram regulation processing, and after the processing, it is further determined whether the blood vessel is abnormal. When the judgment result is abnormal, in order to avoid the situation where there are still obvious dark areas after the histogram regulation processing, which may lead to misjudgment, qualified areas and unqualified areas are distinguished according to the first brightness value, and the qualified areas are input into the judgment module. The judgment module determines whether the blood vessel is abnormal according to the blood vessel color characteristics, and the unqualified areas are subjected to histogram regulation processing, and then the processed image is input into the judgment module for judgment.

[0083] In summary, the present application calculates the first brightness value in the first blood vessel background area. If the first brightness value does not meet the preset conditions, it means that the first brightness value in the first blood vessel background area will affect the blood vessel color characteristics, which may easily lead to misjudgment when judging whether the blood vessel is abnormal by the blood vessel color characteristics. Therefore, when the first brightness value does not meet the preset conditions, the first blood vessel background area can be histogram-regulated to obtain a second image, and then the second image is input into the judgment module, and the judgment module is used to extract the blood vessel color characteristics, and then judge whether the blood vessel is abnormal. Therefore, the solution provided by the present application has the beneficial effect of accurately judging whether the blood vessel is abnormal.

[0084] When it is determined that there is an abnormality in the blood vessel in the first image, it is still impossible to accurately confirm whether the abnormality is really a blood vessel abnormality or a misjudgment caused by color difference due to brightness difference.

[0085] Therefore, in some preferred schemes, when the judgment module determines that a blood vessel is abnormal, the abnormal blood vessel area output by the judgment module is obtained, and the abnormal blood vessel area is marked. The marked abnormal blood vessel area can be displayed on the display screen in real time, and according to the abnormal blood vessel area, the illumination center of the laparoscope light source is controlled to align with the abnormal blood vessel area, and the brightness change difference of the abnormal blood vessel area before and after the illumination center of the light source is adjusted is calculated. When the brightness change difference is greater than the set value, a fourth image is extracted after the illumination center of the laparoscope light source is aligned with the abnormal blood vessel area, and whether the blood vessel is abnormal is judged again based on the fourth image. When the brightness change difference is not greater than the set value, the judgment result of the blood vessel abnormality is output.

[0086] Among them, according to the abnormal blood vessel area, the illumination center of the laparoscope light source is controlled to be aimed at the abnormal blood vessel area. This process can be controlled manually or automatically. The marked abnormal blood vessel area is displayed on the display screen in real time to facilitate the doctor's operation.

[0087] Among them, the solution proposed in this application can be applied in a laparoscope system. During the inspection process using the laparoscope system, it is determined whether the blood vessels in the image obtained by the laparoscope are abnormal, and the judgment result of whether it is abnormal can be displayed in real time on the display screen for the doctor's reference.

[0088] Among them, since the light source of the laparoscope will continue to move during the inspection, and as the light source moves, the brightness of the same position will be different when the light source is in different positions. This means that as the light source moves, the same position may appear to have both normal and abnormal blood vessels.

[0089] In this regard, in some preferred embodiments, three-dimensional reconstruction can be performed based on preoperative CT, MRI and other data to construct a three-dimensional model of the blood vessels in the patient's cavity. Then, based on the three-dimensional navigation technology, during the examination using the laparoscope, the movement trajectory of the laparoscope is displayed in the three-dimensional model at the same time. In addition, in this process, the abnormal conditions of the blood vessels in the images obtained by the laparoscope are judged in real time, and the judgment results of the abnormal conditions of the blood vessels are reflected in the three-dimensional model. For example, in the three-dimensional model, as the laparoscope moves, when the blood vessels encountered in the moving path are judged to be normal, the corresponding blood vessel positions in the three-dimensional model are marked in green. When the blood vessels encountered are judged to be abnormal, the corresponding blood vessel positions in the three-dimensional model are marked in black or other colors. Preferably, in the three-dimensional model, after the blood vessels are judged to be normal and displayed in green, they will not change to other colors. Through this solution, the condition of the blood vessels can be intuitively displayed to the doctor, and it can be seen which blood vessels have been judged and which blood vessels have not been judged. At the same time, the change in the judgment result caused by the change in brightness at the same position as the light source moves is avoided.

[0090] The abnormal blood vessel area refers to the location where the judgment module determines that the blood vessel is abnormal based on color features.

[0091] Further, in some of the embodiments, the step of performing histogram normalization processing on the first blood vessel background area to obtain the second image includes:

[0092] Acquire a brightness histogram of each of the third images of the blood vessel background regions marked as normal brightness in the blood vessel background region data set;

[0093] The average brightness histogram is calculated based on each brightness histogram;

[0094] The first blood vessel background area is subjected to histogram normalization processing according to the average brightness histogram to obtain a second image.

[0095] In some of the above embodiments, it is proposed that when the first brightness value in the first blood vessel background area does not meet the preset conditions, the first blood vessel background area is subjected to histogram regulation processing to obtain the second image, the purpose of which is to avoid the situation where the brightness is too dark, resulting in the dark color of the identified blood vessel, and then causing misjudgment. In the specific process of performing histogram regulation processing on the first blood vessel background area, a blood vessel background area data set can be constructed in advance, and the blood vessel background area data set at least includes a third image of the blood vessel background area with normal brightness, that is, the third image is an image of the blood vessel background area under normal brightness. By obtaining the brightness histogram of the third image, an average brightness histogram can be statistically obtained, that is, the average brightness histogram represents the blood vessel background area under normal brightness, and then the first blood vessel background area is subjected to histogram regulation processing by using the average brightness histogram, so as to improve the brightness of the area with too low first brightness value in the first blood vessel background area, thereby reducing the possibility of subsequent misjudgment.

[0096] Furthermore, in some of the embodiments, the step of calculating a first brightness value of a first blood vessel background area in a first image acquired by laparoscope comprises:

[0097] Inputting the first image to the blood vessel background region recognition unit in the judgment module, the blood vessel background region recognition unit recognizes and obtains a first blood vessel background region from the first image;

[0098] Calculating a first brightness value of a first blood vessel background region;

[0099] The second image is input into the judgment module, and the judgment module judges whether the blood vessel is abnormal according to the blood vessel color characteristics in the second image, including:

[0100] Inputting the second image to the blood vessel segmentation unit in the judgment module, and the blood vessel segmentation unit segments the first blood vessel image from the second image;

[0101] The first blood vessel image is input to a judgment unit in the judgment module, and the judgment unit judges whether the blood vessel is abnormal according to the color characteristics of the first blood vessel image.

[0102] Among them, the judgment module includes a blood vessel background area recognition unit, a blood vessel segmentation unit and a judgment unit. In some of the above embodiments, it is proposed to obtain a model that can judge whether a blood vessel is abnormal based on the blood vessel color characteristics through neural network training, and automatically judge by inputting the first blood vessel background area into the model. However, in this process, the first blood vessel background area also includes a lot of content that does not belong to the blood vessel, and these contents that do not belong to the blood vessel may reduce the accuracy of the judgment.

[0103] In this regard, the present application proposes a judgment module that includes a vascular background area recognition unit, a vascular segmentation unit and a judgment unit. The vascular background area recognition unit extracts the first vascular background area from the first image, thereby eliminating the influence of other organs and tissues in the abdominal cavity. After the first vascular background area is extracted, the first brightness value of the first vascular background area is calculated to determine whether histogram regulation processing is required. If histogram regulation processing is not required, the first vascular background area is directly input into the vascular segmentation unit. If histogram regulation processing is required, a second image is obtained after the histogram regulation processing, and then the second image is input into the vascular segmentation unit. The vascular segmentation unit extracts and separates the first vascular image from the second image, and then the extracted and separated first vascular image is input into the judgment unit for judgment.

[0104] Specifically, a vascular background area data set, a vascular area segmentation data set, and a vascular color abnormality judgment data set can be established in advance, and the corresponding vascular background area recognition model, vascular area segmentation model, and vascular color abnormality judgment model can be obtained by training the vascular background area data set, the vascular area segmentation data set, and the vascular color abnormality judgment data set, respectively. Then, the vascular background area recognition model, the vascular area segmentation model, and the vascular color abnormality judgment model are correspondingly stored in the vascular background area recognition unit, the vascular segmentation unit, and the judgment unit, respectively.

[0105] That is, three models are obtained through neural network training, namely, a vascular background area recognition model, a vascular area segmentation model and a vascular color abnormality judgment model, wherein the vascular background area recognition model is used to identify and extract the first vascular background area from the first image, the vascular area segmentation model is used to identify and extract the first vascular image from the first vascular background area, and the vascular color abnormality judgment model is used to judge whether the blood vessel is abnormal according to the vascular color characteristics from the first vascular image.

[0106] Through the above settings, it is possible to avoid objects other than blood vessels from affecting the determination of whether a blood vessel is abnormal, thereby improving the accuracy of the determination.

[0107] Among them, in some preferred implementations, the blood vessel background area dataset is a dataset based on the RGB model, the blood vessel area segmentation dataset is a dataset based on the YUV model, and the blood vessel color abnormality judgment dataset is a dataset based on the YUV model.

[0108] Furthermore, in some embodiments, the first image is an RGB image, and the first image is input into a blood vessel background region recognition unit in the judgment module, and the step of the blood vessel background region recognition unit identifying a first blood vessel background region from the first image includes:

[0109] Inputting the first image as the RGB image to the blood vessel background region recognition unit in the judgment module, the blood vessel background region recognition unit recognizes and obtains a first blood vessel background region as the RGB image from the first image as the RGB image;

[0110] The step of performing histogram normalization processing on the first blood vessel background area to obtain a second image comprises:

[0111] Convert the first blood vessel background region as an RGB image from the RGB space to the YUV space, and extract the corresponding Y channel image, U channel image, and V channel image;

[0112] The first blood vessel background region as the Y channel image, the U channel image, and the V channel image is subjected to histogram normalization processing to obtain a second image as a YUV image.

[0113] In the scheme of the present application, after extracting the first image to obtain the first vascular background area, the first brightness value of the first vascular background area is calculated, and then the first brightness is used to determine whether histogram normalization processing is required, thereby avoiding misjudgment due to brightness factors. In this process, it is proposed to train a vascular background area recognition model and a vascular area segmentation model to reduce the impact of factors other than blood vessels, and finally a judgment is made using the vascular color abnormality judgment model.

[0114] Among them, in the process of training the vascular background area recognition model, it is preferred to use a data set based on the RGB model for training, because the RGB model helps to accurately find the vascular background area. Among them, in the process of training the vascular color abnormality judgment model, it is preferred to use a data set based on the YUV model, which can further avoid the influence of brightness on the result judgment.

[0115] Therefore, in some preferred schemes, the first image obtained by laparoscope is an RGB image, and then the first image as an RGB image is input into the blood vessel background area recognition unit in the judgment module. The blood vessel background area data set obtained by the blood vessel background area recognition unit based on the RGB model data set can accurately find the first blood vessel background area. Before the histogram normalization process is performed, the first blood vessel background area as an RGB image is first converted from the RGB space to the YUV space, and then input into the blood vessel segmentation unit. The blood vessel area segmentation model obtained by training the data set based on the YUV model in the blood vessel segmentation unit extracts the first blood vessel image from the second image, and then the first blood vessel image is input into the judgment unit. The blood vessel color abnormality judgment model obtained by training the data set based on the YUV model in the judgment unit extracts the color features in the first blood vessel image, and then judges whether the blood vessel is abnormal.

[0116] Specifically, in some embodiments, the step of inputting the second image into the judgment module, and the judgment module judging whether the blood vessel is abnormal according to the blood vessel color feature in the second image includes:

[0117] Inputting the second image as a YUV image into the judgment module;

[0118] The determination module calculates the y value, u value, v value, y / u value, y / v value and u / v value in the second image as the YUV image;

[0119] Whether the blood vessel is abnormal is determined based on the y value, u value, v value, y / u value, y / v value and u / v value.

[0120] Among them, the y value represents the brightness, and the u value and v value represent the chromaticity.

[0121] Second, refer to Figure 2 The present application also provides a laparoscopic vascular abnormality image judgment device, comprising:

[0122] A calculation module 210, configured to calculate a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope;

[0123] The processing module 220 is used for performing histogram normalization processing on the first blood vessel background area to obtain a second image when the first brightness value does not meet the preset condition, and inputting the second image to the judgment module 230;

[0124] The judgment module 230 judges whether the blood vessels are abnormal according to the blood vessel color characteristics in the second image.

[0125] By calculating the first brightness value in the first blood vessel background area, if the first brightness value does not meet the preset conditions, it means that the first brightness value in the first blood vessel background area will affect the blood vessel color characteristics, which may easily lead to misjudgment when judging whether the blood vessel is abnormal by the blood vessel color characteristics. Therefore, when the first brightness value does not meet the preset conditions, the first blood vessel background area can be histogram-regulated to obtain a second image, and then the second image is input into the judgment module 230, and the judgment module 230 is used to extract the blood vessel color characteristics, and then judge whether the blood vessel is abnormal. Therefore, the solution provided by the present application has the beneficial effect of accurately judging whether the blood vessel is abnormal.

[0126] Among them, in some preferred embodiments, a laparoscopic vascular abnormality image judgment device provided in the present application can perform any one of the method steps in the above method.

[0127] Further, in some embodiments, the processing module 220 includes:

[0128] A first processing unit is used to obtain a brightness histogram in each third image of the blood vessel background area marked as normal brightness in the blood vessel background area data set;

[0129] A second processing unit, configured to calculate an average brightness histogram according to each brightness histogram;

[0130] The third processing unit is used to perform histogram normalization processing on the first blood vessel background area according to the average brightness histogram to obtain a second image.

[0131] In some of the above embodiments, it is proposed that when the first brightness value in the first blood vessel background area does not meet the preset conditions, the first blood vessel background area is subjected to histogram regulation processing to obtain the second image, the purpose of which is to avoid the situation where the brightness is too dark, resulting in the dark color of the identified blood vessel, and then causing misjudgment. In the specific process of performing histogram regulation processing on the first blood vessel background area, a blood vessel background area data set can be constructed in advance, and the blood vessel background area data set at least includes a third image of the blood vessel background area with normal brightness, that is, the third image is an image of the blood vessel background area under normal brightness. By obtaining the brightness histogram of the third image, an average brightness histogram can be statistically obtained, that is, the average brightness histogram represents the blood vessel background area under normal brightness, and then the first blood vessel background area is subjected to histogram regulation processing by using the average brightness histogram, thereby improving the brightness of the area in the first blood vessel background area where the first brightness value is too low, thereby reducing the possibility of subsequent misjudgment.

[0132] Further, in some embodiments, the calculation module 210 includes:

[0133] A first calculation unit is used to input the first image to the blood vessel background area recognition unit in the judgment module 230, and the blood vessel background area recognition unit recognizes and obtains a first blood vessel background area from the first image;

[0134] A second calculation unit, used for calculating a first brightness value of a first blood vessel background area;

[0135] The determination module 230 includes:

[0136] A first judgment unit, configured to input the second image into a blood vessel segmentation unit in the judgment module 230, and the blood vessel segmentation unit segments a first blood vessel image from the second image;

[0137] The second judgment unit is used to input the first blood vessel image to the judgment unit in the judgment module 230, and the judgment unit judges whether the blood vessel is abnormal according to the color characteristics of the first blood vessel image.

[0138] Among them, the judgment module 230 includes a blood vessel background area recognition unit, a blood vessel segmentation unit and a judgment unit. In some of the above embodiments, it is proposed to obtain a model that can judge whether a blood vessel is abnormal based on the blood vessel color characteristics through neural network training, and automatically judge by inputting the first blood vessel background area into the model. However, in this process, the first blood vessel background area also includes a lot of content that does not belong to the blood vessel, and these contents that do not belong to the blood vessel may reduce the accuracy of the judgment.

[0139] In this regard, the present application proposes that the judgment module 230 includes a vascular background area recognition unit, a vascular segmentation unit and a judgment unit. The vascular background area recognition unit extracts the first vascular background area from the first image, thereby eliminating the influence of other organs and tissues in the abdominal cavity. After the first vascular background area is extracted, the first brightness value of the first vascular background area is calculated to determine whether histogram regulation processing is required. If histogram regulation processing is not required, the first vascular background area is directly input into the vascular segmentation unit. If histogram regulation processing is required, a second image is obtained after the histogram regulation processing, and then the second image is input into the vascular segmentation unit. The vascular segmentation unit extracts and separates the first vascular image from the second image, and then the extracted and separated first vascular image is input into the judgment unit for judgment.

[0140] Specifically, a vascular background area data set, a vascular area segmentation data set, and a vascular color abnormality judgment data set can be established in advance, and the corresponding vascular background area recognition model, vascular area segmentation model, and vascular color abnormality judgment model can be obtained by training the vascular background area data set, the vascular area segmentation data set, and the vascular color abnormality judgment data set, respectively. Then, the vascular background area recognition model, the vascular area segmentation model, and the vascular color abnormality judgment model are correspondingly stored in the vascular background area recognition unit, the vascular segmentation unit, and the judgment unit, respectively.

[0141] That is, three models are obtained through neural network training, namely, a vascular background area recognition model, a vascular area segmentation model and a vascular color abnormality judgment model, wherein the vascular background area recognition model is used to identify and extract the first vascular background area from the first image, the vascular area segmentation model is used to identify and extract the first vascular image from the first vascular background area, and the vascular color abnormality judgment model is used to judge whether the blood vessel is abnormal according to the vascular color characteristics from the first vascular image.

[0142] Through the above settings, it is possible to avoid objects other than blood vessels from affecting the determination of whether a blood vessel is abnormal, thereby improving the accuracy of the determination.

[0143] Further, in some of the embodiments, the first image is an RGB image, and the first calculation unit includes:

[0144] A first calculation subunit is used to input the first image as an RGB image to the blood vessel background region recognition unit in the judgment module 230, and the blood vessel background region recognition unit recognizes and obtains a first blood vessel background region as an RGB image from the first image as an RGB image;

[0145] The processing module 220 includes:

[0146] A third calculation unit is used to convert the first blood vessel background area as an RGB image from the RGB space to the YUV space, and extract the corresponding Y channel image, U channel image and V channel image;

[0147] The fourth calculation unit is used to perform histogram normalization processing on the first blood vessel background area as the Y channel image, the U channel image and the V channel image to obtain a second image as a YUV image.

[0148] In the scheme of the present application, after extracting the first image to obtain the first vascular background area, the first brightness value of the first vascular background area is calculated, and then the first brightness is used to determine whether histogram normalization processing is required, thereby avoiding misjudgment due to brightness factors. In this process, it is proposed to train a vascular background area recognition model and a vascular area segmentation model to reduce the impact of factors other than blood vessels, and finally a judgment is made using the vascular color abnormality judgment model.

[0149] Among them, in the process of training the vascular background area recognition model, it is preferred to use a data set based on the RGB model for training, because the RGB model helps to accurately find the vascular background area. Among them, in the process of training the vascular color abnormality judgment model, it is preferred to use a data set based on the YUV model, which can further avoid the influence of brightness on the result judgment.

[0150] Therefore, in some preferred schemes, the first image obtained by laparoscope is an RGB image, and then the first image as an RGB image is input into the blood vessel background area recognition unit in the judgment module 230. The blood vessel background area data set obtained by the blood vessel background area recognition unit based on the data set of the RGB model can accurately find the first blood vessel background area. Before the histogram normalization process is performed, the first blood vessel background area as an RGB image is first converted from the RGB space to the YUV space, and then input into the blood vessel segmentation unit. The blood vessel area segmentation model obtained by training the data set based on the YUV model in the blood vessel segmentation unit extracts the first blood vessel image from the second image, and then the first blood vessel image is input into the judgment unit. The blood vessel color abnormality judgment model obtained by training the data set based on the YUV model in the judgment unit extracts the color features in the first blood vessel image, and then judges whether the blood vessel is abnormal.

[0151] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining abnormal blood vessel images under laparoscopy, characterized in that: include: Calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope; When the first brightness value does not meet a preset condition, performing a histogram normalization process on the first blood vessel background area to obtain a second image; Input the second image to the judgment module, the judgment module judges whether the blood vessel is abnormal according to the blood vessel color characteristics in the second image, and after calculating the first brightness value, distinguishes qualified areas and unqualified areas according to the first brightness value, and inputs the qualified areas to the judgment module, the judgment module judges whether the blood vessel is abnormal according to the blood vessel color characteristics, performs histogram regulation processing on the unqualified areas, and then inputs the processed image to the judgment module for judgment; When performing histogram regulation processing on the unqualified area, obtaining the histogram of the qualified area, and performing histogram regulation processing on the unqualified area by using the histogram of the qualified area; Also includes: Acquire the abnormal blood vessel region output by the judgment module, mark the abnormal blood vessel region, display the marked abnormal blood vessel region on the display screen in real time, control the illumination center of the laparoscope light source to align with the abnormal blood vessel region according to the abnormal blood vessel region, calculate the brightness change difference of the abnormal blood vessel region before and after the illumination center of the light source is adjusted, and when the brightness change difference is greater than a set value, extract a fourth image after the illumination center of the laparoscope light source is aligned with the abnormal blood vessel region, judge whether the blood vessel is abnormal again according to the fourth image, and when the brightness change difference is not greater than the set value, output the judgment result of the abnormal blood vessel; Also includes: Based on the preoperative CT and MRI data, three-dimensional reconstruction is performed to construct a three-dimensional model of the blood vessels in the patient's cavity. Then, based on the three-dimensional navigation technology, the movement trajectory of the laparoscope is displayed in the three-dimensional model during the examination using the laparoscope. In addition, in this process, the abnormal conditions of the blood vessels in the images obtained by the laparoscope are judged in real time, and the judgment results of the abnormal conditions of the blood vessels are reflected in the three-dimensional model. As the laparoscope moves, when the blood vessels encountered in the moving path are judged to be normal, the corresponding blood vessel positions in the three-dimensional model are marked in green. When the encountered blood vessels are judged to be abnormal, the corresponding blood vessel positions in the three-dimensional model are marked in black or other colors. After the blood vessels are judged to be normal and displayed in green, they will not change to other colors.

2. The method for determining vascular abnormality under laparoscopy according to claim 1, characterized in that: The step of performing histogram normalization processing on the first blood vessel background area to obtain a second image comprises: Acquire a brightness histogram of each of the third images of the blood vessel background regions marked as normal brightness in the blood vessel background region data set; Calculating an average brightness histogram according to each of the brightness histograms; The first blood vessel background area is subjected to histogram normalization processing according to the average brightness histogram to obtain the second image.

3. The method for determining abnormal blood vessel images under laparoscopy according to claim 1, characterized in that: The step of calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope comprises: Inputting the first image into the blood vessel background region recognition unit in the judgment module, the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region from the first image; Calculating a first brightness value of the first blood vessel background area; The step of inputting the second image into a judgment module, wherein the judgment module judges whether the blood vessels are abnormal according to the blood vessel color features in the second image comprises: inputting the second image into a blood vessel segmentation unit in the determination module, wherein the blood vessel segmentation unit segments a first blood vessel image from the second image; The first blood vessel image is input to a judgment unit in the judgment module, and the judgment unit judges whether the blood vessel is abnormal according to the color feature of the first blood vessel image.

4. The method for determining abnormal blood vessel images under laparoscopy according to claim 3, characterized in that: The first image is an RGB image, and the step of inputting the first image into the blood vessel background area recognition unit in the judgment module, and the blood vessel background area recognition unit identifying the first blood vessel background area from the first image includes: Inputting the first image as an RGB image to a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region as an RGB image from the first image as an RGB image; The step of performing histogram normalization processing on the first blood vessel background area to obtain a second image comprises: Converting the first blood vessel background region as an RGB image from the RGB space to the YUV space, and extracting the corresponding Y channel image, U channel image, and V channel image; The first blood vessel background region, which is the Y channel image, the U channel image, and the V channel image, is subjected to a histogram normalization process to obtain the second image, which is a YUV image.

5. The method for determining abnormal blood vessel images under laparoscopy according to claim 4, characterized in that: The step of inputting the second image into a judgment module, wherein the judgment module judges whether the blood vessels are abnormal according to the blood vessel color features in the second image comprises: Inputting the second image as a YUV image into a judgment module; The determination module calculates a y value, a u value, a v value, a y / u value, a y / v value, and a u / v value in the second image as a YUV image; Whether the blood vessel is abnormal is determined according to the y value, the u value, the v value, the y / u value, the y / v value, and the u / v value.

6. The method for determining abnormal blood vessel images under laparoscopy according to claim 4, characterized in that: Also includes: Establish a blood vessel background area dataset based on the RGB model; Establish a blood vessel region segmentation dataset based on the YUV model; Establish a data set for abnormal blood vessel color judgment based on the YUV model; According to the blood vessel background area data set, the blood vessel area segmentation data set and the blood vessel color abnormality judgment data set, training is performed to obtain corresponding blood vessel background area recognition models, blood vessel area segmentation models and blood vessel color abnormality judgment models respectively; The blood vessel background region recognition model, the blood vessel region segmentation model and the blood vessel color abnormality judgment model are correspondingly stored in the blood vessel background region recognition unit, the blood vessel segmentation unit and the judgment unit respectively.

7. A laparoscopic vascular abnormality image judgment device, characterized in that: include: A calculation module, used for calculating a first brightness value of a first blood vessel background area in a first image acquired by the laparoscope; a processing module, configured to perform histogram normalization processing on the first blood vessel background area to obtain a second image when the first brightness value does not meet a preset condition, and input the second image to a judgment module; a judgment module, which judges whether the blood vessel is abnormal according to the blood vessel color feature in the second image, distinguishes a qualified area and an unqualified area according to the first brightness value after calculating the first brightness value, inputs the qualified area into the judgment module, and the judgment module judges whether the blood vessel is abnormal according to the blood vessel color feature, performs histogram regulation processing on the unqualified area, and then inputs the processed image into the judgment module for judgment; When performing histogram regulation processing on the unqualified area, obtaining the histogram of the qualified area, and performing histogram regulation processing on the unqualified area by using the histogram of the qualified area; Also includes: Acquire the abnormal blood vessel region output by the judgment module, mark the abnormal blood vessel region, display the marked abnormal blood vessel region on the display screen in real time, control the illumination center of the laparoscope light source to align with the abnormal blood vessel region according to the abnormal blood vessel region, calculate the brightness change difference of the abnormal blood vessel region before and after the illumination center of the light source is adjusted, and when the brightness change difference is greater than a set value, extract a fourth image after the illumination center of the laparoscope light source is aligned with the abnormal blood vessel region, judge whether the blood vessel is abnormal again according to the fourth image, and when the brightness change difference is not greater than the set value, output the judgment result of the abnormal blood vessel; Also includes: Based on the preoperative CT and MRI data, three-dimensional reconstruction is performed to construct a three-dimensional model of the blood vessels in the patient's cavity. Then, based on the three-dimensional navigation technology, the movement trajectory of the laparoscope is displayed in the three-dimensional model during the examination using the laparoscope. In addition, in this process, the abnormal conditions of the blood vessels in the images obtained by the laparoscope are judged in real time, and the judgment results of the abnormal conditions of the blood vessels are reflected in the three-dimensional model. As the laparoscope moves, when the blood vessels encountered in the moving path are judged to be normal, the corresponding blood vessel positions in the three-dimensional model are marked in green. When the encountered blood vessels are judged to be abnormal, the corresponding blood vessel positions in the three-dimensional model are marked in black or other colors. After the blood vessels are judged to be normal and displayed in green, they will not change to other colors.

8. The laparoscopic vascular abnormality image determination device according to claim 7, characterized in that: The processing module comprises: A first processing unit is used to obtain a brightness histogram in each third image of the blood vessel background area marked as normal brightness in the blood vessel background area data set; A second processing unit, configured to calculate an average brightness histogram according to each of the brightness histograms; The third processing unit is used to perform histogram normalization processing on the first blood vessel background area according to the average brightness histogram to obtain the second image.

9. The laparoscopic vascular abnormality image determination device according to claim 7, characterized in that: The calculation module comprises: a first calculation unit, configured to input the first image into a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region from the first image; A second calculation unit, configured to calculate a first brightness value of the first blood vessel background area; The judging module comprises: a first judging unit, configured to input the second image into a blood vessel segmentation unit in the judging module, wherein the blood vessel segmentation unit segments a first blood vessel image from the second image; The second judgment unit is used to input the first blood vessel image into the judgment unit in the judgment module, and the judgment unit judges whether the blood vessel is abnormal according to the color characteristics of the first blood vessel image.

10. The laparoscopic vascular abnormality image judgment device according to claim 9, characterized in that: The first image is an RGB image, and the first calculation unit includes: a first calculation subunit, configured to input the first image as an RGB image into a blood vessel background region recognition unit in the judgment module, wherein the blood vessel background region recognition unit recognizes and obtains the first blood vessel background region as an RGB image from the first image as an RGB image; The processing module comprises: a third calculation unit, configured to convert the first blood vessel background region, which is an RGB image, from an RGB space to a YUV space, and extract a corresponding Y channel image, a U channel image, and a V channel image; The fourth calculation unit is used to perform histogram normalization processing on the first blood vessel background area as the Y channel image, the U channel image and the V channel image to obtain the second image as a YUV image.