A method and system for segmenting spinal CT sequence images

Through deep learning technology, global and local semantic segmentation networks are used to segment bony and non-osseous tissues in spine CT images, solving the problem of insufficient structural segmentation in spine images, achieving accurate three-dimensional reconstruction and surgical planning, and reducing the cost Reliance on contrast media improves the efficiency of diagnosis, treatment and surgical navigation of spinal diseases.

CN111260650BActive Publication Date: 2024-09-17刘华清
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811361072.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-15
Publication Date
2024-09-17
Estimated Expiration
2038-11-15

AI Technical Summary

Technical Problem

It is difficult to accurately segment bony structures and adjacent non-osseous tissues in spine CT images with existing technology, resulting in deficiencies in the diagnosis, treatment and surgical planning of spinal diseases, especially for patients with renal insufficiency and those with contrast agent allergies.

Method used

The global semantic segmentation network and local semantic segmentation network based on deep learning are used to segment bony structures and non-osseous tissues on spine CT sequence images through a fully convolutional generative adversarial network to achieve the generation and synthesis of three-dimensional mask images, reducing Dependence on contrast media.

Benefits of technology

It achieves rapid automatic segmentation of spine CT images, and the segmentation results are accurate and reliable, reducing the metabolic burden on the kidneys, avoiding allergic reactions to contrast agents, and providing a full range of multi-view imaging assistance and new technology solutions for the diagnosis, treatment and surgical navigation of spinal diseases. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111260650B
    Figure CN111260650B
Patent Text Reader

Abstract

The present invention relates to a method and system for segmenting a spinal CT sequence image. The method comprises a training phase and a testing phase. The training phase comprises the following steps: (A1) manual labeling; (A2) data set preprocessing; (A3) constructing a global semantic segmentation network and a local semantic segmentation network; (A4) training the global semantic segmentation network and the local semantic segmentation network; the testing phase comprises the following steps: (B1) obtaining a CT sequence image to be segmented; (B2) image preprocessing; (B3) global semantic segmentation of bony structures and non-bone tissues in the CT sequence image; (B4) local semantic segmentation of various types of non-bone tissues in the core segment of the spine; (B5) synthetic acquisition of segmentation results. Compared with the prior art, the present invention can realize the rapid and automatic segmentation of bony structures and various types of non-bone tissues in spinal CT sequence images, and the segmentation results are accurate and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method and system for segmenting CT sequence images, and in particular to a method and system for segmenting spine CT sequence images. Background Art

[0002] Spinal surgery is being carried out in full swing around the world because of its small incision and less damage. Accurate surgical planning is the key to the success of spinal surgery, and various medical imaging technologies are the cornerstone of preoperative planning for spinal surgery. Conventional spinal surgery planning relies heavily on the subjective experience of surgeons, precisely because the objective information provided by conventional medical imaging is not comprehensive enough. At present, spinal surgeons mainly rely on traditional two-dimensional images, including X-rays, CT and MRI to formulate surgical plans. X-rays can quickly provide two-dimensional information on the bony structure of the spine, which has important clinical value in diagnosing vertebral fractures and spinal deformities, but has limited value in the formulation of spinal surgery plans. MRI plays an important role in the diagnosis and treatment of spinal diseases because it can clearly display some nerves around the spine, but currently MRI only provides imaging information of a few two-dimensional sections in clinical practice, which is far from enough for careful planning of surgical plans.

[0003] CT is widely used because of its fast scanning speed and reasonable price. It also plays a very important role in the diagnosis and treatment of spine. Compared with conventional CT, thin-layer CT has good density resolution and can provide more information. In addition to clearly displaying bony structures, it also has very good effects in displaying soft tissues such as intervertebral discs, nerves, and blood vessels. Therefore, it has very important diagnostic value in diagnosing spinal diseases such as nerve compression caused by various causes such as lateral recess stenosis, intervertebral foraminal stenosis, spinal canal stenosis, intervertebral disc herniation, ligament hypertrophy, spinal fractures, thick ligament ossification, and spinal tumors. At the same time, based on thin-layer CT, three-dimensional reconstruction of soft tissues such as blood vessels and nerves has very important clinical significance for the diagnosis and treatment of spinal diseases. The previous method was to inject contrast agents into the blood vessels to enhance the display of blood vessels and nerves, thereby achieving three-dimensional reconstruction. However, this contrast agent enhancement method will increase the burden of renal metabolism, and the risk is higher for some patients with renal insufficiency. At the same time, some patients have allergic reactions to contrast agents. Therefore, it is crucial to accurately segment the bony tissue of the spine and its adjacent non-bone tissue and complete three-dimensional digital reconstruction. This will provide all-round and multi-perspective assistance for the diagnosis and treatment of spinal diseases, and provide new technical solutions for surgical navigation and robotic surgery for spinal diseases. Summary of the invention

