Human brain glioma blood vessel segmentation method and system based on tissue transparency

Through pre-processing, fine-tuning and post-processing steps based on tissue transparency, the problem of segmentation of human brain glioma blood vessels in the existing technology is solved, accurate extraction of complex shapes and highly damaged blood vessels is achieved, and the segmentation accuracy and completeness are improved. sex.

CN118537353APending Publication Date: 2024-08-23ZHUJIANG HOSPITAL OF SOUTHERN MEDICAL UNIVERSITY
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410757314.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

It is difficult to effectively automatically segment human brain glioma blood vessels with existing technology, especially when the shape is complex and the degree of damage is high, and the existing three-dimensional image blood vessel extraction scheme cannot meet the needs of complex glioma blood vessel extraction under real conditions.

Method used

A method for segmenting human brain glioma blood vessels based on tissue transparency is proposed, including pre-processing, fine-tuning and post-processing steps. Pre-processing equalizes blood vessel brightness and eliminates background interference, fine-tunes blood vessels through pre-trained segmentation networks and reference masks, and post-processing fills holes according to blood vessel size to improve segmentation accuracy.

Benefits of technology

It achieves the accurate extraction of glioma blood vessels with complex shapes and high degree of damage, improves the segmentation accuracy and completeness, avoids the introduction of noise, and enhances the ability to segment complex glioma blood vessels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537353A
    Figure CN118537353A
Patent Text Reader

Abstract

The invention provides a human brain glioma blood vessel segmentation method and system based on tissue transparency, and the method comprises the steps: extracting a human brain glioma tissue of a transparent tissue, collecting the three-dimensional blood vessel data of the human brain glioma tissue, carrying out the pretreatment of balancing the blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence, and obtaining a pretreatment result; taking the three-dimensional blood vessel data and the pre-processing result as input of a pre-trained segmentation network, performing blood vessel segmentation, correspondingly outputting a segmentation result and a reference mask, and performing blood vessel fine tuning on the segmentation result according to the reference mask to obtain a fine tuning segmentation result; filling the to-be-post-processed blood vessel holes in the fine adjustment segmentation result according to the blood vessel size from small to large to obtain a final blood vessel segmentation result; wherein the blood vessel holes comprise a small blood vessel lumen and a large blood vessel lumen, and the segmentation accuracy of the human brain glioma blood vessel with transparent tissue can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a method and system for segmenting human brain glioma blood vessels based on tissue transparency. Background Art

[0002] The growth and development of gliomas are often accompanied by massive proliferation of blood vessels, morphological and functional abnormalities. The morphological characteristics of glioma blood vessels, such as diameter, branching points or degree of vascular wall damage, may be related to the classification and grading of gliomas. Precise automatic segmentation of human glioma blood vessels is crucial for studying the invasiveness and heterogeneity of gliomas.

[0003] However, due to the limitations of obtaining human glioma samples, most of the three-dimensional morphological studies on glioma blood vessels are conducted in mouse models. Moreover, the application of different tissue transparency methods in the study of human glioma blood vessels is still immature, and in-depth research on human glioma blood vessels is limited. In addition, the amount of data produced is very limited, and the annotation of blood vessels is very difficult. Therefore, it is challenging to use deep learning methods to achieve automatic and accurate segmentation of the blood vessels, and the existing three-dimensional image blood vessel extraction schemes cannot cope well with the extraction of complex glioma blood vessels under realistic conditions. Summary of the invention

