A method and apparatus for assessing the extent of tumor invasion of a neurovascular bundle
By using dual-parameter MRI data processing and point cloud analysis, the extent of invasion of prostate cancer tumors and neurovascular bundles can be automatically assessed, solving the problem of inaccurate assessment in existing technologies and improving the accuracy of surgical decisions and patients' quality of life.
Patent Information
- Application Number
- CN202510145704.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2045-02-10
AI Technical Summary
Existing technologies make it difficult to accurately assess the spatial relationship between prostate cancer tumors and neurovascular bundles, leading to a high risk of urinary control and erectile dysfunction after radical prostatectomy. Furthermore, manual image reading is labor-intensive and makes three-dimensional perspective analysis difficult.
By acquiring dual-parameter MRI data, performing data alignment and segmentation model processing, converting it into point cloud data, calculating the geometric relationship between the tumor and the vascular bundle, and combining it with preset invasion judgment rules, the degree of tumor invasion can be automatically assessed.
It improves the accuracy of tumor and nerve structure identification, optimizes surgical planning, reduces the risk of nerve damage, improves postoperative urinary continence and quality of life, and provides personalized treatment guidance.
Smart Images

Figure CN120107176B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of tumor identification technology, and in particular to a method and apparatus for assessing the extent to which a tumor invades a neurovascular bundle. Background Technology
[0002] Prostate cancer is one of the most common solid tumors in men. Radical surgery, such as laparoscopic radical prostatectomy and robot-assisted radical prostatectomy, has become the standard treatment for localized and locally advanced prostate cancer. Urinary incontinence is one of the most common complications after radical prostatectomy, significantly impacting patients' quality of life. However, the preservation of the neurovascular bundle during surgery is crucial for postoperative urinary control. Nerve-sparing "intrafascial resection" is a technique that preserves the neurovascular bundles surrounding the prostate while removing the prostate, suitable for tumors confined to the prostatic cyst (clinically stage T2 and below). This method minimizes damage to nerves and blood vessels, which is essential for maintaining postoperative erectile and urinary control functions. In contrast, extrafascial resection involves the complete removal of the prostate and surrounding tissues, typically suitable for more aggressive advanced tumors, but may lead to a higher incidence of postoperative complications such as urinary incontinence and erectile dysfunction.
[0003] Prostate MRI images offer high soft tissue resolution. Biparametric MRI (bpMRI) combines multiple imaging sequences, including T2-weighted imaging (T2WI), diffusion-weighted imaging (DWI), and apparent diffusion coefficient imaging (ADC), to enhance prostate cancer detection. Artificial intelligence algorithms are widely used in the semantic segmentation of MRI images, primarily employing deep learning techniques based on convolutional neural networks to automatically learn image features and achieve accurate identification and segmentation of different tissues or structures in MRI. In prostate cancer, these algorithms help surgeons accurately identify tumor boundaries and their relationship to neurovascular bundles, providing crucial information for surgical decisions.
[0004] Current clinical guidelines differentiate between intrafascial and extrafascial surgical approaches based on the tumor's TNM staging and the spatial relationship between the tumor and the NVB. The appropriate surgical approach is determined by assessing tumor size, location, and involvement of key structures. However, manual image interpretation is labor-intensive and lacks the capability for three-dimensional analysis. Therefore, there is an urgent need for a precise and reliable automated quantitative analysis technique to improve the accuracy of surgical decisions. Summary of the Invention
[0005] This invention provides a method and apparatus for assessing the extent of tumor invasion of neurovascular bundles, which can improve the accuracy of tumor and neural structure identification.
[0006] According to one aspect of the present invention, a method for assessing the extent of tumor invasion of neurovascular bundles is provided, comprising:
[0007] Acquire two-parameter resonance imaging of the patient and extract at least two modal data from the two-parameter resonance imaging;
[0008] Align at least two of the modal data;
[0009] The aligned data of at least two modalities are input into the trained segmentation model, and the output includes mask data of the tumor and vascular bundle regions.
[0010] The mask data is converted into point cloud data;
[0011] The geometric relationship between the tumor and the neurovascular bundle region in the point cloud data is calculated, and the degree of invasion between the tumor and the neurovascular bundle region is determined based on the geometric relationship between the tumor and the neurovascular bundle region and the preset invasion determination rules.
[0012] Optionally, before inputting the aligned at least two modalities into the trained segmentation model, the method further includes:
[0013] Acquire multiple two-parameter resonance images;
[0014] Extract at least two modal data from multiple dual-parameter resonance imaging methods;
[0015] Align at least two of the modal data;
[0016] The tumor region and the vasculature region in at least two of the said modalities of data are labeled, and a dataset is constructed using at least two of the said modalities of data from a two-parameter resonance imaging as a single sample;
[0017] The segmentation model is trained based on the dataset until the number of iterations reaches the preset iteration limit or the model parameters converge, at which point the training ends and the trained segmentation model is obtained.
[0018] Optionally, at least two modalities of data include any two or three of the following: T2-weighted imagery, diffusion-weighted imagery, and apparent diffusion coefficient imagery.
[0019] Optionally, it also includes:
[0020] The sample data in the dataset is preprocessed, which includes at least cropping the sample data to obtain data in non-zero regions, resampling the sample data, and normalizing the sample data.
[0021] Optionally, the segmentation model is a three-dimensional full-resolution image model, i.e., a 3D U-Net network;
[0022] The 3D U-Net network includes multiple distinct stages to progressively extract features from the sample data.
[0023] Optionally, the 3D U-Net network consists of 7 different stages, each responsible for extracting features at different levels, progressively from low-level features to high-level features; the number of feature channels in each stage are 32, 64, 128, 256, 320, 320, and 320, respectively.
[0024] The kernel sizes for each stage are as follows: Stage 1 kernel size is 1, 3, 3; Stage 2 kernel size is 1, 3, 3; Stages 3 through 7 kernel size is 3, 3, 3. The stride sizes for each stage are as follows: Stage 1 stride is 1, 1, 1; Stage 2 stride is 1, 2, 2; Stage 3 stride is 1, 2, 2; Stage 4 stride is 2, 2, 2; Stage 5 stride is 2, 2, 2; Stage 6 stride is 1, 2, 2; Stage 7 stride is 1, 2, 2.
[0025] Each stage of the encoder and decoder has two convolutional layers, does not use dropout layers, and specifies the non-linear activation function to be used.
[0026] Optionally, it also includes:
[0027] The probability map generated by the segmentation model is converted into a binary mask through a threshold. Dilation and erosion operations are used to remove artifacts and noise from the binary mask, thereby obtaining optimized mask data.
[0028] Optionally, converting the mask data into point cloud data includes:
[0029] Extract the 3D surface mesh of non-zero regions from the mask data, including vertices, faces, and normals, specifically:
[0030] Based on the segmented 3D mask data V(x,y,z), the contour threshold T is defined, and the contour surface is constructed to divide the 3D mask into n cubes Ci, each cube consisting of 8 fixed points;
[0031] C i ={V(x i ,y i ,zi ),V(x i+1 ,y i ,z i ),V(x i ,y i+1 ,z i ),V(x i+1 ,y i ,z i+1 ),V(x i+1 ,y i+1 ,z i ),V(x i ,y i+1 ,z i+1 )V(x i+1 ,y i+1 ,z i+1 )}
[0032] Where, x i y i , z i Represent the x-axis, y-axis, and z-axis coordinates of a point in the cube; for each vertex V of the cube i ∈C i Determine whether it is greater than the contour line threshold T:
[0033]
[0034] Generate binary state index: S = S0S1S2S3S4S5S6S7
[0035] Using a lookup table, determine the boundary connection scheme in the cube based on the state index S:
[0036] B(S) = LookupTable[S]
[0037] For each edge e formed by two connected vertices k Perform linear interpolation to obtain points on the isosurface:
[0038]
[0039] Where V a V b Is with edge e k The values of the two related vertices will be interpolated to obtain point P. k Connect them to form a triangular surface mesh model;
[0040] Obtain the number of triangular faces in all triangular surface mesh models, and calculate the corresponding number of point clouds based on the number of triangular faces; use the Poisson sampling method to extract point clouds from the triangular mesh to obtain point cloud data.
[0041] Optionally, the calculation of the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and the determination of the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and a preset invasion determination rule, includes:
[0042] At least the geometric center of the tumor and the vascular bundle region, the nearest distance between the surface of the tumor and the surface of the vascular bundle region, and the nearest geometric center distance between the tumor and the vascular bundle region are calculated based on point cloud data.
[0043] The degree of invasion between the tumor and the vascular bundle region is determined based at least on the comparison results of the nearest distance from the surface of the tumor to the surface of the vascular bundle region with a preset nearest distance threshold, and the comparison results of the nearest geometric center distance between the tumor and the vascular bundle region with a preset distance threshold.
[0044] According to another aspect of the present invention, an apparatus for assessing the extent of tumor invasion of neurovascular bundles is provided, comprising:
[0045] A data extraction unit is used to acquire a patient's two-parameter resonance imaging and extract at least two modal data from the two-parameter resonance imaging.
[0046] A data alignment unit is used to align at least two types of said modal data;
[0047] A segmentation unit is used to input the aligned data of at least two modalities into a trained segmentation model and output mask data including tumor and vascular bundle regions.
[0048] A point cloud conversion unit is used to convert the mask data into point cloud data;
[0049] The judgment unit is used to calculate the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and to judge the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and the preset invasion judgment rules.
[0050] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0051] At least one processor; and
[0052] A memory communicatively connected to the at least one processor; wherein,
[0053] The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the method for assessing the extent of tumor invasion of neurovascular bundles as described in any embodiment of the present invention.
[0054] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the method for assessing the extent of tumor invasion of neurovascular bundles as described in any embodiment of the present invention.
[0055] The technical solution of this invention, by combining preoperative dual-parameter resonance imaging with deep learning technology, enables high-precision automatic segmentation of the tumor and vascular bundle regions in prostate cancer, thus providing reliable preoperative guidance for surgeons in selecting radical prostatectomy procedures. This method not only improves the accuracy of tumor and neural structure identification but also optimizes surgical planning, reduces the risk of nerve damage, and effectively improves postoperative urinary continence and quality of life for patients. Furthermore, through three-dimensional reconstruction and point cloud data analysis, the spatial relationship between the tumor and related anatomical structures can be more intuitively displayed, assisting in guiding surgical approaches and providing important evidence for personalized treatment of prostate cancer patients.
[0056] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 This is a flowchart of a method for assessing the extent of tumor invasion of neurovascular bundles according to Embodiment 1 of the present invention;
[0059] Figure 2 This is a flowchart of a method for assessing the extent of tumor invasion of neurovascular bundles according to Embodiment 2 of the present invention;
[0060] Figure 3 This is a structural diagram of a device for assessing the extent of tumor invasion of neurovascular bundles according to Embodiment 2 of the present invention;
[0061] Figure 4This is a schematic diagram of the structure of an electronic device for implementing the method of assessing the extent of tumor invasion of neurovascular bundles according to embodiments of the present invention. Detailed Implementation
[0062] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0063] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0064] Example 1
[0065] Figure 1 This invention provides a flowchart of a method, apparatus, electronic device, and medium for assessing the extent of tumor invasion of neurovascular bundles, as described in Embodiment 1. Figure 1 As shown, the method includes:
[0066] S101. Obtain the patient's two-parameter resonance imaging and extract at least two modal data from the two-parameter resonance imaging.
[0067] It is possible to acquire DICOM format MRI images of the current patient's prostate. During this process, the dual-parameter imaging data (bpMRI) is manually cleaned to ensure its quality and reliability. Specifically, three key imaging modalities are extracted from the acquired dual-parameter imaging data: T2-weighted imaging (T2WI), diffusion-weighted imaging (DWI), and apparent diffusion coefficient imaging (ADC).
[0068] S102, Align the data of at least two modalities.
[0069] Spatial data alignment is performed on at least two types of data from T2-weighted imagery (T2WI), diffusion-weighted imagery (DWI), and apparent diffusion coefficient imagery, specifically including:
[0070] First, a resampling filter is created to resample the image data of these three sequences. Second, the T2-weighted image can be used as a reference for the diffusion-weighted image and the apparent diffusion coefficient image to ensure spatial alignment between them. Then, interpolation is performed on the diffusion-weighted image and the apparent diffusion coefficient image to obtain a smooth result and reduce potential image distortion. The pixel spacing of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure consistent image resolution. The orientation matrix of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure consistent spatial positioning of the multiple image sequences. The origin of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure spatial alignment. Finally, the size of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure consistent dimensionality.
[0071] S103. Input the aligned data of at least two modalities into the trained segmentation model and output mask data including tumor and vascular bundle regions.
[0072] The segmentation model is used to segment images. In this embodiment, it is used to segment the mask data of tumor and vascular bundle regions from at least two modalities of data.
[0073] S104. Convert the mask data into point cloud data.
[0074] This embodiment can convert the mask data of the segmented tumor and vascular bundle regions into point cloud data, and can also extract the spatial resolution information and three-dimensional surface network of the point cloud data, including vertices, faces and normal vectors.
[0075] S105. Calculate the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and determine the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and the preset invasion determination rules.
[0076] The geometric relationship between the tumor and the neurovascular bundle region can be calculated based on the spatial resolution information of the point cloud data and the three-dimensional surface network. Furthermore, the degree of invasion between the tumor and the neurovascular bundle region can be determined based on the geometric relationship between the tumor and the neurovascular bundle region and the preset invasion determination rules.
[0077] The technical solution of this invention, by combining preoperative dual-parameter resonance imaging with deep learning technology, enables high-precision automatic segmentation of the tumor and vascular bundle regions in prostate cancer, thus providing reliable preoperative guidance for surgeons in selecting radical prostatectomy procedures. This method not only improves the accuracy of tumor and neural structure identification but also optimizes surgical planning, reduces the risk of nerve damage, and effectively improves postoperative urinary continence and quality of life for patients. Furthermore, through three-dimensional reconstruction and point cloud data analysis, the spatial relationship between the tumor and related anatomical structures can be more intuitively displayed, assisting in guiding surgical approaches and providing important evidence for personalized treatment of prostate cancer patients.
[0078] Example 2
[0079] Figure 2 This is a flowchart of a method for assessing the extent of tumor invasion of neurovascular bundles provided in Embodiment 2 of the present invention, as shown below. Figure 2 As shown, the method includes:
[0080] S201, acquire multiple two-parameter resonance images.
[0081] It should be noted that multiple prostate MRI scans in DICOM format with dual-parameter resonance imaging (DWI) data can be obtained from the database. At least two key imaging modalities can be extracted from the acquired DWI data, including T2-weighted imaging (T2WI), diffusion-weighted imaging (DWI), and apparent diffusion coefficient imaging (ADC). All raw DICOM format data are then converted to a unified format, such as NIfTI (.nii.gz), which standardizes the medical imaging data for easier subsequent processing. After conversion, the three types of imaging data are read for further analysis.
[0082] S202. Extract at least two modal data from the multiple dual-parameter resonance imaging methods respectively.
[0083] In one embodiment, at least two modal data include any two or three of the following: T2-weighted image, diffusion-weighted image, and apparent diffusion coefficient image.
[0084] S203. Preprocess the sample data in the dataset. The preprocessing includes at least cropping the sample data to obtain data in non-zero regions, resampling the sample data, and normalizing the sample data.
[0085] It can create resampling filters to resample three types of data: T2-weighted images, diffusion-weighted images, and apparent diffusion coefficient images; and normalize the intervals of all images to the median interval of the dataset.
[0086] In addition, data augmentation techniques can be used to enhance the sample data in the dataset, including random rotation, random scaling, random elastic transformation, gamma correction, and mirroring, to improve the model's generalization ability. Furthermore, non-zero regions of the data can be pruned to reduce computational resource consumption.
[0087] S204. Align at least two of the modal data.
[0088] The T2-weighted image can be used as a reference for the diffusion-weighted image and the apparent diffusion coefficient image to ensure spatial alignment between them. Interpolation of the diffusion-weighted image and the apparent diffusion coefficient image can be performed to obtain smooth results and reduce potential image distortion. The pixel spacing of the diffusion-weighted image and the apparent diffusion coefficient image should be consistent with that of the T2-weighted image to ensure consistent image resolution. The orientation matrices of the diffusion-weighted image and the apparent diffusion coefficient image can be consistent with those of the T2-weighted image to ensure consistent spatial positioning of the multiple image sequences. The origin of the diffusion-weighted image and the apparent diffusion coefficient image should be consistent with that of the T2-weighted image to ensure spatial alignment. The dimensions of the diffusion-weighted image and the apparent diffusion coefficient image should be consistent with those of the T2-weighted image to ensure consistent dimensionality.
[0089] S205. Label the tumor region and vascular bundle region in at least two of the said modal data, and construct a dataset using at least two of the said modal data from a two-parameter resonance imaging as a sample.
[0090] The tumor region and the vascular bundle region can be labeled layer by layer. For example, the tumor region and the vascular bundle region in the three modalities of data can be labeled, and the aligned three modalities of data can be used as a sample to construct a dataset with multiple sample data.
[0091] S206. The segmentation model constructed based on the dataset is trained until the number of iterations reaches the preset iteration limit or the model parameters converge, and the training ends to obtain the trained segmentation model.
[0092] In one embodiment, the 3D U-Net network includes multiple distinct stages to progressively extract features from the sample data.
[0093] The 3D U-Net network consists of 7 different stages, each responsible for extracting features at different levels, progressively from low-level features to high-level features; the number of feature channels in each stage are 32, 64, 128, 256, 320, 320, and 320, respectively.
[0094] The kernel sizes for each stage are as follows: Stage 1 kernel size is 1, 3, 3; Stage 2 kernel size is 1, 3, 3; Stages 3 through 7 kernel size is 3, 3, 3. The stride sizes for each stage are as follows: Stage 1 stride is 1, 1, 1; Stage 2 stride is 1, 2, 2; Stage 3 stride is 1, 2, 2; Stage 4 stride is 2, 2, 2; Stage 5 stride is 2, 2, 2; Stage 6 stride is 1, 2, 2; Stage 7 stride is 1, 2, 2.
[0095] Each stage of the encoder and decoder has two convolutional layers, does not use dropout layers, and specifies the non-linear activation function to be used.
[0096] During training, the aligned data from the three modalities are used as input to the segmentation model, and the labeled masks are used as labels. The dataset is divided into training and test sets according to a preset ratio, and five-fold cross-validation can be used. Parameters are initialized, and the training iterations are set to 1000 epochs. The training batch size is automatically allocated: batch size: 2, patch size: [16, 320, 320]. The loss function incorporates Dice loss. dice and cross-entropy loss CE The definition is as follows:
[0097] Loss total =Loss dice +Loss CE
[0098]
[0099] Loss CE =-Σ(Y log(P)+(1-Y)log(1-P))
[0100] Where u is the Softmax probability output, v is the hard-coded ground truth, y represents the true label, and p represents the model's predicted probability.
[0101] It should be noted that, in order to increase the stability of the network, when sampling the patch, more than 1 / 3 of the pixels in a batch are foreground pixels.
[0102] Alternatively, the Adam optimizer can be used, with an initial learning rate of 0.01 and weight decay (L2 regularization) of 0.00003 (3e). -5 Each training epoch consists of 250 iterations, and each validation epoch consists of 50 iterations, for a total of 1000 training epochs.
[0103]
[0104] Where, θ t+1 This represents the updated weight parameters; θ t This represents the convolution weights before the update; lr is the current learning rate. This represents the first-order moment estimate after bias correction; This is the second-order moment estimate after bias correction.
[0105] When the training epoch limit is reached, or when the exponential moving average loss on the validation set decreases by no more than 5e within 60 epochs. -3 Or the learning rate decreases to 1e -6 Training will stop at that time.
[0106] S207. Obtain the patient's two-parameter resonance imaging and extract at least two modal data from the two-parameter resonance imaging.
[0107] It is possible to acquire DICOM format MRI images of the current patient's prostate. During this process, the dual-parameter imaging data (bpMRI) is manually cleaned to ensure its quality and reliability. Specifically, three key imaging modalities are extracted from the acquired dual-parameter imaging data: T2-weighted imaging (T2WI), diffusion-weighted imaging (DWI), and apparent diffusion coefficient imaging (ADC).
[0108] S208. Preprocess the sample data in the dataset. The preprocessing includes at least cropping the sample data to obtain data in non-zero regions, resampling the sample data, and normalizing the sample data.
[0109] It can create resampling filters to resample three types of data: T2-weighted images, diffusion-weighted images, and apparent diffusion coefficient images; and normalize the intervals of all images to the median interval of the dataset.
[0110] In addition, data augmentation techniques can be used to enhance the sample data in the dataset, including random rotation, random scaling, random elastic transformation, gamma correction, and mirroring, to improve the model's generalization ability. Furthermore, non-zero regions of the data can be pruned to reduce computational resource consumption.
[0111] S209. Align at least two of the modal data.
[0112] Spatial data alignment is performed on at least two types of data from T2-weighted imagery (T2WI), diffusion-weighted imagery (DWI), and apparent diffusion coefficient imagery, specifically including:
[0113] First, a resampling filter is created to resample the image data of these three sequences. Second, the T2-weighted image can be used as a reference for the diffusion-weighted image and the apparent diffusion coefficient image to ensure spatial alignment between them. Then, interpolation is performed on the diffusion-weighted image and the apparent diffusion coefficient image to obtain a smooth result and reduce potential image distortion. The pixel spacing of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure consistent image resolution. Finally, the orientation matrix of the diffusion-weighted image and the apparent diffusion coefficient image is set to be consistent with that of the T2-weighted image to ensure consistent spatial positioning of the multiple image sequences.
[0114] Set the origin of the diffusion-weighted image and the apparent diffusion coefficient image to be consistent with the origin of the T2-weighted image to ensure spatial alignment; set the size of the diffusion-weighted image and the apparent diffusion coefficient image to be consistent with the size of the T2-weighted image to ensure dimensional consistency.
[0115] S210. Input the aligned data of at least two modalities into the trained segmentation model and output mask data including the tumor and vascular bundle regions.
[0116] In one embodiment, the method further includes converting the probability map generated by the segmentation model into a binary mask by passing a threshold, and using dilation and erosion operations to remove artifacts and noise from the binary mask, thereby obtaining optimized mask data.
[0117] Specifically, the generated probability map can be converted into a binary mask (i.e., background and foreground segmentation) through thresholding, and dilation and erosion operations are used to remove small artifacts and noise. Dilation connects separated regions, while erosion removes small objects. Connected components in the segmentation result are analyzed, and connected regions smaller than a set threshold are removed (regions smaller than a certain volume are removed). The segmentation result is then smoothed.
[0118] S211. Convert the mask data into point cloud data.
[0119] In one embodiment, specifically: extracting a 3D surface mesh of non-zero regions from the mask data, including vertices, faces, and normal vectors, specifically:
[0120] Based on the segmented 3D mask data V(x,y,z), a contour threshold T is defined, and an isosurface is constructed.
[0121] The 3D mask is divided into n cubes Ci, each cube consisting of 8 fixed points;
[0122] C i ={V(x i ,yi ,z i ),V(x i+1 ,y i ,z i ),V(x i ,y i+1 ,z i ),V(x i+1 ,y i ,z i+1 ),V(x i+1 ,y i+1 ,z i ),V(x i ,y i+1 ,z i+1 )V(x i+1 ,y i+1 ,z i+1 )}
[0123] Where, x i y i , z i Represent the x-axis, y-axis, and z-axis coordinates of a point in the cube; for each vertex V of the cube i ∈C i Determine whether it is greater than the contour line threshold T:
[0124]
[0125] Generate binary state index: S = S0S1S2S3S4S5S6S7
[0126] Using a lookup table, determine the boundary connection scheme in the cube based on the state index S:
[0127] B(S) = LookupTable[S]
[0128] For each edge e formed by two connected vertices k Perform linear interpolation to obtain points on the isosurface:
[0129]
[0130] Where V a V b Is with edge e k The values of the two related vertices will be interpolated to obtain point P. k Connect the elements to form a triangular surface mesh model; and export the STL model.
[0131] By reading the STL model file, the number of triangular faces in all triangular surface mesh models can be obtained, and the corresponding number of point clouds can be calculated based on the number of triangular faces. The point cloud is extracted from the triangular mesh using the Poisson sampling method to obtain point cloud data, and the results can be saved as a PCD format file.
[0132] S212. Calculate the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and determine the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and the preset invasion determination rules.
[0133] In one embodiment, specifically: at least based on point cloud data, the geometric center of the tumor and the vascular bundle region, the nearest distance between the surface of the tumor and the surface of the vascular bundle region, and the nearest geometric center distance between the tumor and the vascular bundle region are calculated.
[0134] The degree of invasion between the tumor and the vascular bundle region is determined based at least on the comparison results of the nearest distance from the surface of the tumor to the surface of the vascular bundle region with a preset nearest distance threshold, and the comparison results of the nearest geometric center distance between the tumor and the vascular bundle region with a preset distance threshold.
[0135] For example, when the minimum distance between a point on the tumor surface and a point on the surface of the neurovascular bundle region is less than 1 mm, that point is considered a point where the tumor has invaded the neurovascular bundle region. The criteria for intrafascial radical prostatectomy can be determined by assessing whether points in the tumor region overlap with points in the neurovascular bundle region.
[0136] Example 3
[0137] Figure 3 This is a schematic diagram of a device for assessing the extent of tumor invasion of neurovascular bundles, provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes:
[0138] The data extraction unit 301 is used to acquire the patient's two-parameter resonance imaging and extract at least two modal data from the two-parameter resonance imaging.
[0139] Data alignment unit 302 is used to align at least two types of modal data;
[0140] The segmentation unit 303 is used to input the aligned data of at least two modalities into the trained segmentation model and output mask data including tumor and vascular bundle regions.
[0141] Point cloud conversion unit 304 is used to convert the mask data into point cloud data;
[0142] The judgment unit 305 is used to calculate the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and to judge the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and the preset invasion judgment rules.
[0143] The apparatus for assessing the extent of tumor invasion of neurovascular bundles provided in the embodiments of the present invention can execute the method for assessing the extent of tumor invasion of neurovascular bundles provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0144] Example 4
[0145] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0146] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0147] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0148] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a method for assessing the extent of tumor invasion of neurovascular bundles.
[0149] In some embodiments, a method for assessing the extent of tumor invasion of neurovascular bundles may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for assessing the extent of tumor invasion of neurovascular bundles described above may be performed. Alternatively, in other embodiments, processor 11 may be configured by any other suitable means (e.g., by means of firmware) to perform a method for assessing the extent of tumor invasion of neurovascular bundles.
[0150] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0151] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0152] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0153] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0154] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0155] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0156] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0157] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for assessing the extent of tumor invasion of neurovascular bundles, characterized in that, include: Acquire two-parameter resonance imaging of the patient and extract at least two modal data from the two-parameter resonance imaging; At least two modalities of data include any two or three of the following: T2-weighted imagery, diffusion-weighted imagery, and apparent diffusion coefficient imagery; Align at least two of the modal data; The aligned data of at least two modalities are input into a trained segmentation model, which outputs mask data including tumor and vascular bundle regions. The segmentation model is a three-dimensional full-resolution image model, i.e., a 3D U-Net network. The 3D U-Net network includes multiple different stages to progressively extract features from the sample data. The 3D U-Net network consists of seven different stages, each responsible for extracting features at different levels, progressively from low-level features to high-level features. The number of feature channels in each stage are 32, 64, 128, 256, 320, 320, and 320, respectively. The kernel sizes for each stage are as follows: Stage 1 kernel size is 1, 3, 3; Stage 2 kernel size is 1, 3, 3; Stages 3 through 7 kernel size is 3, 3, 3. The stride sizes for each stage are as follows: Stage 1 stride is 1, 1, 1; Stage 2 stride is 1, 2, 2; Stage 3 stride is 1, 2, 2; Stage 4 stride is 2, 2, 2; Stage 5 stride is 2, 2, 2; Stage 6 stride is 1, 2, 2; Stage 7 stride is 1, 2, 2. Each stage of the encoder and decoder has two convolutional layers, does not use dropout layers, and specifies the non-linear activation function to be used; The mask data is converted into point cloud data; The geometric relationship between the tumor and the neurovascular bundle region in the point cloud data is calculated. Based on the geometric relationship between the tumor and the neurovascular bundle region, and a preset invasion determination rule, the degree of invasion between the tumor and the neurovascular bundle region is determined; specifically: At least the geometric center of the tumor and the vascular bundle region, the nearest distance between the surface of the tumor and the surface of the vascular bundle region, and the nearest geometric center distance between the tumor and the vascular bundle region are calculated based on point cloud data. The degree of invasion between the tumor and the vascular bundle region is determined based at least on the comparison results of the nearest distance from the surface of the tumor to the surface of the vascular bundle region with a preset nearest distance threshold, and the comparison results of the nearest geometric center distance between the tumor and the vascular bundle region with a preset distance threshold.
2. The method for assessing the extent of tumor invasion of neurovascular bundles according to claim 1, characterized in that, Before inputting the aligned at least two modalities into the trained segmentation model, the process further includes: Acquire multiple two-parameter resonance images; Extract at least two modal data from multiple dual-parameter resonance imaging methods; Align at least two of the modal data; The tumor region and the vasculature region in at least two of the said modalities of data are labeled, and a dataset is constructed using at least two of the said modalities of data from a two-parameter resonance imaging as a single sample; The segmentation model is trained based on the dataset until the number of iterations reaches the preset iteration limit or the model parameters converge, at which point the training ends and the trained segmentation model is obtained.
3. The method for assessing the extent of tumor invasion of neurovascular bundles according to claim 2, characterized in that, Also includes: The sample data in the dataset is preprocessed, which includes at least cropping the sample data to obtain data in non-zero regions, resampling the sample data, and normalizing the sample data.
4. The method for assessing the extent of tumor invasion of neurovascular bundles according to claim 2, characterized in that, Also includes: The probability map generated by the segmentation model is converted into a binary mask through a threshold. Dilation and erosion operations are used to remove artifacts and noise from the binary mask, thereby obtaining optimized mask data.
5. The method for assessing the extent of tumor invasion of neurovascular bundles according to claim 1, characterized in that, The step of converting the mask data into point cloud data includes: Extract the 3D surface mesh of non-zero regions from the mask data, including vertices, faces, and normals, specifically: Based on the segmented 3D mask data V(x,y,z), a contour threshold T is defined, and contour surfaces are constructed to segment the 3D mask into n cubes C. i Each cube consists of 8 fixed points; Where, x i y i , z i Represents the x-axis, y-axis, and z-axis coordinates of a point in the cube; for each vertex of the cube... Determine whether it is greater than the contour line threshold T: Generate binary state index: Using a lookup table, determine the boundary connection scheme in the cube based on the state index S: For each edge e formed by two connected vertices k Perform linear interpolation to obtain points on the isosurface: Where V a V b Is with edge e k The values of the two related vertices will be interpolated to obtain point P. k Connect them to form a triangular surface mesh model; Obtain the number of triangular faces in all triangular surface mesh models, and calculate the corresponding number of point clouds based on the number of triangular faces; use the Poisson sampling method to extract point clouds from the triangular mesh to obtain point cloud data.
6. A device for assessing the extent of tumor invasion of neurovascular bundles, characterized in that, include: A data extraction unit is used to acquire a patient's two-parameter resonance imaging and extract at least two modal data from the two-parameter resonance imaging. At least two modalities of data include any two or three of the following: T2-weighted imagery, diffusion-weighted imagery, and apparent diffusion coefficient imagery; A data alignment unit is used to align at least two types of said modal data; A segmentation unit is used to input aligned data of at least two modalities into a trained segmentation model and output mask data including tumor and vascular bundle regions. The segmentation model is a three-dimensional full-resolution image model, i.e., a 3D U-Net network. The 3D U-Net network includes multiple different stages to progressively extract features from the sample data. The 3D U-Net network consists of 7 different stages, each responsible for extracting features at different levels, progressively from low-level features to high-level features. The number of feature channels in each stage are 32, 64, 128, 256, 320, 320, and 320, respectively. The kernel sizes for each stage are as follows: Stage 1 kernel size is 1, 3, 3; Stage 2 kernel size is 1, 3, 3; Stages 3 through 7 kernel size is 3, 3, 3. The stride sizes for each stage are as follows: Stage 1 stride is 1, 1, 1; Stage 2 stride is 1, 2, 2; Stage 3 stride is 1, 2, 2; Stage 4 stride is 2, 2, 2; Stage 5 stride is 2, 2, 2; Stage 6 stride is 1, 2, 2; Stage 7 stride is 1, 2, 2. Each stage of the encoder and decoder has two convolutional layers, does not use dropout layers, and specifies the non-linear activation function to be used; A point cloud conversion unit is used to convert the mask data into point cloud data; The judgment unit is used to calculate the geometric relationship between the tumor and the vascular bundle region in the point cloud data, and to judge the degree of invasion between the tumor and the vascular bundle region based on the geometric relationship between the tumor and the vascular bundle region and a preset invasion judgment rule; specifically, it is used to calculate at least the geometric center of the tumor and the vascular bundle region, the nearest distance between the surface of the tumor and the surface of the vascular bundle region, and the nearest geometric center distance between the tumor and the vascular bundle region based on the point cloud data; and to judge the degree of invasion between the tumor and the vascular bundle region based at least on the comparison result of the nearest distance from the surface of the tumor to the surface of the vascular bundle region with a preset nearest distance threshold, and the comparison result of the nearest geometric center distance between the tumor and the vascular bundle region with a preset distance threshold.
Citation Information
Patent Citations
3D MR and TRUS image segmentation method for prostate system puncture
CN114037714A
Hepatocellular carcinoma microvessel invasion prediction system based on preoperative multi-mode MRI and application thereof
CN118429265A
Esophageal squamous carcinoma detection method and system based on combination of multi-modal information fusion and artificial intelligence
CN119399126A