[0004] The purpose of the present invention is to provide a spine CT sequence image segmentation method and system in order to overcome the defects of the above-mentioned prior art.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A spine CT sequence image segmentation method, the method comprising a training phase and a testing phase.

[0007] The training phase includes the following steps:

[0008] (A1) Manual labeling: multiple sets of CT sequence images are obtained, and the bone structures and various non-bone tissues in the CT sequence images are manually segmented to obtain manually labeled 3D mask images;

[0009] (A2) Dataset preprocessing: Preprocess the CT sequence images and their manually annotated 3D mask images to construct a global semantic segmentation dataset;

[0010] Locate and capture the spinal core segment in the CT sequence images and their manually annotated 3D mask images to construct a local semantic segmentation dataset;

[0011] (A3) Constructing global semantic segmentation network and local semantic segmentation network;

[0012] (A4) using the preprocessed global semantic segmentation dataset to train the global semantic segmentation network, and using the local semantic segmentation dataset to train the local semantic segmentation network;

[0013] The testing phase includes the following steps:

[0014] (B1) Obtaining the CT sequence images to be segmented;

[0015] (B2) Preprocessing of CT sequence images;

[0016] (B3) using the trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the preprocessed CT sequence images to obtain the corresponding global three-dimensional mask image;

[0017] (B4) locating and intercepting the spinal core segment according to the global three-dimensional mask image, and using the trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues of the spinal core segment in the CT sequence images to obtain the corresponding local three-dimensional mask image;

[0018] (B5) According to the positioning of the spinal core segment in the global 3D mask image, the local 3D mask image of the spinal core segment is inserted into the global 3D mask image to synthesize the final 3D mask image.

[0019] Step (A2) specifically includes: 1. Standardization operation, namely, sequentially performing: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; (b) whitening operation; (c) dividing the CT sequence images after the whitening operation into small blocks of data according to a predetermined window size; 2. Data augmentation to form new samples, namely, randomly performing one or more of the following operations: (d) adding a small amount of random disturbance to the voxel spacing of the three dimensions of the CT sequence images; (e) adding a small amount of random noise to the CT sequence images; (f) performing random left-right mirroring and front-back mirroring transformations on the small blocks of data.

[0020] Step (B2) specifically includes: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; and (b) whitening operation.

[0021] The global semantic segmentation network and the local semantic segmentation network are both fully convolutional generative adversarial networks.

[0022] The fully convolutional generative adversarial network includes a generative model and a discriminative model. The input of the generative model is a preprocessed CT sequence image, and the output is a three-dimensional mask image. The discriminative model is used to discriminate the difference between the three-dimensional mask image output by the generative model and the manually annotated three-dimensional mask image and update the parameters of the generative model, thereby making the three-dimensional mask image output by the generative model infinitely close to the manually annotated three-dimensional mask image.

[0023] Loss function for generative models And the loss function of the discriminant model They are:

[0024]

[0025] The function The form is as follows:

[0026] in

[0027] In the formula, represents N-dimensional real number space, v represents Any variable in space, D(v;θ D ) represents the output obtained by inputting v into the discriminant model D, Indicates from Space to The projection of the space, x represents the preprocessed CT sequence image, y represents the manually annotated 3D mask image, G represents the generation model, D represents the discriminant model, θ G represents the parameters of the generative model, θ D represents the parameters of the discriminant model, t represents the number of iterations in the training process, and k t and λk is the proportionality coefficient, γ is the difference ratio, γ is a constant between 0 and 1, D(y; θ D ) represents the output obtained by inputting y into the discriminant model D, G(x; θ G ) represents the three-dimensional mask image obtained by inputting x into the generative model G, represents the relationship between y and D(y;θ D ), represents G(x;θ G ) and D(G(x;θ G );θ D ), D(G(x;θ G );θ D ) represents G(x;θ G ) is input to the output obtained by the discriminant model D, Represents the difference between the 3D mask image output by the generative model and the manually annotated 3D mask image.

