CBCT image processing method, neural network system creation method, and device

By creating a neural network system and using 2D and 3D network modules to remove metal artifacts in CBCT images, the quality and segmentation effect of spine images are improved, the noise and artifact problems of CBCT images in spine surgery are solved, and surgical navigation is improved. and planning accuracy.

CN113902912BActive Publication Date: 2024-08-23SUZHOU IND PARK ZHIZAITIANXIA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110890582.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-04
Publication Date
2024-08-23
Estimated Expiration
2041-08-04

AI Technical Summary

Technical Problem

CBCT images have high noise, low tissue contrast, image distortion, and severe metal artifact interference during spinal surgery, making spinal segmentation difficult and affecting the accuracy of surgical navigation and surgical planning.

Method used

Create a neural network system, including a 2D decoupling network and a 3D segmentation network, to remove metal artifacts in CBCT images and improve the spine segmentation effect. The system combines training data with modules such as content encoder, artifact encoder, segmenter and structure decoder to improve image quality and optimize segmentation results.

Benefits of technology

It significantly improves the image quality of CBCT images, reduces interference from metal artifacts, simplifies the automatic segmentation process of the spine, and improves the accuracy of surgical navigation and planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113902912B
    Figure CN113902912B
Patent Text Reader

Abstract

The present invention discloses a CBCT image processing method, a neural network system creation method, and a device. The creation method includes: obtaining a spine CBCT three-dimensional image X l , Spine CT 3D ImageX h and CT spine segmentation 3D image #imgabs0# Among them, spine CBCT 3D image X l The image quality is lower than that of spine CT images. h image quality; creating a neural network system, the neural network system includes a 2D decoupling network and a 3D segmentation network, based on the spine CBCT three-dimensional image X l , Spine CT 3D ImageX h The neural network system is trained with the CT spine segmentation image #imgabs1#, and the neural network system can perform enhancement processing and spine segmentation on the CBCT image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical image post-processing, and in particular to a CBCT image processing method, a neural network system creation method, and a device. Background Art

[0002] In spinal surgery, CBCT (Cone Beam CT) is often used to perform intraoperative imaging of the spine, providing doctors with images of the corresponding anatomical structures to assist in the operation. The principle is usually: the X-ray generator uses a low radiation dose (usually the tube current is around 10 mA) to perform circular DR (Digital Radiography) around the projection object (for example, the human body, etc.). Then, the data obtained from the "intersection" after multiple digital projections around the projection object (180 to 360 times, depending on the product) are "reorganized" in the computer to obtain a three-dimensional image.

[0003] However, the images obtained by CBCT have the following disadvantages: (1) high noise, low tissue contrast, image distortion near the edge, and inability to clearly display key anatomical structures such as the spine; (2) intraoperative CBCT images are seriously interfered by metal artifacts. With the development of science and technology, surgical navigation and other technologies have improved the accuracy of surgery and reduced the trauma surface, but surgical navigation requires the use of high-density metal objects (such as positioning steel balls), which inevitably introduces metal artifacts and reduces the recognition of the spine in CBCT images; (3) CBCT spine segmentation is difficult. Spine segmentation can provide doctors with intuitive structural information and assist in surgical planning. Segmentation-based 3D rendering helps doctors judge the accuracy of surgical planning, but manual segmentation of three-dimensional CBCT data is time-consuming. At the same time, due to the low image quality and the presence of metal artifacts, manual and automatic segmentation of the spine is particularly difficult.

[0004] Therefore, how to improve the quality of images obtained by CBCT has become an urgent problem to be solved. Summary of the invention

[0005] In view of this, the main purpose of the present invention is to provide a CBCT image processing method, a neural network system creation method, and a device.

[0006] To achieve the above object, the technical solution of the present invention is implemented as follows: a method for creating a neural network system for CBCT image processing, comprising the following steps:

[0007] Acquire multiple spine CBCT 3D imagesX l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. h The image quality is better than that of the CBCT 3D images, and more than 50% of the CBCT 3D images contain metal artifacts;

[0008] A neural network system is created, wherein the neural network system includes a 2D decoupling network and a 3D segmentation network, wherein the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when the 3D segmentation network receives the 3D CBCT image, the 3D CBCT image is decomposed into a plurality of 2D CBCT images, and the 2D CBCT image is input into the 2D decoupling network, and the result output by the 2D decoupling network is reassembled into a 3D image, and the 3D segmentation result is output by the 3D segmenter;

