Weakly supervised pathological image segmentation system and method based on seed point annotation
Through the SeedNet algorithm and seed point annotation, weak supervision information is used to iteratively train the neural network model, which solves the high cost problem caused by pixel-level annotation in the deep learning model and achieves high efficiency in pathological image segmentation.
Patent Information
- Application Number
- CN202410231333.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-01
AI Technical Summary
The existing technology requires pixel-level annotation when building a deep learning model based on a generative adversarial network, resulting in excessively high annotation workload and time cost for doctors.
The SeedNet algorithm is introduced to use seed points to annotate images to determine weak supervision information, and iteratively trains the target neural network model to segment pathological images, reducing doctors' annotation workload and time costs.
It greatly reduces the workload and time cost of doctors in the process of pathological image annotation, and improves the efficiency of pathological image segmentation.
Smart Images

Figure CN118229705B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical image processing, and in particular to a weakly supervised pathological image segmentation system and method based on seed point annotation. Background Art
[0002] Smart pathology refers to the field of using artificial intelligence technology to analyze and diagnose histological images in the field of medical pathology. Pathology is a discipline that studies the etiology, pathogenesis, pathological changes, diagnosis and treatment of diseases, while histological images refer to images of tissue sections observed and photographed through a microscope.
[0003] At present, deep learning (a machine learning method that uses multi-layer neural networks to automatically extract and analyze features in data and perform pattern recognition and prediction) technologies such as pathological image classification, pathological image segmentation, and pathological image generation are widely used in the field of intelligent pathology.
[0004] The invention patent with application number: CN202210054661.7 discloses a method for HE-stained pathological image data expansion and enhancement, wherein the method includes: in the model training stage, dividing the pathological image data set to obtain a training set, a validation set, and a test set; constructing a deep learning model based on a generative adversarial network; sending the above training set and validation set to the network model for training to obtain network model parameters; after the network model training is completed, inferring the randomly generated images outside the source pathological image data set to obtain a synthesized pathological image segmentation mask and pathological image. The above method constructs a model for pathological image data expansion, synthesizes more pathological images and their corresponding segmentation masks that conform to the characteristic distribution of the data, thereby expanding the originally limited number of pathological image data sets, which can effectively help existing pathological image segmentation methods improve segmentation performance.
[0005] However, when constructing a deep learning model based on a generative adversarial network, the above-mentioned method for expanding and enhancing HE-stained pathological image data requires pixel-level annotation of training samples. Pixel-level annotation requires annotation by experienced doctors, and the number of labeled samples required for deep learning is generally large, which will greatly increase the doctor's annotation workload and time cost.
[0006] In view of this, there is an urgent need for a weakly supervised pathological image segmentation system and method based on seed point annotation. Summary of the invention
[0007] One of the purposes of the present invention is to provide a weakly supervised pathological image segmentation system based on seed point annotation, introduce the SeedNet algorithm, use the seed point annotated image to determine the weak supervision information in the training process, and iteratively train the target neural network model according to the weak supervision information to perform pathological image segmentation, which greatly reduces the workload and time cost of doctors in the process of pathological image annotation.
[0008] The weakly supervised pathological image segmentation system based on seed point annotation provided by the embodiment of the present invention includes:
[0009] A seed point annotation subsystem is used to obtain a seed point annotation image;
[0010] The initial segmentation subsystem is used to annotate images according to seed points based on the SeedNet algorithm, train the initial neural network model, and obtain weak supervision information during the training process;
[0011] The weak supervision subsystem is used to iteratively train the initial neural network model based on the weak supervision information to obtain the target neural network model that meets the training requirements;
[0012] A segmentation subsystem, used to determine the target pathological image segmentation result according to the acquired segmentation task and the target neural network model;
[0013] The optimization subsystem is used to optimize the target pathological image segmentation result based on post-processing technology to obtain the optimized result.
[0014] Preferably, the seed point marking subsystem includes:
[0015] A manual annotation module, used for obtaining a manually annotated first annotated image;
[0016] A machine annotation module, used for obtaining a second annotation image for intelligent annotation;
[0017] The integration module is used to use the first annotated image and the second annotated image together as a seed point annotated image.
[0018] Preferably, the machine annotation module includes:
[0019] The annotation record acquisition submodule is used to obtain the annotation records of the target doctor;
[0020] The intelligent labeling model training submodule is used to train the intelligent labeling model based on the labeling records;
[0021] The seed point annotated image determination submodule is used to input the image to be annotated into the intelligent annotation model to obtain a second annotated image.
[0022] Preferably, the weak supervision subsystem includes:
[0023] An iterative training model acquisition module is used to iteratively train the initial neural network model based on ensemble learning technology and weak supervision information to obtain an iterative training model;
[0024] A process segmentation result acquisition module is used to obtain the process segmentation results of the iterative training model;
[0025] The target neural network model determination module is used to use the corresponding iterative training model as the target neural network model if the process segmentation result meets the preset target standard.
[0026] Preferably, the optimization subsystem includes:
[0027] A feature acquisition module, used to parse the segmentation task and obtain the first feature of the segmentation data and the second feature of the segmentation task;
[0028] A target post-processing method determination module, used to determine a target post-processing method suitable for the segmentation task according to the first feature and the second feature;
[0029] The optimization module is used to perform corresponding optimization according to the target post-processing method.
[0030] Preferably, the manual annotation module includes:
[0031] The to-be-annotated interface generation submodule is used to generate the to-be-annotated interface according to the acquired to-be-annotated image;
[0032] The annotation result acquisition submodule is used to obtain the first annotation result of the target doctor on the interface to be annotated;
[0033] An adopted value acquisition submodule, used to acquire an adopted value of the first annotation result;
[0034] A second annotation result determination submodule, configured to use the corresponding first annotation result as the second annotation result if the adopted value is greater than or equal to a preset adopted value threshold;
[0035] The first annotated image generating submodule is used to generate a first annotated image according to the second annotation result.
[0036] Preferably, the adopted value acquisition submodule includes:
[0037] A labeling process acquisition unit, used to acquire the labeling process of the first labeling result;
[0038] A process characteristic diagram drawing unit, used for drawing a process characteristic diagram corresponding to the marking process according to the characterization result of the marking process characterization;
[0039] A labeling basis acquisition unit, used for inputting the process characteristic diagram into a preset labeling basis prediction model, and acquiring the labeling basis output by the labeling basis prediction model;
[0040] A reasonable value analysis unit, used to perform a reasonable analysis on the annotation basis based on a preset annotation basis reasonable analysis model, obtain a reasonable value, and associate it with the corresponding first annotation result;
[0041] A historical segmentation result acquisition unit, used to acquire the historical segmentation results corresponding to the historical annotation records of the target doctor;
[0042] A segmentation process determination unit, used for determining the segmentation process of the historical segmentation result;
[0043] A segmentation quality acquisition unit, used to obtain the segmentation quality of historical segmentation results;
[0044] A correlation value analysis unit, used for performing correlation analysis on the historical annotation records and the segmentation quality according to the segmentation process to obtain a correlation value;
[0045] A pairing value determination unit, configured to determine a pairing value based on a preset segmentation quality-correlation value-pairing value library, and associate the pairing value with the corresponding first annotation result;
[0046] The adopted value determination unit is used to cumulatively calculate the reasonable value and the matching value associated with the first annotation result to obtain the adopted value.
[0047] The weakly supervised pathological image segmentation system based on seed point annotation provided by the embodiment of the present invention further includes:
[0048] The segmentation result visualization subsystem is used to fuse the optimization result with the original pathological image and visualize it;
[0049] Among them, the segmentation result visualization subsystem includes:
[0050] A fusion base map determination module is used to determine a fusion base map according to the original pathological image;
[0051] A segmentation and annotation base map determination module is used to determine the segmentation and annotation base map according to the optimization result;
[0052] A segmentation and annotation pixel determination module is used to determine the segmentation and annotation pixels according to the segmentation and annotation base map;
[0053] A first relative position acquisition module is used to acquire a first relative position between a first pixel in the segmentation annotation base map and a segmentation annotation pixel;
[0054] A target pixel determination module is used to determine the target pixel corresponding to the segmentation annotation pixel in the fusion base map;
[0055] A second relative position acquisition module is used to acquire a second relative position between a second pixel and a target pixel in the fused base image;
[0056] A first fusion weight determination module, used to determine a first fusion weight of the first pixel according to the first relative position;
[0057] A second fusion weight determination module, used to determine a second fusion weight of the second pixel according to the second relative position;
[0058] A fused image determination module, used for fusing the segmented and annotated base map and the fused base map according to the first fusion weight and the second fusion weight to obtain a fused image;
[0059] The visualization display module is used to visualize the fused image based on preset visualization rules.
[0060] The weakly supervised pathological image segmentation system based on seed point annotation provided by the embodiment of the present invention further includes:
[0061] A diagnosis report generation subsystem is used to obtain the segmentation results to be diagnosed of the target patient, and generate a diagnosis report based on the segmentation results to be diagnosed and the auxiliary information of the target patient;
[0062] Among them, the diagnostic report generation subsystem includes:
[0063] A region of interest determination module, used to determine the region of interest in the segmentation result to be diagnosed based on a preset region of interest determination rule;
[0064] An interesting feature acquisition module is used to characterize the interesting region and acquire interesting features;
[0065] A pathology-aided diagnosis model acquisition module is used to acquire a pathology-aided diagnosis model;
[0066] A target diagnosis model acquisition module is used to set the hyperparameters of the pathology-assisted diagnosis model according to the auxiliary information and obtain the set target diagnosis model;
[0067] The auxiliary diagnosis result acquisition module is used to input the features of interest into the target diagnosis model to obtain the auxiliary diagnosis results;
[0068] A display area acquisition module, used to acquire a preset display area corresponding to a feature of interest;
[0069] The auxiliary diagnosis image determination module is used to fill the auxiliary diagnosis result into the corresponding display area according to the corresponding relationship between the auxiliary diagnosis result and the feature of interest, so as to obtain the auxiliary diagnosis image;
[0070] An auxiliary information annotation text determination module is used to determine the auxiliary information annotation text according to the auxiliary diagnosis result and the auxiliary information;
[0071] A suggestion information acquisition module is used to obtain suggestion information corresponding to the auxiliary information annotation text;
[0072] The diagnostic report generation module is used to generate a diagnostic report based on preset diagnostic report generation rules, auxiliary diagnostic images, auxiliary information annotation text and suggestion information.
[0073] The weakly supervised pathological image segmentation method based on seed point annotation provided by the embodiment of the present invention includes:
[0074] Step 1: Get the seed point annotated image;
[0075] Step 2: Based on the SeedNet algorithm, annotate the image according to the seed points, train the initial neural network model, and obtain weak supervision information during the training process;
[0076] Step 3: According to the weak supervision information, the initial neural network model is iteratively trained to obtain the target neural network model that meets the training requirements;
[0077] Step 4: Determine the target pathological image segmentation result according to the acquired segmentation task and target neural network model;
[0078] Step 5: Based on post-processing technology, optimize the target pathological image segmentation result to obtain the optimized result.
[0079] The beneficial effects of the present invention are:
[0080] The present invention introduces the SeedNet algorithm, uses seed point annotated images to determine weak supervision information in the training process, and iteratively trains the target neural network model according to the weak supervision information to perform pathological image segmentation, which greatly reduces the workload and time cost of doctors in the process of pathological image annotation.
[0081] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0082] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0084] Figure 1 Schematic diagram of a weakly supervised pathological image segmentation system based on seed point annotation in an embodiment of the present invention;
[0085] Figure 2 Schematic diagram of a weakly supervised pathological image segmentation method based on seed point annotation in an embodiment of the present invention. DETAILED DESCRIPTION
[0086] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0087] The embodiment of the present invention provides a weakly supervised pathological image segmentation system based on seed point annotation, such as Figure 1 As shown, including:
[0088] The seed point annotation subsystem 1 is used to obtain a seed point annotation image; the seed point annotation image is: a pathological image annotated with key points or regions, where the key points or regions are, for example, boundary trajectories of different tissue structures or cell regions in the pathological image;
[0089] The initial segmentation subsystem 2 is used to train the initial neural network model based on the seed point annotation image based on the SeedNet algorithm, and obtain weak supervision information during the training process; the SeedNet algorithm is an algorithm for image segmentation, which performs segmentation based on the information of the seed point; the initial neural network model is: an AI model for pathological image segmentation obtained by training the seed point annotation image; the weak supervision information is: the output result of the neural network model during the training process, for example: how to segment the pathological image;
[0090] The weak supervision subsystem 3 is used to iteratively train the initial neural network model according to the weak supervision information to obtain a target neural network model that meets the training requirements; the training requirements are: accuracy requirements and robustness requirements; the target neural network model is: a neural network model that meets the training requirements in the iteratively trained neural network model;
[0091] The segmentation subsystem 4 is used to determine the target pathological image segmentation result according to the acquired segmentation task and the target neural network model; the segmentation task is: the pathological image to be segmented and what kind of cells to be segmented;
[0092] The optimization subsystem 5 is used to optimize the target pathological image segmentation result based on the post-processing technology to obtain the optimization result. The post-processing technology includes: pixel classification, connected domain analysis and morphological processing. The optimization result is: the target pathological image segmentation result after being processed by the post-processing technology.
[0093] The working principle and beneficial effects of the above technical solution are:
[0094] This application introduces the SeedNet algorithm, trains an initial neural network model based on the acquired seed point annotated image, obtains weak supervision information during the training process, iteratively trains the initial neural network model based on the weak supervision information to obtain a target neural network model, determines the target pathology image segmentation result corresponding to the segmentation task through the target neural network model, and post-processes the target pathology image segmentation result to obtain an optimized result.
[0095] This application introduces the SeedNet algorithm, which uses seed point annotated images to determine weak supervision information in the training process, and iteratively trains the target neural network model based on the weak supervision information to perform pathological image segmentation, greatly reducing the workload and time cost of doctors in the process of pathological image annotation.
[0096] In one embodiment, the seed point labeling subsystem includes:
[0097] A manual annotation module is used to obtain a manually annotated first annotated image; the first annotated image is: a manually annotated seed point level pathological image;
[0098] A machine annotation module is used to obtain a second annotated image for intelligent annotation; the second annotated image is: a seed point level pathological image annotated by an intelligent annotation model, and the intelligent annotation model is an artificial intelligence model used to replace manual annotation of seed point level pathological images;
[0099] The integration module is used to use the first annotated image and the second annotated image together as a seed point annotated image.
[0100] The working principle and beneficial effects of the above technical solution are:
[0101] This application introduces two methods, manual labeling and intelligent labeling, to obtain seed point labeled images, thereby improving the comprehensiveness and acquisition efficiency of seed point labeled images.
[0102] In one embodiment, the machine annotation module includes:
[0103] The annotation record acquisition submodule is used to obtain the annotation record of the target doctor; the annotation record is: the process record of the target doctor (a doctor with experience in pathological image segmentation) performing seed point level annotation;
[0104] The intelligent annotation model training submodule is used to train the intelligent annotation model according to the annotation records; the intelligent annotation model is an artificial intelligence model used to replace manual annotation of seed point level pathological images;
[0105] The seed point annotated image determination submodule is used to input the image to be annotated into the intelligent annotation model to obtain a second annotated image. The image to be annotated is: a pathological image prepared for seed point annotation.
[0106] The working principle and beneficial effects of the above technical solution are:
[0107] The present application trains an intelligent annotation model based on the obtained annotation records of the target doctor, and uses the intelligent annotation model to annotate the image to be annotated to obtain a second annotated image, thereby improving the efficiency of obtaining the second annotated image.
[0108] In one embodiment, the weak supervision subsystem includes:
[0109] The iterative training model acquisition module is used to iteratively train the initial neural network model based on the ensemble learning technology and weak supervision information to obtain the iterative training model; the iterative training model is: an artificial intelligence model obtained by supervised training based on the weak supervision information obtained in the previous iteration;
[0110] The process segmentation result acquisition module is used to obtain the process segmentation result of the iterative training model; the process segmentation result is: the pathological image segmentation result in the iterative process;
[0111] The target neural network model determination module is used to use the corresponding iterative training model as the target neural network model if the process segmentation result meets the preset target standard. The preset target standard is pre-set manually, for example: what kind of robustness and what kind of accuracy.
[0112] The working principle and beneficial effects of the above technical solution are:
[0113] This application introduces ensemble learning technology (e.g., voting, averaging, etc.) to integrate multiple relatively weak neural network models to obtain an ensemble model, and then iteratively trains the ensemble model to obtain an iterative training model. In each round of iteration, the next round of ensemble model is trained using the weak supervision information output by the previous round of iterative training model to obtain a new round of iterative training model. When the process segmentation result of the iterative training model meets the target standard, the corresponding iterative training model is used as the target neural network model.
[0114] In one embodiment, the optimization subsystem includes:
[0115] The feature acquisition module is used to analyze the segmentation task, obtain the first feature of the segmentation data and the second feature of the segmentation task; the segmentation task is, for example, what kind of pathological image needs to be segmented; the segmentation data is, for example, a pathological image waiting for pathological image segmentation; the first feature is: image features, such as: color and shape, etc.; the second feature is: task features, such as: what kind of disease is used for auxiliary diagnosis;
[0116] A target post-processing method determination module is used to determine a target post-processing method suitable for the segmentation task according to the first feature and the second feature; the target post-processing method is, for example, pixel classification, connected domain analysis, and morphological processing;
[0117] The optimization module is used to perform corresponding optimization according to the target post-processing method.
[0118] The working principle and beneficial effects of the above technical solution are:
[0119] This application introduces the first feature of the segmentation data and the second feature of the segmentation task to determine a target post-processing method suitable for the segmentation task. When determining, the first feature and the second feature are input into a post-processing method selector (an intelligent AI model obtained by training based on multiple manual post-processing method selection records), and the target post-processing method output by the post-processing method selector is obtained, and the selection of the target post-processing method is more appropriate.
[0120] In one embodiment, the manual annotation module includes:
[0121] The to-be-annotated interface generation submodule is used to generate an to-be-annotated interface according to the acquired to-be-annotated image; the to-be-annotated image is: a pathological image to be annotated; the to-be-annotated interface is: a display interface of the to-be-annotated image presented on the annotation platform;
[0122] The annotation result acquisition submodule is used to obtain the first annotation result of the target doctor on the interface to be annotated; the first annotation result is: the seed point annotated by the target doctor on the interface to be annotated;
[0123] An adopted value acquisition submodule, used to acquire an adopted value of the first annotation result; the higher the adopted value, the more credible the corresponding first annotation result;
[0124] A second annotation result determination submodule, for determining the first annotation result as the second annotation result if the adopted value is greater than or equal to a preset adopted value threshold; the preset adopted value threshold is manually preset;
[0125] The first annotated image generating submodule is used to generate a first annotated image according to the second annotation result.
[0126] The working principle and beneficial effects of the above technical solution are:
[0127] The present application obtains the adoption value of the first annotation result of the target doctor on the to-be-annotated interface, determines the first annotated image corresponding to the second annotation result whose adoption value is greater than or equal to the adoption value threshold, and improves the reliability of the first annotated image acquisition process.
[0128] In one embodiment, the adopted value acquisition submodule includes:
[0129] A labeling process acquisition unit, used to acquire the labeling process of the first labeling result; the labeling process is: an operation process record of labeling the first labeling result recorded on the labeling platform;
[0130] The process characteristic diagram drawing unit is used to draw a process characteristic diagram corresponding to the marking process according to the characterization result of the marking process characterization; the characterization result is: the marking process feature, for example: what marking operation is performed first, and what marking operation is performed next; the process characteristic diagram is: the characteristic spectrum obtained by marking the characterization result at the corresponding preset position;
[0131] The labeling basis acquisition unit is used to input the process characteristic diagram into the preset labeling basis prediction model to obtain the labeling basis output by the labeling basis prediction model; the preset labeling basis prediction model is: a pre-set AI model for replacing manual labeling basis prediction; the labeling basis is: labeling logic;
[0132] A reasonable value analysis unit, used to perform a reasonable analysis on the annotation basis based on a preset annotation basis reasonable analysis model, obtain a reasonable value, and associate it with the corresponding first annotation result; the annotation basis reasonable analysis model is: an AI model that replaces manual analysis of the annotation basis;
[0133] A historical segmentation result acquisition unit is used to acquire the historical segmentation result corresponding to the historical annotation record of the target doctor; the historical annotation record is: the historical annotation record of the target doctor; the historical segmentation result is: the segmentation result of the segmentation model trained based on the historical annotation record;
[0134] The segmentation process determination unit is used to determine the segmentation process of the historical segmentation result; the segmentation process is, for example: how to segment first, and how to segment next;
[0135] A segmentation quality acquisition unit, used to obtain the segmentation quality of the historical segmentation results; the segmentation quality is, for example, accuracy, robustness and stability;
[0136] A correlation value analysis unit is used to perform correlation analysis on the historical annotation records and the segmentation quality according to the segmentation process to obtain a correlation value; the correlation analysis is, for example, Pearson correlation analysis and Spearman correlation analysis;
[0137] A pairing value determination unit, configured to determine a pairing value based on a preset segmentation quality-correlation value-pairing value library, and associate the pairing value with the corresponding first annotation result; the segmentation quality-correlation value-pairing value library is a database storing a plurality of corresponding relationships among segmentation qualities, correlation values, and pairing values;
[0138] The adopted value determination unit is used to cumulatively calculate the reasonable value and the matching value associated with the first annotation result to obtain the adopted value.
[0139] The working principle and beneficial effects of the above technical solution are:
[0140] The present application characterizes the labeling process of the first labeling result obtained, obtains a process characteristic diagram of the characterized result, introduces a labeling basis prediction model, inputs the process characteristic diagram into the labeling basis prediction model to obtain the predicted labeling basis, and introduces a labeling basis rationality analysis model to analyze the reasonable value of the labeling basis; obtains the historical segmentation results of the target doctor's historical labeling records, and according to the segmentation process, performs correlation analysis on the historical labeling records and the segmentation quality to obtain the correlation value, introduces a segmentation quality-correlation value-pairing value library (when the segmentation quality is the same, the higher the correlation value, the higher the pairing value; when the correlation value is the same, the higher the segmentation quality, the higher the pairing value), determines the pairing value (the higher the pairing value, the higher the adopted value), introduces the two variables of segmentation quality and correlation value to jointly constrain the pairing value, thereby improving the rationality of the pairing value; accumulates and calculates the reasonable value and pairing value associated with the first labeling result to obtain the adopted value, and the adopted value is obtained more appropriately and accurately.
[0141] The embodiment of the present invention provides a weakly supervised pathological image segmentation system based on seed point annotation, further comprising:
[0142] The segmentation result visualization subsystem is used to fuse the optimization result with the original pathological image and visualize it; the original pathological image is: the pathological image corresponding to the segmentation result of the target pathological image; the visualization is: showing the fusion image of the segmentation prediction result and the original pathological image to the treating doctor;
[0143] Among them, the segmentation result visualization subsystem includes:
[0144] The fusion base map determination module is used to determine the fusion base map according to the original pathological image; the fusion base map is: the image of the area to be segmented in the original pathological image;
[0145] The segmentation annotation base map determination module is used to determine the segmentation annotation base map according to the optimization result; the segmentation annotation base map is: an image containing segmentation annotation tracks;
[0146] The segmentation annotation pixel determination module is used to determine the segmentation annotation pixels according to the segmentation annotation base map; the segmentation annotation pixels are: the pixel points of the segmentation annotation track in the segmentation annotation base map;
[0147] The first relative position acquisition module is used to acquire the first relative position of the first pixel in the segmentation annotation base map and the segmentation annotation pixel; the first pixel is: any pixel point in the segmentation annotation base map; the first relative position is: the relative position of the first pixel relative to the segmentation annotation pixel;
[0148] A target pixel determination module is used to determine the target pixel corresponding to the segmentation annotation pixel in the fusion base map;
[0149] A second relative position acquisition module is used to acquire a second relative position between a second pixel and a target pixel in the fused base image; the second relative position is: a relative position of the second pixel relative to the target pixel;
[0150] A first fusion weight determination module, used to determine a first fusion weight of the first pixel according to the first relative position; the closer the first relative position is, the higher the first fusion weight is;
[0151] A second fusion weight determination module, used to determine a second fusion weight of the second pixel according to the second relative position; the farther the second relative position is, the lower the second fusion weight is;
[0152] A fused image determination module is used to fuse the segmented and annotated base map and the fused base map according to the first fusion weight and the second fusion weight to obtain a fused image; during the fusion process, the higher the first fusion weight or the second fusion weight, the higher the accuracy of the algorithm used when the corresponding pixel points are fused;
[0153] The visualization display module is used to visualize the fused image based on preset visualization rules. The preset visualization rules are pre-set manually, for example, displayed on the PC side of the hospital platform.
[0154] The working principle and beneficial effects of the above technical solution are:
[0155] The present application obtains a first relative position between a first pixel and a segmentation annotation pixel in a segmentation annotation base map, and at the same time obtains a second relative position between a second pixel and a target pixel in a fusion base map, determines a first fusion weight of the first pixel according to the first relative position, and determines a second fusion weight of the second pixel according to the second relative position; performs image fusion according to the first fusion weight and the second fusion weight, and adopts a more accurate fusion algorithm for positions closer to the segmentation trajectory, thereby improving the fusion accuracy of the segmented area; obtains a fused image and displays it visually, so that doctors can intuitively view the segmentation results and make further analysis and adjustments.
[0156] The embodiment of the present invention provides a weakly supervised pathological image segmentation system based on seed point annotation, further comprising:
[0157] A diagnosis report generation subsystem is used to obtain the segmentation results to be diagnosed of the target patient, and generate a diagnosis report based on the segmentation results to be diagnosed and the auxiliary information of the target patient;
[0158] Among them, the diagnostic report generation subsystem includes:
[0159] A region of interest determination module is used to determine the region of interest in the segmentation result to be diagnosed based on a preset region of interest determination rule; the preset region of interest determination rule is: how to determine the region of interest in the segmentation result to be diagnosed, and the region of interest is, for example, the outline or edge area of a cell;
[0160] The feature-of-interest acquisition module is used to characterize the region of interest and acquire the feature of interest; the feature of interest is, for example, the contour feature or edge feature of the cell;
[0161] A pathology-assisted diagnosis model acquisition module is used to acquire a pathology-assisted diagnosis model; the pathology-assisted diagnosis model is: an AI model used to replace manual pathology-assisted diagnosis;
[0162] The target diagnosis model acquisition module is used to set the hyperparameters of the pathology-assisted diagnosis model according to the auxiliary information, and obtain the set target diagnosis model; the auxiliary information is: the patient's living habits, eating habits and medical history, etc.; the hyperparameters are: the initial parameters of the pathology-assisted diagnosis model;
[0163] The auxiliary diagnosis result acquisition module is used to input the features of interest into the target diagnosis model to obtain the auxiliary diagnosis result; the auxiliary diagnosis result is, for example: gastric wall fibrosis;
[0164] A display area acquisition module, used to acquire a preset display area corresponding to a feature of interest;
[0165] The auxiliary diagnosis image determination module is used to fill the auxiliary diagnosis result into the corresponding display area according to the corresponding relationship between the auxiliary diagnosis result and the feature of interest, so as to obtain the auxiliary diagnosis image;
[0166] The auxiliary information annotation text determination module is used to determine the auxiliary information annotation text according to the auxiliary diagnosis result and the auxiliary information; the auxiliary information annotation text is: the text corresponding to the information item in the auxiliary information that is positively correlated with the attribution relationship of the auxiliary diagnosis result, such as: fast eating speed and preference for hot food, etc.;
[0167] The suggestion information acquisition module is used to obtain the suggestion information corresponding to the auxiliary information annotation text; the suggestion information is, for example: eat small meals frequently;
[0168] The diagnostic report generation module is used to generate a diagnostic report based on the preset diagnostic report generation rules, the auxiliary diagnostic image, the auxiliary information annotation text and the recommended information. The preset diagnostic report generation rules are: the upper part of the report part presents the auxiliary diagnostic image containing the auxiliary diagnostic results, and the lower part is the auxiliary information and recommended information marked with the auxiliary information annotation text of the patient.
[0169] The working principle and beneficial effects of the above technical solution are:
[0170] This application introduces a region of interest determination rule to determine the region of interest in the segmentation result to be diagnosed and obtain the feature of interest, and then determines the auxiliary diagnosis result corresponding to the feature of interest according to the pathology auxiliary diagnosis model, thereby improving the efficiency of obtaining the auxiliary diagnosis result. According to the correspondence between the auxiliary diagnosis result and the feature of interest, the auxiliary diagnosis result is filled in the corresponding preset display area. At the same time, the text corresponding to the information item in the auxiliary information that is positively correlated with the attribution relationship of the auxiliary diagnosis result is determined, and used as the auxiliary information annotation text, and the suggestion information corresponding to the auxiliary information annotation text is generated, thereby improving the suitability of the suggestion information. The diagnosis report generation rule is introduced, and a diagnosis report is jointly generated according to the auxiliary diagnosis image, the auxiliary information annotation text and the suggestion information. The upper part of the diagnosis report includes the auxiliary diagnosis image of the auxiliary diagnosis result, and the lower part is the auxiliary information and suggestion information of the auxiliary information annotation text of the patient that has been highlighted (for example: text bold mark), which is more humane.
[0171] The embodiment of the present invention provides a weakly supervised pathological image segmentation method based on seed point annotation, such as Figure 2 As shown, including:
[0172] Step 1: Get the seed point annotated image;
[0173] Step 2: Based on the SeedNet algorithm, annotate the image according to the seed points, train the initial neural network model, and obtain weak supervision information during the training process;
[0174] Step 3: According to the weak supervision information, the initial neural network model is iteratively trained to obtain the target neural network model that meets the training requirements;
[0175] Step 4: Determine the target pathological image segmentation result according to the acquired segmentation task and target neural network model;
[0176] Step 5: Based on post-processing technology, optimize the target pathological image segmentation result to obtain the optimized result.
[0177] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A weakly supervised pathological image segmentation system based on seed point annotation, characterized in that: include: A seed point annotation subsystem is used to obtain a seed point annotation image; The initial segmentation subsystem is used to annotate images according to seed points based on the SeedNet algorithm, train the initial neural network model, and obtain weak supervision information during the training process; The weak supervision subsystem is used to iteratively train the initial neural network model based on the weak supervision information to obtain the target neural network model that meets the training requirements; A segmentation subsystem, used to determine the target pathological image segmentation result according to the acquired segmentation task and the target neural network model; An optimization subsystem is used to optimize the target pathological image segmentation result based on post-processing technology to obtain an optimized result; Seed point labeling subsystem, including: A manual annotation module, used for obtaining a manually annotated first annotated image; A machine annotation module, used for obtaining a second annotation image for intelligent annotation; An integration module, used to use the first annotated image and the second annotated image together as a seed point annotated image; Manual annotation module, including: The to-be-annotated interface generation submodule is used to generate the to-be-annotated interface according to the acquired to-be-annotated image; The annotation result acquisition submodule is used to obtain the first annotation result of the target doctor on the interface to be annotated; An adopted value acquisition submodule, used to acquire an adopted value of the first annotation result; A second annotation result determination submodule, configured to use the corresponding first annotation result as the second annotation result if the adopted value is greater than or equal to a preset adopted value threshold; A first annotated image generating submodule, used for generating a first annotated image according to the second annotation result; Adopt value acquisition submodule, including: A labeling process acquisition unit, used to acquire the labeling process of the first labeling result; A process characteristic diagram drawing unit, used for drawing a process characteristic diagram corresponding to the marking process according to the characterization result of the marking process characterization; A labeling basis acquisition unit, used for inputting the process characteristic diagram into a preset labeling basis prediction model, and acquiring the labeling basis output by the labeling basis prediction model; A reasonable value analysis unit, used to perform a reasonable analysis on the annotation basis based on a preset annotation basis reasonable analysis model, obtain a reasonable value, and associate it with the corresponding first annotation result; A historical segmentation result acquisition unit, used to acquire the historical segmentation results corresponding to the historical annotation records of the target doctor; A segmentation process determination unit, used for determining the segmentation process of the historical segmentation result; A segmentation quality acquisition unit, used to obtain the segmentation quality of historical segmentation results; A correlation value analysis unit, used for performing correlation analysis on the historical annotation records and the segmentation quality according to the segmentation process to obtain a correlation value; A pairing value determination unit, configured to determine a pairing value based on a preset segmentation quality-correlation value-pairing value library, and associate the pairing value with the corresponding first annotation result; The adopted value determination unit is used to cumulatively calculate the reasonable value and the matching value associated with the first annotation result to obtain the adopted value.
2. The weakly supervised pathological image segmentation system based on seed point annotation as claimed in claim 1, characterized in that: Machine labeling module, including: The annotation record acquisition submodule is used to obtain the annotation records of the target doctor; The intelligent labeling model training submodule is used to train the intelligent labeling model based on the labeling records; The seed point annotated image determination submodule is used to input the image to be annotated into the intelligent annotation model to obtain a second annotated image.
3. The weakly supervised pathological image segmentation system based on seed point annotation as claimed in claim 1, characterized in that: Weak supervision subsystem, including: An iterative training model acquisition module is used to iteratively train the initial neural network model based on ensemble learning technology and weak supervision information to obtain an iterative training model; A process segmentation result acquisition module is used to obtain the process segmentation results of the iterative training model; The target neural network model determination module is used to use the corresponding iterative training model as the target neural network model if the process segmentation result meets the preset target standard.
4. The weakly supervised pathological image segmentation system based on seed point annotation as claimed in claim 1, characterized in that: Optimize subsystems, including: A feature acquisition module, used to parse the segmentation task and obtain the first feature of the segmentation data and the second feature of the segmentation task; A target post-processing method determination module, used to determine a target post-processing method suitable for the segmentation task according to the first feature and the second feature; The optimization module is used to perform corresponding optimization according to the target post-processing method.
5. The weakly supervised pathological image segmentation system based on seed point annotation as claimed in claim 1, characterized in that: Also includes: The segmentation result visualization subsystem is used to fuse the optimization result with the original pathological image and visualize it; Among them, the segmentation result visualization subsystem includes: A fusion base map determination module is used to determine a fusion base map according to the original pathological image; A segmentation and annotation base map determination module is used to determine the segmentation and annotation base map according to the optimization result; A segmentation and annotation pixel determination module is used to determine the segmentation and annotation pixels according to the segmentation and annotation base map; A first relative position acquisition module is used to acquire a first relative position between a first pixel in the segmentation annotation base map and a segmentation annotation pixel; A target pixel determination module is used to determine the target pixel corresponding to the segmentation annotation pixel in the fusion base map; A second relative position acquisition module is used to acquire a second relative position between a second pixel and a target pixel in the fused base image; A first fusion weight determination module, used to determine a first fusion weight of the first pixel according to the first relative position; A second fusion weight determination module, used to determine a second fusion weight of the second pixel according to the second relative position; A fused image determination module, used for fusing the segmented and annotated base map and the fused base map according to the first fusion weight and the second fusion weight to obtain a fused image; The visualization display module is used to visualize the fused image based on preset visualization rules.
6. The weakly supervised pathological image segmentation system based on seed point annotation as claimed in claim 1, characterized in that: Also includes: A diagnosis report generation subsystem is used to obtain the segmentation results to be diagnosed of the target patient, and generate a diagnosis report based on the segmentation results to be diagnosed and the auxiliary information of the target patient; Among them, the diagnostic report generation subsystem includes: A region of interest determination module, used to determine the region of interest in the segmentation result to be diagnosed based on a preset region of interest determination rule; An interesting feature acquisition module is used to characterize the interesting region and acquire interesting features; A pathology-aided diagnosis model acquisition module is used to acquire a pathology-aided diagnosis model; A target diagnosis model acquisition module is used to set the hyperparameters of the pathology-assisted diagnosis model according to the auxiliary information and obtain the set target diagnosis model; The auxiliary diagnosis result acquisition module is used to input the features of interest into the target diagnosis model to obtain the auxiliary diagnosis results; A display area acquisition module, used to acquire a preset display area corresponding to a feature of interest; The auxiliary diagnosis image determination module is used to fill the auxiliary diagnosis result into the corresponding display area according to the corresponding relationship between the auxiliary diagnosis result and the feature of interest, so as to obtain the auxiliary diagnosis image; An auxiliary information annotation text determination module is used to determine the auxiliary information annotation text according to the auxiliary diagnosis result and the auxiliary information; A suggestion information acquisition module is used to obtain suggestion information corresponding to the auxiliary information annotation text; The diagnostic report generation module is used to generate a diagnostic report based on preset diagnostic report generation rules, auxiliary diagnostic images, auxiliary information annotation text and suggestion information.
7. A weakly supervised pathological image segmentation method based on seed point annotation, characterized in that: include: Step 1: Get the seed point annotated image; Step 2: Based on the SeedNet algorithm, annotate the image according to the seed points, train the initial neural network model, and obtain weak supervision information during the training process; Step 3: According to the weak supervision information, the initial neural network model is iteratively trained to obtain the target neural network model that meets the training requirements; Step 4: Determine the target pathological image segmentation result according to the acquired segmentation task and target neural network model; Step 5: Based on post-processing technology, the target pathological image segmentation result is optimized to obtain the optimized result; Step 1: Get the seed point annotated image, including: Acquire a manually annotated first annotated image; Acquire a second annotated image for intelligent annotation; The first annotated image and the second annotated image are used together as a seed point annotated image; Obtaining a manually annotated first annotated image, including: Generate an interface to be annotated according to the acquired image to be annotated; Obtain the first annotation result of the target doctor on the to-be-annotated interface; Obtaining the adopted value of the first annotation result; If the adopted value is greater than or equal to the preset adopted value threshold, the corresponding first annotation result is used as the second annotation result; generating a first annotated image according to the second annotation result; Get the adopted value of the first annotation result, including: Obtaining a labeling process of a first labeling result; According to the characterization result of the labeling process characterization, a process characteristic diagram corresponding to the labeling process is drawn; Inputting the process characteristic diagram into a preset annotation basis prediction model to obtain the annotation basis output by the annotation basis prediction model; Based on a preset annotation basis rationality analysis model, the annotation basis is rationally analyzed to obtain a reasonable value, and the reasonable value is associated with the corresponding first annotation result; Obtain the historical segmentation results corresponding to the historical annotation records of the target doctor; Determine the segmentation process of the historical segmentation results; Get the segmentation quality of historical segmentation results; According to the segmentation process, the historical annotation records and the segmentation quality are analyzed for correlation to obtain the correlation value; Determine the pairing value based on the preset segmentation quality-correlation value-pairing value library, and associate it with the corresponding first annotation result; The reasonable value and the matching value associated with the first annotation result are cumulatively calculated to obtain an adopted value.
Citation Information
Patent Citations
A method for augmenting and enhancing HE-stained pathological image data
CN114387264B
Artificial intelligence pathology marking system
CN109872803A