[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned existing related technologies and propose a human brain glioma blood vessel segmentation method and system based on tissue transparency, which can accurately extract the accuracy of human brain glioma blood vessel segmentation based on tissue transparency.

[0005] In a first aspect, the present invention provides a method for segmenting human brain glioma blood vessels based on tissue transparency, comprising:

[0006] Extracting transparent human brain glioma tissue, collecting three-dimensional blood vessel data of the human brain glioma tissue, and performing pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result;

[0007] The three-dimensional blood vessel data and the pre-processing result are respectively used as inputs of a pre-trained segmentation network to perform blood vessel segmentation, and a segmentation result and a reference mask are correspondingly outputted, and the segmentation result is fine-tuned according to the reference mask to obtain a fine-tuned segmentation result;

[0008] The blood vessel holes to be post-processed in the fine-tuning segmentation result are filled in order of blood vessel size from small to large to obtain a final blood vessel segmentation result; wherein the blood vessel holes include: small blood vessel lumens and large blood vessel lumens.

[0009] Before using the segmentation network for segmentation, the present invention performs an operation of equalizing the brightness of blood vessels on the original image and then removing noise, so as to first improve the overall brightness of the image, and facilitate the removal of noise points after finding them, which is conducive to the unbiased and accurate extraction of blood vessels in transparent tissues, so as to cope with glioma blood vessels with complex morphology and high degree of damage; and, the blood vessel segmentation result of the pre-processing result is used as the segmentation result of the three-dimensional blood vessel data that has not been pre-processed for fine-tuning, so that glioma blood vessels with broken patterns can be more completely extracted in challenging images, and compared with directly using the reference mask as the optimization result, the introduction of noise is avoided; then, the blood vessel holes are filled from small to large according to the blood vessel size, and the tiny false positive plaques and holes in small blood vessels caused by background interference can be removed first, and then the large blood vessel filling is performed twice, so as to improve the accuracy of complex glioma blood vessel segmentation under realistic conditions.

[0010] Further, fine-tuning the blood vessels of the segmentation result according to the reference mask to obtain a fine-tuned segmentation result includes:

[0011] Obtain a difference value between the blood vessel segment of the reference mask and the blood vessel segment of the segmentation result. If the difference value is within a preset difference threshold, replace the blood vessel segment at the corresponding position in the segmentation result with the blood vessel segment of the reference mask; otherwise, discard the corresponding blood vessel segment in the reference mask.

[0012] Further, the blood vessel holes to be post-processed in the fine-tuning segmentation result are filled in order of blood vessel size from small to large to obtain the final blood vessel segmentation result, including:

[0013] Filling the small blood vessel lumen to be post-processed in the fine-tuning segmentation result to obtain a small blood vessel filling result, extracting the large blood vessel lumen based on the small blood vessel filling result, and filling the large blood vessel lumen based on a preset pipeline filling network to obtain a large blood vessel filling result;

[0014] A three-dimensional connected domain is extracted after the fusion of the small blood vessel filling result and the large blood vessel filling result, and connected components in the three-dimensional connected domain that are smaller than a preset volume threshold are removed as noise to obtain a final blood vessel segmentation result.

[0015] Further, the extracting of the large blood vessel lumen based on the small blood vessel filling result includes:

[0016] Project adjacent layers in the small blood vessel filling result into a plane along a coordinate axis to obtain a main projection layer, and select the projection layer with the largest connected domain from multiple main projection layers as the main reference layer, determine the position and shape of the large blood vessel lumen based on the main reference layer, and determine the large blood vessel lumen based on the position and shape of the large blood vessel lumen.

[0017] The present invention uses the main reference layer corresponding to the small blood vessel filling result to confirm the position and shape of the large blood vessel lumen, which can accurately select the large blood vessel lumen and improve the accuracy of complex glioma blood vessel segmentation under realistic conditions.

[0018] Further, determining the lumen of the large blood vessel according to the position and shape of the lumen of the large blood vessel comprises:

[0019] The small blood vessel filling result is cut into multiple sub-parts, and local projection layers corresponding to the multiple sub-parts are obtained in turn, and a local reference layer corresponding to each local projection layer is obtained, and the radius and overlapping area of ​​each local reference layer are compared with the main projection layer in turn to obtain the position of the large blood vessels contained in the corresponding local reference layer, and the positions of the large blood vessels in all local reference layers are counted to obtain the large blood vessel lumen.

[0020] Further, the large blood vessel lumen is filled based on a preset pipeline filling network to obtain a large blood vessel filling result, including:

[0021] The large blood vessel lumen is skeletonized layer by layer to obtain skeleton segments, and the endpoints of the skeleton segments are connected to form a closed loop, and then filled in sequence according to a preset filling function and a pipeline filling network to obtain a large blood vessel filling result of the large blood vessel lumen.

[0022] Further, the small blood vessel lumens to be post-processed in the fine-tuning segmentation result are filled to obtain a small blood vessel filling result, including:

[0023] The fine-tuning segmentation result is used as the input of the pipe filling network and the hole filling function in mathematical morphology to perform initial hole filling, and the corresponding network reference mask and function reference mask are output. If the network reference mask and the function reference mask have filled holes at the same position, the holes are regarded as real holes to be filled, and the filling results corresponding to the holes to be filled are used as small blood vessel filling results.

[0024] Further, the filling result corresponding to the hole to be filled is used as the small blood vessel filling result, including:

[0025] The hole to be filled is subjected to regional growth under the constraint of the network reference mask to obtain a filling result, and the filling result is used as a small blood vessel filling result; wherein, if the network reference mask and the function reference mask do not have a filled hole at the same position, the hole is discarded as a blood vessel gap.

[0026] Further, after obtaining the small blood vessel filling result, the method further includes:

[0027] The degree of incompleteness of the blood vessel wall in the small blood vessel filling result is obtained through the proportion of the filled blood vessel wall, so that the blood vessel heterogeneity is analyzed according to the degree of incompleteness; wherein the blood vessel wall proportion is expressed as the ratio of the filled pixel value of the small blood vessel filling result to the total pixel value of the small blood vessel filling result.

[0028] In this embodiment, in the stage of filling small holes, the proportion of filled blood vessel walls can reflect the degree of incompleteness of the blood vessel walls to a certain extent. The proportion is the number of pixels in the filled holes divided by the number of pixels in the entire mask. The larger the value, the higher the degree of damage. It can accurately reflect the damage and filling conditions of the blood vessels, which is conducive to accurate evaluation of the segmentation network.

[0029] In a second aspect, the present invention provides a human brain glioma blood vessel segmentation system based on tissue transparency, comprising: a pre-processing unit, a fine-tuning unit and a post-processing unit; wherein,

[0030] The pre-processing unit is used to extract transparent human brain glioma tissue, collect three-dimensional blood vessel data of the human brain glioma tissue, and perform pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result;

[0031] The fine-tuning unit is used to use the three-dimensional blood vessel data and the pre-processing result as inputs of a pre-trained segmentation network, respectively, to perform blood vessel segmentation, output a segmentation result and a reference mask correspondingly, and perform blood vessel fine-tuning on the segmentation result according to the reference mask to obtain a fine-tuned segmentation result;

[0032] The post-processing unit is used to fill the blood vessel holes to be post-processed in the fine-tuning segmentation result according to the blood vessel size from small to large to obtain the final blood vessel segmentation result; wherein the blood vessel holes include: small blood vessel lumens and large blood vessel lumens. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flow chart of a method for segmenting human brain glioma blood vessels based on tissue transparency provided in this embodiment;

[0034] Figure 2 is a schematic diagram of a 3D image of a sub-stack for model development provided in this embodiment;

[0035] Figure 3 is a schematic diagram of a sub-stack provided in this embodiment;

[0036] Figure 4 is a schematic diagram of a segmentation network with a convolutional block attention module and a convolutional block attention module provided in this embodiment;

[0037] Figure 5is a schematic diagram of comparative experimental results of different improved components provided in this embodiment;

[0038] Figure 6 is a schematic diagram for comparing the segmentation results of human brain glioma blood vessels provided in this embodiment;

[0039] Figure 7 is a schematic diagram of the structure of the ClearVess segmentation network provided in this embodiment;

[0040] Figure 8 is a schematic diagram of the process of post-processing fine-tuning provided in this embodiment;

[0041] Fig. 9 is a schematic diagram of the process of large blood vessel filling provided in this embodiment;

[0042] Fig.10 is a schematic diagram for comparing segmentation results based on the pre-processing operation of the segmentation network provided in this embodiment;

[0043] Fig.11 is a schematic diagram comparing segmentation results of blood vessel fine-tuning and post-processing based on the segmentation network provided in this embodiment;

[0044] Fig.12 is a schematic diagram of the intermediate and final results of the segmentation network provided in this embodiment;

[0045] Fig.13 This is a schematic diagram of quantitative analysis of vascular morphological characteristics of normal brain tissue, low-grade and high-grade gliomas provided in this embodiment;

[0046] Fig.14 is a flowchart of another method for segmenting human brain glioma blood vessels based on tissue transparency provided in this embodiment;

[0047] Fig.15 Schematic diagram of the structure of a human brain glioma blood vessel segmentation system based on tissue transparency provided in this embodiment. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Example 1

[0050] See also Figure 1, is a flow chart of a method for segmenting human brain glioma blood vessels based on tissue transparency provided in this embodiment, including: steps S11 to S13, specifically:

[0051] Step S11, extracting transparent human brain glioma tissue, and collecting three-dimensional blood vessel data of the human brain glioma tissue, and performing pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result.

[0052] It is worth noting that the extracted transparent human glioma tissue was approved by the relevant medical ethics committee and with the informed consent of all patients.

[0053] In some embodiments, tumors clinically diagnosed as low-grade (WHO grade 2 astroglioma) and high-grade glioma (WHO grade 4 glioblastoma) were selected, both of which were surgically removed from the right frontal region of the brain. In addition, normal brain tissue from the same region of non-tumor human brain was used as a control.

[0054] In some embodiments, extracting transparent human brain glioma tissue may include: performing immunofluorescence labeling on the tumor and then performing transparency treatment to obtain a transparency result.

[0055] In some embodiments, collecting the three-dimensional vascular data of the human brain glioma tissue includes: obtaining an image of the transparency result, and visualizing the image to obtain the three-dimensional vascular data.

[0056] In some embodiments, imaging is performed as a three-dimensional stack of the clearing results under a confocal microscope.

[0057] In some embodiments, obtaining an image of the transparentization result may include: first, using a Leica SP8 laser confocal microscope (Leica, Germany) to image the tissue block placed in the confocal dish. After focusing and finding the approximate area at the microscope, transfer to the computer control software LAS X (Leica software), select the laser type, and select the spectral detection range of 570-700nm to improve the clarity and accuracy of the image and reduce autofluorescence.

[0058] Then, the laser scanning preview stage was performed. First, the appropriate field of view was found under the low-power lens (×10 objective lens), and then the ×20 objective lens was switched. At the same time, the appropriate laser intensity was adjusted to maximize the signal-to-noise ratio of the image and avoid exposure (loss of fluorescence intensity information). After browsing the upper and lower layers, the depth range of the layer scan was determined according to the fluorescence signal, so that each layer within the range could see a clearer fluorescence signal and the imaging depth was as deep as possible. After setting the depth range (approximately between 100-300 μm), z step size (0.799 μm), and field of view resolution (1024×1024), three-dimensional scanning was performed along the z axis. In the actual layer scan, most of the imaging used a ×20 objective lens (Plan-Apochromat CS; numerical aperture, 0.70; working distance, 0.59 mm), and a small part of the imaging used a ×10 objective lens, a ×40 objective lens, and a ×63 objective lens. The final three-dimensional image obtained is 8-bit depth, and the voxel size is mostly 0.568μm×0.568μm×0.799μm. The size of the image in the xy plane is 1024×1024, and the z-axis depth varies from about 80 to 370 layers. The spectral detection range is selected at 570-700nm to improve the clarity and accuracy of the image and reduce autofluorescence. For each sample, 3-7 regions of interest are selected for imaging. In addition, for different samples, sample differences may cause differences in antibody penetration and tissue transparency effects, so it is necessary to adjust the imaging parameters and depth range for the sample to ensure that the signal-to-noise ratio of the acquired image is appropriate. Due to the combination of tissue transparency technology, the imaging depth of the confocal microscope can reach a sufficient observation depth for this embodiment, and the resolution of the imaging device is high, which is convenient for observing the fine structure of the microvessels required in this embodiment. Therefore, this embodiment selects a confocal microscope as an imaging device for three-dimensional visualization of glioma tissue structure.

[0059] In some embodiments, the imaging is visualized to obtain three-dimensional vascular data, including: using Imaris 9.0.1 (a Bitplane software) to perform three-dimensional visualization on the acquired imaging, and the visualization mode is Maximum Intensity Projection (MIP).

[0060] In some embodiments, the Filament Tracer tool in Imaris can also be used to construct a vascular computational model corresponding to the three-dimensional visualization to obtain vascular data. Filament Tracer is designed for filamentous structures. After constructing a computational model for the fluorescence stack, various quantitative indicators can be obtained. It is often used for automatic measurement and analysis of vascular and neural structures. This embodiment uses it to detect the recognition and extraction performance of Imaris for vascular structures. Since the Filament tool has a large amount of calculation, in order to reduce the calculation pressure and maximize the segmentation performance, for images with low signal-to-noise ratio, the background subtraction preprocessing operation in Imaris is first performed. Next, the Filament computational model is constructed through the following steps: (1) Select a threshold-based algorithm, which can generate a Filament model with a loop structure, which is suitable for vascular structures; (2) Set an appropriate Filament radius, and make a rough estimate of the average radius in Slice mode; (3) Adjust the range of fluorescence values ​​covered by the extraction mask; (4) Set the "minimum ratio of branch length to trunk radius" to 6, because the size of blood vessels varies greatly. After the modeling is completed, select the "Cone" type of presentation mode. Adjust the transparency of the model to better show the overlap with the original fluorescent image.

[0061] It is worth mentioning that Imaris is the core scientific software module of Bitplane. Imaris software is a cutting-edge 2D-5D image rendering and interactive analysis software with functions such as surface structure rendering, neural analysis, point counting and trajectory tracking, cell analysis plate, colocalization analysis and video recording.

[0062] In some embodiments, the stack of segmentation results or reference masks obtained later is also visualized using Imaris, and the Blend mode is selected as the visualization mode, and the Blend mode is adjusted to better show the three-dimensional effect.

[0063] In some embodiments, in order to preliminarily verify the segmentation results of the segmentation network, it is necessary to overlap the confocal microscope fluorescence stack image and the segmentation mask. The overlapping display method is as follows: (1) merge the fluorescence stack and the segmentation stack into a dual-channel image in the imagej software; (2) import it into Imaris; (3) in order to show a clearer overlapping effect, the fluorescence stack still maintains the MIP mode unchanged, the Blend mode of the segmentation mask is converted to the MIP mode, and the transparency of the segmentation mask MIP mode is adjusted (by adjusting the brightness-contrast curve of the channel).

[0064] It is worth noting that the three-dimensional visualization of human brain glioma blood vessels has been carried out and a batch of three-dimensional data sets have been obtained. Qualitative analysis by naked eye observation can observe the characteristic changes of glioma blood vessels of different grades to a certain extent. However, this analysis is not comprehensive. Due to the inter-tumor and intra-tumor heterogeneity of glioma blood vessels, it is difficult to capture objective laws from individual blood vessel stacks by naked eye observation. And subjective analysis may not be able to detect subtle changes in glioma blood characteristics. Therefore, using unbiased and accurate methods to measure vascular characteristics specifically and comprehensively analyze a certain amount of data is a basic link in vascular morphological analysis, and unbiased and accurate extraction of blood vessels is the basis for accurate measurement and analysis. However, as mentioned above, existing vascular extraction methods are difficult to deal with glioma blood vessels with complex morphology and high degree of damage.

[0065] Therefore, this embodiment develops a blood vessel extraction method based on the above-obtained data set, and applies the method to the quantitative analysis of multiple morphological characteristics of blood vessels. Next, we will focus on the segmentation network, pre-processing and post-processing methods of the three-dimensional blood vessel data using the improved nnU-Net, aiming to achieve high-precision extraction of glioma blood vessels to characterize the "fine" vascular structure.

[0066] In this framework, novel pre-processing operations are introduced, and then nnU-Net is further improved to construct an improved segmentation network of nnU-Net, including: adding attention modules and improving training strategies, etc. Finally, the post-processing operations on the output of the segmentation network are introduced. Through pre-processing operations, the accuracy of noise resolution can be improved, so that the segmentation accuracy of the three-dimensional vascular data set is higher; in terms of network segmentation results, novel output fine-tuning operations and post-processing operations are designed by combining highly robust and high-precision deep learning methods with highly logical, controllable and relevant traditional image algorithms, which can extract damaged tumor blood vessels more completely and fill small holes and large lumens to further improve segmentation accuracy.

[0067] In addition, this embodiment proposes a new indicator based on the intermediate and final results, namely "filled vessel wall ratio", to characterize the incompleteness of the vessel wall. The results of feature comparison of glioma vessels of different levels show the spatial heterogeneity of glioma vessels, and further verify the reliability and practicality of the segmentation framework developed in this embodiment.

[0068] Next, the detailed steps of segmenting three-dimensional blood vessel data in this embodiment will be introduced in detail, including: 1. data set preprocessing; 2. pre-processing operation; 3. segmentation network processing; 4. output fine-tuning processing; 5. post-processing adjustment; and 6. indicator evaluation.

[0069] 1. Dataset preprocessing

[0070] In some embodiments, the data set preprocessing of the three-dimensional blood vessel data includes: labeling the three-dimensional blood vessel data corresponding to the human brain glioma.

[0071] In some embodiments, a total of 12 samples are included, but only 8 of them are trained and labeled; wherein, the vascular data of these 12 patient samples are also used in subsequent quantitative analysis. The sample cases include: clinically diagnosed low-grade (mainly grade II astroglioma) and high-grade (grade IV glioblastoma) gliomas and normal brain tissues, see Table 1, which is the pathological information of 12 patients provided in this embodiment.

[0072] The three-dimensional vascular data is labeled, including: labeling the vascular data of 8 patient samples to obtain vascular data annotation. Since the training of the deep learning model requires the labeled vascular data as the real label (Groundtruth), in order to reduce the burden of labeling, the original three-dimensional stack of the vascular data of the 8 patient samples is first cut into sub-stacks, each sub-stack is a quarter of the size of the entire stack (that is, the xy plane size is 512×512, and the stack thickness remains unchanged), and then 14 representative sub-stacks are selected, see Figure 2 , is a schematic diagram of a sub-stack 3D image for model development provided in this embodiment, and see Table 2, is a data set for model development provided in this embodiment, including a sample size of 8 cases; wherein, in Figure 2 middle, Figure 2 (a) Figure 2 (b) are 3D stacks of low-grade and high-grade glioma blood vessels, respectively. The blood vessel marker antibody used is CD31. The front view, top view and left view of the 3D body are also shown. The left view annotates the thickness of the stack in the z-axis direction. ITK-snap software is used to manually annotate every 10 layers for model training and method development. Ground truth was screened and refined multiple times by multiple professionals and experts in tissue preparation and imaging. Blood vessels with lumen, incomplete vascular walls, and staining problems are marked as filled and complete tubular, hoping that the segmentation network can learn the complete vascular shape.

[0073] In some embodiments, a two-fold cross validation is used, and the 14 sub-stacks are divided into two groups, each group consisting of 7 sub-stacks, see Figure 3 , is a schematic diagram of the sub-stacks provided in this embodiment. The first group comes from 4 patients, and the other group comes from another 4 patients, for a total of 8 samples. Both groups contain sub-stacks with different vascular morphologies and glioma grades. This data partitioning ensures the independence and diversity of the training set and the test set, which is very important for tasks with small-scale training data. Table 2 summarizes the details of the 14 sub-stacks and Figure 3 Visualized in .

[0074] Table 1 Pathological information of 12 patients

[0075]

[0076] Table 2 Datasets used for model development

[0077]

[0078]

[0079] In some embodiments, two public vascular datasets from existing studies were used to further verify the generalization of the vascular extraction method; the first dataset includes 70 annotated three-dimensional stacks of mouse brain vessels from two-photon fluorescence microscopy. The vascular system was observed by injecting Texas Red 70kDa dextran and creating a cranial window on the parietal bone. Using a 25x water immersion objective, 512×512 images of different depths were collected with a lateral resolution of 0.621-0.994μm / pixel and a z step of 1-10μm. Ground truth was created by traditional image processing methods, 2D U-Net, and manual correction.

[0080] The second dataset has 11 annotated vascular volume data, which were imaged using a light sheet microscope to analyze the cerebral vascular system of the whole mouse brain. The entire vasculature was stained with wheat germ agglutinin (WGA) and Evans blue dye, the whole mouse brain was transparentized with 3DISCO tissue clearing solution, and the sample was imaged using a 12x LaVision objective. In order to match the single-channel network of this embodiment, this embodiment only uses the first channel of the data (i.e., the WGA staining channel), which can already display all the blood vessels in the manual annotation. The image resolution is 2.83μm×2.83μm×4.99μm, and the size is 500×500×50 voxels.

[0081] 2. Pre-processing operation

[0082] In some embodiments, the three-dimensional blood vessel data is subjected to pre-processing of balancing blood vessel brightness and eliminating background interference in sequence to obtain a pre-processing result.

[0083] In some embodiments, contrast limited adaptive histogram equalization (CLAHE) is performed on all layers of the image of the three-dimensional blood vessel data to obtain an image result with equalized blood vessel brightness to enhance weaker blood vessels. CLAHE pays more attention to contrast than the original histogram equalization and adaptive histogram equalization, and suppresses uniform noise; then rolling ball background subtraction (RBBS) is used on all layers of the image result to obtain a denoising result to suppress background signals; then the denoising result is resampled and normalized, and the voxel space and voxel intensity are unified to obtain the final pre-processing result.

[0084] It is worth noting that, since the blood vessels in the deeper layers of some three-dimensional images are darker and have stronger background interference, in order to reduce the segmentation pressure of the neural network, this embodiment first balances the blood vessel brightness and then removes the noise on the original image before using the segmentation network for prediction, so as to first improve the overall brightness of the image and facilitate the removal of noise points after finding them, which is conducive to the unbiased and accurate extraction of blood vessels, and can cope with glioma blood vessels with complex morphology and high degree of damage.

[0085] 3. Segmentation network processing

[0086] It is worth mentioning that the segmentation network includes: the formal use process and the training process. In order to explain the segmentation network more clearly, the structure of the segmentation network and the training process of the segmentation network will be introduced in detail.

[0087] The formal use process based on the pre-trained segmentation network is as follows:

[0088] Step S12: using the three-dimensional blood vessel data and the pre-processing result as inputs of a pre-trained segmentation network respectively, performing blood vessel segmentation, outputting a segmentation result and a reference mask correspondingly, and fine-tuning the blood vessel of the segmentation result according to the reference mask to obtain a fine-tuned segmentation result.

[0089] Structure of the segmentation network

[0090] In some embodiments, compared with the classic 3D nnU-Net, the segmentation network of this embodiment introduces multiple convolutional block attention modules (CBAM) blocks and adds residual connections to the structure to improve the segmentation performance, see Figure 4 , is a schematic diagram of a segmentation network with a convolutional block attention module and a convolutional block attention module provided in this embodiment.

[0091] It is worth noting that the classic structure of 3D nnU-Net has an encoder and a decoder, each encoder has 6 resolution stages and 5 sampling stages, and two blocks including a convolutional layer, an instance normalization layer, and a leaky ReLU layer are used in each resolution stage. The following embodiment describes two modifications based on the classic 3D nnU-Net.

[0092] In some embodiments, a convolutional block attention module is introduced. Considering that the attention module can help the model focus on meaningful information in the image, this embodiment tested multiple attention modules and selected the convolutional block attention module to be incorporated into the segmentation network of this embodiment. At each resolution level of the 3D nnU-Net decoder, the convolutional block attention module follows the output of the convolutional block.

[0093] It is worth noting that the convolutional block attention module is different from the "squeeze-and-excitation" module (SE) and the "spatial and channel squeeze-and-excitation" module (scSE), which extracts the maximum pooling features and average pooling features in the channel and spatial attention paths respectively. Since the grayscale value is a significant feature that distinguishes the blood vessels from the background in the image of this embodiment, which is different from the images of CT and MRI with complex grayscale features, both the average pooling and the maximum pooling features may be effective in the task of this embodiment. Introducing the convolutional block attention module into the 3D nnU-Net network can enhance meaningful features and suppress weak features by helping upsampling to restore spatial information and recalibrate the direction of the learned feature mapping.

[0094] In some embodiments, Figure 4 Figure b is a schematic diagram of the 3D convolutional block attention module structure provided in this embodiment. It includes a channel attention module and a spatial attention module. Given a feature map F∈R C×H×W×D As input, the convolutional block attention module first infers a one-dimensional channel attention map M c ∈R C×1×1×1 , followed by the three-dimensional spatial attention map M s ∈R 1×H×W×D The whole process can be summarized as follows:

[0095]

[0096] in, represents element-wise multiplication, F′ represents the feature map after channel adjustment, and F″ represents the final adjusted feature map.

[0097] according to Figure 4In the channel attention module, the spatial information of the input feature map is first aggregated through average pooling and maximum pooling operations. The two aggregated results are sequentially input into the shared multi-layer perceptron (MLP), and the two output results are element-wise summed, and then the results are input into the sigmoid function to obtain a one-dimensional channel attention map. The process is briefly described as:

[0098] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F)));