[0009] Based on the spine CBCT three-dimensional image l , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

[0010] As an improvement of the embodiment of the present invention, the 2D decoupling network includes: a content encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ; Content Encoder E l For CBCT two-dimensional image x l Process and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the contentl Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain x l→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l , and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

[0011] As an improvement of the embodiment of the present invention, the 3D segmentation network is used to: transform the three-dimensional image X l and X h Decompose into two-dimensional images x l and x h , x l Input the content encoder E in the 2D decoupled network l and artifact encoder E a , x h Input the content encoder E in the 2D decoupled network h ; and the multiple x output by the 2D decoupling network l→h Combined into 3D image X l→h , based on 3D segmentation 3D Image X l→h Extract the segmentation result Y l→h ; Output multiple x h→l Combined into 3D image X h→l , based on 3D segmentation 3D Image X h→l Extract the segmentation result Y h→l ; Based on 3D segmenter X-ray the spine CBCT 3D image l Extract the segmentation result Y l , based on 3D segmentation The spine CT three-dimensional image X h Extract the segmentation result Y h .

[0012] As an improvement of the embodiment of the present invention, the picture decoder G h The processing layers P1, P2 and P3 are arranged in a row. The processing layer P1 at the head of the row receives the content encoder E. l Output content encoding c l or content encoder E h Output content encoding c h , encode the content c l or c h The processing layer P1 at the end of the queue outputs the processing result to the processing layer P2; multiple processing layers P2 are arranged in a row, in which the processing layer P2 at the head of the row receives the processing result of the processing layer P1 at the end of the queue and processes it, and outputs the processing result to the subsequent processing layer P2, and the processing layer P2 at the end of the queue outputs the processing result to the processing layer P3; the processing result of the processing layer P3 is the picture decoder G h The output result is:

[0013] As an improvement of the embodiment of the present invention, the processing layer P1 includes: a denormalization layer and a residual unit, wherein the denormalization layer receives the input of the processing layer P1, and the pyramid structure decoder G s The output attention map m l Or note figure m h , and outputs the processing result to the residual unit, the input of the residual unit is the input of P1 and the output of the denormalization layer, and the output of the residual unit is the processing result of the processing layer P1; the processing layer P2 includes: a denormalization layer and an upsampling unit, wherein the denormalization layer receives the input of the processing layer P2, and the pyramid structure decoder G s The output attention map m l Or note figure m h , and outputs the processing result to the upsampling unit, the input of the upsampling unit is the input of P2 and the output of the denormalization layer, and the output of the upsampling unit is the processing result of the processing layer P2; the processing layer P3 includes: a denormalization layer and a last layer, wherein the denormalization layer receives the input of the processing layer P3, and a pyramid structure decoder Gs The output attention map m l Or note figure m h , and outputs the processing result to the last layer. Another input of the last layer is the input of P3, and the output of the last layer is the processing result of the processing layer P3.

[0014] As an improvement of the embodiment of the present invention, the denormalization layer includes: an interpolation layer, three convolutional layers and a normalization layer, wherein the interpolation layer has an attention map m for the input l or m h Perform interpolation processing, a convolution layer will interpolate the m l or m h Encoded into a latent space, and then outputted the space-related parameters γ, β through another two convolutional layers. In addition, the input F in After the normalization layer, the feature with mean 0 and variance 1 is obtained, and then according to the l or m h The learned parameters γ, β are denormalized.

[0015] The embodiment of the present invention also provides a device for creating a neural network system for CBCT image processing, comprising the following modules:

[0016] The first data acquisition module is used to acquire multiple spine CBCT three-dimensional images X l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. h The image quality is better than that of the CBCT 3D images, and more than 50% of the CBCT 3D images contain metal artifacts;

[0017] A neural network creation module is used to create a neural network system, wherein the neural network system includes a 2D decoupling network and a 3D segmentation network, wherein the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when the 3D segmentation network receives a 3D CBCT image, the 3D CBCT image is decomposed into a plurality of 2D CBCT images, and the 2D CBCT image is input into the 2D decoupling network, and the result output by the 2D decoupling network is reassembled into a 3D image, and the 3D segmentation result is output by the 3D segmenter;