[0028] A spine CT sequence image segmentation system, which performs CT sequence image segmentation based on the above method, and the CT sequence image segmentation system comprises:

[0029] Image acquisition module (1): This module acquires CT sequence images;

[0030] Preprocessing module (2): This module preprocesses the CT sequence images;

[0031] Model training module (3): This module trains the global semantic segmentation network and the local semantic segmentation network;

[0032] Semantic segmentation module (4): This module first uses a pre-trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the pre-processed CT sequence images to obtain the corresponding global three-dimensional mask image. Then, it uses a pre-trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues in the spinal core segment in the CT sequence images to obtain the corresponding local three-dimensional mask image. Finally, the global three-dimensional mask image and the local three-dimensional mask image are synthesized into the final three-dimensional mask image.

[0033] Compared with the prior art, the present invention has the following advantages:

[0034] (1) The present invention uses a deep learning-based method to quickly and automatically segment the bony structures and various non-bone tissues in spinal CT sequence images, and the segmentation results are accurate and reliable;

[0035] (2) The present invention sets a global semantic segmentation network and a local semantic segmentation network to perform global semantic segmentation and local semantic segmentation on the spinal CT sequence images. The global semantic segmentation performs a preliminary separation of the bony structure and the non-bone tissue in the CT sequence images, and the local semantic segmentation performs fine segmentation of various non-bone tissues (such as nerves, blood vessels, ligaments, etc.) in the core segment of the spine in the CT sequence images, so that the segmentation results are more accurate.

[0036] (3) Both the global semantic segmentation network and the local semantic segmentation network of the present invention adopt a fully convolutional generative adversarial network, which further improves the accuracy and reliability of the segmentation results;

[0037] (4) The present invention can quickly and effectively segment spinal CT sequence images, and then perform three-dimensional reconstruction on this basis. Soft tissue can be identified without the enhancement of contrast agents, which reduces the burden of kidney metabolism and avoids allergic reactions to contrast agents. It provides all-round multi-angle imaging assistance for the formulation of spinal disease diagnosis and treatment plans, and also provides new technical solutions for surgical navigation and robotic surgery for spinal diseases. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a spine CT sequence image segmentation method according to the present invention;

[0039] Figure 2 A schematic diagram of the structure of a local semantic segmentation network in an embodiment of the present invention;

[0040] Figure 3 It is a structural block diagram of a spine CT sequence image segmentation system of the present invention;

[0041] Figure 4 4(a) is a slice of a three-dimensional mask image of a spinal CT sequence image in this embodiment, 4(b) is a slice of a three-dimensional mask image generated by a 3D-Unet generation model;

[0042] Figure 5 This is a schematic diagram of the effect after three-dimensional reconstruction in this embodiment;

[0043] Figure 6 Schematic diagram of surgical planning in this embodiment.

[0044] In the figure, 1 is the image acquisition module, 2 is the preprocessing module, 3 is the model training module, and 4 is the semantic segmentation module. DETAILED DESCRIPTION

[0045] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the following embodiments are merely illustrative in nature, and the present invention is not intended to limit its applicable objects or uses, and the present invention is not limited to the following embodiments.

[0046] Example

[0047] like Figure 1 As shown, a spine CT sequence image segmentation method includes a training phase and a testing phase.

[0048] The training phase includes the following steps:

[0049] (A1) Manual labeling: multiple sets of CT sequence images are obtained, and the bone structures and various non-bone tissues in the CT sequence images are manually segmented to obtain manually labeled 3D mask images;

[0050] (A2) Dataset preprocessing: Preprocess the CT sequence images and their manually annotated 3D mask images to construct a global semantic segmentation dataset;

[0051] Locate and capture the spinal core segment in the CT sequence images and their manually annotated 3D mask images to construct a local semantic segmentation dataset;