[0099] Among them, σ(·) represents the sigmoid function; MLP(·) is a multi-layer perceptron; AvgPool(·) and MaxPool(·) are average pooling operations and maximum pooling operations respectively; F is the input feature map.

[0100] According to the figure Figure 4 In the spatial attention module, the channel information of the channel-adjusted feature map is first aggregated through two pooling operations, and then the aggregated results are merged and convolved through the convolution layer to generate a three-dimensional spatial attention map:

[0101] M s (F) = σ(Conv 7×7×7 ([AvgPool(F);MaxPool(F)]));

[0102] Among them, Conv 7×7×7 (·) denotes a convolution operation with a kernel size of 7×7×7.

[0103] In some embodiments, residual connections are added based on the segmentation network with the convolutional block attention module added. It is worth noting that residual connections can enhance information flow, help gradient propagation during training, and retain the original feature map information. For this task, it is expected that residual connections can convey rich visual representations and learn complete semantic information of fine structures. Therefore, this embodiment adds residual connections to the network structure based on the segmentation network with the convolutional block attention module added, and combines the output of the convolutional block attention module with the original feature map, see Figure 1. Figure 4 Figure a is a schematic diagram of the structure of the overall segmentation network provided in this embodiment.

[0104] In some embodiments, three-dimensional blood vessel data is used as input of a pre-trained segmentation network to perform blood vessel segmentation and output a corresponding segmentation result, including: encoding the three-dimensional blood vessel data in an encoder of the pre-trained segmentation network, outputting the encoding result, and using the encoding result as input of a decoder for graphic decoding, and outputting a segmentation result after blood vessel segmentation; wherein the decoder includes multiple layers of upsampling, a convolutional attention module is added at the end of each layer of upsampling, and the output of each convolutional attention module is combined with the corresponding original feature map through a residual connection.

