A lung CT registration method based on image and semantic co-metrics

By introducing the cross-modal understanding ability of the CLIP large model into lung CT image registration, combined with image and semantic feature measurement, the shortcomings of deep learning methods in accuracy and robustness are solved, and efficient processing of large-scale deformed images is achieved. Registration provides more accurate medical image registration results.

CN118537382BActive Publication Date: 2024-10-18HEFEI INSTITUTE OF PHYSICAL SCIENCE CHINESE ACADEMY OF SCIENCES +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411000749.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-18
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Existing deep learning methods have low accuracy and robustness in lung CT image registration, especially in large-scale deformation image pair registration tasks, and the time-consuming characteristics of traditional optimization-based methods limit their application.

Method used

Using the cross-modal understanding capability of the CLIP large model, combined with the dissimilarity measurement based on image features and semantic features, the sparse deformation field is mapped to the dense deformation field through the deep neural network model, and a loss function is constructed for unsupervised training to improve registration accuracy. and robustness.

Benefits of technology

It significantly improves the accuracy and robustness of lung CT image registration, can better adapt to image pairs with different scale deformations, shortens registration time, and provides more accurate and reliable results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537382B_ABST
    Figure CN118537382B_ABST
Patent Text Reader

Abstract

The present invention discloses a lung CT registration method based on image and semantic collaborative measurement, which belongs to the field of medical image processing. The present invention utilizes the powerful cross-modal understanding ability and rich external prior knowledge of the CLIP large model, creatively adds a dissimilarity measurement based on the semantic understanding of key points of CLIP to lung CT registration, and combines the traditional dissimilarity measurement based on image features with the dissimilarity measurement based on semantic features, improves the registration accuracy and robustness in a complementary way, and better adapts to the registration task of lung CT images with different scale deformations.
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 processing, and in particular to a lung CT registration method based on image and semantic collaborative measurement. Background Art

[0002] CT image registration is the basis for many clinical applications such as image-guided surgery, surgical planning, tumor monitoring, motion tracking, etc. Lung CT image registration enables doctors to accurately observe changes in lung lesions by accurately aligning lung images at different times, angles or modalities. This not only assists doctors in evaluating disease progression and treatment effects, but also improves the accuracy of lesion detection. In addition, lung CT image registration can also help develop personalized treatment plans to ensure more accurate and effective treatment.

[0003] In recent years, researchers have made a lot of efforts to improve the accuracy of lung CT image registration. For example, pTV-Reg allows sliding movement of the lung edge through total variation regularization. However, due to the time-consuming nature of optimization-based methods, its application areas are relatively limited.

[0004] Recently, deep learning technology has made significant progress in medical image registration. For example, deep learning-based medical image registration methods such as VoxelMorph adopt the concept of "parameter sharing between patients" to memorize the same motion patterns of different patients in the parameters of the neural network, eliminating the time-consuming repeated optimization process between patients in the optimization-based method, and reducing the registration time from minutes to seconds. At present, most deep learning methods for lung CT registration rely on a multi-resolution cascaded U-Net architecture. Although this architecture has a large number of trainable parameters, the final registration accuracy and robustness are still lower than traditional optimization-based registration methods, and suffer from suboptimal performance in the registration task of lung CT image pairs with large-scale deformations.

[0005] With the rapid development of artificial intelligence technology, large models have become a hot topic in research and application. Among them, CLIP, as an outstanding representative of large image-text interactive multimodal models, has set off a revolutionary change in the computer vision community. However, it is worth noting that although CLIP has demonstrated its powerful capabilities in a wide range of fields, its role in the key field of medical image registration has yet to be explored.

[0006] Therefore, it is necessary to design a method to apply the powerful cross-modal understanding ability of the CLIP large model to lung CT image registration, combining the traditional image feature-based dissimilarity metric with the semantic feature-based dissimilarity metric, aiming to improve the accuracy and robustness of deep learning-based lung CT image registration, so as to better adapt to the lung CT image registration task with different scale deformations. Summary of the invention