[0018] Training module for 3D spine CBCT images l , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

[0019] As an improvement of the embodiment of the present invention, the 2D decoupling network includes: a content encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ; Content Encoder E l For CBCT two-dimensional image x l Process and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the content l Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain x l→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l, and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

[0020] The embodiment of the present invention also provides a method for processing CBCT images, comprising the following steps: obtaining a plurality of spine CBCT three-dimensional images X l Execute the above creation method to generate a neural network system, and transform the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l 、 3D ImageX l→h And the segmentation result Y l→h .

[0021] The embodiment of the present invention further provides a CBCT image processing device, comprising the following modules: a second data acquisition module, for acquiring a plurality of spine CBCT three-dimensional images X l ; A data processing module is used to execute the above creation method to generate a neural network system, and convert the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l , 3D ImageX l→h And the segmentation result Y l→h .

[0022] The CBCT image processing method, neural network system creation method, and device provided in the embodiment of the present invention have the following advantages: The embodiment of the present invention discloses a CBCT image processing method, neural network system creation method, and device, the creation method comprising: obtaining a spine CBCT three-dimensional image X l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT images. h image quality; creating a neural network system, the neural network system includes a 2D decoupling network and a 3D segmentation network, based on the spine CBCT three-dimensional image X l , Spine CT 3D image X h and CT spine segmentation images The neural network system is trained and can perform enhancement processing and spine segmentation on CBCT images. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of a process flow of a creation method provided by an embodiment of the present invention;

[0024] Figure 2 A schematic diagram of the structure of a 2D decoupling network provided by an embodiment of the present invention;

[0025] Figure 3 The decoder G in the 2D decoupling network provided in the embodiment of the present invention h Detailed structural diagram of

[0026] Figure 4 A schematic diagram of the structure of a 3D segmentation network provided by an embodiment of the present invention;

[0027] Figure 5 A flowchart of a practical application provided by an embodiment of the present invention;

[0028] Figure 6 and Figure 7 A rendering of a neural network system provided by an embodiment of the present invention;

[0029] Figure 8 and Fig. 9 A structural diagram of a neural network system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0031] Embodiment 1 of the present invention provides a method for creating a neural network system for CBCT image processing. The neural network system includes two neural networks: a 2D decoupling network and a 3D segmentation network.

[0032] like Figure 1 As shown, the following steps are included:

[0033] Step 101: Acquire multiple spine CBCT three-dimensional images X l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. hThe image quality is poor, and more than 50% of the CBCT 3D images contain metal artifacts; here, there are three types of images: (1) low-quality spine CBCT (ConeBeam CT, cone beam CT) 3D image X l , where the image is a spinal image obtained using CBCT technology, which generally has large noise, poor tissue contrast, and contains streaky and radial artifacts (usually caused by metal). The three-dimensional CBCT image of the spine X l Can be decomposed into a two-dimensional image x l ; (2) High-quality spinal CT (Computed Tomography) three-dimensional images h The image is a spinal image obtained using CT technology. Generally, the image is clear, high-contrast and does not contain metal artifacts. h Can be decomposed into a two-dimensional image x h ; (3) CT spine segmentation image The image in the image is a binary image, where pixels with a value of 1 represent spinal structures, and pixels with a value of 0 represent other structures. The three-dimensional spinal segmentation image Y can be decomposed into a two-dimensional image, which is the corresponding segmentation of the CT image.

[0034] Here, the function of the neural network system is to complete the mapping F:X l →X h ×Y, that is, input a low-quality CBCT 3D image X l After being processed by the neural network system, the corresponding high-quality three-dimensional image X without artifacts can be obtained. l→h and spine 3D segmentation Y l→h ;

[0035] Step 102: creating a neural network system, the neural network system comprising a 2D decoupling network and a 3D segmentation network, the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when receiving the 3D CBCT image, the 3D segmentation network decomposes the 3D CBCT image into a plurality of 2D CBCT images, inputs the 2D CBCT image into the 2D decoupling network, and reassembles the result output by the 2D decoupling network into a 3D image, and the 3D segmenter outputs the 3D segmentation result;

[0036] Here, it should be noted that if the quality of the first picture is higher than that of the second picture, it means that, relative to the second picture, the first picture has higher definition, contains lower noise, does not contain metal artifacts, and so on.