[0105] In order to study the role of individual improved components in 3D ResCBAM nnU-Net, this embodiment conducts an ablation experiment. In some embodiments, see Table 3, the ablation experiment results based on the segmentation network provided in this embodiment are compared. The improved components include introducing a CBAM block with residual connection (referred to as ResCBAM), using more aggressive data enhancement (referred to as MoreDA), skipping empty blocks (referred to as SB) when sampling training data, and introducing weights (referred to as Lw) in the cross entropy loss. All models are built based on the baseline 3D nnU-Net. The results in Table 3 show (the bold numbers in the table represent the best metrics for all columns) that the combination of all components can produce the best segmentation performance. It seems that active data enhancement has achieved the greatest improvement in all components. This is in line with the characteristics of the task of this embodiment—the amount of data is small, so enriching the training data may bring more improvements.

[0106] Table 3 3D ResCBAM nnU-Net ablation experiment

[0107]

[0108] In order to study the advantages of each component over other components, this embodiment also uses other alternative methods to replace the components for comparative experiments, see Figure 5 , is a schematic diagram of comparative experimental results of different improved components provided in this embodiment; wherein, the replacement is performed based on the final 3D ResCBAM nnU-Net.

[0109] For the network architecture, this embodiment tests the effect of adding attention blocks or transformer blocks (self-attention layers and multi-layer perceptrons) in the tasks of this embodiment. First, the attention block CBAM is compared with scSE. scSE is an extension of SE on the segmentation task. There is no pooling feature in its spatial attention path. The comparison results verify the superiority of CBAM in the tasks of this embodiment. At the same time, the role of residual connections in the CBAM block is verified, and it is concluded that ResCBAM combined with the original feature map information can help restore image details. Secondly, considering that TransUNet and TransBTS include transformer blocks in the encoder and bottleneck layers of 3D U-Net, respectively, and have achieved impressive performance in segmentation tasks, this embodiment attempts to introduce transformer blocks into the 3D ResCBAM nnU-Net architecture of this embodiment. Figure 5 It can be seen that the performance of the task in this embodiment is reduced whether the transformer block is used alone or in combination with the ResCBAM module in the architecture. The reason may be that the transformer block has a large computational overhead and a high requirement for the amount of training data.

[0110] Among the training strategies, the data augmentation results show that aggressive data augmentation methods are only effective when used in conjunction with batch normalization, rather than instance normalization, which is commonly used in 3D nnU-Net. In addition, the patch sampling method that skips empty patches is compared with a more aggressive data sampling strategy that samples all patches centered on pixels of the target object. Figure 5 It is shown that oversampling degrades performance, which shows the importance of an appropriate degree of data sampling. Overly aggressive sampling can render the model unable to handle images with complex backgrounds. For the hybrid loss function consisting of weighted cross entropy loss and Dice loss, this embodiment first replaces the previous loss with its variant, selecting only difficult-to-predict pixels for loss calculation, and then replaces the latter loss with its variant, in which a weight parameter is added to penalize incorrectly predicted pixels. Both loss changes lead to worse performance. This embodiment speculates that the blood vessels in the data set of this embodiment are variable and pixels are difficult to classify correctly, so fixed-direction reasoning and focusing only on specific types of pixels will reduce the grasp of the overall situation.

[0111] Training process of segmentation network

[0112] In some embodiments, obtaining a pre-trained segmentation network includes: training an initial segmentation network using vascular training data; the vascular training data includes: 3D vascular training data from a patient; wherein the 3D vascular training data from a patient is raw data, excluding data processed using histogram equalization and background subtraction, and the training data includes: 14 sub-stacks; wherein the 14 sub-stacks are divided into two groups, each group consisting of 7 sub-stacks, and the two groups of data are used for training and 2-fold validation, respectively. In addition, 70 annotated mouse cerebral vascular 3D stacks and 11 annotated vascular volume data are used to validate the trained segmentation network.

[0113] In some embodiments, in order to improve the robustness of the model, active data augmentation is performed. First, by unifying the voxel space size and the z-score normalization of the voxel intensity, all substacks in the dataset are uniformly voxel-sized 0.568μm×0.568μm×0.799μm and image size 512×512×126, and the dataset includes vascular training data. Then, since the input size in 3D nnU-Net is 224×224×48, this embodiment collects small image patches in the substack and performs data augmentation, which is a dynamic augmentation strategy. Compared with the baseline 3D nnU-Net, the data augmentation is more diverse and active, including: random rotation, scaling, gamma transformation, mirroring, brightness adjustment, and elastic deformation. The main changes include: (1) increasing the probability of applying various transformations; (2) expanding the range of variation of the parameters of various transformations. Since active data augmentation can only effectively reduce the image domain gap between training images and test images when used in conjunction with batch normalization, all instance normalization layers are replaced by batch normalization layers.