[0052] (A3) Constructing global semantic segmentation network and local semantic segmentation network;

[0053] (A4) using the preprocessed global semantic segmentation dataset to train the global semantic segmentation network, and using the local semantic segmentation dataset to train the local semantic segmentation network;

[0054] The testing phase includes the following steps:

[0055] (B1) Obtaining the CT sequence images to be segmented;

[0056] (B2) Preprocessing of CT sequence images;

[0057] (B3) using the trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the preprocessed CT sequence images to obtain the corresponding global three-dimensional mask image;

[0058] (B4) locating and intercepting the spinal core segment according to the global three-dimensional mask image, and using the trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues of the spinal core segment in the CT sequence images to obtain the corresponding local three-dimensional mask image;

[0059] (B5) According to the positioning of the spinal core segment in the global 3D mask image, the local 3D mask image of the spinal core segment is inserted into the global 3D mask image to synthesize the final 3D mask image.

[0060] Step (A2) specifically includes: 1. Standardization operation, namely, sequentially performing: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; (b) whitening operation; (c) dividing the CT sequence images after the whitening operation into small blocks of data according to a predetermined window size; 2. Data augmentation to form new samples, namely, randomly performing one or more of the following operations: (d) adding a small amount of random disturbance to the voxel spacing of the three dimensions of the CT sequence images; (e) adding a small amount of random noise to the CT sequence images; (f) performing random left-right mirroring and front-back mirroring transformations on the small blocks of data.

[0061] Step (B2) specifically includes: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; and (b) whitening operation.

[0062] Both the global semantic segmentation network and the local semantic segmentation network are fully convolutional generative adversarial networks.

[0063] The fully convolutional generative adversarial network includes a generative model and a discriminative model. The input of the generative model is the preprocessed CT sequence image, and the output is a three-dimensional mask image. The discriminative model is used to distinguish the difference between the three-dimensional mask image output by the generative model and the manually annotated three-dimensional mask image and update the parameters of the generative model, so that the three-dimensional mask image output by the generative model is infinitely close to the manually annotated three-dimensional mask image.

[0064] Loss function for generative models And the loss function of the discriminant model They are:

[0065]

[0066] The function The form is as follows:

[0067] in

[0068] In the formula, represents N-dimensional real number space, v represents Any variable in space, D(v;θ D ) represents the output obtained by inputting v into the discriminant model D, Indicates from Space to The projection of the space, x represents the preprocessed CT sequence image, y represents the manually annotated 3D mask image, G represents the generation model, D represents the discriminant model, θG represents the parameters of the generative model, θ D represents the parameters of the discriminant model, t represents the number of iterations in the training process, and k t and λ k is the proportionality coefficient, γ is the difference ratio, γ is a constant between 0 and 1, D(y; θ D ) represents the output obtained by inputting y into the discriminant model D, G(x; θ G ) represents the three-dimensional mask image obtained by inputting x into the generative model G, represents the relationship between y and D(y;θ D ), represents G(x;θ G ) and D(G(x;θ G );θ D ), D(G(x;θ G );θ D ) represents G(x;θ G ) is input to the output obtained by the discriminant model D, Represents the difference between the 3D mask image output by the generative model and the manually annotated 3D mask image.

[0069] Specifically, the global semantic segmentation network and the local semantic segmentation network use the same structure of the full convolutional generative adversarial network, and the internal parameters are obtained according to the actual training results. This embodiment takes the local semantic segmentation network as an example for explanation. Figure 2 As shown in the figure, 3D-Unet is the 3D-Unet generation model, and the dotted box in the figure is the discriminant model. In the discriminant model:

[0070] The first layer is the convolution layer Conv0, the convolution kernel size is 3×3×3, the number of convolution kernels is n, the step size is 1, and the activation function is the elu function;

[0071] The second layer is the convolution layer Conv1, the convolution kernel size is 3×3×3, the number of convolution kernels is n, the step size is 1, and the activation function is the elu function; the third layer is the convolution layer Conv2, the convolution kernel size is 3×3×3, the number of convolution kernels is 2n, the step size is 2, and the activation function is the elu function;