[0007] The present invention provides a lung CT registration method based on image and semantic collaborative measurement. By utilizing the powerful cross-modal understanding capability of the CLIP large model, a dissimilarity measurement based on the semantic understanding of key points of CLIP is creatively added to the lung CT registration. The traditional dissimilarity measurement based on image features is combined with the dissimilarity measurement based on semantic features. The registration accuracy and robustness are improved in a complementary manner, and the registration task of lung CT images with deformations of different scales is better adapted.

[0008] To achieve the above object, the technical solution adopted by the present invention is: a lung CT registration method based on image and semantic collaborative measurement, characterized in that it includes the following steps:

[0009] Step S1: preprocessing the floating image of the registration source and the fixed image of the registration target, extracting sparse key points in the lungs of the two using a specific interest operator, and obtaining floating key points and fixed key points;

[0010] Step S2: Calculate the image features of the entire floating image and the image features of the entire fixed image, as well as the floating key point image features and the fixed key point image features, and use the CLIP model to generate content-based semantic features for describing the floating key points and the fixed key points in the specified size neighborhood of the axial, coronal and sagittal planes, namely, the floating key point semantic features and the fixed key point semantic features, and then use these image features and semantic features to construct a cost tensor;

[0011] Step S3: Determine whether it is necessary to build and train a deep neural network model, if so, proceed to step S4, if not, proceed to step S6;

[0012] Step S4: construct a deep neural network model, including an encoder and a decoder, map the cost tensor into a sparse deformation field, and extrapolate it to a dense deformation field;

[0013] Step S5: obtaining paired 3DCT data, constructing a loss function using the specific image feature differences of all voxels and the key point semantic feature differences of the fixed image and the floating image distorted by the dense deformation field obtained by the deep neural network model, and performing unsupervised training on the deep neural network model;

[0014] Step S6: Use the trained deep neural network model to map the cost tensor into a sparse deformation field, then extrapolate it to a dense deformation field, and use the dense deformation field to distort the floating image to obtain the registration result.

[0015] The present invention has the following beneficial effects:

[0016] By utilizing the excellent cross-modal understanding ability and rich external prior knowledge of the CLIP large model, a dissimilarity metric based on the semantic understanding of key points of CLIP is introduced for lung CT image registration, combining the traditional dissimilarity metric based on image features with the dissimilarity metric based on semantic features, and improving the accuracy and robustness of lung CT image registration in a complementary way, which can better adapt to deformations of various scales. This invention is of great significance to the research and practice in the field of medical imaging, and can provide doctors and researchers with more accurate and reliable lung CT image registration results. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is an overall flow chart of a dose-free real-time reconstruction method of chest CT during breathing provided by an embodiment of the present invention.

[0018] Figure 2 It is a specific flow chart of a dose-free real-time reconstruction method for chest CT during breathing provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following describes in detail the implementation mode of the present invention in conjunction with the drawings and examples. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0020] The embodiment of the present invention provides a method for real-time reconstruction of chest CT without dose during breathing, such as Figure 1 As shown, it mainly includes the following steps:

[0021] Step S1, preprocessing the floating image of the registration source and the fixed image of the registration target, using a specific interest operator to extract sparse key points in the lungs of the two, and obtaining floating key points and fixed key points.

[0022] like Figure 2 As shown, the specific process is as follows:

[0023] 1) Get the original floating image (registration source) and the original fixed image (registration target), and sample them to the specified shape , D, H and W represent the specified image depth, height and width respectively, and the CT values ​​of the two are clipped to the specified range [0,2000] to obtain a floating image and fixed images . Optionally, in the embodiment of the present invention, D, H, and W are set to 192, 160, and 192, respectively.

[0024] 2) Further, preferably, the sparse key points in the lung are extracted using the Foerstner interest operator. Processing as feature map The process is as follows:

[0025]