[0114] In some embodiments, the segmentation network of this embodiment skips "empty" image blocks without labeled blood vessels during training. According to the configuration of nnU-Net, the batch size is set to 2. According to the design of the original nnU-Net, in each iteration, an image block is sampled centered on the foreground and another image block is randomly sampled to ensure high training efficiency while covering various types of image blocks. Since the blood vessels in the task of this embodiment are sparsely distributed and labeled, random sampling is prone to collecting empty image blocks, which will reduce training efficiency. Therefore, in order to improve training efficiency and segmentation performance, this embodiment uses a more aggressive sampling strategy - skipping empty blocks, instead of random sampling.

[0115] In some embodiments, due to the imbalance between the blood vessel class and the background class in the image corresponding to the transparent tissue human brain glioma, this embodiment adds a class weight to the cross entropy loss function (setting blood vessel: background = 3:1). The loss function is expressed as:

[0116] LW =L WCE +L Dice ;

[0117] Among them, L WCE represents the weighted cross entropy loss function, L Dice In addition, the unlabeled pixel values ​​are set to 2 and these pixels are ignored when calculating the loss function during training.

[0118] In some embodiments, during network training, each experiment runs 1000 epochs. Stochastic gradient descent with a high initial learning rate (0.01) and a large Nesterov momentum (0.99) is used as the optimizer. This embodiment uses PyTorch to perform all experiments on an NVIDIA RTX 3090 GPU with 24G VRAM. All experiments are performed under the open source nnU-Net framework.

[0119] In some embodiments, the segmentation network is a 3D ResCBAM nnU-Net.

[0120] In some embodiments, see Figure 6 , is a schematic diagram of the comparison of the segmentation results based on human brain glioma blood vessels provided in this embodiment. Figure 6 Figure a shows some example 2D layers of the substack. The Dice value of the 3D ResCBAMnnU-Net of this embodiment is 2.27% higher than that of the baseline 3D nnU-Net. It can be seen that the 3D ResCBAM nnU-Net can better identify weak vessels, discontinuous vessels, and large vessels, so the vessel mask can obtain better continuity and completeness in the three-dimensional space.

[0121] To verify the generalization of 3D ResCBAM nnU-Net, this example applies it to two datasets from other studies. The two types of stacks were acquired with different optical microscopes (two-photon fluorescence microscopy and light sheet microscopy, respectively) with different voxel sizes and image features. The vessels in the two datasets were first segmented by directly applying the model trained using all 14 glioma vessel sub-stacks, see Figure 6Figure b is a schematic diagram of the comparison of segmentation results based on existing datasets provided by this embodiment. It can be seen that the segmentation mask of 3D ResCBAM nnU-Net has more coherent and complete blood vessels than the groundtruth. For light sheet microscopy vessels, due to the large differences in voxel space, blood vessels and image features, the model treats small and weak blood vessels as background and cannot propose them well. However, if the training model is fine-tuned using a small amount of training data (only 15 and 8 stacks are used for the two datasets, respectively), the model can greatly improve the Dice performance of the two datasets.

[0122] In some embodiments, the segmentation network is a segmentation network based only on 3D U-Net, which can be denoted as ClearVess. Figure 7 , is a schematic diagram of the structure of the ClearVess segmentation network provided in this embodiment.

[0123] Since a larger receptive field helps the model better identify blood vessels, the tile size of the input network should be as large as possible, but a larger input size means that a deeper network layer is required, which undoubtedly increases the computational burden of the model. Therefore, after weighing the model performance and computational burden, in some embodiments, the ClearVess network framework may include: a network input size of 192×192×48, a corresponding network depth of 6 resolution stages, and a network structure consisting of two layers of convolution blocks in each stage. The larger input size requires the training batch size to be reduced to 2. Due to the smaller batch size, unlike the original 3DU-Net, in the convolution block, this embodiment replaces batch normalization with instance normalization. In addition, leaky ReLU is used instead of ReLU as the activation function. Using a step size and kernel size that are suitable for the image size and voxel size, stride convolution is used for downsampling in the encoder, and transposed convolution is used for upsampling in the decoder. The output of the network is binarized using a threshold of 0.5 to produce a segmentation mask.

[0124] In some embodiments, due to the class imbalance in the image (there are many more background pixels than blood vessel pixels), this embodiment uses Dice loss as the training loss of ClearVess, and requires that the input image contains at least one foreground pixel when randomly sampled. In order to increase the diversity of the data and improve the robustness of the model, this embodiment uses a variety of dynamic data enhancement strategies to enhance the data of ClearVess, including random rotation, flipping, gamma transformation and introduction of Gaussian noise. The training of the ClearVess network is driven by the Adam optimizer, with an initial learning rate of 1×10-4, an exponential decay rate of 0.9 at the first moment, and an exponential decay rate of 0.99 at the second moment. The training runs for 600 epochs, each with 250 training iterations

[48] . ClearVess network training is performed on a single NVIDIA Quadro P6000 GPU using the Tensorflow framework and KERAS.

[0125] In some embodiments, a sliding window is used to predict the test image of ClearVess, and the image output size is the same as the input size. In order to improve the prediction performance, this embodiment performs data enhancement on ClearVess by flipping along three axes, and then obtains the final prediction result by averaging.

[0126] 4. Output fine-tuning

[0127] In some embodiments, the segmentation result is fine-tuned according to the reference mask to obtain a fine-tuned segmentation result, including: obtaining the difference value between the vascular segment of the reference mask and the vascular segment of the segmentation result, if the difference value is within a preset difference threshold, replacing the vascular segment at the corresponding position in the segmentation result with the vascular segment of the reference mask; otherwise, discarding the corresponding vascular segment in the reference mask.

[0128] In some embodiments, the segmentation network is applied to the image corresponding to the pre-processed result to obtain a segmentation mask with a more complete blood vessel shape, called a "reference mask". Finally, the blood vessel segments in the corresponding position in the segmentation result are replaced with the blood vessel segments in the reference mask to optimize the result of the segmentation mask; wherein, the replacement is only performed when there is a small difference between the blood vessel segments in the two masks. If the difference is too large, the reference mask is considered inaccurate and should be discarded.

[0129] This embodiment can extract glioma blood vessels with fragmented patterns more completely in challenging images through this optimization based on the image preprocessing algorithm. It is worth noting that compared with directly using the reference mask as the optimization result, it avoids the introduction of noise.

[0130] 5. Post-processing adjustment

[0131] Step S13, filling the vascular holes to be post-processed in the fine-tuning segmentation result according to the vascular size from small to large to obtain the final vascular segmentation result; wherein the vascular holes include: small vascular lumens and large vascular lumens.

[0132] In some embodiments, the vascular holes to be post-processed in the fine-tuning segmentation results are filled in ascending order of vascular size to obtain a final vascular segmentation result, including: filling the small blood vessel lumens to be post-processed in the fine-tuning segmentation results to obtain a small blood vessel filling result, extracting the large blood vessel lumens based on the small blood vessel filling results, and filling the large blood vessel lumens based on a preset pipeline filling network to obtain a large blood vessel filling result; extracting a three-dimensional connected domain after the fusion of the small blood vessel filling results and the large blood vessel filling results, and removing the connected components in the three-dimensional connected domain that are smaller than a preset volume threshold as noise to obtain the final vascular segmentation result.

[0133] In some embodiments, the small blood vessel lumens to be post-processed in the fine-tuning segmentation results are filled to obtain small blood vessel filling results, including: using the fine-tuning segmentation results as input to the pipeline filling network and the hole filling function in mathematical morphology, performing initial hole filling, and correspondingly outputting the network reference mask and the function reference mask; if the network reference mask and the function reference mask have filled holes at the same position, the holes are regarded as real holes to be filled, and the filling results corresponding to the holes to be filled are used as the small blood vessel filling results.

[0134] In some embodiments, the filling result corresponding to the hole to be filled is used as the small blood vessel filling result, including: performing regional growth on the hole to be filled under the constraint of the network reference mask to obtain the filling result, and using the filling result as the small blood vessel filling result; wherein, if the network reference mask and the function reference mask do not have a filled hole at the same position, the hole is discarded as a blood vessel gap.

[0135] In some embodiments, the large blood vessel lumen is extracted based on the small blood vessel filling results, including: projecting adjacent layers in the small blood vessel filling results into a plane along a coordinate axis to obtain a main projection layer, and selecting the projection layer with the largest connected domain from multiple main projection layers as the main reference layer, determining the position and shape of the large blood vessel lumen based on the main reference layer, and determining the large blood vessel lumen based on the position and shape of the large blood vessel lumen.

[0136] In some embodiments, the coordinate axis may be a z-axis, an x-axis, or a y-axis.