[0072] The fourth layer is the convolution layer Conv3, the convolution kernel size is 3×3×3, the number of convolution kernels is 3n, the step size is 1, and the activation function is the elu function; the fifth layer is the convolution layer Conv4, the convolution kernel size is 3×3×3, the number of convolution kernels is 2n, the step size is 2, and the activation function is the elu function;

[0073] The sixth layer is the convolution layer Conv5, the convolution kernel size is 3×3×3, the number of convolution kernels is 3n, the step size is 1, and the activation function is the elu function; the seventh layer is the convolution layer Conv6, the convolution kernel size is 3×3×3, the number of convolution kernels is h, the step size is 1, and the activation function is the elu function;

[0074] The 8th layer is the convolution layer Conv7, the convolution kernel size is 3×3×3, the number of convolution kernels is h, the step size is 1, and the activation function is the elu function; the 9th layer is the convolution layer Conv8, the convolution kernel size is 3×3×3, the number of convolution kernels is 3n, the step size is 1, and the activation function is the elu function;

[0075] The 10th layer is an upsampling layer with an upsampling factor of 2×2×2;

[0076] The 11th layer is the convolution layer Conv9, the convolution kernel size is 3×3×3, the number of convolution kernels is 3n, the step size is 1, and the activation function is the elu function; the 12th layer is the convolution layer Conv10, the convolution kernel size is 3×3×3, the number of convolution kernels is 2n, the step size is 1, and the activation function is the elu function;

[0077] The 13th layer is an upsampling layer with an upsampling factor of 2×2×2;

[0078] The 14th layer is the convolution layer Conv11, the convolution kernel size is 3×3×3, the number of convolution kernels is 2n, the step size is 1, and the activation function is the elu function; the 15th layer is the convolution layer Conv12, the convolution kernel size is 3×3×3, the number of convolution kernels is n, the step size is 1, and the activation function is the elu function;

[0079] The 16th layer is the convolution layer Conv13, the convolution kernel size is 3×3×3, the number of convolution kernels is 3, the step size is 1, and the activation function is the softmax function.

[0080] Specifically, the fully convolutional generative adversarial network of the present invention is obtained by the following method:

[0081] Multiple sets of spinal CT sequence images were collected and the bony structures (spine) and various non-bone tissues (such as nerves, blood vessels, and ligaments) were manually annotated. The annotated data were divided into training set, validation set, and test set. The training set was used to train the fully convolutional generative adversarial network.

[0082] First, the spinal CT sequence images in the training set are preprocessed. The preprocessing is the same as the preprocessing in the actual application of spinal surgery planning, including (a) setting the voxel spacing of the three dimensions of the spinal CT sequence images to the same nominal value; (b) whitening operation; (c) dividing the spinal CT sequence images after the whitening operation into small blocks of data according to a predetermined window size. Among them, the voxel spacing nominal value, whitening operation parameters and window size during training are equal to the parameters used in the preprocessing operation in actual application. Then, the preprocessed spinal CT sequence images are augmented by: scaling and mirroring the data set within a limited range of proportions, thereby expanding the number of samples in the training set and improving the accuracy of model training.

[0083] After completing the above preprocessing and amplification operations, the above-mentioned full convolutional generative adversarial network is established, and then the full convolutional generative adversarial network is trained to optimize the various parameters in the full convolutional generative adversarial network. The specific training algorithm is as follows:

[0084] Input: training set (X, Y) containing N samples (x, y), minimum batch size n, maximum number of cycles M, learning rate η of 3D-Unet generative model G , the learning rate η of the discriminant model D , where x represents the preprocessed spinal CT sequence image, and y represents the manually annotated three-dimensional mask image;

[0085] Output: trained network parameters (θ G ,θ D ), θ G represents the parameters of the 3D-Unet generative model, θ D Denotes the parameters of the discriminant model.

[0086] The training process is:

[0087] 1. Build a fully convolutional generative adversarial network and randomly initialize the network parameters (θ G ,θ D );

[0088] 2. Loop t∈{1,2,…,MN / n} and execute 3 to 8:

[0089] 3. Get a batch of training data from the random training set and assign it to (x n ,y n );

[0090] 4. G(x n θ G ) forward propagation, G(x n θ G ) represents the generative model, the input is x n ;