[0037] Step 103: Based on the spine CBCT three-dimensional image X l , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

[0038] For the convenience of description, let X l and X h are 3D images of CBCT and CT respectively, and the 3D image X l and X h can be decomposed into a two-dimensional image x l and x h . is the label of spine segmentation in CT 3D images, It is understood that there is no difference in shape between the spine segmentation results in the CBCT and CT images.

[0039] The training of the neural network system requires a set of low-quality CBCT 3D images, a set of high-quality CT 3D images, and the spine segmentation results corresponding to the CT images. The CT and CBCT images do not need to match, that is, they do not need to be from the same patient. However, the content of the two sets of images needs to be consistent, such as images of the spine. In order to train the 2D decoupling network, the 3D image can be resampled to 0.5mm*0.5mm*1mm first, and then decomposed into a series of 2D images. The training images are cropped to 256*256 size while keeping the cone structure in the field of view. After the 2D decoupling network is trained, its weights are fixed as an online image decoder to train the two 3D segmenters in the 3D segmentation network. The input of the 3D segmentation network is a 3D image block of 1mm*0.5mm*0.5mm and a dimension of 96*256*256. The network is trained using the Adam optimizer with a learning rate of 1e-4 and a batchsize of 1.

[0040] In this embodiment, the 2D decoupling network includes:

[0041] Content Encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ;

[0042] Content Encoder E l For CBCT two-dimensional image x lProcess and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the content l Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain x l→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l , and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

[0043] The structure of the 2D decoupled network is as follows Figure 2 As shown, the input is: x l and x h ,like Figure 2 As shown, for x l , using content encoder E l Processing to obtain content encoding c l , and use the artifact encoder E a Process the artifact to get the code a, and encode its content c l and artifact code a are mapped to the corresponding latent space respectively. h , using content encoder E h Extract its content encoding c h Among them, x l and x h No pairing is required, i.e., two images of the same part from the same patient are not required. The process is described as follows: l =E l (x l ),a=E a (x l ),c h =E h (x h ).

[0044] After that, the encoding is arranged in four different combinations, and the network can output four different generated images x l→l 、x l→h 、x h→h and x h→l ,like Figure 2 As shown, it includes four processing steps: (1) using G h Encode the content l Processing to get x l→h , it is understandable that for x l→h For example, its content comes from image x l , but its image characteristics look similar to image x h There is no difference; (2) Using the picture decoder G l Encode the content l and artifact code a to obtain x l→l , it is understandable that for x l→l For x l→l Is the network to x l The reconstructed image should be exactly the same; (3) Use the image decoder G l Encode the content h and artifact code a to obtain x h→l , it is understandable that for x h→l For example, its content comes from image x h , but its image characteristics look similar to image x l No difference; (4) Make the picture decoder Gh Encode the content h Processing to get x h→h , x h→h Is the network to x h The reconstruction images of , the two should be exactly the same.

[0045] Here, if Figure 2 As shown, the picture decoder G l The input is: content encoding c l and artifact coding a, or content coding c h and artifact code a, can be expressed using the following formula: l→l =G l (c l ,a),x h→l =G l (c h ,a). It can be understood that, x l→l is x l The graph after decomposition and reconstruction should be the same as x l Exactly the same. h→l By x h Content code and x l The artifact code combination generation should include x h The inner cone structure and x l Artifacts within.

[0046] Here, if Figure 2 As shown, the picture decoder G h The input is: content encoding c l And the pyramidal structure of the attention map (attention map) m l , or content encoding c h And the pyramidal structure of attention map m h , can be expressed using the following formula: l→h =G h (c l ,m l ),x h→h =G h (c h ,m h ), where the pyramidal structure attention map m l By G s From the content code c l Internal extraction generation, m l =G s (c l ), the value range is 0 to 1; the pyramid structure attention map m h From G s Content code c h Internal extraction generation, m h =Gs (c h ), the value range is 0 to 1; it can be understood that here, m is used l or m h The information of pyramidal structure is explicitly integrated into the generation process of high-quality images. Accurate pyramidal information is crucial in clinical applications. h→h is x h The graph after decomposition and reconstruction should be the same as x h Exactly the same. l→h By x l The content code generated should contain x l The pyramid structure inside the image is reduced, and the artifacts in the generated image are reduced, improving the quality.