[0137] In some embodiments, the lumen of a large blood vessel is determined based on the position and shape of the lumen of the large blood vessel, including: cutting the small blood vessel filling result into multiple sub-portions, sequentially acquiring local projection layers corresponding to the multiple sub-portions, and acquiring a local reference layer corresponding to each local projection layer, sequentially comparing the radius and overlapping area of ​​each local reference layer with the main projection layer, acquiring the position of the large blood vessel contained in the corresponding local reference layer, counting the positions of the large blood vessels in all local reference layers, and obtaining the lumen of the large blood vessel.

[0138] In some embodiments, the large blood vessel lumen is filled based on a preset pipeline filling network to obtain a large blood vessel filling result, including: skeletonizing the large blood vessel lumen layer by layer to obtain skeleton fragments, connecting the endpoints of the skeleton fragments to form a closed loop, and then filling in sequence according to a preset filling function and the pipeline filling network to obtain the large blood vessel filling result of the large blood vessel lumen.

[0139] See also Figure 8 , is a flowchart of post-processing fine-tuning provided in this embodiment. It is worth noting that, since only the blood vessel wall is marked, part of the blood vessel wall is broken, the large blood vessels are empty tubes, and small blood vessels have holes, and both types of blood vessels have incomplete blood vessel walls. In addition, due to background interference, there may be tiny false positive plaques in the segmentation mask. These will affect the quantification of blood vessels and subsequent analysis. Therefore, this embodiment designs a pipeline to post-process the segmentation mask as an optimization of the second segmentation result. The pipeline includes filling small blood vessel holes and filling large blood vessel lumens.

[0140] based on Figure 8 In some embodiments, for small vascular holes, the present embodiment uses deep learning and mathematical morphology to help identify and fill 3D holes. First, each mask in the fine-tuned segmentation result is input into the tube filling network in TubeMap and the hole filling function in mathematical morphology, and these two methods output an initial filled segmentation mask respectively. Secondly, the present embodiment determines whether the hole is real or just a vascular gap by comparing the two initial masks; wherein, if the two initial masks have filled holes at the same position, the present embodiment treats the filled hole as a real hole that needs to be filled; for real holes, regional growth is performed under the constraints of the TubeMap initial mask to achieve more complete filling. In this way, small vascular holes can be filled well.

[0141] It is worth noting that for this real hole, when using the two-dimensional filling function, its upper and lower layers may not be detected because they are not closed in the two-dimensional plane. However, the TubeMap pipeline filling function can directly obtain three-dimensional holes, so the holes obtained by the TubeMap pipeline filling function can be used to complete the incomplete holes in the hole filling function mask. Specifically, regional growth is performed under the constraints of the TubeMap initial mask to achieve a more complete filling.

[0142] In some embodiments, in order to fill the lumen of large blood vessels, this embodiment provides an automatic algorithm, including extraction and filling steps. Since large blood vessels are very rare in a substack, it is assumed that there is at most one large blood vessel in a substack. First, in order to determine the position and shape of the large blood vessel, this embodiment projects adjacent layers into one layer along the z-axis, and selects the layer with the largest connected domain as a representative to determine the approximate position and shape. Secondly, this embodiment cuts the entire substack mask into multiple small parts, finds the projection layer containing the largest connected domain of each small part through the above projection operation, and determines the position of the large blood vessels in each small part by comparing the radius and overlapping area of ​​the local projection layer with the above representative projection layer. Next, the large blood vessels in each small part are extracted to obtain the large blood vessels of the entire blood vessel substack. Then, the extracted large blood vessels are skeletonized layer by layer, and the endpoints of the skeleton fragments are connected to form a closed loop and filled, so as to achieve the closure of the blood vessel wall and the filling of the lumen. The pipeline filling network in TubeMap is applied again to make the blood vessel changes more coherent and the edges smoother. Finally, a three-dimensional connected domain analysis is performed to remove small connected components smaller than a certain volume as noise. For more details, see Fig. 9 , is a schematic diagram of the large blood vessel filling process provided in this embodiment.

[0143] 6. Index evaluation

[0144] In some embodiments, the Dice similarity coefficient is used as the main evaluation indicator, while recall, precision and average surface distance (Average surface distance, ASD) are used as references.

[0145] In some embodiments, the Dice similarity coefficient calculation formula is:

[0146]

[0147] Where P represents the set of pixels in the segmentation mask, and G represents the set of pixels in the ground truth.

[0148] In some embodiments, ASD measures the average surface distance between the segmentation mask and the ground truth. It can be expressed as:

[0149]

[0150] Where S(P) and S(G) represent the set of surface pixels of P and G respectively, and ‖.‖ is the Euclidean distance between two pixels. The lower the ASD, the better the segmentation performance.

[0151] In some embodiments, in order to study the spatial heterogeneity of glioma blood vessels at different levels, this embodiment applies the above segmentation method to the blood vessel stack of 12 acquired case samples, and extracts blood vessel morphological features based on the segmentation results.

[0152] In some embodiments, conventional vascular features extracted include: average diameter along the entire length (μm), number of branch points per unit volume (count / mm3), volume ratio, surface area ratio, and total vascular length per unit volume (mm / mm3). The volume ratio refers to the ratio of the total number of primes in the vascular volume to the total number of primes in the entire volume. The surface area ratio refers to the ratio of the total number of primes on the vascular surface to the total number of primes in the entire volume. These indicators are first calculated in voxel space and then converted into metric values ​​in anatomical space by introducing voxel size information.

[0153] In some embodiments, in addition to the conventional vascular features described above, this embodiment also measures features that characterize vascular morphology, including: features that characterize the complexity of vascular morphology and the degree of rupture of the vascular wall, which are of great significance in the study of tumor vascular morphology. In the final vascular segmentation results, this embodiment uses the box counting method to measure the fractal dimension, which describes the complexity of the geometric structure. The higher the fractal dimension, the higher the complexity.

[0154] In some embodiments, after obtaining the small blood vessel filling result, it also includes: obtaining the degree of incompleteness of the blood vessel wall in the small blood vessel filling result through the proportion of the filled blood vessel wall, so as to analyze the blood vessel heterogeneity according to the degree of incompleteness; wherein the blood vessel wall proportion is expressed as the ratio of the filled pixel value of the small blood vessel filling result to the total pixel value of the small blood vessel filling result.

[0155] It is worth noting that in order to describe the degree of damage to the vascular wall, this embodiment proposes a new indicator - the vascular wall ratio. It is calculated from the intermediate mask and the final mask of the vascular segmentation result. This embodiment believes that in the stage of filling small holes, the proportion of the vascular wall that needs to be filled can reflect the degree of incompleteness of the vascular wall to a certain extent. The ratio is the number of pixels in the filled hole divided by the number of pixels in the entire mask. The larger the value, the higher the degree of damage.

[0156] Finally, this embodiment will provide a comparison between the existing segmentation and extraction method and the segmentation method of this embodiment.

[0157] The segmentation results of the pre-processing operation are compared. In some embodiments, see Fig.10 , which is a schematic diagram of the comparison of segmentation results based on the pre-processing operation of the segmentation network provided in this embodiment. Among them, the image pre-processed by CLAHE, RBBS and smoothing algorithm is simultaneously input into 3D ResCBAM nnU-Net, and the output reference mask is used to optimize the segmentation result of the network. See the fine-tuning results and average Dice for Fig.11 , is a schematic diagram comparing the segmentation results of blood vessel fine-tuning and post-processing based on the segmentation network provided in this embodiment. Blood vessel fine-tuning is to perform blood vessel fine-tuning on the basis of pre-processing, that is, Fig.11 With the “pre-processing fine-tuning” in , the values ​​of Dice and recall metrics increase, although the performance of precision and ASD decreases. This improvement is due to the fact that with the help of the reference mask, the extracted vessels are more complete than the segmentation mask of the image without pre-processing (i.e., the result of directly inputting the original image into 3DResCBAM nnU-Net). However, since the vasculature of glioma is morphologically irregular and fragmented, some erroneous voxels will also be introduced when the fine-tuning method tries to complete the fragmented pattern of vessels. This may be the reason for the decrease in precision and ASD performance. In essence, the pre-processing-based fine-tuning method purposefully fuses the segmented image and is a more targeted integration.

[0158] The segmentation results of the post-processing operation are compared. In some embodiments, see also Fig.11 , the purpose of post-processing is to detect and fill small holes and large lumens of blood vessels. It can be seen that after post-processing, some small holes and broken walls are filled, and the pipeline designed for large blood vessel filling can also work well. The post-processing step makes the blood vessels more complete, thereby improving most indicators. Since there are obvious differences in size between large and small blood vessels, and many small holes are not distributed in the annotated layers, the indicators of large blood vessel filling have a large improvement, while the indicators of small blood vessel filling have a relatively small improvement.

