Image processing method and system based on artificial intelligence, terminal and medium

Through an artificial intelligence-based image processing method, combined with medical images and conventional blood indicators, gastroscopy has solved the invasiveness and error problems in diagnosing gastric diseases related to esophageal gastric varicose veins and portal hypertension, and achieved non-invasive, rapid and accurate diagnosis and bleeding risk assessment.

CN118898740APending Publication Date: 2024-11-05张笑春 +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410923481.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing gastroscopy is invasive when diagnosing gastric diseases related to esophageal gastric varicose and portal hypertension, and is poor tolerant. It is impossible to evaluate the vascular conditions between the muscular walls and outside the esophageal gastric cavity, resulting in large errors in the evaluation of the degree of vasculature and bleeding. Danger stratification is inaccurate.

Method used

Using an artificial intelligence-based image processing method, the multi-scale rough classification feature map and sub-classification feature map of medical image data are extracted through a pre-constructed artificial intelligence hierarchical prediction model, and combined with blood routine and liver function indicators, the degree of varicose veins in the esophageal gastric wall and The risk of bleeding is stratified to achieve non-invasive, rapid and comprehensive diagnosis.

Benefits of technology

It realizes rapid and accurate diagnosis within and outside the esophageal gastric wall, reduces the error in evaluating the degree of varicose, improves the accuracy of prediction of bleeding risk stratification, avoids anesthesia, sedation and intubation, and provides a basis for early treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898740A_ABST
    Figure CN118898740A_ABST
Patent Text Reader

Abstract

The invention provides an image processing method and system based on artificial intelligence, a terminal and a medium, and belongs to the technical field of artificial intelligence. The method comprises the following steps: extracting a multi-scale coarse classification feature map and a multi-scale fine classification feature map of medical image data to be processed through a pre-constructed artificial intelligence grading prediction model, and obtaining an esophageal gastric wall varicosity degree grading score according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; and determining the acute esophageal and gastric varicose vein hemorrhage risk layer according to the esophageal and gastric wall varicose vein degree grading score, the blood routine related indexes and the liver function related indexes. Through the provided image processing scheme based on artificial intelligence, rapid, comprehensive, visual, quantitative and accurate prediction in and out of the esophageal and gastric wall cavity is realized at a time, the evaluation error of the esophageal and gastric wall blood vessel varicosity degree is reduced, and the prediction accuracy of bleeding risk layering is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an image processing method, system, terminal and medium based on artificial intelligence. Background Art

[0002] Currently, gastroscopy is considered the gold standard for diagnosing esophagogastric varices (EGV) and portal hypertension-related gastropathy (PHG). However, conventional gastroscopy is invasive and poorly tolerated by patients. Painless gastroscopy may induce and aggravate hepatic encephalopathy due to the use of sedative anesthetic drugs, and its repeated follow-up is limited. In addition, gastroscopy can only evaluate intracavitary and submucosal lesions, but cannot evaluate the intramural and extraesophageal vascular conditions. There are problems such as large errors in the evaluation of the degree of esophageal and gastric wall varices and inability to accurately stratify bleeding risks. Summary of the invention

[0003] In order to solve the above technical problems, the present application provides an image processing method, system, terminal and medium based on artificial intelligence.

[0004] In a first aspect, the present application provides an image processing method based on artificial intelligence, the method comprising:

[0005] A multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed are extracted by a pre-constructed artificial intelligence grading prediction model, and a grading score of the degree of esophageal and gastric wall varices is obtained according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; the medical image data to be processed includes transverse enhanced portal phase, transverse enhanced venous phase image data or plain scan transverse axial image data;

[0006] The risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

[0007] In one embodiment, the artificial intelligence hierarchical prediction model includes a coarse classification network model, N conditional attention modules and a fine classification network model;

[0008] The method of extracting a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed by a pre-built artificial intelligence classification prediction model, and obtaining a grading score of the degree of esophageal and gastric wall varicose veins according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map, includes:

[0009] Extracting the multi-scale coarse classification feature map from the medical image data to be processed by using the coarse classification network model;

[0010] Acquire the multi-scale fine classification feature map according to the medical image data to be processed and the multi-scale coarse classification feature map through the fine classification network model;

[0011] Determine the kth attention-aware fine classification feature map according to the kth coarse classification feature map and the kth fine classification feature map through the kth conditional attention module, where 1≤k≤N;

[0012] The esophageal and gastric wall varices degree grading score is determined by the subdivision network model according to the Nth attention-aware subdivision feature map.

[0013] In one embodiment, the coarse classification network model includes a first backbone network and a first multi-layer perceptron; and extracting a multi-scale coarse classification feature map from the medical image data to be processed by the coarse classification network model includes:

[0014] Extracting features of the medical image data to be processed by the first backbone network to obtain a first coarse classification feature map;

[0015] Extract features from the hth coarse powder feature map through the first backbone network to obtain the h+1th coarse classification image feature, 1≤h≤N-1;

[0016] The method further comprises:

[0017] The Nth rough classification image feature is roughly classified by the first multi-layer perceptron to obtain a rough classification result of the degree of esophageal and gastric wall varicose veins;

[0018] The fine classification network model includes a second backbone network and a second multi-layer perceptron; the method of obtaining a multi-scale fine classification feature map according to the medical image data to be processed and the multi-scale coarse classification feature map through the fine classification network model includes:

[0019] Extracting a first sub-classification feature map from the medical image data to be processed through the second backbone network;

[0020] The jth attention-aware sub-category feature map is calculated through the second backbone network to obtain the jth sub-category feature map; 2≤j≤N.

[0021] In one embodiment, the blood routine related indicators include platelet count and platelet volume in peripheral blood; liver function related indicators include peripheral blood albumin concentration and globulin concentration, peripheral blood red blood cell count and reticulocyte count;

[0022] The risk stratification of acute esophageal and gastric varicose vein bleeding is determined based on the esophageal and gastric varicose vein grading score and blood routine related indicators, including:

[0023] Determine the product value of the esophageal and gastric wall varices degree grading score and the platelet count in the peripheral blood as the risk stratification for acute esophageal and gastric varicose vein bleeding; or,

[0024] Determine the risk stratification of acute esophageal and gastric varicose veins by using the quotient of the esophageal and gastric wall varices grade score and the platelet count;

[0025] The risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric varices grading score and liver function related indicators, including:

[0026] Calculating the first product of the esophageal and gastric wall varices degree grading score and the peripheral blood albumin concentration, and using the quotient of the first product and the globulin concentration as the risk stratification for acute esophageal and gastric varicose vein bleeding; or,

[0027] The second product of the esophageal and gastric wall varices degree grading score and the reticulocyte count is calculated, and the quotient of the second product and the peripheral blood red blood cell count is used as the risk stratification of acute esophageal and gastric varicose vein bleeding.

[0028] In one embodiment, the method further comprises:

[0029] When the subject has finished taking the imaging examination items, obtaining a DICOM image of the subject;

[0030] Based on the file information of the DICOM image, identifying the signal-to-noise ratio of the DICOM image, and determining whether the DICOM image matches the imaging examination item;