[0047] Here, if Figure 2 As shown, in the neural network system, a picture segmenter S is also provided for processing low-quality pictures. l , and a picture segmenter S for processing high-quality pictures h , Image Segmenter S l Can extract image x l→l and x h→l The spine segmentation result of the image segmenter S h Able to extract image x l→h and x h→h The spine segmentation result can be expressed using the following formula:

[0048] y l =S l (x l ),y l→l =S l (x l→l ),y h→l =S l (x h→l ),

[0049] y h =S h (x h ),y l→h =S h (x l→h ),y h→h =S h (x h→h ).

[0050] In this embodiment, Figure 4 As shown, the 3D segmentation network is used to: transform the three-dimensional image X l and X h Decompose into two-dimensional images x l and x h , x lInput the content encoder E in the 2D decoupled network l and artifact encoder E a , x h Input the content encoder E in the 2D decoupled network h ; And the multiple x output by the 2D decoupling network l→h Combined into 3D image X l→h , based on 3D segmentation 3D Image X l→h Extract the segmentation result Y l→h ; Output multiple x h→l Combined into 3D image X h→l , based on 3D segmentation 3D Image X h→l Extract the segmentation result Y h→l ; Based on 3D segmenter X-ray the spine CBCT 3D image l Extract the segmentation result Y l , based on 3D segmentation The spine CT three-dimensional image X h Extract the segmentation result Y h .

[0051] In this embodiment, Figure 3 As shown, the picture decoder G h The processing layers P1, P2 and P3 are arranged in a row. The processing layer P1 at the head of the row receives the content encoder E. l Output content encoding c l or content encoder E h Output content encoding c h , encode the content c l or c h The processing layer P1 at the end of the queue outputs the processing result to the processing layer P2; multiple processing layers P2 are arranged in a row, in which the processing layer P2 at the head of the row receives the processing result of the processing layer P1 at the end of the queue and processes it, and outputs the processing result to the subsequent processing layer P2, and the processing layer P2 at the end of the queue outputs the processing result to the processing layer P3; the processing result of the processing layer P3 is the picture decoder G h The output result is:

[0052] In this embodiment, Figure 3 As shown, the processing layer P1 includes: the processing layer P1 includes: a denormalization layer and a residual unit, wherein the denormalization layer receives the input of the processing layer P1, and a pyramid structure decoder G s The output attention map ml Or note figure m h , and output the processing result to the residual unit. The input of the residual unit is the input of P1 and the output of the denormalization layer. The output of the residual unit is the processing result of the processing layer P1.

[0053] The processing layer P2 includes: a denormalization layer and an upsampling unit, wherein the denormalization layer receives the input of the processing layer P2, and a pyramid structure decoder G s The output attention map m l Or note figure m h , and output the processing result to the up-sampling unit. The input of the up-sampling unit is the input of P2 and the output of the denormalization layer. The output of the up-sampling unit is the processing result of the processing layer P2.

[0054] The processing layer P3 includes: a denormalization layer and a last layer, wherein the denormalization layer receives the input of the processing layer P3 and the pyramid structure decoder G s The output attention map m l Or note figure m h , and outputs the processing result to the last layer. The other input of the last layer is the input of P3, and the output of the last layer is the processing result of the processing layer P3.

[0055] In this embodiment, the denormalization layer includes: an interpolation layer, three convolutional layers and a normalization layer, wherein the interpolation layer has an input attention map m l or m h Perform interpolation processing, a convolution layer will interpolate the m l or m h Encoded into a latent space, and then outputted the space-related parameters γ, β through another two convolutional layers. In addition, the input F in After the normalization layer, the feature with mean 0 and variance 1 is obtained, and then according to the l or m h The learned parameters γ, β are denormalized.

[0056] like Figure 3 As shown, the input of the denormalization layer (AADE) is the pyramidal structured attention map m i And the input features F in . m i It is regarded as a soft semantic graph and input features F at different layers in The denormalization layer includes: an interpolation layer, three convolutional layers and a normalization layer, where the interpolation layer has an attention map m for the input l or m h Perform interpolation processing, a convolution layer will interpolate the m l or m hEncoded into a latent space, and then outputted the space-related parameters γ, β through another two convolutional layers. In addition, the input F in After the normalization layer, the feature with mean 0 and variance 1 is obtained, and then according to the i The learned parameters γ, β are normalized. Here, G h All residual units, upsampling units, and the last convolutional layer in the network use a denormalization layer. This design has two benefits. On the one hand, the structural information learned from the content code can guide the image generation process and prevent the anatomical information from being lost during the upsampling process. On the other hand, the soft semantic map m i Allowing error gradients to be propagated back in decoupled learning makes the encoding of the content code x h→l More precise.