[0159] The segmentation results of other segmentation methods are compared. In some embodiments, the segmentation results of the segmentation method of this embodiment are compared with other segmentation methods in the field, including: the Surface modeling tool in Imaris (as a supplement to the Filament tool of Imaris mentioned above), the multi-path binarization pipeline in TubeMap, the original 3D U-Net and the ClearVess framework. Among them, the original 3D U-Net is performed under the VesSAP framework, using the basic 3D U-Net architecture and a simple training strategy. The 3D U-Net in ClearVess improves the design of 3D U-Net in terms of network depth, sampling stride, sampling image block size, dynamic data augmentation and number of training iterations. The results show that 3D ResCBAM nnU-Net is significantly superior to the commonly used vascular extraction methods. The human brain glioma blood vessel segmentation method based on tissue transparency proposed in this application is represented by "FineVess", where "FineVess" is based on 3D ResCBAM nnU-Net and fine-tuning based on pre- and post-processing. Compared with other methods, FineVess can better handle broken and variable tumor blood vessels in complex images and achieve complete extraction of blood vessels while ignoring background noise. See Table 4 for the segmentation results of different schemes provided in this embodiment; the bold blocks are to highlight the best scheme.

[0160] Table 4 Segmentation results of different schemes

[0161]

[0162] FineVess was applied to a new glioma vascular stack to validate its performance and generalization. The new data includes vascular stacks of low-grade and high-grade gliomas as well as normal brain tissue, which were not considered or referenced in the design of ClearVess and FineVess. Here, the network model of FineVess was trained using all 14 sub-stacks. See Fig.12 , which is a schematic diagram of the intermediate and final results of the segmentation network provided in this embodiment. It can be seen that the segmentation using only 3DResCBAM nnU-Net performs well. Some improvements are minor because for low-level and normal samples, the blood vessels have regular shapes and uniform distributions, which will reduce the computational requirements, and satisfactory performance can be obtained using only 3D ResCBAM nnU-Net without fine-tuning.

[0163] See also Fig.13 , is a schematic diagram of quantitative analysis of vascular morphological characteristics of normal brain tissue, low-grade and high-grade gliomas provided in this embodiment. Fig.13The results of quantitative analysis are shown. It can be seen that there is heterogeneity in the vascular structure of gliomas of different grades. For the indicators involved in this study, there are significant or potential differences in the blood vessels of low-grade and high-grade gliomas. This is consistent with the clinical conclusions.

[0164] Before using the segmentation network for segmentation, this embodiment performs an operation of equalizing the brightness of blood vessels on the original image and then removing noise to first improve the overall brightness of the image, so as to facilitate the removal of noise points after finding them, thereby being conducive to the unbiased and accurate extraction of blood vessels in transparent tissues, and being able to cope with glioma blood vessels with complex morphology and high degree of damage; and, using the blood vessel segmentation result of the pre-processing result as the segmentation result of the three-dimensional blood vessel data that has not been pre-processed for fine-tuning, it is possible to more completely extract glioma blood vessels with a broken pattern in challenging images, and compared with directly using the reference mask as the optimization result, it avoids the introduction of noise; then, the blood vessel holes are filled in order from small to large according to the blood vessel size, and tiny false positive plaques and holes in small blood vessels caused by background interference can be first removed, and then a second large blood vessel filling is performed, thereby being able to improve the accuracy of complex glioma blood vessel segmentation under realistic conditions.

[0165] Example 2

[0166] See also Fig.14 , is a flowchart of another method for segmenting human brain glioma blood vessels based on tissue transparency provided in this embodiment. Fig.14 The main part is a segmentation network based on a deep learning network and named 3D ResCBAM nnU-Net for blood vessel segmentation. In order to further improve the segmentation performance, a novel optimization scheme for segmentation results is designed. First, the segmentation results obtained by inputting the 3D blood vessel data into 3D ResCBAM nnU-Net are fine-tuned with reference to the reference mask after segmentation of the pre-processing results, and then a series of post-processing fine-tuning is performed on the fine-tuned images to fill the small holes and large lumens of the blood vessels. This framework is subsequently used for the quantification and analysis of vascular morphological indicators.

[0167] In order to achieve higher segmentation accuracy, this embodiment establishes a new framework based on deep learning to finely and automatically extract complex glioma blood vessels from 3D confocal microscopy images of transparent tissues. The proposed 3DResCBAM nnU-Net is used to automatically and accurately segment glioma blood vessels. This method has the characteristics of high performance, good generalization, and low computational complexity; the segmentation results of the network are optimized by the designed pre-processing and post-processing methods to further deal with the incomplete and hollow structure of glioma blood vessels. Subsequently, quantitative analysis of the vascular morphological characteristics of gliomas of different grades was applied. The experimental results show that using only a limited amount of data and sparse annotations, compared with manual segmentation, software, traditional algorithms, advanced 3DU-Net, nnU-Net and other methods, the human brain glioma blood vessel segmentation method framework of this embodiment has better segmentation effects on variable and complex tumor blood vessel images, which helps to achieve reliable quantitative analysis.

[0168] Example 3

[0169] See also Fig.15 , is a schematic diagram of the structure of a human brain glioma blood vessel segmentation system based on tissue transparency provided in this embodiment, including: a pre-processing unit 31, a fine-tuning unit 32 and a post-processing unit 33.

[0170] In some embodiments, the pre-processing unit 31 outputs the pre-processing result for the collected data, and inputs the pre-processing result to the fine-tuning unit 32 for fine-tuning. After receiving the pre-processing result, the fine-tuning unit 32 outputs the fine-tuning segmentation result, and transmits the fine-tuning segmentation result to the post-processing unit 33. After receiving the fine-tuning segmentation result, the post-processing unit 33 outputs the final blood vessel segmentation result.

[0171] The pre-processing unit 31 is used to extract transparent human brain glioma tissue, collect three-dimensional blood vessel data of the human brain glioma tissue, and perform pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result.

[0172] The fine-tuning unit 32 is used to use the three-dimensional blood vessel data and the pre-processing result as inputs of a pre-trained segmentation network, perform blood vessel segmentation, output a segmentation result and a reference mask accordingly, and perform blood vessel fine-tuning on the segmentation result according to the reference mask to obtain a fine-tuned segmentation result.

[0173] In some embodiments, three-dimensional blood vessel data is used as input of a pre-trained segmentation network to perform blood vessel segmentation and output a corresponding segmentation result, including: encoding the three-dimensional blood vessel data in an encoder of the pre-trained segmentation network, outputting the encoding result, and using the encoding result as input of a decoder for graphic decoding, and outputting a segmentation result after blood vessel segmentation; wherein the decoder includes multiple layers of upsampling, a convolutional attention module is added at the end of each layer of upsampling, and the output of each convolutional attention module is combined with the corresponding original feature map through a residual connection.

[0174] In some embodiments, the segmentation result is fine-tuned according to the reference mask to obtain a fine-tuned segmentation result, including: obtaining the difference value between the vascular segment of the reference mask and the vascular segment of the segmentation result, if the difference value is within a preset difference threshold, replacing the vascular segment at the corresponding position in the segmentation result with the vascular segment of the reference mask; otherwise, discarding the corresponding vascular segment in the reference mask.

[0175] The post-processing unit 33 is used to fill the blood vessel holes to be post-processed in the fine-tuning segmentation result according to the blood vessel size from small to large, so as to obtain the final blood vessel segmentation result; wherein the blood vessel holes include: small blood vessel lumens and large blood vessel lumens.

[0176] In some embodiments, the vascular holes to be post-processed in the fine-tuning segmentation results are filled in ascending order of vascular size to obtain a final vascular segmentation result, including: filling the small blood vessel lumens to be post-processed in the fine-tuning segmentation results to obtain a small blood vessel filling result, extracting the large blood vessel lumens based on the small blood vessel filling results, and filling the large blood vessel lumens based on a preset pipeline filling network to obtain a large blood vessel filling result; extracting a three-dimensional connected domain after the fusion of the small blood vessel filling results and the large blood vessel filling results, and removing the connected components in the three-dimensional connected domain that are smaller than a preset volume threshold as noise to obtain the final vascular segmentation result.

[0177] In some embodiments, the small blood vessel lumens to be post-processed in the fine-tuning segmentation results are filled to obtain small blood vessel filling results, including: using the fine-tuning segmentation results as input to the pipeline filling network and the hole filling function in mathematical morphology, performing initial hole filling, and correspondingly outputting the network reference mask and the function reference mask; if the network reference mask and the function reference mask have filled holes at the same position, the holes are regarded as real holes to be filled, and the filling results corresponding to the holes to be filled are used as the small blood vessel filling results.

[0178] In some embodiments, the filling result corresponding to the hole to be filled is used as the small blood vessel filling result, including: performing regional growth on the hole to be filled under the constraint of the network reference mask to obtain the filling result, and using the filling result as the small blood vessel filling result; wherein, if the network reference mask and the function reference mask do not have a filled hole at the same position, the hole is discarded as a blood vessel gap.

[0179] In some embodiments, after obtaining the small blood vessel filling result, it also includes: obtaining the degree of incompleteness of the blood vessel wall in the small blood vessel filling result through the proportion of the filled blood vessel wall, so as to analyze the blood vessel heterogeneity according to the degree of incompleteness; wherein the blood vessel wall proportion is expressed as the ratio of the filled pixel value of the small blood vessel filling result to the total pixel value of the small blood vessel filling result.