[0031] If there is no match, the process is terminated and a first prompt message is generated; if there is a match, whether the DICOM image meets the preset quality condition is determined, if it does, the DICOM image is defined as the first image, if it does not meet, the process is terminated, and a first judgment result and a second prompt message are generated;

[0032] Determine whether the first image has parameters related to changes after portosystemic shunt surgery, and if so, identify the parameters related to changes after portosystemic shunt surgery in the first image and assign corresponding scores to generate a second determination result;

[0033] Segmenting the target organ and the sign area on the first image based on a first preset rule; setting anatomical coordinates for each target organ, outputting first auxiliary diagnosis data, setting an anatomical label for each of the anatomical coordinates, and outputting the area of ​​each of the anatomical labels as a second image;

[0034] Segmenting the second image to obtain all target organs and sign regions based on a second preset rule and the first auxiliary diagnosis data, setting target organ and sign coordinates for each target organ and sign region to obtain second auxiliary diagnosis data, setting a target organ and sign label for each target organ and sign coordinate, and outputting each region of the target organ and sign label as a third image;

[0035] Comparing the first auxiliary diagnosis data with the second auxiliary diagnosis data, performing positioning measurement and scoring on each target organ and sign area, so as to obtain positioning results, target organ and sign area measurement values ​​and assigned scores, and key images for each target organ and sign area;

[0036] Based on the preset scoring and grading rules, the positioning results of each target organ and sign, the target organ and sign measurement values ​​and the assigned scores are used to generate a predicted result of the esophageal and gastric wall varices degree grading. Based on the preset risk stratification calculation rules, the generated esophageal and gastric wall varices degree grading is stratified to obtain a predicted result of bleeding risk stratification.

[0037] In one embodiment, the method further comprises:

[0038] When the second judgment result is that there is a change after portosystemic shunt, stent implantation or treatment, determine whether the second judgment result matches the target organ and sign numerical value and the assigned score. If the second judgment result matches the target organ and sign numerical value and the assigned score, send the second judgment result, the target organ and sign numerical value and the assigned score to the image performance control; if the second judgment result does not match the target organ and sign numerical value and the assigned score, send the second judgment result, the target organ and sign numerical value and the assigned score to the target organ and sign management control, and generate a third prompt information;

[0039] Based on the first auxiliary diagnosis data and the first preset judgment rule, judging whether the anatomical label is compliant and assigning a score to obtain a third judgment result;

[0040] Based on the second auxiliary diagnosis data and the second preset judgment rule, judging whether the target organ and the sign label correspond to the preset threshold value of the level, so as to obtain a fourth judgment result;

[0041] If the positioning result is correct, then based on the third preset judgment rule, determine whether the target organ and sign values ​​are compliant. If they are compliant, the positioning result, the target organ and sign values, and the key image are sent to the image presentation control. If they are not compliant, the positioning result, the target organ and sign measurement values, and the key image are sent to the target organ and sign control, and a sixth prompt message is generated.

[0042] In a second aspect, the present application provides an image processing method based on artificial intelligence, and the image processing method based on artificial intelligence includes:

[0043] An extraction module is used to extract a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed through a pre-built artificial intelligence classification prediction model, and obtain a grading score of the degree of esophageal and gastric wall varicose veins according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; the medical image data to be processed includes transverse enhanced portal phase, transverse enhanced venous phase image data or plain scan transverse axial image data;

[0044] A determination module is used to determine the risk stratification of acute esophageal and gastric varicose vein bleeding according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

[0045] In a third aspect, the present application provides an electronic device comprising a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is run by the processor, the image processing method based on artificial intelligence provided in the first aspect is executed.

[0046] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when running on a processor, executes the artificial intelligence-based image processing method provided in the first aspect.

[0047] The above-mentioned artificial intelligence-based image processing method, device, electronic device and medium provided in the present application extract the multi-scale coarse classification feature map and the multi-scale fine classification feature map of the medical image data to be processed through a pre-constructed artificial intelligence grading prediction model, and obtain the esophageal and gastric wall varices degree grading score according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; determine the risk stratification of acute esophageal and gastric varicose vein bleeding according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators, thereby realizing a one-time rapid, comprehensive, intuitive, quantitative, accurate and non-invasive diagnosis of portal hypertension-related esophageal and gastric varices degree grading and bleeding risk prediction inside and outside the esophageal and gastric wall cavity, and does not require anesthesia and sedation, and does not require intubation, thereby reducing the error in the evaluation of the degree of esophageal and gastric wall varices and improving the prediction accuracy of bleeding risk stratification. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.

[0049] Figure 1 A schematic diagram of a process of an image processing method based on artificial intelligence provided by the present application is shown;

[0050] Figure 2 A schematic diagram of the grading of the degree of esophageal and gastric wall varices provided by the present application is shown;

[0051] Figure 3 A schematic diagram of the structure of the artificial intelligence hierarchical prediction model provided by the present application is shown;

[0052] Figure 4 A schematic diagram of the structure of the backbone network of the artificial intelligence hierarchical prediction model provided by the present application is shown;

[0053] Figure 5 A structural schematic diagram of a conditional attention module of the artificial intelligence hierarchical prediction model provided by the present application is shown;

[0054] Figure 6 Another schematic diagram of the process of the image processing method based on artificial intelligence provided by the present application is shown;

[0055] Figure 7 A schematic diagram of the structure of an image processing device based on artificial intelligence provided by the present application is shown;

[0056] Figure 8 Another structural schematic diagram of the artificial intelligence-based image processing device provided in the present application is shown.

[0057] Main icons: 700-artificial intelligence-based image processing device, 701-extraction module, 702-determination module, 703-image management module, 704-image recognition module, 705-quality judgment module, 706-portosystemic shunt postoperative judgment module, 707-anatomical segmentation module, 708-target organ and sign detection module, 709-report module. DETAILED DESCRIPTION

[0058] The technical solution 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 part of the embodiments of the present application, rather than all the embodiments.

[0059] The components of the present application generally described and shown in the drawings herein may be arranged and designed in a variety of 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 claimed 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 are within the scope of protection of the present application.

[0060] Portal hypertension (PH) is a group of syndromes caused by persistent increase in portal vein pressure. Most cases are caused by liver cirrhosis, and a few are secondary to portal vein trunk or hepatic vein obstruction and other factors. 80% to 90% of PH patients develop EGV, and 20% to 80% of PH patients develop PHG. Both EGV and PHG can lead to upper gastrointestinal bleeding, with mild cases of hematemesis and black stools, and severe cases such as acute variceal bleeding (AVB) can be life-threatening. The mortality rate of AVB and acute PHG upper gastrointestinal bleeding is very high, with about 20% to 35% dying from the first bleeding. Among the survivors, the re-bleeding rate within 6 months is as high as 70%, and the 2-year survival rate of survivors of the first acute bleeding is only 30% to 40%. PHG can lead to long-term chronic gastrointestinal bleeding, seriously affecting the patient's physical development and quality of life. When portal vein pressure increases, venous return is obstructed, esophageal and gastric varices (EGV) occur, gastric submucosal capillaries become congested and dilated, vascular permeability increases, and plasma extravasation occurs, leading to the opening of a large number of arteriovenous shunts, decreased arterial oxygen saturation, gastric mucosal ischemia, hypoxia, and local gastric mucosal damage. The two are not only two complications at different stages of PH development, but also affect each other. For example, endoscopic treatment (ligation and sclerosing agent injection, etc.) of esophageal varices causes blood flow redistribution, increased portal vein blood flow, and further increased pressure, aggravating PHG. Therefore, early evaluation of the degree of esophageal and gastric varices and bleeding risk stratification are crucial for predicting acute upper gastrointestinal bleeding and reducing PH mortality.