[0057] When training the network, in order to make the training not dependent on x l Relevant annotated data (corresponding high-quality images and segmentations), adversarial losses are used on image sets and structure domains, and consistency constraints are applied between multiple inputs and outputs.

[0058] Here, L1 loss is applied to the network to regularize image reconstruction within the same domain, and adversarial loss is applied to constrain cross-domain image conversion:

[0059]

[0060]

[0061]

[0062] To ensure that the model can remove the artifacts generated in the image conversion process x h →x h→l →x h→l→h A cycle consistency loss is imposed in

[0063] On the other hand, the loss in the anatomical domain exploits the segmentation annotations of high-quality images. and two splitters S l and S h The consistency of the output segmentation results. Through Dice loss, in the high-quality image x h The relevant segmentation results and attention maps impose explicit structural constraints, Dice loss is defined as Where p is the predicted segmentation map, g is the label of the segmentation map, and k is the pixel unit of the image.

[0064] At the same time, due to the consistent invariance of anatomical structures in image reconstruction and image conversion, the L1 loss is used to minimize the distance between related segmentation results.

[0065] The loss function of the final model is a weighted sum of the above losses, optionally setting the weight of the adversarial loss to 1 and the weights of the other losses to 5.

[0066] Here, it is understandable that it is difficult for the 2D decoupled network to maintain the continuity of the segmentation results between adjacent layers. Therefore, in the neural network system, a 3D segmentation network is designed based on the 2D decoupled network, such as Figure 4 As shown, first, the 3D images of CBCT and CT X l and X h is decomposed into a series of 2D images x l and x h , then the pre-trained 2D decoupled network acts as an online image converter to generate the image x l→h and x h→l , reassemble the converted 2D image into a 3D image X l→h and X h→l Finally, a low-quality 3D segmentation and high-quality 3D segmenters Map the images into their corresponding segmentation results respectively:

[0067] Similarly, since the segmentation of CBCT images is not labeled, the network is trained using explicit segmentation constraints on CT images and consistency constraints between the original segmentation and the transformed image segmentation.

[0068] During training, unsupervised learning relies on adding additional encoders, decoders, and discriminators as well as additional constraints, while the actual application process of the network is relatively simple, such as Figure 5 As shown in Figure 2, a low-quality CBCT image containing metal artifacts is l Input the network and output a high-quality generated image X with reduced artifacts l→h and the segmentation result of the spine Y l→h .X l First decompose it into a series of 2D images x l , and then input the trained 2D decoupling network to obtain a series of enhanced artifact-free generated images x l→h , and then combine to get a high-quality generated image X l→h , and finally through the training Get the spine segmentation result Y l→hHere, only the low-quality image encoder E is needed in the 2D decoupling network. l , high-quality image decoder G h and pyramidal structure decoder G s These three network modules.

[0069] here, Figure 6 and Figure 7 Show the effect of the neural network. Figure 8 It shows the basic structure used to build a network. Figure 8 (a) The conv unit has a structure consisting of a padding layer, a 2D convolution layer, a normalization layer, and an activation layer. Fig. 9 This is to describe how the various encoders and decoders in the present invention are composed of Figure 8 The structure is stacked up. For example, E l / E h It is stacked up by three conv units (convolution) and four res units (residual). The numbers in each row are the number of channels, the size of the convolution kernel, the offset size, the pad (edge ​​filling) size, the category of the normalization layer (IN stands for instance norm, bn stands for batchnorm, batch normalization), and the activation function.

[0070] Embodiment 2 of the present invention provides a device for creating a neural network system for CBCT image processing, including the following modules:

[0071] The first data acquisition module is used to acquire multiple spine CBCT three-dimensional images X l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. h The image quality is better than that of the CBCT 3D images, and more than 50% of the CBCT 3D images contain metal artifacts;