[0026] in, represents the Gaussian kernel used for smoothing, describes the variance of the Gaussian kernel, represents the trace of the matrix, is an image gradient operator. Optionally, in this embodiment of the present invention, Set to 1. The sparse key point set is denoted by P, and the construction method of P is implemented by non-maximum suppression, that is, for the image generated using the specific interest operator , using the maximum pooling operation, with a pooling kernel of size d and a step size of 1 to S, extract , then it will satisfy , and the voxels located in the lung mask are added to the sparse key point set P. Optionally, in this embodiment of the present invention, d and S are set to 5 and 1 respectively.

[0027] 3) Further, the size of the sparse key point set P is sampled to a specified value Preferably, when When the farthest point sampling is adopted, When , insert the random points that already exist in P. The farthest point sampling algorithm starts from a random point in the point set and iteratively adds the point farthest from all current sampling points to the sampling, thereby ensuring a good distribution of the point set. Optionally, in this embodiment of the present invention, Set to 2048.

[0028] Step S2, calculates the image features of the entire floating image and the image features of the entire fixed image, as well as the floating key point image features and the fixed key point image features, and uses the CLIP model to generate content-based semantic features for describing the floating key points and the fixed key points in the specified size neighborhood in the axial, coronal and sagittal planes, namely, the floating key point semantic features and the fixed key point semantic features, and then constructs the cost tensor using these image features and semantic features.

[0029] like Figure 2 As shown, the specific process is as follows:

[0030] 1) For the floating image and fixed images , generated using specific image feature descriptors The specific image features of all voxels of the dimension and the specific image features of the sparse key point set P are used to obtain the image features of the entire floating image. , the image features of the entire fixed image , floating key point image features and fixed keypoint image features .

[0031] 2) Further, for the floating image and fixed images , using the CLIP model to generate content-based understanding of each sparse key point in the sparse key point set P within a specified size neighborhood in the axial, coronal and sagittal planes dimensional semantic feature vector, and assemble the semantic feature vectors of the three planes into a semantic feature matrix , get the floating key point semantic features and fixed keypoint semantic features .

[0032] 3) Further, the cost tensor based on SSD (residual sum of squares) is constructed using the following formula: :

[0033] ,

[0034] The first model is based on the difference between floating and fixed images of key point image features, and the second model is based on the difference between floating and fixed images of key point semantic features. is a coefficient used to control the importance of the two, i, j and k are only used as temporary index variables for summation. Optionally, in this embodiment of the present invention, Set to 0.5.

[0035] Step S3, determine whether training is needed, if so, go to step S4, if not, go to step S6 including the following contents: If the model has not been built and trained, or if the model accuracy needs to be improved as much as possible if there is sufficient time, training is required, go to step S4, otherwise go to step S6.

[0036] Step S4, constructing a deep neural network model, including an encoder and a decoder, mapping the cost tensor into a sparse deformation field, and extrapolating it to a dense deformation field.

[0037] like Figure 2 As shown, the specific process is as follows:

[0038] 1) Build a deep neural network model , which is used to convert the cost tensor Mapping to a sparse deformation field , is the deep neural network model The deep neural network model At least one CNN (convolutional neural network) based encoder, one CNN based decoder, and a multi-resolution cascaded message path between the encoder and the decoder. Preferably, in this embodiment of the present invention, the deep neural network model It includes a multi-resolution cascade structure formed by two encoder-decoders, and a graph neural network is added between the last layer of the encoder and the first layer of the decoder for regularization.

[0039] 2) Further, for the deep neural network model The obtained sparse deformation field , using extrapolation (linear upsampling) to generate a dense displacement field , which is equivalent to the dense deformation field Smoothing regularization is applied. Preferably, in an embodiment of the present invention, trilinear extrapolation is used.

[0040] Step S5: Obtain a large amount of paired 3DCT data, construct a loss function using the specific image feature differences of all voxels of the fixed image and the floating image distorted by the dense deformation field obtained by the deep neural network model and the semantic feature differences of the sparse key points, and perform unsupervised training on the deep neural network model.