[0061] Existing technologies often use gastroscopy to diagnose EGV and PHG. Gastroscopy can only evaluate intracavitary and submucosal lesions, but cannot evaluate the vascular conditions between the muscle walls and outside the esophageal and gastric cavity. There are large errors in the evaluation of the degree of varicose veins of the esophageal and gastric wall, and it is impossible to accurately stratify bleeding risks.

[0062] Example 1

[0063] In response to the problems existing in the prior art, the present application provides an image processing method based on artificial intelligence.

[0064] See also Figure 1 The image processing method based on artificial intelligence includes step S101-step S102, and each step is described below.

[0065] Step S101, extracting a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed through a pre-constructed artificial intelligence grading prediction model, and obtaining a grading score for the degree of esophageal and gastric wall varicose veins based on the multi-scale coarse classification feature map and the multi-scale fine classification feature map.

[0066] In this embodiment, the medical image data to be processed include transverse enhanced portal phase image data, transverse enhanced venous phase image data or plain scan transverse axial image data.

[0067] It should be noted that the medical data to be processed include CT / MR transverse enhanced scanning portal phase or venous phase image data, or MR black blood / bright blood T1 / T2 fat-suppressed or non-fat-suppressed plain scan transverse axial image data.

[0068] Due to the use of iodine contrast agents and radiation dose, CT scanning is limited in special populations, such as those with allergic constitutions, pregnant women, leukemia patients, or infants who undergo multiple CT examinations. Therefore, MR imaging data can be used. CT scanning data includes transverse enhanced scanning portal phase or venous phase image data, and MR imaging data includes MR black blood / bright blood T1 / T2 fat-suppressed or non-fat-suppressed plain scan transverse axial image data.

[0069] In one embodiment, the method further comprises the following steps:

[0070] According to the gold standard of the training set, the preset parameter information is annotated on the initial medical image data to obtain the final training set, wherein the preset parameter information includes varicose vessel characteristic parameters, the relationship between varicose vessels and the esophageal gastric cavity space ratio, the patency of the endogenous portosystemic shunt venous plexus, the patency of the portosystemic shunt-related vessels and stent-implanted vessels, the pleural and abdominal effusion, liver perfusion, spleen enlargement and necrosis;

[0071] The final training set is input into a pre-built multi-task classification network model for training to obtain the artificial intelligence hierarchical prediction model.

[0072] In this embodiment, the classification task is divided into two subtasks, namely, coarse classification and fine classification. A multi-task classification network is used for learning, which can more efficiently extract task-related features, reduce model complexity, and improve model robustness.

[0073] See also Figure 2 According to the gold standard of the training set, the initial medical image data was divided into Grade of Esophageal and Gastric Varices Sscore (GEGVS) according to the preset parameter information, and the grade was I to V, as follows: Grade I: small spot-like or strip-like enhancement foci were seen between the esophageal and gastric muscle walls, with a diameter of <3 mm and no protrusion into the lumen. Among them, Grade I includes IA, IB, and IC. IA: ≤3, no peripheral venous plexus patency or azygos vein system dilation (assigned 1 point); IB: ≤3, with peripheral venous plexus patency or azygos vein system dilation (assigned 2 points); IC: >3, with peripheral venous plexus patency or azygos vein system dilation (assigned 3 points).

[0074] Grade II: Multiple spot-like or strip-like enhancement of target organs and signs between the esophageal and gastric muscle walls and under the mucosa, with a diameter of 3 to 5 mm, occupying ≤50% of the wall, and protruding from the lumen. Grade II includes: IIA, IIB, and IIC. Among them, IIA: no peripheral venous plexus opening or azygos vein dilatation (assigned 4 points); IIB: there is a peripheral venous plexus opening or azygos vein dilatation (assigned 5 points); IIC: there is a peripheral venous plexus opening and azygos vein dilatation (assigned 6 points). Grade III: Multiple spot-like or beaded enhancement of target organs and signs between the esophageal and gastric muscle walls and under the mucosa, with a diameter of 5 to 10 mm, occupying >50% of the wall, obviously protruding from the lumen, splenomegaly or giant spleen, with or without splenic infarction after splenic artery embolization or partial splenectomy, with or without peritoneal effusion or pleural effusion, with or without peripheral venous plexus opening or azygos vein system dilatation.

[0075] Grade III includes: IIIA, IIIB, and IIIC. Among them, IIIA: no patency of the peripheral venous plexus or dilatation of the azygos vein system (assigned 7 points); IIIB: patency of the peripheral venous plexus or dilatation of the azygos vein (assigned 8 points); IIIC: patency of the peripheral venous plexus and dilatation of the azygos vein (assigned 9 points). Grade IV: full-thickness reticular enhancement of target organs and signs of the esophageal and gastric muscle wall, splenomegaly or giant spleen, with or without splenic infarction after splenic artery embolization or partial splenectomy, with or without peritoneal effusion or pleural effusion, with or without patency of the peripheral venous plexus or dilatation of the azygos vein system.

[0076] IV grade includes: IVA, IVB, and IVC. Among them, IVA: diameter 3-5mm, no peripheral venous plexus or dilatation of the azygos vein system (assigned 10 points); IVB: diameter 3-5mm, peritoneal effusion or pleural effusion, or peripheral venous plexus or dilatation of the azygos vein system (assigned 11 points); IVC: 5-10mm, peritoneal effusion or pleural effusion, peripheral venous plexus or dilatation of the azygos vein system (assigned 12 points).

[0077] Grade V: reticular enhancement of the target organs and signs in the entire esophageal and gastric muscle wall, diameter > 10 mm, and protruding from the lumen, splenomegaly or giant spleen, with or without splenic infarction after splenic artery embolization or partial splenectomy, with or without peritoneal effusion or pleural effusion, with or without open peripheral venous plexus and dilatation of the azygos vein system (assigned 15 points). Grade V includes: VA, VB, VC. Among them, VA: splenomegaly and the presence of splenic infarction after splenic artery embolization or partial splenectomy (assigned 13 points), no peritoneal effusion or pleural effusion, with or without patency of the peripheral venous plexus and dilatation of the azygos vein system; VB: splenomegaly or splenomegaly and the presence of splenic infarction after splenic artery embolization or partial splenectomy, with peritoneal effusion or pleural effusion, with or without patency of the peripheral venous plexus and dilatation of the azygos vein system; (assigned 14 points); VC: splenomegaly and no splenic infarction after splenic artery embolization or no history of partial splenectomy, with peritoneal effusion or pleural effusion, with or without patency of the peripheral venous plexus and dilatation of the azygos vein system (assigned 15 points).