[0072] A neural network creation module is used to create a neural network system, wherein the neural network system includes a 2D decoupling network and a 3D segmentation network, wherein the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when the 3D segmentation network receives a 3D CBCT image, the 3D CBCT image is decomposed into a plurality of 2D CBCT images, and the 2D CBCT image is input into the 2D decoupling network, and the result output by the 2D decoupling network is reassembled into a 3D image, and the 3D segmentation result is output by the 3D segmenter;

[0073] Training module for 3D spine CBCT imagesl , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

[0074] In this embodiment, the 2D decoupling network includes:

[0075] Content Encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ;

[0076] Content Encoder E l For CBCT two-dimensional image x l Process and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the content l Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain xl→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l , and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

[0077] Embodiment 3 of the present invention provides a method for processing CBCT images, comprising the following steps:

[0078] Step 1: Obtain multiple spine CBCT 3D images X l ;

[0079] Step 2: Execute the creation method in Example 1 to generate a neural network system, and transform the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l , 3D ImageX l→h And the segmentation result Y l→h .

[0080] Embodiment 4 of the present invention provides a CBCT image processing device, comprising the following modules:

[0081] The second data acquisition module is used to acquire multiple spine CBCT three-dimensional images X l ;

[0082] The data processing module is used to execute the creation method in the first embodiment to generate a neural network system, and convert the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l , 3D ImageX l→h And the segmentation result Y l→h .

[0083] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for creating a neural network system for CBCT image processing, characterized in that: The following steps are involved: Acquire multiple spine CBCT 3D imagesX l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. h The image quality is better than that of the CBCT 3D images, and more than 50% of the CBCT 3D images contain metal artifacts; Creating a neural network system, the neural network system comprising a 2D decoupling network and a 3D segmentation network, the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when receiving the 3D CBCT image, the 3D segmentation network decomposes the 3D CBCT image into a plurality of 2D CBCT images, inputs the 2D CBCT image into the 2D decoupling network, reassembles the result output by the 2D decoupling network into a 3D image, and the 3D segmentation device outputs the 3D segmentation result; Based on the spine CBCT three-dimensional image l , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

2. The creation method according to claim 1, characterized in that: The 2D decoupling network includes: Content Encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ; Content Encoder E l For CBCT two-dimensional image x l Process and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the content l Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain x l→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l , and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

3. The creation method according to claim 2, characterized in that: The 3D segmentation network is used to: The three-dimensional image X l and X h Decompose into two-dimensional images x l and x h , x l Input the content encoder E in the 2D decoupled network l and artifact encoder E a , x h Input the content encoder E in the 2D decoupled network h ; And the multiple x output by the 2D decoupling network l→h Combined into 3D image X l→h , based on 3D segmentation 3D Image X l→h Extract the segmentation result Y l→h ; Output multiple x h→l Combined into 3D image X h→l , based on 3D segmentation 3D Image X h→l Extract the segmentation result Y h→l ; Based on 3D segmenter X-ray the spine CBCT 3D image l Extract the segmentation result Y l , based on 3D segmentation The spine CT three-dimensional image X h Extract the segmentation result Y h .

4. The creation method according to claim 2, characterized in that: Picture Decoder G h include: A plurality of processing layers P1, a plurality of processing layers P2 and a processing layer P3, wherein the plurality of processing layers P1 are arranged in a row, in which the processing layer P1 at the head of the row receives the content encoder E l Output content encoding c l or content encoder E h Output content encoding c h , encode the content c l or c h The processing layer P1 at the end of the queue outputs the processing result to the processing layer P2; multiple processing layers P2 are arranged in a row, in which the processing layer P2 at the head of the row receives the processing result of the processing layer P1 at the end of the queue and processes it, and outputs the processing result to the subsequent processing layer P2, and the processing layer P2 at the end of the queue outputs the processing result to the processing layer P3; the processing result of the processing layer P3 is the picture decoder G h The output result is:

5. The creation method according to claim 4, characterized in that: The processing layer P1 includes: a denormalization layer and a residual unit, wherein the denormalization layer receives the input of the processing layer P1, and a pyramid structure decoder G s The output attention map m l Or note figure m h , and output the processing result to the residual unit. The input of the residual unit is the input of P1 and the output of the denormalization layer. The output of the residual unit is the processing result of the processing layer P1. The processing layer P2 includes: a denormalization layer and an upsampling unit, wherein the denormalization layer receives the input of the processing layer P2, and a pyramid structure decoder G s The output attention map m l Or note figure m h , and output the processing result to the up-sampling unit. The input of the up-sampling unit is the input of P2 and the output of the denormalization layer. The output of the up-sampling unit is the processing result of the processing layer P2. The processing layer P3 includes: a denormalization layer and a final layer, wherein the denormalization layer receives the input of the processing layer P3 and the pyramid structure decoder G s The output attention map m l Or note figure m h , and outputs the processing result to the last layer. The other input of the last layer is the input of P3, and the output of the last layer is the processing result of the processing layer P3.

6. The creation method according to claim 5, characterized in that: The denormalization layer includes: Interpolation layer, three convolutional layers and a normalization layer, where the interpolation layer has an attention map m for the input l or m h Perform interpolation processing, a convolution layer will interpolate the m l or m h Encoded into a latent space, and then output space-related parameters γ, β through another two convolutional layers; in addition, the input F in After the normalization layer, the feature with mean 0 and variance 1 is obtained, and then according to the l or m h The learned parameters γ, β are denormalized.

7. A device for creating a neural network system for CBCT image processing, characterized in that: Includes the following modules: The first data acquisition module is used to acquire multiple spine CBCT three-dimensional images X l , Spine CT 3D image X h and CT 3D images of the spine Among them, spine CBCT three-dimensional image X l The image quality is lower than that of spine CT 3D images. h The image quality is better than that of the CBCT 3D images, and more than 50% of the CBCT 3D images contain metal artifacts; A neural network creation module is used to create a neural network system, wherein the neural network system includes a 2D decoupling network and a 3D segmentation network, wherein the 2D decoupling network is used to receive a 2D CBCT image and perform an artifact removal process on the 2D CBCT image; when receiving a 3D CBCT image, the 3D segmentation network decomposes the 3D CBCT image into multiple 2D CBCT images, inputs the 2D CBCT image into the 2D decoupling network, and reassembles the results output by the 2D decoupling network into a 3D image, and the 3D segmentation device outputs the 3D segmentation result; Training module for 3D spine CBCT images l , Spine CT 3D image X h and CT 3D images of the spine The neural network system is trained.

8. The creation device according to claim 7, characterized in that: The 2D decoupling network includes: Content Encoder E l , artifact encoder E a 、Content Encoder E h , picture decoder G l , picture decoder G h , pyramid structure decoder G s , Image Splitter S l and Image Splitter S h ; Content Encoder E l For CBCT two-dimensional image x l Process and obtain the content code c of CBCT l ; Artifact encoder E a For x l Processing and obtaining CBCT artifact code a; content coder E h Extract CT 2D image x h Content encoding c h ; Image Splitter S l For x l Process and obtain the CBCT spine segmentation image y l ; Image Splitter S h For x h Process and obtain the CT spine segmentation image y h ; Pyramidal structure decoder G s Used to encode the content l Process and obtain the pyramid structure attention map m l , and is also used to encode the content h Process and obtain the pyramid structure attention map m h ; Picture decoder G h Used to encode the content l and pyramidal structure attention map m l Process and get x l→h , and is also used to encode the content c h and pyramidal structure attention map m h Process and get x h→h ; Picture decoder G l Used to encode the content l and artifact code a to obtain x l→l , and is also used to encode the content c h and artifact code a to obtain x h→l ; Image Splitter S l Also used for x l→l Process and obtain the spine segmentation image y l→l , and for x h→l Process and obtain the spine segmentation image y h→l ; Image Splitter S h Also used for x l→h Process and obtain the spine segmentation image y l→h , and for x h→h Process and obtain the spine segmentation image y h→h .

9. A method for processing CBCT images, characterized in that: The following steps are involved: Acquire multiple spine CBCT 3D imagesX l ; Execute the creation method of any one of claims 1 to 6 to generate a neural network system, and transform the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l , 3D ImageX l→h And the segmentation result Y l→h .

10. A CBCT image processing device, characterized in that: Includes the following modules: The second data acquisition module is used to acquire multiple spine CBCT three-dimensional images X l ; A data processing module is used to execute the creation method of any one of claims 1 to 6 to generate a neural network system, and to convert the spine CBCT three-dimensional image X l Input the neural network system to get x l→h , spine segmentation image y h→l , 3D ImageX l→h And the segmentation result Y l→h .