[0091] 5. D(G(x n θ G );θ D ) forward propagation, D(G(x n θ G );θ D ) represents the discriminant model, and the input is G(x n θ G );

[0092] 6. D(y n θ D ) forward propagation, D(y n θ D ) represents the discriminant model, the input is y n ;

[0093] 7. G(x n θ G ) Backward propagation, update model parameters θ G , specifically:

[0094] represents the gradient operator;

[0095] 8. D(·;θ D ) Backward propagation, update model parameters θ D , D(·;θ D ) represents the discriminant model, the input is y n or G(x n θ G ), specifically:

[0096]

[0097]

[0098] like Figure 3 As shown, a spine CT sequence image segmentation system is provided. The system performs CT sequence image segmentation based on the above method. The CT sequence image segmentation system comprises:

[0099] Image acquisition module 1: This module acquires CT sequence images;

[0100] Preprocessing module 2: This module preprocesses the CT sequence images;

[0101] Model training module 3: This module trains the global semantic segmentation network and the local semantic segmentation network;

[0102] Semantic segmentation module 4: This module first uses a pre-trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the preprocessed CT sequence images to obtain the corresponding global three-dimensional mask image, and then uses a pre-trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues in the core segment of the spine in the CT sequence images to obtain the corresponding local three-dimensional mask image. Finally, the global three-dimensional mask image and the local three-dimensional mask image are synthesized into the final three-dimensional mask image.

[0103] The pre-processing operation of the system pre-processing module 2 is consistent with the above method, and the fully convolutional generative adversarial network is also consistent with the fully convolutional generative adversarial network in the above method, which will not be repeated here.

[0104] The CT sequence image segmentation method and system based on deep learning of the present invention can quickly and automatically segment the bony structures and various non-bone tissues in the spinal CT sequence images, and the segmentation results are accurate and reliable. On the basis of the above automatic segmentation, lesion location identification and surgical plan planning can be performed. Specifically, first, after automatic semantic segmentation is performed by a fully convolutional generative adversarial network and the corresponding three-dimensional mask image is obtained, the spinal CT sequence image and the corresponding three-dimensional mask image are combined for analysis to detect compressed nerves, and the detected compressed nerves are classified according to severity, so as to realize lesion location identification. In addition, the acquired three-dimensional mask image can also be three-dimensionally reconstructed to obtain a three-dimensional reconstructed image, and then the surgical plan is planned according to the three-dimensional reconstructed image, including the selection of surgical medical instruments, the shape, size and material of the implant.

[0105] This embodiment uses the above-mentioned deep learning-based CT sequence image segmentation method and system to perform CT sequence image segmentation, such as Figure 4 (a) shows a slice of a manually annotated 3D mask image, and (b) shows a slice of a 3D mask image generated by a 3D-Unet generation model. In the figure, A is a bone structure and B is a non-bone tissue. Therefore, the 3D mask image obtained by the semantic segmentation of the 3D-Unet generation model of the present invention is accurate. Based on the above segmentation, this embodiment performs spinal surgery planning. Figure 5 3D reconstruction is a schematic diagram of the effect of this embodiment, in which A is a bone structure and C is a nerve root. The surgical plan is planned through the 3D reconstruction image after 3D reconstruction, thereby determining the working channel D entering the surgical operation area. Figure 6 shown.

[0106] The above embodiments are merely examples and do not limit the scope of the present invention. These embodiments can also be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the technical concept of the present invention.

Claims

1. A method for segmenting spinal CT sequence images, characterized in that: The method includes a training phase and a testing phase. The training phase includes the following steps: (A1) Manual labeling: multiple sets of CT sequence images are obtained, and the bone structures and various non-bone tissues in the CT sequence images are manually segmented to obtain manually labeled 3D mask images; (A2) Data preprocessing: Preprocess the CT sequence images and their manually annotated 3D mask images to construct a global semantic segmentation dataset; Locate and capture the spinal core segment in the CT sequence images and their manually annotated 3D mask images to construct a local semantic segmentation dataset; (A3) Constructing global semantic segmentation network and local semantic segmentation network; (A4) using the preprocessed global semantic segmentation dataset to train the global semantic segmentation network, and using the local semantic segmentation dataset to train the local semantic segmentation network; The testing phase includes the following steps: (B1) Obtaining the CT sequence images to be segmented; (B2) Preprocessing of CT sequence images; (B3) using the trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the preprocessed CT sequence images to obtain the corresponding global three-dimensional mask image; (B4) locating and intercepting the spinal core segment according to the global three-dimensional mask image, and using the trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues of the spinal core segment in the CT sequence images to obtain the corresponding local three-dimensional mask image; (B5) According to the positioning of the spinal core segment in the global 3D mask image, the local 3D mask image of the spinal core segment is inserted into the global 3D mask image to synthesize the final 3D mask image.