[0078] In this embodiment, the artificial intelligence hierarchical prediction model includes a coarse classification network model, N conditional attention modules and a fine classification network model. Figure 3 The artificial intelligence hierarchical prediction model includes a coarse classification network model, four conditional attention modules and a fine classification network model. The medical image data to be processed are input into the coarse classification network model and the fine classification network model respectively. The coarse classification network model and the fine classification network model are both composed of a backbone network and an MLP multilayer perceptron (MLP). The backbone network is composed of ResNet50 without the fully connected layer. Figure 3 In the embodiment, the coarse classification network model includes a first backbone network and a first MLP, and the fine classification network model includes a second backbone network and a second MLP. Figure 3 In the figure, conv, BN, Maxpooling, and Global avg pooling represent the convolution layer, batch normalization layer, maximum pooling layer, and global average pooling layer, respectively. 7×7conv,64, / 2 means that the convolution kernel size is 7×7, the number of output channels is 64, and stride=2.

[0079] See also Figure 4 , which are the core modules of the backbone network, Block1 and Block2. Block1 includes: input layer (Input), convolution layer (1×1conv, n), batch normalization layer + linear rectification function (BN+ReLu), convolution layer (3×3conv, n, / s), batch normalization layer + linear rectification function (BN+ReLu), convolution layer (1×1conv, 4n), batch normalization layer (BN), convolution layer (1×1conv, 4n, / s), batch normalization layer (BN), activation layer (ReLu), output layer (Output). Block2 includes: input layer (Input), convolution layer (1×1conv, n), batch normalization layer + linear rectification function (BN+ReLu), convolution layer (3×3conv, n), batch normalization layer + linear rectification function (BN+ReLu), convolution layer (1×1conv, 4n), batch normalization layer (BN), linear rectification function (ReLu), output layer (Output). The backbone network is used to extract multi-scale image features. The MLP has a hidden layer with a dimension of 512. For the coarse classification network model, the output of the first MLP has 5 categories, representing the I to V levels of GEGVS. For the fine classification network model, the output of the second MLP has 3 categories, representing the A to C levels of GEGVS. The results of the coarse classification and the fine classification are combined in pairs to finally obtain Figure 2 GEGVS results in (15 categories).

[0080] See also Figure 6 , step S101 includes steps S1011-S1014, and each step is described below.

[0081] Step S1011, extracting the multi-scale coarse classification feature map from the medical image data to be processed through the coarse classification network model.

[0082] In one implementation, the coarse classification network model includes a first backbone network and a first multi-layer perceptron, and step S1011 includes:

[0083] Extracting features of the medical image data to be processed by the first backbone network to obtain a first coarse classification feature map;

[0084] The hth coarse powder feature map is extracted through the first backbone network to obtain the h+1th coarse classification image feature, 1≤h≤N-1.

[0085] It should be supplemented that the method further includes: performing rough classification on the Nth rough classification image feature by using the first multi-layer perceptron to obtain a rough classification result of the degree of esophageal and gastric wall varicose veins.

[0086] Step S1012, obtaining the multi-scale fine classification feature map according to the medical image data to be processed and the multi-scale coarse classification feature map through the fine classification network model.

[0087] In one implementation, the subdivision network model includes a second backbone network and a second multi-layer perceptron; step S1012 includes:

[0088] Extracting a first sub-classification feature map from the medical image data to be processed through the second backbone network;

[0089] The jth attention-aware sub-category feature map is calculated through the second backbone network to obtain the jth sub-category feature map; 2≤j≤N.

[0090] Step S1013, determining the kth attention perception fine classification feature map according to the kth coarse classification feature map and the kth fine classification feature map through the kth conditional attention module, where 1≤k≤N.

[0091] In one embodiment, the second backbone network further includes a global average pooling layer, through which the Nth attention-perceived sub-classification feature map is pooled, and the pooled result is input into the second multi-layer perceptron.

[0092] See also Figure 5 , whose input is the coarse classification feature map Represents different scales) and sub-classification feature maps The output is the attention-aware subdivision feature map Coarse classification feature map After inputting into the corresponding conditional attention module, the transformed coarse classification feature map is obtained. This process is expressed as:

[0093]

[0094] in, represents the transformed coarse classification feature map, i represents the i-th scale; conv() represents the convolutional layer; BN() represents batch normalization; Relu() represents the linear rectification function. Then, Input the spatial attention module to obtain the spatial attention map A i , this process is expressed as:

[0095]

[0096] Among them, A i represents the spatial attention map; i represents the i-th scale; Represents the transformed coarse classification feature map; MaxPool() represents maximum pooling; conv() represents convolutional layer; BN() represents batch normalization; sigmoid() represents sigmoid activation function.

[0097] Sub-classification feature map After inputting the conditional attention module, the transformed subdivision feature map is obtained. This process is expressed as:

[0098]

[0099] The expression of the attention-aware subdivision feature map is:

[0100]

[0101] in, represents the transformed sub-classification feature map; i represents the i-th scale; Represents the input sub-classification feature map; conv() represents the convolutional layer; BN() represents batch normalization; Relu() represents the linear rectification function; A i Represents the spatial attention map.

[0102] Step S1014, determining the esophageal and gastric wall varicose vein degree grading score according to the Nth attention perception sub-classification feature map through the sub-classification network model.

[0103] In this embodiment, the pooling result of the Nth attention perception sub-classification feature map is perceived by a second multi-layer perceptron to obtain a grading score for the degree of esophageal and gastric wall varicose veins.

[0104] Step S102, determining the risk stratification of acute esophageal and gastric varicose vein bleeding according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

[0105] It should be noted that acute esophagogastricvariceal bleeding risk stratification (AEG-VBRS) is used to characterize the risk level of acute esophagogastricvariceal bleeding.

[0106] According to the degree of esophageal and gastric varicose veins and extracavitary concomitant lesions, each level in grades I to V is assigned 3 points in a progressive manner, and each subgrade is assigned 1 point in a progressive manner. The single affected organ (esophagus or stomach) is calculated separately (1 to 15 points), and the bleeding risk level is divided into mild risk (≤3), moderate risk (4 to 6), high risk (7 to 9), and extremely high risk (10 to 12). If the esophagus and stomach are affected at the same time, the degree of esophageal and gastric varicose veins of the single affected organ is calculated separately. If the degree of esophageal and gastric varicose veins is inconsistent, the bleeding risk level takes the highest value, that is, the total score of esophageal or gastric single organ GEGV.

[0107] In this embodiment, esophageal and gastric varicose vein bleeding is directly related to the following factors. First, the thinning of the esophageal and gastric varicose vein wall is the anatomical cause of bleeding, and thrombocytopenia leading to decreased coagulation function is the pathological basis of bleeding. Liver dysfunction leads to reduced synthesis of protein, thrombopoietin and hemoglobin, further aggravating portal hypertension. Therefore, after obtaining the total score of the above structural abnormality indicators, dedifferentiation processing is performed based on blood routine related indicators and liver function related indicators to obtain a more objective bleeding risk assessment model. Under normal circumstances, the platelet count (PLT) in peripheral blood is 100-300×109 / L, and the percentage of platelet volume in peripheral blood to total blood (PCT, platelet volume) is 0.1-0.5% to evaluate platelets.