[0180] In some embodiments, the large blood vessel lumen is extracted based on the small blood vessel filling results, including: projecting adjacent layers in the small blood vessel filling results into a plane along a coordinate axis to obtain a main projection layer, and selecting the projection layer with the largest connected domain from multiple main projection layers as the main reference layer, determining the position and shape of the large blood vessel lumen based on the main reference layer, and determining the large blood vessel lumen based on the position and shape of the large blood vessel lumen.

[0181] In some embodiments, the lumen of a large blood vessel is determined based on the position and shape of the lumen of the large blood vessel, including: cutting the small blood vessel filling result into multiple sub-portions, sequentially acquiring local projection layers corresponding to the multiple sub-portions, and acquiring a local reference layer corresponding to each local projection layer, sequentially comparing the radius and overlapping area of ​​each local reference layer with the main projection layer, acquiring the position of the large blood vessel contained in the corresponding local reference layer, counting the positions of the large blood vessels in all local reference layers, and obtaining the lumen of the large blood vessel.

[0182] In some embodiments, the large blood vessel lumen is filled based on a preset pipeline filling network to obtain a large blood vessel filling result, including: skeletonizing the large blood vessel lumen layer by layer to obtain skeleton fragments, connecting the endpoints of the skeleton fragments to form a closed loop, and then filling in sequence according to a preset filling function and the pipeline filling network to obtain the large blood vessel filling result of the large blood vessel lumen.

[0183] Before using the segmentation network for segmentation, this embodiment performs an operation of equalizing the brightness of blood vessels on the original image and then removing noise to first improve the overall brightness of the image, so as to facilitate the removal of noise points after finding them, thereby being conducive to the unbiased and accurate extraction of blood vessels in transparent tissues, and being able to cope with glioma blood vessels with complex morphology and high degree of damage; and, using the blood vessel segmentation result of the pre-processing result as the segmentation result of the three-dimensional blood vessel data that has not been pre-processed for fine-tuning, it is possible to more completely extract glioma blood vessels with a broken pattern in challenging images, and compared with directly using the reference mask as the optimization result, it avoids the introduction of noise; then, the blood vessel holes are filled in order from small to large according to the blood vessel size, and tiny false positive plaques and holes in small blood vessels caused by background interference can be first removed, and then a second large blood vessel filling is performed, thereby being able to improve the accuracy of complex glioma blood vessel segmentation under realistic conditions.

[0184] Those skilled in the art will appreciate that the embodiments of the present application may also provide computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes.

[0185] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0186] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0187] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0188] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A human brain glioma blood vessel segmentation method based on tissue transparency, characterized in that: include: Extracting transparent human brain glioma tissue, collecting three-dimensional blood vessel data of the human brain glioma tissue, and performing pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result; The three-dimensional blood vessel data and the pre-processing result are respectively used as inputs of a pre-trained segmentation network to perform blood vessel segmentation, and a segmentation result and a reference mask are correspondingly outputted, and the segmentation result is fine-tuned according to the reference mask to obtain a fine-tuned segmentation result; Filling the blood vessel holes to be post-processed in the fine-tuning segmentation result according to the blood vessel size from small to large to obtain the final blood vessel segmentation result; The blood vessel holes include: small blood vessel lumens and large blood vessel lumens.

2. The human brain glioma blood vessel segmentation method according to claim 1, characterized in that: The step of fine-tuning the segmentation result according to the reference mask to obtain a fine-tuned segmentation result includes: Obtain a difference value between the blood vessel segment of the reference mask and the blood vessel segment of the segmentation result. If the difference value is within a preset difference threshold, replace the blood vessel segment at the corresponding position in the segmentation result with the blood vessel segment of the reference mask; otherwise, discard the corresponding blood vessel segment in the reference mask.

3. The human brain glioma blood vessel segmentation method according to claim 1, characterized in that: The blood vessel holes to be post-processed in the fine-tuning segmentation result are filled in ascending order of blood vessel size to obtain a final blood vessel segmentation result, including: Filling the small blood vessel lumen to be post-processed in the fine-tuning segmentation result to obtain a small blood vessel filling result, extracting the large blood vessel lumen based on the small blood vessel filling result, and filling the large blood vessel lumen based on a preset pipeline filling network to obtain a large blood vessel filling result; A three-dimensional connected domain is extracted after the fusion of the small blood vessel filling result and the large blood vessel filling result, and connected components in the three-dimensional connected domain that are smaller than a preset volume threshold are removed as noise to obtain a final blood vessel segmentation result.

4. The human brain glioma blood vessel segmentation method according to claim 3, characterized in that: The extracting of the large blood vessel lumen based on the small blood vessel filling result comprises: Project adjacent layers in the small blood vessel filling result into a plane along a coordinate axis to obtain a main projection layer, and select the projection layer with the largest connected domain from multiple main projection layers as the main reference layer, determine the position and shape of the large blood vessel lumen based on the main reference layer, and determine the large blood vessel lumen based on the position and shape of the large blood vessel lumen.

5. The human brain glioma blood vessel segmentation method according to claim 4, characterized in that: Determining the lumen of the great blood vessel according to the position and shape of the lumen of the great blood vessel comprises: The small blood vessel filling result is cut into multiple sub-parts, and local projection layers corresponding to the multiple sub-parts are obtained in turn, and a local reference layer corresponding to each local projection layer is obtained, and the radius and overlapping area of ​​each local reference layer are compared with the main projection layer in turn to obtain the position of the large blood vessels contained in the corresponding local reference layer, and the positions of the large blood vessels in all local reference layers are counted to obtain the large blood vessel lumen.

6. The human brain glioma blood vessel segmentation method according to claim 3, characterized in that: The method of filling the large blood vessel lumen based on the preset pipeline filling network to obtain a large blood vessel filling result includes: The large blood vessel lumen is skeletonized layer by layer to obtain skeleton segments, and the endpoints of the skeleton segments are connected to form a closed loop, and then the hole filling function and the preset pipeline filling network are used to fill them in sequence to obtain the large blood vessel filling result of the large blood vessel lumen.

7. The human brain glioma blood vessel segmentation method according to claim 3, characterized in that: The step of filling the small blood vessel lumen to be post-processed in the fine-tuning segmentation result to obtain the small blood vessel filling result includes: The fine-tuning segmentation result is used as the input of the pipe filling network and the hole filling function in mathematical morphology to perform initial hole filling, and the corresponding network reference mask and function reference mask are output. If the network reference mask and the function reference mask have filled holes at the same position, the holes are regarded as real holes to be filled, and the filling results corresponding to the holes to be filled are used as small blood vessel filling results.

8. The human brain glioma blood vessel segmentation method according to claim 7, characterized in that: The step of taking the filling result corresponding to the hole to be filled as the small blood vessel filling result includes: The hole to be filled is subjected to regional growth under the constraint of the network reference mask to obtain a filling result, and the filling result is used as a small blood vessel filling result; wherein, if the network reference mask and the function reference mask do not have a filled hole at the same position, the hole is discarded as a blood vessel gap.

9. The human brain glioma blood vessel segmentation method according to claim 7, characterized in that: After obtaining the small blood vessel filling result, the method further includes: The degree of incompleteness of the blood vessel wall in the small blood vessel filling result is obtained through the proportion of the filled blood vessel wall, so that the blood vessel heterogeneity is analyzed according to the degree of incompleteness; wherein the blood vessel wall proportion is expressed as the ratio of the filled pixel value of the small blood vessel filling result to the total pixel value of the small blood vessel filling result.

10. A human brain glioma blood vessel segmentation system based on tissue transparency, characterized in that: include: Pre-processing unit, fine-tuning unit and post-processing unit; wherein, The pre-processing unit is used to extract transparent human brain glioma tissue, collect three-dimensional blood vessel data of the human brain glioma tissue, and perform pre-processing of balancing blood vessel brightness and eliminating background interference on the three-dimensional blood vessel data in sequence to obtain a pre-processing result; The fine-tuning unit is used to use the three-dimensional blood vessel data and the pre-processing result as inputs of a pre-trained segmentation network, respectively, to perform blood vessel segmentation, output a segmentation result and a reference mask correspondingly, and perform blood vessel fine-tuning on the segmentation result according to the reference mask to obtain a fine-tuned segmentation result; The post-processing unit is used to fill the blood vessel holes to be post-processed in the fine-tuning segmentation result according to the blood vessel size from small to large to obtain the final blood vessel segmentation result; the blood vessel holes include: small blood vessel lumens and large blood vessel lumens.

Citation Information

Cited By

  • Airway segmentation method and system based on fractal dimension coefficient

    CN119131063A

  • Imaging system and method for heart and cerebral vessel detection

    CN120089337A

  • An imaging system and method for cardiovascular and cerebrovascular detection

    CN120089337B

  • Brain tumor focus area segmentation method based on CT image analysis

    CN121544651A

  • Method for segmenting brain tumor lesion region based on CT image analysis

    CN121544651B