2. The method for segmenting spinal CT sequence images according to claim 1, characterized in that: Step (A2) specifically includes:

1. Standardization operation, namely, sequentially performing: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; (b) whitening operation; (c) dividing the CT sequence images after the whitening operation into small blocks of data according to a predetermined window size; 2. Data augmentation to form new samples, namely, randomly performing one or more of the following operations: (d) adding a small amount of random disturbance to the voxel spacing of the three dimensions of the CT sequence images; (e) adding a small amount of random noise to the CT sequence images; (f) performing random left-right mirroring and front-back mirroring transformations on the small blocks of data.

3. The method for segmenting spinal CT sequence images according to claim 1, characterized in that: Step (B2) specifically includes: (a) setting the voxel spacing of the three dimensions of the CT sequence images to a same nominal value; and (b) whitening operation.

4. The method for segmenting spinal CT sequence images according to claim 1, characterized in that: The global semantic segmentation network and the local semantic segmentation network are both fully convolutional generative adversarial networks.

5. The method for segmenting spinal CT sequence images according to claim 4, characterized in that: The fully convolutional generative adversarial network includes a generative model and a discriminative model. The input of the generative model is a preprocessed CT sequence image, and the output is a three-dimensional mask image. The discriminative model is used to discriminate the difference between the three-dimensional mask image output by the generative model and the manually annotated three-dimensional mask image and update the parameters of the generative model, thereby making the three-dimensional mask image output by the generative model infinitely close to the manually annotated three-dimensional mask image.

6. The method for segmenting spinal CT sequence images according to claim 5, characterized in that: Loss function for generative models And the loss function of the discriminant model They are: The function The form is as follows: in In the formula, represents N-dimensional real number space, v represents Any variable in space, D(v;θ D ) represents the output obtained by inputting v into the discriminant model D, Indicates from Space to The projection of the space, x represents the preprocessed CT sequence image, y represents the manually annotated 3D mask image, G represents the generation model, D represents the discriminant model, θ G represents the parameters of the generative model, θ D represents the parameters of the discriminant model, t represents the number of iterations in the training process, and k t and λ k is the proportionality coefficient, γ is the difference ratio, γ is a constant between 0 and 1, D(y; θ D ) represents the output obtained by inputting y into the discriminant model D, G(x; θ G ) represents the three-dimensional mask image obtained by inputting x into the generative model G, represents the relationship between y and D(y;θ D ), represents G(x;θ G ) and D(G(x;θ G );θ D ), D(G(x;θ G );θ D ) represents G(x;θ G ) is input to the output obtained by the discriminant model D, Represents the difference between the 3D mask image output by the generative model and the manually annotated 3D mask image.

7. A spine CT sequence image segmentation system, characterized in that: The system performs CT sequence image segmentation based on the method described in any one of claims 1 to 6 above, and the CT sequence image segmentation system comprises: Image acquisition module (1): This module acquires CT sequence images; Preprocessing module (2): This module preprocesses the CT sequence images; Model training module (3): This module trains the global semantic segmentation network and the local semantic segmentation network; Semantic segmentation module (4): This module first uses a pre-trained global semantic segmentation network to perform global semantic segmentation on the bony structures and non-bone tissues in the pre-processed CT sequence images to obtain the corresponding global three-dimensional mask image. Then, it uses a pre-trained local semantic segmentation network to perform local semantic segmentation on various non-bone tissues in the spinal core segment in the CT sequence images to obtain the corresponding local three-dimensional mask image. Finally, the global three-dimensional mask image and the local three-dimensional mask image are synthesized into the final three-dimensional mask image.