[0108] In this embodiment, the blood routine related indicators include platelet count and platelet volume in peripheral blood; liver function related indicators include peripheral blood albumin concentration and globulin concentration, peripheral blood red blood cell count and reticulocyte count.

[0109] In one embodiment, the risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric wall varices degree grading score and blood routine related indicators, including:

[0110] Determine the product value of the esophageal and gastric wall varices degree grading score and the platelet count in the peripheral blood as the risk stratification for acute esophageal and gastric varicose vein bleeding; or,

[0111] The quotient of the esophageal and gastric varices grading score and the platelet count is used to determine the risk stratification of acute esophageal and gastric varicose vein bleeding.

[0112] For example, the following formula is used for calculation:

[0113] Formula 1: AEG-VBRS = GEGVS × PLT

[0114] Formula 2: AEG-VBRS=GEGVS×(1 / PCT)

[0115] Among them, AEG-VBRS stands for the risk stratification of acute esophageal and gastric varicose bleeding, GEGVS stands for the grading score of esophageal and gastric varices, and PCT stands for platelet count.

[0116] In one embodiment, the risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric wall varices degree grading score and liver function related indicators, including:

[0117] Calculating the first product of the esophageal and gastric wall varices degree grading score and the peripheral blood albumin concentration, and using the quotient of the first product and the globulin concentration as the risk stratification for acute esophageal and gastric varicose vein bleeding; or,

[0118] The second product of the esophageal and gastric wall varices degree grading score and the reticulocyte count is calculated, and the quotient of the second product and the peripheral blood red blood cell count is used as the risk stratification of acute esophageal and gastric varicose vein bleeding.

[0119] It should be added that chronic liver disease, especially cirrhosis, is the leading cause of portal hypertension and esophageal gastric varices. The degree of liver function damage in this type of disease directly affects the outcome of portal hypertension. Reduced or failed liver function leads to reduced synthesis of peripheral blood albumin concentration (A 35-55g / l), and pathogenic factors (pathogens or other factors) stimulate the body's immune system to produce a large amount of globulin concentration (G 20-30g / l), which ultimately leads to a decrease in plasma A / G (1.5-2.5), which is an effective indicator for measuring individual patient function. Therefore, the sensitivity and accuracy of bleeding prediction can be improved by removing individual differences according to the following formula 3.

[0120] Formula 3: AEG-VBRS=GEGVS×(G / A)

[0121] AEG-VBRS stands for the risk stratification of acute esophageal and gastric varicose vein bleeding, GEGVS stands for the grading score of esophageal and gastric varicose veins, PCT stands for platelet count, G stands for globulin concentration, and A stands for blood protein concentration.

[0122] Patients with portal hypertension suffer from chronic gastrointestinal bleeding and insufficient hemoglobin synthesis in the liver due to PHG, which causes the body to be in an anemic state, with a decrease in peripheral red blood cell count (RBC, ×1012 / L)) and hemoglobin content, and an increase in reticulocyte count (RC×109 / L)) due to active bone marrow hematopoiesis. Therefore, formula 4 is used for dedifferentiation processing to improve the sensitivity and accuracy of bleeding prediction.

[0123] Formula 4: AEG-VBRS = GEGVS × (RC / RBC)

[0124] Wherein, GEGVS represents the grading score of esophageal and gastric varices, RBC represents peripheral red blood cell count, and RC represents reticulocyte count.

[0125] The artificial intelligence-based image processing method provided in this embodiment realizes the one-time rapid, comprehensive, intuitive, quantitative, accurate and non-invasive diagnosis of portal hypertension-related esophageal and gastric varices in the cavity and outside the cavity, and does not require anesthesia and sedation, and does not require intubation. A CT upper abdominal enhanced scan takes tens of seconds, while sedation and anesthesia before gastroscopy and intraoperative search take at least 1 hour. Patients with CT enhanced scanning only need to drink more water before and after the examination. During the examination, the esophageal and gastric walls are not exposed to any external sharp objects for stimulation, and the gastroscope itself will cause friction to the esophageal and gastric walls. If the operation is improper, it will directly cause varicose veins to rupture. Therefore, CT enhanced scanning technology is a non-invasive and safe technology. CT cross-sectional thin-layer non-interval scanning portal imaging technology adopts non-interval automatic scanning from top to bottom, which is not limited by the professional skills of technicians. The image data obtained can be reconstructed arbitrarily on PACS for repeated use by different professional levels to obtain stable and reliable image information. However, gastroscopy is completely dependent on the operating physician's technique and subjective judgment, and its results are somewhat subjective. CT cross-sectional images can provide information about all varicose vessels in the esophageal and gastric mucosa, submucosa, intramural, and extracavitary esophageal and gastric wall, as well as the proportion of the esophageal and gastric cavity space. They can also provide information about the patency of endogenous portosystemic shunt venous plexus (perioesophageal venous plexus, perigastric venous plexus, perisplenic venous plexus, azygos vein system <azygos vein, semiazygos vein, and ascending lumbar vein>), portosystemic shunt-related vessels, and vascular patency after stent implantation. They can also provide information about extracavitary organ liver perfusion, spleen enlargement, and postoperative necrosis of the splenic artery embolization, esophageal and gastrointestinal tract wall-related conditions, and pleural and abdominal effusion conditions, thus achieving an assessment from the morphological structure of tissues and organs to liver and spleen function. However, gastroscopy can only show obvious varicose vessels under the esophageal and gastric mucosa, but cannot show abnormalities of the entire layer of the esophageal and gastric wall and extracavitary tissues and organs, let alone assess liver and spleen function.

[0126] The artificial intelligence-based image processing method provided in this embodiment overcomes all technical shortcomings of the grading and classification standards for esophageal and gastric wall varices under gastroscopy, and also has the advantages of being non-invasive, requiring no sedation or anesthesia, and providing a one-stop quantitative evaluation of intracavitary and extracavitary lesions with a single scan, thereby achieving quantitative prediction of varicose vein rupture and bleeding risk stratification, thereby providing a strong basis for early clinical treatment, avoiding the occurrence of critical illness, and saving lives in a timely manner.

[0127] In this embodiment, the method further includes: when the photographed object has finished photographing the imaging examination item, obtaining the DICOM image of the photographed object, wherein the imaging examination item may be a CT / MR imaging examination item, and the photographed object may be a patient or other user. Based on the file information of the DICOM image, the signal-to-noise ratio of the DICOM image is identified, and it is determined whether the DICOM image matches the imaging examination item; if not, the process is terminated, and a first prompt message is generated, wherein the first prompt message is used to indicate that the DICOM image does not match the imaging examination item; if it matches, it is determined whether the DICOM image meets the preset quality condition; if it meets, the DICOM image is defined as the first image, and if it does not meet, the process is terminated, and a first judgment result and a second prompt message are generated, wherein the first judgment result is that the quality of the DICOM image is unqualified or qualified, and the second prompt message is used to indicate that the DICOM image matches the imaging examination item.