[0041] like Figure 2 As shown, the specific process is as follows:

[0042] 1) Get N 3DCT data and arrange them into at most Floating-fixed image pairs, and then use these floating-image pairs as training samples to construct the cost tensor using the S2 step and use the S3 step to describe the deep neural network model The cost tensor Mapped to the sparse deformation field , and obtain the dense deformation field by extrapolation .

[0043] 2) Further, use the loss function The deep neural network model Parameters To train:

[0044] ,

[0045] The first term penalizes the dissimilarity of image features, and the second term penalizes the dissimilarity of semantic features. Represents the image features of the entire floating image According to the dense deformation field The image features after distortion, Represents the semantic features of the key points According to the sparse deformation field The distorted semantic features, The weight coefficient is used to control the balance between the image feature dissimilarity measure and the semantic feature dissimilarity measure. To find the norm. Optionally, in this embodiment of the present invention, Set to 0.5. "Warp" means that the image features of the entire floating image or the points of the floating key point semantic features are displaced according to the deformation field, and then the image features of the entire floating image or the floating key point semantic features are sampled to the positions of the original feature points. The loss function It can also be used as the objective function for traditional optimization-based lung CT image registration.

[0046] 3) Further, the feature map or sparse semantic map is sampled to the position of each point in the original image.

[0047] Step S6: Using the trained lung CT registration deep neural network model, the cost tensor is mapped into a sparse deformation field, which is then extrapolated to a dense deformation field and used to warp the floating image to obtain the registration result.

[0048] like Figure 2 As shown, the specific process is as follows:

[0049] 1) For the cost tensor obtained in step S3 , using the trained deep neural network model Mapped to the sparse deformation field , and obtain the dense deformation field by extrapolation .

[0050] 2) Further, using dense deformation field The floating image before preprocessing described in S1 is distorted to obtain a registration result.

[0051] It can be seen from the technical solutions of the above embodiments that the present invention utilizes the powerful cross-modal understanding ability and rich external prior knowledge of the CLIP large model, creatively adds a dissimilarity metric based on the semantic understanding of key points of CLIP to the lung CT registration, and combines the traditional dissimilarity metric based on image features with the dissimilarity metric based on semantic features, thereby improving the registration accuracy and robustness in a complementary manner, and better adapting to the lung CT image registration tasks with different scale deformations.