[0128] In this embodiment, it also includes: judging whether there are parameters related to changes after portosystemic shunt surgery in the first image, and if so, identifying the parameters related to changes after portosystemic shunt surgery in the first image and assigning corresponding points to generate a second judgment result. Among them, the parameters related to changes after portosystemic shunt surgery include parameters related to changes after portosystemic shunt surgery, stent implantation or treatment, for example, they may include the values ​​of the diameter and cross-sectional area of ​​the bridge vessel, the sagittal part of the left branch of the portal vein, the superior mesenteric vein, the inferior mesenteric vein, the splenic vein, the left renal vein, the anastomosis and the blood vessels after stent implantation. The second judgment result is that there is no change after portosystemic shunt surgery or there is a change after portosystemic shunt surgery.

[0129] In this embodiment, it also includes: segmenting the target organs and sign areas on the first image based on the first preset rule; setting anatomical coordinates for each target organ, outputting first auxiliary diagnosis data, setting an anatomical label for each of the anatomical coordinates, and determining the area of ​​each of the anatomical labels as the second image; wherein the first preset rule is a first segmentation and extraction requirement for the target organs and sign areas based on user experience, and the target organs and sign areas include: varicose veins in the esophageal and gastric wall, endogenous portosystemic shunt venous plexus, portal vein and its branches and tributaries, relevant veins after portosystemic shunt surgery and veins after implants (such as stents), liver, spleen and pleural effusion.

[0130] In this embodiment, it also includes: segmenting all target organs and sign areas on the second image based on a second preset rule and the first auxiliary diagnosis data, setting target organ and sign coordinates for each target organ and sign area to obtain second auxiliary diagnosis data, setting a target organ and sign label for each target organ and sign coordinate, and outputting each area of ​​the target organ and sign label as a third image; wherein the second preset rule is a second segmentation and extraction requirement for the target organ and sign area based on user experience, and the second preset rule is different from the first preset rule.

[0131] In this embodiment, it also includes: comparing the first auxiliary diagnostic data and the second auxiliary diagnostic data, positioning, measuring and assigning scores to each target organ and sign area to obtain the positioning results, target organ and sign area measurement values ​​and assigned scores and key images of each target organ and sign area; generating the predicted results of the esophageal and gastric wall varices degree grading for the positioning results, target organ and sign measurement values ​​and assigned scores of each of the target organs and signs based on the preset scoring and grading rules, and performing stratification calculations on the generated predicted results of the esophageal and gastric wall varices degree grading based on the preset risk stratification calculation rules to obtain the predicted results of the bleeding risk stratification. Among them, the preset scoring and grading rules can refer to Figure 2 The preset risk stratification calculation rules can be set by referring to the formulas 1 to 4 described above. Among them, the prediction results of the esophageal and gastric wall varices grade and the prediction results of the bleeding risk stratification can be displayed for easy viewing, and all data and images are stored.

[0132] In this embodiment, it also includes: when the second judgment result is a change after portosystemic shunt, stent implantation or treatment, judging whether the second judgment result matches the target organ and sign values ​​and the assigned scores; if the second judgment result matches the target organ and sign values ​​and the assigned scores, sending the second judgment result, the target organ and sign values ​​and the assigned scores to the image presentation control; if the second judgment result does not match the target organ and sign values ​​and the assigned scores, sending the second judgment result, the target organ and sign values ​​and the assigned scores to the target organ and sign management control, and generating a third prompt message. Among them, the third prompt information is used to indicate that the second judgment result does not match the target organ and sign values ​​and assigned scores; the target organs and sign values ​​and assigned scores include: varicose veins in the esophageal and gastric wall, endogenous portosystemic shunt venous plexus, portal vein and its branches and tributaries, relevant veins after portosystemic shunt surgery and implants (such as stents) posterior veins, liver, spleen and pleural effusion and other target organs and sign values ​​and assigned scores.

[0133] In this embodiment, it also includes: judging whether the anatomical label is compliant and assigning a score based on the first auxiliary diagnosis data and the first preset judgment rule to obtain a third judgment result. Figure 2 The GEGVS shown is set up, and the first preset judgment rule is: judge whether each of the anatomical labels meets the preset thresholds corresponding to the 15 levels in turn, for example, judge whether the number of connected domains of each of the anatomical labels is within the first preset threshold, the second preset threshold, ... until the 15th preset threshold in turn, judge whether the spatial relationship of adjacent anatomical labels meets the corresponding preset threshold, and judge whether the shapes of different anatomical labels meet the corresponding preset shape threshold. If the anatomical label meets any of the preset thresholds corresponding to the 15 levels, then perform a subsequent judgment process according to the first auxiliary diagnosis data to obtain a third judgment result. If the anatomical label does not meet the preset threshold of a certain level, then judge whether it meets the preset threshold of the next level, until it meets the preset threshold of a certain level or until the preset thresholds corresponding to the 15 levels are judged.

[0134] In this embodiment, it further includes: judging whether the target organ and the sign label correspond to the preset threshold level based on the second auxiliary diagnosis data and the second preset judgment rule, so as to obtain a fourth judgment result. Figure 2 The GEGVS shown is set up, and the second preset judgment rule is: determine in turn whether each of the target organs and sign labels meets the preset thresholds corresponding to the 15 levels, for example, determine whether the number of connected domains of adjacent target organs and sign labels is within the preset number threshold, determine whether the volume of each target organ and sign label is within the preset volume threshold, determine whether the spatial relationship between adjacent target organs and sign labels is correct, and determine the shapes of different target organs and sign labels. If the target organ and sign label does not meet any of the preset thresholds corresponding to the 15 levels, a fifth prompt information is generated, and the fifth prompt information is used to indicate the type of non-compliance.

[0135] In this embodiment, it also includes: if the positioning result is correct, then based on the third preset judgment rule, it is judged whether the target organ and sign values ​​are compliant, if they are compliant, then the positioning result, the target organ and sign values, and the key image are sent to the image display control, if they are not compliant, then the positioning result, the target organ and sign measurement values, and the key image are sent to the target organ and sign control, and a sixth prompt message is generated. Among them, the third preset judgment rule is based on Figure 2 The sixth prompt information is used to indicate whether the target organ and the sign value are compliant or not compliant.

[0136] The artificial intelligence-based image processing method provided in this embodiment realizes a one-time rapid, comprehensive, intuitive, quantitative, accurate and non-invasive diagnosis of portal hypertension-related esophageal and gastric varices degree grading and bleeding risk prediction inside and outside the esophageal and gastric wall cavity, without the need for anesthesia and sedation or intubation, thereby reducing the error in the evaluation of the degree of esophageal and gastric wall varices and improving the prediction accuracy of bleeding risk stratification.

[0137] Example 2

[0138] In addition, the present application provides an image processing device based on artificial intelligence.

[0139] like Figure 7 As shown, the image processing device 700 based on artificial intelligence includes:

[0140] The extraction module 701 is used to extract a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed through a pre-constructed artificial intelligence classification prediction model, and obtain a grading score of the degree of esophageal and gastric wall varices according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; the medical image data to be processed includes transverse enhanced portal phase, transverse enhanced venous phase image data or plain scan transverse axial image data;

[0141] The determination module 702 is used to determine the risk stratification of acute esophageal and gastric varicose vein bleeding according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

[0142] like Figure 8 As shown, the artificial intelligence-based image processing device 700 further includes:

[0143] The image management module 703 is used to obtain the DICOM image of the photographed object when the photographed object completes the imaging examination items;

[0144] An image recognition module 704 is used to identify the signal-to-noise ratio of the DICOM image based on the file information of the DICOM image, and determine whether the DICOM image matches the imaging examination item;

[0145] The quality judgment module 705 is used to terminate the process and generate a first prompt message if there is no match; if there is a match, determine whether the DICOM image meets the preset quality condition, if so, define the DICOM image as the first image; if not, terminate the process and generate a first judgment result and a second prompt message;

[0146] A post-portosystemic shunt determination module 706 is used to determine whether the first image has post-portosystemic shunt change-related parameters, and if so, identify the post-portosystemic shunt change-related parameters in the first image and assign corresponding scores to generate a second determination result;

[0147] The anatomical segmentation module 707 segments the target organs and the sign areas on the first image based on the first preset rule; sets anatomical coordinates for each target organ, outputs the first auxiliary diagnosis data, sets an anatomical label for each of the anatomical coordinates, and outputs the area of ​​each of the anatomical labels as the second image;

[0148] The target organ and sign detection module 708 segments all target organs and sign regions on the second image based on the second preset rule and the first auxiliary diagnosis data, sets target organ and sign coordinates for each target organ and sign region to obtain second auxiliary diagnosis data, sets a target organ and sign label for each target organ and sign coordinate, and outputs each region of the target organ and sign label as a third image; compares the first auxiliary diagnosis data with the second auxiliary diagnosis data, performs positioning measurement and scoring on each target organ and sign region to obtain positioning results, target organ and sign region measurement values ​​and assigned scores, and key images for each target organ and sign region;

[0149] The reporting module 709 generates a predicted result of the esophageal and gastric wall varices degree grading based on the preset scoring and grading rules for the positioning results of each of the target organs and signs, the target organ and sign measurement values ​​and the assigned scores, and performs a stratified operation on the generated esophageal and gastric wall varices degree grading based on the preset risk stratification operation rules to obtain a predicted result of the bleeding risk stratification.

[0150] In one embodiment, the artificial intelligence based image processing device 700 further includes:

[0151] a data judgment module, for judging whether the second judgment result matches the target organ and sign numerical value and the assigned score when the second judgment result is a change after portosystemic shunt, stent implantation or treatment; if the second judgment result matches the target organ and sign numerical value and the assigned score, sending the second judgment result, the target organ and sign numerical value and the assigned score to the image presentation control; if the second judgment result does not match the target organ and sign numerical value and the assigned score, sending the second judgment result, the target organ and sign numerical value and the assigned score to the target organ and sign management control, and generating a third prompt message;

[0152] The anatomical segmentation module 707 further includes:

[0153] A first label judgment unit, configured to judge whether the anatomical label is compliant and assign a score based on the first auxiliary diagnosis data and a first preset judgment rule, to obtain a third judgment result;

[0154] The target organ and sign detection module 708 also includes:

[0155] A second label determination unit, configured to determine whether the target organ and the sign label correspond to a preset threshold value of a level based on the second auxiliary diagnosis data and a second preset determination rule, so as to obtain a fourth determination result;

[0156] The result judgment unit is used to judge whether the target organ and sign values ​​are compliant based on the third preset judgment rule if the positioning result is correct; if so, the positioning result, the target organ and sign values, and the key image are sent to the image presentation control; if not, the positioning result, the target organ and sign measurement values, and the key image are sent to the target organ and sign control, and a sixth prompt message is generated.

[0157] It should be noted that the extraction module 701, the determination module 702, the image management module 703, the image recognition module 704, the quality judgment module 705, the post-portosystemic shunt judgment module 706, the anatomical segmentation module 707, the target organ and sign detection module 708, and the report module 709 are interconnected to achieve the transmission of images and related data. The first to fourth judgment results and the first to sixth prompt information can be sent to the report module 709, and the report module 709 includes an image performance control and a target organ and sign control.

[0158] The artificial intelligence-based image processing device 700 provided in this embodiment can implement the artificial intelligence-based image processing method provided in Example 1, and will not be described again here to avoid repetition.

[0159] Example 3

[0160] In addition, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, it executes the artificial intelligence-based image processing method provided in Example 1.

[0161] The electronic device provided in this embodiment can implement the artificial intelligence-based image processing method provided in Embodiment 1, and will not be described again here to avoid repetition.

[0162] Example 4

[0163] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the artificial intelligence-based image processing method provided in Example 1 is implemented.

[0164] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0165] The computer-readable storage medium provided in this embodiment can implement the artificial intelligence-based image processing method provided in Embodiment 1, and will not be described again here to avoid repetition.

[0166] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0168] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An image processing method based on artificial intelligence, characterized in that: The method comprises: A multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed are extracted by a pre-constructed artificial intelligence grading prediction model, and a grading score of the degree of esophageal and gastric wall varices is obtained according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; the medical image data to be processed includes transverse enhanced portal phase, transverse enhanced venous phase image data or plain scan transverse axial image data; The risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

2. The method according to claim 1, characterized in that: The artificial intelligence hierarchical prediction model includes a coarse classification network model, N conditional attention modules and a fine classification network model; The method of extracting a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed by a pre-built artificial intelligence classification prediction model, and obtaining a grading score of the degree of esophageal and gastric wall varicose veins according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map, includes: Extracting the multi-scale coarse classification feature map from the medical image data to be processed by using the coarse classification network model; Acquire the multi-scale fine classification feature map according to the medical image data to be processed and the multi-scale coarse classification feature map through the fine classification network model; Determine the kth attention-aware fine classification feature map according to the kth coarse classification feature map and the kth fine classification feature map through the kth conditional attention module, where 1≤k≤N; The esophageal and gastric wall varices degree grading score is determined by the subdivision network model according to the Nth attention-aware subdivision feature map.

3. The method according to claim 2, characterized in that The coarse classification network model includes a first backbone network and a first multi-layer perceptron; the step of extracting a multi-scale coarse classification feature map from the medical image data to be processed by the coarse classification network model includes: Extracting features of the medical image data to be processed by the first backbone network to obtain a first coarse classification feature map; Extract features from the hth coarse powder feature map through the first backbone network to obtain the h+1th coarse classification image feature, 1≤h≤N-1; The method further comprises: The Nth rough classification image feature is roughly classified by the first multi-layer perceptron to obtain a rough classification result of the degree of esophageal and gastric wall varicose veins; The fine classification network model includes a second backbone network and a second multi-layer perceptron; the method of obtaining a multi-scale fine classification feature map according to the medical image data to be processed and the multi-scale coarse classification feature map through the fine classification network model includes: Extracting a first sub-classification feature map from the medical image data to be processed through the second backbone network; The jth attention-aware sub-category feature map is calculated through the second backbone network to obtain the jth sub-category feature map; 2≤j≤N.

4. The method according to claim 1, characterized in that: The blood routine test related indicators include platelet count and platelet volume in peripheral blood; liver function related indicators include peripheral blood albumin concentration and globulin concentration, peripheral blood red blood cell count and reticulocyte count; The risk stratification of acute esophageal and gastric varicose vein bleeding is determined based on the esophageal and gastric varicose vein grading score and blood routine related indicators, including: Determine the product value of the esophageal and gastric wall varices degree grading score and the platelet count in the peripheral blood as the risk stratification for acute esophageal and gastric varicose vein bleeding; or, Determine the risk stratification of acute esophageal and gastric varicose veins by using the quotient of the esophageal and gastric wall varices grade score and the platelet count; The risk stratification of acute esophageal and gastric varicose vein bleeding is determined according to the esophageal and gastric varices grading score and liver function related indicators, including: Calculating the first product of the esophageal and gastric wall varices degree grading score and the peripheral blood albumin concentration, and using the quotient of the first product and the globulin concentration as the risk stratification for acute esophageal and gastric varicose vein bleeding; or, The second product of the esophageal and gastric wall varices degree grading score and the reticulocyte count is calculated, and the quotient of the second product and the peripheral blood red blood cell count is used as the risk stratification of acute esophageal and gastric varicose vein bleeding.

5. The method according to claim 1, characterized in that: The method further comprises: When the subject has finished taking the imaging examination items, obtaining a DICOM image of the subject; Based on the file information of the DICOM image, identifying the signal-to-noise ratio of the DICOM image, and determining whether the DICOM image matches the imaging examination item; If there is no match, the process is terminated and a first prompt message is generated; if there is a match, whether the DICOM image meets the preset quality condition is determined, if it does, the DICOM image is defined as the first image, if it does not meet, the process is terminated, and a first judgment result and a second prompt message are generated; Determine whether the first image has parameters related to changes after portosystemic shunt surgery, and if so, identify the parameters related to changes after portosystemic shunt surgery in the first image and assign corresponding scores to generate a second determination result; Segmenting the target organ and the sign area on the first image based on a first preset rule; setting anatomical coordinates for each target organ, outputting first auxiliary diagnosis data, setting an anatomical label for each of the anatomical coordinates, and outputting the area of ​​each of the anatomical labels as a second image; Segmenting the second image to obtain all target organs and sign regions based on a second preset rule and the first auxiliary diagnosis data, setting target organ and sign coordinates for each target organ and sign region to obtain second auxiliary diagnosis data, setting a target organ and sign label for each target organ and sign coordinate, and outputting each region of the target organ and sign label as a third image; Comparing the first auxiliary diagnosis data with the second auxiliary diagnosis data, performing positioning measurement and scoring on each target organ and sign area, so as to obtain positioning results, target organ and sign area measurement values ​​and assigned scores, and key images for each target organ and sign area; Based on the preset scoring and grading rules, the positioning results of each target organ and sign, the target organ and sign measurement values ​​and the assigned scores are used to generate a predicted result of the esophageal and gastric wall varices degree grading. Based on the preset risk stratification calculation rules, the generated esophageal and gastric wall varices degree grading is stratified to obtain a predicted result of bleeding risk stratification.

6. The method according to claim 5, characterized in that The method further comprises: When the second judgment result is that there is a change after portosystemic shunt, stent implantation or treatment, determine whether the second judgment result matches the target organ and sign numerical value and the assigned score. If the second judgment result matches the target organ and sign numerical value and the assigned score, send the second judgment result, the target organ and sign numerical value and the assigned score to the image performance control; if the second judgment result does not match the target organ and sign numerical value and the assigned score, send the second judgment result, the target organ and sign numerical value and the assigned score to the target organ and sign management control, and generate a third prompt information; Based on the first auxiliary diagnosis data and the first preset judgment rule, judging whether the anatomical label is compliant and assigning a score to obtain a third judgment result; Based on the second auxiliary diagnosis data and the second preset judgment rule, judging whether the target organ and the sign label correspond to the preset threshold level to obtain a fourth judgment result; If the positioning result is correct, then based on the third preset judgment rule, determine whether the target organ and sign values ​​are compliant. If they are compliant, the positioning result, the target organ and sign values, and the key image are sent to the image presentation control. If they are not compliant, the positioning result, the target organ and sign measurement values, and the key image are sent to the target organ and sign control, and a sixth prompt message is generated.

7. An image processing device based on artificial intelligence, characterized in that: The device comprises: An extraction module is used to extract a multi-scale coarse classification feature map and a multi-scale fine classification feature map of the medical image data to be processed through a pre-built artificial intelligence classification prediction model, and obtain a grading score of the degree of esophageal and gastric wall varicose veins according to the multi-scale coarse classification feature map and the multi-scale fine classification feature map; the medical image data to be processed includes transverse enhanced portal phase, transverse enhanced venous phase image data or plain scan transverse axial image data; A determination module is used to determine the risk stratification of acute esophageal and gastric varicose vein bleeding according to the esophageal and gastric wall varices degree grading score, blood routine related indicators, and liver function related indicators.

8. The image processing device based on artificial intelligence according to claim 7, characterized in that: Also includes: An image management module, used for obtaining a DICOM image of the photographed object when the photographed object has completed the imaging examination items; An image recognition module, used to identify the signal-to-noise ratio of the DICOM image based on the file information of the DICOM image, and determine whether the DICOM image matches the imaging examination item; A quality judgment module, used for terminating the process and generating a first prompt message if there is no match; If they match, then determine whether the DICOM image meets the preset quality condition, if yes, define the DICOM image as the first image, if not yes, terminate the process, generate the first determination result and the second prompt information; A portosystemic shunt post-surgery judgment module, used to judge whether there are portosystemic shunt post-surgery change-related parameters in the first image, and if so, identify the portosystemic shunt post-surgery change-related parameters in the first image and assign corresponding scores to generate a second judgment result; an anatomical segmentation module, configured to segment target organs and sign regions on the first image based on a first preset rule; set anatomical coordinates for each target organ, output first auxiliary diagnosis data, set anatomical labels for each of the anatomical coordinates, and output a region of each of the anatomical labels as a second image; a target organ and sign detection module, configured to segment the second image to obtain all target organs and sign regions based on a second preset rule and the first auxiliary diagnosis data, set target organ and sign coordinates for each target organ and sign region to obtain second auxiliary diagnosis data, set a target organ and sign label for each target organ and sign coordinate, and output each region of the target organ and sign label as a third image; compare the first auxiliary diagnosis data with the second auxiliary diagnosis data, perform positioning measurement and score assignment on each target organ and sign region, so as to obtain positioning results, target organ and sign region measurement values ​​and assigned scores, and key images for each target organ and sign region; The reporting module is used to generate a predicted result of the esophageal and gastric wall varices degree grading based on the preset scoring and grading rules for the positioning results of each of the target organs and signs, the target organ and sign measurement values ​​and the assigned scores, and to perform stratification calculations on the generated esophageal and gastric wall varices degree grading based on the preset risk stratification calculation rules to obtain a predicted result of the bleeding risk stratification.

9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is run by the processor, the image processing method based on artificial intelligence described in any one of claims 1 to 6 is executed.

10. A computer-readable storage medium, characterized in that: The computer program stores a computer program, which, when running on a processor, executes the artificial intelligence-based image processing method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Endoscope image-based esophageal variceal bleeding risk prediction system for hepatitis b patients

    CN122737119A