[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A lung CT registration method based on image and semantic co-metrics, characterized in that: The following steps are involved: Step S1: preprocessing the floating image of the registration source and the fixed image of the registration target, extracting sparse key points in the lungs of the two using an interest operator, and obtaining floating key points and fixed key points; Step S2: Calculate the image features of the entire floating image and the image features of the entire fixed image, as well as the floating key point image features and the fixed key point image features, and use the CLIP model to generate content-based semantic features for describing the floating key points and the fixed key points in the specified size neighborhood of the axial, coronal and sagittal planes, namely, the floating key point semantic features and the fixed key point semantic features, and then use these image features and semantic features to construct a cost tensor; Step S3: Determine whether it is necessary to build and train a deep neural network model, if so, proceed to step S4, if not, proceed to step S6; Step S4: construct a deep neural network model, including an encoder and a decoder, map the cost tensor into a sparse deformation field, and extrapolate it to a dense deformation field; Step S5: Acquire paired 3DCT data, construct a loss function using image feature differences of all voxels and key point semantic feature differences of the fixed image and the floating image distorted by the dense deformation field obtained by the deep neural network model, and perform unsupervised training on the deep neural network model; Step S6: using the trained deep neural network model, mapping the cost tensor into a sparse deformation field, then extrapolating it to a dense deformation field, and using the dense deformation field to distort the floating image to obtain the registration result; Step S2 includes the following: for the floating image and fixed images , generated using image feature descriptors The image features of all voxels in the dimension and the image features of the sparse key point set P are used to obtain the image features of the entire floating image. , the image features of the entire fixed image , floating key point image features and fixed keypoint image features , then, for the floating image and fixed images , using the CLIP model to generate content-based understanding of each sparse key point in the sparse key point set P within a specified size neighborhood in the axial, coronal and sagittal planes dimensional semantic feature vector, and assemble the semantic feature vectors of the three planes into a semantic feature matrix , get the floating key point semantic features and fixed keypoint semantic features , and then use the following formula to construct the cost tensor based on the residual sum of squares SSD : , The first one models the difference between floating and fixed images based on key point image features, and the second one models the difference between floating and fixed images based on key point semantic features. is a coefficient used to control the importance of the two. i, j and k are only used as temporary index variables for summation. Step S5 includes the following: First, obtain N 3DCT data and arrange them into at most Floating-fixed image pairs, and then use the floating-image pairs as training samples and use step S2 to construct the cost tensor , and use step S3 deep neural network model The cost tensor Mapping to a sparse deformation field , and obtain the dense deformation field by extrapolation Then, using the loss function For deep neural network models The learnable parameters To train: , The first term penalizes the dissimilarity of image features, and the second term penalizes the dissimilarity of semantic features. Image features representing the entire floating image According to the dense deformation field The image features after distortion, Representing key point semantic features According to the sparse deformation field The distorted semantic features, To control the weight coefficient of the balance between the image feature dissimilarity measure and the semantic feature dissimilarity measure, To obtain the norm, distortion refers to displacing each point of the image features of the entire floating image or the semantic features of the floating key points according to the deformation field, and then sampling the image features of the entire floating image or the semantic features of the floating key points to the positions of the original feature points.

2. The lung CT registration method based on image and semantic collaborative metric according to claim 1, characterized in that: Step S1 includes the following: obtaining a floating image and a fixed image, and sampling both of them to a specified shape , where D represents the depth of the image, H represents the height of the image, and W represents the width of the image. The CT values ​​of the two are clipped to the specified range to obtain a floating image and fixed images , Representing the space, the Foerstner operator is then used to extract the sparse key points in the lungs. The sparse key point set is represented by P, and the construction of P is implemented by non-maximum suppression, that is, for the image generated by the Foerstner operator , using the maximum pooling operation, using a pooling kernel of size d and a step size of 1 to S to extract the maximum value of the image , then it will satisfy , and the voxels located in the lung mask are added to the sparse key point set P, and then the size of the sparse key point set P is sampled to the specified value .

3. The lung CT registration method based on image and semantic collaborative metric according to claim 2, characterized in that: Step S3 includes the following contents: If the deep neural network model has not been built and trained, build and train it and go to step S4, otherwise go to step S6.

4. The lung CT registration method based on image and semantic collaborative metric according to claim 3, characterized in that: Step S4 includes the following: Building a deep neural network model , used to convert the cost tensor Mapping to a sparse deformation field , It is a deep neural network model Learnable parameters of deep neural network model At least one CNN-based encoder, one CNN-based decoder, and a multi-resolution cascaded message path between the encoder and the decoder. Then, for the deep neural network model The obtained sparse deformation field , using extrapolation operation, i.e. linear upsampling, to generate a dense displacement field , the extrapolation operation is equivalent to the dense deformation field Applies smoothing regularization.

5. The lung CT registration method based on image and semantic collaborative metric according to claim 4, characterized in that: Loss Function as the objective function for optimization-based lung CT image registration.

6. The lung CT registration method based on image and semantic collaborative metric according to claim 4, characterized in that: Step S6 includes the following: for the cost tensor obtained in step S3 , the trained deep neural network model Mapping to a sparse deformation field , and obtain the dense deformation field by extrapolation , then, using the dense deformation field The floating image in step S1 is distorted to obtain the registration result.

Citation Information

Patent Citations

  • Image registration method combining target detection and semantic segmentation

    CN110097584A

  • Urban information model-oriented three-dimensional semantic map construction method

    CN115272599A