Image registration method and system for 4D respiratory motion synthesis

By learning spatial deformation information and the Euler integration method to generate a deformation field, the problem of nonlinear large deformation caused by lung breathing movement in medical images is solved, high-precision image registration and motion continuity are achieved, and new medical images are provided. Processing Tools.

CN118014977BActive Publication Date: 2024-10-22SHANDONG UNIV
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410260836.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-07
Publication Date
2024-10-22
Estimated Expiration
2044-03-07

AI Technical Summary

Technical Problem

When generating medical images, it is difficult for the existing technology to effectively solve the problem of complex nonlinear large deformation caused by lung breathing movement, and methods based on GAN and diffusion models have problems with generating artificial features and insufficient temporal continuity.

Method used

The image registration method of 4D respiratory motion synthesis is used to generate intermediate states by learning the spatial deformation information between the floating image and the fixed image. The Euler integral method is used to solve the velocity field and generate several deformation fields to distort the floating image to form a continuous Time-frame images of trajectories, combined with loss functions for diffusion loss, similarity measure, smoothness, and resistance to folding loss, ensure model accuracy.

Benefits of technology

It effectively generates intermediate time images between two breathing states, improves the accuracy and motion continuity of lung image registration, and has broad application potential in medical image processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118014977B_ABST
    Figure CN118014977B_ABST
Patent Text Reader

Abstract

The present invention provides a 4D respiratory motion synthesis image registration method and system, belonging to the field of image registration technology. The registration method includes: learning the spatial deformation information between the floating image and the fixed image, and generating an intermediate state; generating a velocity field according to the intermediate state and the floating image, and generating a plurality of deformation fields after solving the velocity field; each deformation field distorts the floating image to different degrees, and generates a time frame image of a continuous trajectory to achieve the purpose of 4D respiratory motion synthesis; the present invention can effectively generate a sequence image with motion continuity between two respiratory states, which is very meaningful for studying lung image registration or other diseases in the respiratory process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image registration, and in particular to a 4D respiratory motion synthesis image registration method, a 4D respiratory motion synthesis image registration device, a computer device, a computer-readable storage medium and a computer program product. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] In the field of lung registration, the complex, nonlinear, and large deformation problems caused by the respiratory motion of the lungs pose a huge challenge to the registration task. In order to effectively deal with this problem, the use of 4D CT sequence images to provide rich temporal information and the use of temporal prior information to guide the registration process has become an effective method to solve the registration problem caused by breathing. 4D CT combines traditional CT scanning technology with time series information to provide three-dimensional image data about the dynamic changes of lung organs or tissues in time. However, due to the high cost of 4D CT image acquisition and the potential harm of radiation to the human body, it is difficult to obtain 4D CT sequence images. Medical image generation technology can solve the problem of data scarcity and provide better support for clinical diagnosis and treatment.

[0004] In the field of medical image generation, research based on deep learning technology has made significant progress. One of the main methods currently used is based on Generative Adversarial Networks (GAN). The GAN model can automatically learn the features in the image data through the training process and generate new images similar to the original images. However, the artificial features that may be generated by the GAN model are inconsistent with the anatomical structure. Another method of generating images is based on deformable image registration. The floating image is distorted according to the generated smooth deformation field to achieve the purpose of generating new images. Most of this method focuses on three-dimensional image generation. The diffusion model has been proposed to be applied to the field of medical image generation. In this method, the diffusion module estimates the intermediate state, and then the intermediate states obtained by interpolation are sent to the deformation module to generate time frames along a continuous trajectory. However, generating continuous time frames only by simply interpolating the intermediate states cannot guarantee that the generated images have structural motion continuity. The above methods have solved the problem of image generation to a certain extent, but they also have certain limitations. Among them, the GAN model will generate artificial features that are not desirable in medicine. Some research methods based on deformable image registration are also mostly focused on three-dimensional images. The method based on the diffusion model lacks the interpretability of time continuity through simple interpolation of intermediate states. Summary of the invention

[0005] In order to address the deficiencies of the prior art, the present invention provides a 4D respiratory motion synthesized image registration method and system, which can effectively generate a sequence of images with motion continuity between two respiratory states, which is very meaningful for studying lung image registration or other diseases in the respiratory process.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a 4D respiratory motion synthesized image registration method.

[0008] A 4D respiratory motion synthesis image registration method includes the following steps:

[0009] Learn the spatial deformation information between the floating image and the fixed image and generate the intermediate state;

[0010] Generate a velocity field based on the intermediate state and the floating image, and generate several deformation fields after solving the velocity field;

[0011] Each deformation field distorts the floating image in different degrees to generate a time frame image of a continuous trajectory for use in 4D respiratory motion synthesis between the floating image and the fixed image (the floating image and the fixed image constitute an image pair).

[0012] As a further limitation of the first aspect of the present invention, generating a velocity field according to the intermediate state and the floating image includes:

[0013] Estimate the velocity field from the floating image to the fixed image based on the intermediate state.

[0014] As a further limitation of the first aspect of the present invention, learning spatial deformation information between a floating image and a fixed image and generating an intermediate state includes:

[0015] Deterministic random Gaussian noise is added to the fixed image to control the interference removal of the back diffusion process, learn the Markov transformation from Gaussian noise to data distribution, and generate an intermediate state with spatial deformation information from floating image to fixed image.

[0016] As a further limitation of the first aspect of the present invention, a fully convolutional neural network is used to generate a velocity field based on the intermediate state and the floating image.

[0017] As a further limitation of the first aspect of the present invention, a plurality of deformation fields are generated after solving the velocity field using the Euler integration method.

[0018] As a further limitation of the first aspect of the present invention, each deformation field distorts the floating image to different degrees to generate a time frame image of a continuous trajectory, including:

[0019] The deformation field and floating image are sent to the spatial transformation network to obtain a sequence image with motion continuity.

[0020] As a further limitation of the first aspect of the present invention, the total loss function is the sum of diffusion loss, similarity measure between floating images and fixed images, smoothness loss and anti-folding loss.

[0021] In a second aspect, the present invention provides an image registration device for 4D respiratory motion synthesis.

[0022] A 4D respiratory motion synthesis image registration device, comprising:

[0023] An intermediate state generation unit is configured to: learn spatial deformation information between the floating image and the fixed image, and generate an intermediate state;

[0024] The deformation field generating unit is configured to: generate a velocity field according to the intermediate state and the floating image, and generate a plurality of deformation fields after solving the velocity field;

[0025] The continuous image generation unit is configured to: each deformation field distorts the floating image at different degrees to generate a time frame image of a continuous trajectory for use in 4D respiratory motion synthesis between the floating image and the fixed image.

[0026] In a third aspect, the present invention provides a computer device, comprising: a processor and a computer-readable storage medium;

[0027] a processor adapted to execute a computer program;

[0028] A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the image registration method for 4D respiratory motion synthesis as described in the first aspect of the present invention is implemented.

[0029] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program is suitable for being loaded by a processor and executing the image registration method for 4D respiratory motion synthesis as described in the first aspect of the present invention.

[0030] In a fifth aspect, the present invention provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the image registration method for 4D respiratory motion synthesis as described in the first aspect of the present invention is implemented.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The present invention innovatively proposes an image registration method for 4D respiratory motion synthesis, in which a diffusion module is used to learn the spatial deformation information between a floating image and a fixed image and generate an intermediate state; the intermediate state is sent to a deformation module and used together with a floating image to generate a flow field; the flow field is solved using the Euler integral method, and the generated deformation fields can distort the floating image to different degrees, thereby generating a time frame of a continuous trajectory; through the above scheme, an intermediate time image between two respiratory states can be effectively generated, which is very meaningful for studying lung image registration or other diseases in the respiratory process, and the model proposed by the present invention has broad application potential and can provide new tools and techniques for the field of medical image processing.

[0033] The present invention uses the sum of diffusion loss, similarity measurement between floating images and fixed images, smoothness loss and anti-folding loss as the total loss function, which can effectively ensure the model accuracy and improve the accuracy of registration.

[0034] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0036] Figure 1 A schematic diagram of a flow chart of a 4D respiratory motion synthesis image registration method provided in Example 1 of the present invention;

[0037] Figure 2 A schematic diagram of a 4D respiratory motion synthesis image registration method provided in Example 1 of the present invention;

[0038] Figure 3 A schematic diagram of the structure of a fully convolutional network model provided in Example 1 of the present invention;

[0039] Figure 4 A schematic diagram of a 4D respiratory motion synthesis image registration device provided in Example 2 of the present invention;

[0040] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Example 3 of the present invention. DETAILED DESCRIPTION

[0041] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0042] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0043] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0044] Embodiment 1:

[0045] In the embodiment, a 4D respiratory motion synthesis differential homeomorphic image registration method is proposed. The technical terms and related concepts involved in this processing scheme are briefly introduced below, where:

[0046] Medical image registration refers to seeking one or a series of spatial transformations for a medical image so that it can be spatially consistent with the corresponding points on another medical image. This consistency means that the same anatomical point on the human body has the same spatial position on the two matching images. The result of the registration should match all anatomical points on the two images, or at least all points of diagnostic significance and points of surgical interest.

[0047] Denoising Diffusion Probabilistic Models (DDPM) is a parameterized Markov chain trained by variational inference. The denoising diffusion probability model (hereinafter referred to as the diffusion model) is a type of deep generative model, which usually includes two processes: the first is the forward diffusion process, and the second is the reverse diffusion process. The Markov chains in both directions are composed of a finite number of time steps; among them, the forward diffusion process is a parameter-free Markov chain, while the reverse diffusion process requires a learning algorithm to train the model.

[0048] Random Gaussian noise, also called white noise or random noise, is a random signal or interference that follows a Gaussian (normal) distribution. It is characterized by a constant power spectral density at all frequencies, making it appear as random fluctuations of equal energy at different frequencies. From a practical point of view, Gaussian noise refers to random changes or disturbances that occur in various systems and processes. It is present in many natural phenomena, such as atmospheric disturbances, thermal noise in electronic circuits, and even background noise in communication channels. Gaussian noise can also be added artificially to signals or data for various purposes, such as testing and simulating real environmental conditions. In graphical representation, Gaussian noise appears as a random pattern of values ​​that are concentrated around the mean or average and are less abundant at the extremes. This distribution is mathematically described by the Gaussian probability density function.

[0049] Fully Convolutional Networks (FCN) is a framework for image semantic segmentation proposed by Jonathan Long et al. in the paper Fully Convolutional Networks for Semantic Segmentation in 2015. It is the pioneering work in the field of deep learning for semantic segmentation. FCN replaces the fully connected layer behind the traditional CNN with a convolutional layer, so that the output of the network will be a heat map rather than a category; at the same time, in order to solve the problem of image size reduction caused by convolution and pooling, upsampling is used to restore the image size; the FCN network structure is mainly divided into two parts: the full convolution part and the deconvolution part. The full convolution part is some classic CNN networks (such as VGG, ResNet, etc.) used to extract features; the deconvolution part obtains the original size of the semantic segmentation image through upsampling. The input of FCN can be a color image of any size, and the output is the same size as the input.

[0050] Spatial Transformer Networks (STN) are a neural network module that can be inserted into any existing convolutional neural network (CNN) to enhance the model's ability to resist disturbances caused by geometric transformations. The main function of STN is to perform spatial transformations within the network, that is, to automatically perform the required geometric transformations such as scaling, shearing, and rotation on the data as it passes through the network, so that the network can better adapt to the geometric shape of the input data.

[0051] Euler integral focuses on the physical quantity of the fluid particles flowing through each spatial point in the flow field. It is related to both time and spatial position. Through calculation, the flow state of the entire flow field can be finally obtained.

[0052] The ReLU function is a common activation function. Its calculation is generally performed after convolution. Therefore, it is a nonlinear activation function like the tanh function and the sigmoid function. The reciprocal of the ReLU function is always equal to 1 in the positive part. Therefore, using the ReLU activation function in a deep network will not lead to problems such as small gradients and explosions. In addition, the ReLU function has a fast calculation speed, which speeds up the training of the network.

[0053] Trilinear interpolation is a method of linear interpolation on three-dimensional discrete sampled data. It not only considers the interpolation problem of the two-dimensional plane, but also adds a third dimension (z-axis), which means that when interpolating, it is necessary to consider not only the sample points in the x and y directions, but also the sample points in the z direction. The calculation result of trilinear interpolation has nothing to do with the order of interpolation calculation. No matter which dimension is interpolated in which order, the final result is the same; in addition, trilinear interpolation can be regarded as the first-order B-spline interpolation of three-dimensional tensor; it has a wide range of applications in numerical analysis, data analysis, and computer graphics, including edge detection and Gaussian filtering in image processing, and correction of gradient histogram in feature extraction such as HOG feature extraction.

[0054] Downsampling, also known as subsampling in the field of digital signal processing, is a multi-rate digital signal processing technology or the process of reducing the signal sampling rate. It is usually used to reduce the data transmission rate or data size. It is complementary to interpolation, which is used to increase the sampling frequency.

[0055] Specifically, the image registration method for 4D respiratory motion synthesis provided by the present invention generates several intermediate time images and connects two lung images of extreme respiratory states. The model consists of a diffusion module and a deformation module. The diffusion module is used to learn the spatial deformation information between the floating image and the fixed image and generate an intermediate state. The intermediate state is sent to the deformation module and used together with the floating image to generate a flow field. The flow field is solved using the Euler integral method. The generated several deformation fields can distort the floating image to different degrees, thereby generating a time frame of a continuous trajectory. Through this method, an intermediate time image between two respiratory states can be effectively generated, which is very meaningful for studying lung image registration or other diseases in the respiratory process. The model proposed by the present invention has broad application potential and can provide new tools and techniques for the field of medical image processing.

[0056] Specifically, Figure 1 As shown, the following process is included:

[0057] S1: Learn the spatial deformation information between the floating image and the fixed image and generate the intermediate state;

[0058] S2: Generate a velocity field based on the intermediate state and the floating image, and generate several deformation fields after solving the velocity field;

[0059] S3: Each deformation field distorts the floating image to different degrees, generating a time frame image of a continuous trajectory to achieve registration between the floating image and the fixed image.

[0060] like Figure 2As shown in the figure, M represents the floating image, F represents the fixed image, and xt represents the fixed image after adding deterministic perturbations. After being fed to the diffusion module, the intermediate state z and the floating image M are generated and sent to the deformation module. The deformation module estimates the velocity field from the floating image to the fixed image according to the intermediate state z. Let the deformation time from the floating image to the fixed image be t. In order to simplify the training process and calculation, t is set to unit 1, and the total time is divided into several time steps. The subsequent deformation fields can be used to use the single time step Euler integral (i.e. Figure 2 In ) method to solve, I1,I2I3,I w The generated image.

[0061] In S1, the specific process is implemented by the diffusion module, including:

[0062] The diffusion module is implemented based on the denoising diffusion probability model, which combines the ideas of diffusion process and probability modeling. The basic principle is to introduce random Gaussian noise into the original image, which is called the forward diffusion process. In the reverse diffusion process, the noise is removed from the noisy image. Suppose the original data is x0~q(x), and the disturbance noise is continuously added. The distribution of x at time t can be expressed as shown in formula (1-1):

[0063]

[0064] Among them, β t is a predefined hyperparameter that determines the variance and mean of the Gaussian noise added to the forward diffusion process. t |x t-1 ) is the distribution obtained by adding Gaussian noise to the original data x0 during the forward diffusion process. By DDPM, we can get x at any time step. t The distribution of is shown in formula (1-2):

[0065]

[0066] in, α t =1-β t , ε0 is a known Gaussian distribution that obeys (0,I), that is, the disturbance of the forward diffusion process.

[0067] When the time step t approaches a sufficiently large T, x T The distribution of x0 is derived from the distribution of T ) cannot be obtained directly from the calculation formula. We can use the neural network model to learn the parameterized Gaussian process and define the Gaussian process as a learnable Markov chain. t The distribution of x t-1The distribution of x0 is solved until the distribution of x0 is solved, as shown in formula (1-3). In summary, the inverse denoising process of DDPM is modeled as p θ (x t-1 |x t ), where θ is the parameter of the network model:

[0068]

[0069]

[0070] Among them, μ θ (x t ,t) is the mean value learned by the neural network model, To fix the variance, using the above conditions and the known perturbation x t , the diffusion module can learn to obtain an intermediate state z, which compares the floating and fixed images and contains the spatial deformation information of the floating image mapped to the fixed image.

[0071] In S2, the specific process is implemented by the deformation module, including:

[0072] After obtaining the intermediate state z, it is sent to the deformation module together with the floating image. The module is essentially a combination of a fully convolutional neural network (Fully Convolutional Neural Network) similar to a U-shaped network structure, an ordinary differential equation solver, and a differentiable space transformation network. The FCN network structure is similar to the U-Net network structure, such as Figure 3 As shown in the figure, the network consists of three layers of encoder and decoder. For the first layer of downsampling, a convolution layer with a convolution kernel of 3×3×3 is used to perform initial feature mapping on the input, and then the ReLU activation function is used for calculation; the feature map is downsampled to half of the original size through trilinear interpolation until the bottom layer. The bottom layer contains two convolution layers with a convolution kernel of 3×3×3. After the feature map passes through the bottom layer, it is sent to the decoder;

[0073] Each layer of the decoder will be connected to the feature map of the encoder using a skip connection method. Each layer of the decoder has two consecutive convolution layers with a convolution kernel of 3×3×3 and upsampling with trilinear interpolation to increase the size to twice the original size. Finally, a convolution layer with a convolution kernel of 5×5×5 generates a velocity field V from floating image to fixed image. MF .

[0074] The model proposed in this invention assumes that the velocity field V MF (v) is the static velocity field, and the total displacement vector field from the floating image to the fixed image is Then we have the differential equation shown in formula (1-5):

[0075]

[0076] Specifically, in S3, in order to generate a time frame between two extreme images, the large deformation from the floating image to the fixed image is split into a number of gradual small deformations, and the small deformation is set to a single equal time step in the total time. Assuming 4 time steps, according to the Euler integration method, formula (1-6) can be obtained:

[0077]

[0078] in, is the synthesis operator, let the floating image be I M , fixed image is I F , represents the zero displacement field, Represents the displacement field of the floating image directly to the fixed image registration, then the output image sequence is I N =I M ,I1,I2,I3,I w ,Right now:

[0079]

[0080] The model proposed in the present invention is optimized according to the following loss function, which includes the diffusion loss of the diffusion model, the similarity function of the registered image and the fixed image, the smoothness constraint and the anti-folding constraint of the deformation field:

[0081]

[0082] Among them, L diffusion is the diffusion loss, which is the loss function optimized by the diffusion model in the inverse denoising process, λ smooth , is the smoothness loss coefficient of 0.001, λ jac is the anti-folding loss coefficient of 0.01. For floating images and fixed images, the diffusion loss calculation formula is shown in (9), ε θ is the parameter that the diffusion model network needs to learn and optimize, and ε0 is the known noise of the forward diffusion process.

[0083]

[0084] Among them, L simi It is the similarity measure between the floating image and the fixed image to measure the similarity between the two images. The similarity loss constraint between images uses the normalized correlation coefficient, as shown in formula (1-10), L smooth is the smoothness loss to constrain the generated deformation field to maintain the true physiological deformation law. The smoothness loss uses the L2 norm of the deformation field gradient, L jacIn order to resist folding loss, the number of negative values ​​in the Jacobian matrix determinant of the deformation field is used, as shown in formula (1-11):

[0085]

[0086]

[0087] Embodiment 2:

[0088] like Figure 4 As shown, Embodiment 2 of the present invention provides an image registration device for 4D respiratory motion synthesis, comprising:

[0089] An intermediate state generation unit is configured to: learn spatial deformation information between the floating image and the fixed image, and generate an intermediate state;

[0090] The deformation field generating unit is configured to: generate a velocity field according to the intermediate state and the floating image, and generate a plurality of deformation fields after solving the velocity field;

[0091] The continuous image generation unit is configured to: each deformation field distorts the floating image in different degrees to generate a time frame image of a continuous trajectory to achieve registration between the floating image and the fixed image.

[0092] The intermediate state generation unit is more specifically implemented using a diffusion module, including:

[0093] The basic principle of the diffusion module is to introduce random Gaussian noise into the original image, which is called the forward diffusion process. In the reverse diffusion process, the noise is removed from the noisy image. Suppose the original data is x0~q(x), and the disturbance noise is continuously added. Suppose the distribution of x at time t can be expressed as shown in formula (2-1):

[0094]

[0095] Among them, β t is a predefined hyperparameter that determines the variance and mean of the Gaussian noise added to the forward diffusion process. t |x t-1 ) is the distribution obtained by adding Gaussian noise to the original data x0 during the forward diffusion process. By DDPM, we can get x at any time step. t The distribution of is shown in formula (2-2):

[0096]

[0097] in, α t =1-β t , ε0 is a known Gaussian distribution that obeys (0, 1), that is, the perturbation of the forward diffusion process.

[0098] When the time step t approaches a sufficiently large T, x T The distribution of x0 is derived from the distribution of T ) cannot be obtained directly from the calculation formula. We can use the neural network model to learn the parameterized Gaussian process and define the Gaussian process as a learnable Markov chain. t The distribution of x t-1 The distribution of x0 is solved until the distribution of x0 is solved, as shown in formula (2-3). In summary, the inverse denoising process of DDPM is modeled as p θ (x t-1 |x t ), where θ is the parameter of the network model:

[0099]

[0100]

[0101] Among them, μ θ (x t ,t) is the mean value learned by the neural network model, To fix the variance, using the above conditions and the known perturbation x t , the diffusion module can learn to obtain an intermediate state z, which compares the floating and fixed images and contains the spatial deformation information of the floating image mapped to the fixed image.

[0102] The deformation field generation unit, the specific process is implemented by the deformation module, including:

[0103] After the intermediate state z is obtained, it is sent to the deformation module together with the floating image. The module is essentially a fully convolutional neural network with a U-shaped network structure and a combination of an ordinary differential equation solver and a differentiable space transformation network. The model proposed in the present invention assumes that the velocity field V MF (v) is the static velocity field, and the total displacement vector field from the floating image to the fixed image is Then we have the differential equation shown in formula (5):

[0104]

[0105] The continuous image generation unit specifically includes:

[0106] In order to generate the time frame between the two extreme images, the large deformation from the floating image to the fixed image is split into several gradual small deformations. The small deformation is set to a single equal time step in the total time. Assuming 4 time steps, according to the Euler integration method, formula (2-6) can be obtained:

[0107]

[0108] in, is the synthesis operator, let the floating image be I M , fixed image is I F , then the output image sequence is I N =I M ,I1,I2,I3,I w ,Right now:

[0109]

[0110] In this embodiment, preferably, the whole process is implemented by an overall innovative network model. The network model proposed by the present invention is optimized according to the following loss function, which includes the diffusion loss of the diffusion model and the similarity function of the registered image and the fixed image, the smoothness constraint and the anti-folding constraint of the deformation field:

[0111]

[0112] Among them, L diffusion is the diffusion loss, which is the loss function optimized by the diffusion model in the inverse denoising process, λ smooth , is the smoothness loss coefficient of 0.001, λ jac The anti-folding loss coefficient is 0.01. For floating images and fixed images, the formula for calculating the diffusion loss is shown in (2-9), ε θ is the parameter that the diffusion model network needs to learn and optimize, and ε0 is the known noise of the forward diffusion process.

[0113]

[0114] Among them, L simi It is a similarity measure between floating images and fixed images to measure the similarity between two images. The similarity loss constraint between images uses the normalized correlation coefficient, as shown in formula (2-10), L smooth , is the smoothness loss, which constrains the generated deformation field to maintain the true physiological deformation law. The smoothness loss uses the L2 norm of the deformation field gradient, L jac In order to resist folding loss, the number of negative values ​​in the Jacobian matrix determinant of the deformation field is used, as shown in formula (2-11):

[0115]

[0116]

[0117] It is understandable that the above-mentioned units can be separately or all combined into one or several other units to constitute, or some of the units can be further divided into multiple smaller units in function to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the image processing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0118] According to another embodiment of the present application, the system described in this embodiment can be constructed and the image processing method of the embodiment of the present application can be implemented by running a computer program (including program code) capable of executing the steps involved in the corresponding method described in Example 1 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). The computer program can be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium and run therein.

[0119] Embodiment 3:

[0120] like Figure 5 As shown, Embodiment 4 of the present invention provides an electronic device, which includes a processor 1001, a communication interface 1002, and a computer-readable storage medium 1003. The processor 1001, the communication interface 1002, and the computer-readable storage medium 1003 may be connected via a bus or other means.

[0121] Among them, the communication interface 1002 is used to receive and send data, the computer-readable storage medium 1003 can be stored in the memory of the electronic device, the computer-readable storage medium 1003 is used to store a computer program, the computer program includes program instructions, and the processor 1001 is used to execute the program instructions stored in the computer-readable storage medium 1003.

[0122] Processor 1001 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the method flow or corresponding functions described in Example 1.

[0123] Embodiment 4:

[0124] This embodiment provides a computer-readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the electronic device and, of course, extended storage media supported by the electronic device. The computer-readable storage medium provides a storage space that stores the processing system of the electronic device.

[0125] In addition, the storage space also stores one or more instructions suitable for being loaded and executed by the processor, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage; optionally, it may also be at least one computer-readable storage medium located away from the aforementioned processor.

[0126] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor loads and executes the one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the method embodiment described in the above embodiment 1;

[0127] Embodiment 5:

[0128] This embodiment provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method described in Embodiment 1.

[0129] A person skilled in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0130] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium or transmitted by a computer-readable storage medium. The computer instruction can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server, a data center, etc. that contains one or more available media integration. Available media can be magnetic media (for example, floppy disk, hard disk, tape), optical media (for example, DVD), or semiconductor media (for example, solid-state drive (Solid State Disk, SSD)) and the like.

[0131] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A 4D respiratory motion synthesis image registration method, characterized in that: The process includes: Learn the spatial deformation information between the floating image and the fixed image and generate the intermediate state. The specific process is implemented by the diffusion module, including: The diffusion module is implemented based on the denoising diffusion probability model. Assume that the original data is x0~q(x), and continuously add disturbance noise. Assume that the distribution of x at time t can be expressed as shown in formula (1-1): Among them, β t is a predefined hyperparameter that determines the variance and mean of the Gaussian noise added to the forward diffusion process. t |x t-1 ) is the distribution obtained by adding Gaussian noise to the original data x0 during the forward diffusion process. By DDPM, we can get x at any time step. t The distribution of is shown in formula (1-2): in, α t =1-β t , ε0 is a known Gaussian distribution that obeys (0,1), that is, the disturbance of the forward diffusion process; The inverse denoising process of DDPM is modeled as p θ (x t-1 |x t ), where θ is the parameter of the network model: Among them, μ θ (x t ,t) is the mean value learned by the neural network model, To fix the variance, using the above conditions and the known perturbation x t , the intermediate state z is obtained through learning by the diffusion module, which compares the floating and fixed images and contains the spatial deformation information of the floating image mapped to the fixed image; The velocity field is generated according to the intermediate state and the floating image. The velocity field is solved by the Euler integral method to generate several deformation fields. The specific process is implemented by the deformation module, including: After obtaining the intermediate state z, it is sent to the deformation module together with the floating image. The module is essentially a combination of a fully convolutional neural network with a U-shaped network structure, an ordinary differential equation solver, and a differentiable space transformation network. The fully convolutional neural network structure is similar to the U-Net network structure. The network consists of three layers of encoders and decoders. For the first layer of downsampling, a convolutional layer with a convolution kernel of 3×3×3 is used to perform initial feature mapping on the input, and then the ReLU activation function is used for calculation. The feature map is downsampled to half of the original size through trilinear interpolation until the bottom layer. The bottom layer contains two convolutional layers with a convolution kernel of 3×3×3. After the feature map passes through the bottom layer, it is sent to the decoder. Each layer of the decoder will be connected to the feature map of the encoder using a skip connection method. Each layer of the decoder has two consecutive convolution layers with a convolution kernel of 3×3×3 and upsampling with trilinear interpolation to increase the size to twice the original size. Finally, a convolution layer with a convolution kernel of 5×5×5 generates a velocity field V from floating image to fixed image. MF ; The deformation time from floating image to fixed image is t, the total time is divided into several time steps, and the subsequent deformation fields are solved using the single time step Euler integration method; Each deformation field distorts the floating image to different degrees, generating a time frame image of a continuous trajectory for 4D respiratory motion synthesis between the floating image and the fixed image.

2. The image registration method for 4D respiratory motion synthesis as claimed in claim 1, characterized in that: Generate velocity fields based on intermediate states and floating images, including: Estimate the velocity field from the floating image to the fixed image based on the intermediate state.

3. The image registration method for 4D respiratory motion synthesis as claimed in claim 1, characterized in that: Learn the spatial deformation information between the floating image and the fixed image and generate intermediate states, including: Deterministic random Gaussian noise is added to the fixed image to control the interference removal of the back diffusion process, learn the Markov transformation from Gaussian noise to data distribution, and generate an intermediate state with spatial deformation information from floating image to fixed image.

4. The image registration method for 4D respiratory motion synthesis as claimed in claim 1, characterized in that: A fully convolutional neural network is used to generate a velocity field based on the intermediate state and the floating image; alternatively, the velocity field is solved using the Euler integral method to generate several deformation fields.

5. The 4D respiratory motion synthesis image registration method according to claim 1, characterized in that: Each deformation field distorts the floating image to different degrees, generating a continuous trajectory of time frame images, including: The deformation field and floating image are sent to the spatial transformation network to obtain a sequence image with motion continuity.

6. The 4D respiratory motion synthesis image registration method according to claim 1, characterized in that: The total loss function is the sum of diffusion loss, similarity measure between floating images and fixed images, smoothness loss and anti-collapsing loss.

7. A 4D respiratory motion synthesis image registration device, characterized in that: include: The intermediate state generation unit is configured to learn the spatial deformation information between the floating image and the fixed image and generate the intermediate state. The specific process is implemented by the diffusion module, including: The diffusion module is implemented based on the denoising diffusion probability model. Assume that the original data is x0~q(x), and continuously add disturbance noise. Assume that the distribution of x at time t can be expressed as shown in formula (1-1): Among them, β t is a predefined hyperparameter that determines the variance and mean of the Gaussian noise added to the forward diffusion process. t |x t-1 ) is the distribution obtained by adding Gaussian noise to the original data x0 during the forward diffusion process. By DDPM, we can get x at any time step. t The distribution of is shown in formula (1-2): in, α t =1-β t , ε0 is a known Gaussian distribution that obeys (0,1), that is, the disturbance of the forward diffusion process; The inverse denoising process of DDPM is modeled as p θ (x t-1 |x t ), where θ is the parameter of the network model: Among them, μ θ (x t ,t) is the mean value learned by the neural network model, To fix the variance, using the above conditions and the known perturbation x t , the intermediate state z is obtained through learning by the diffusion module, which compares the floating and fixed images and contains the spatial deformation information of the floating image mapped to the fixed image; The deformation field generation unit is configured to generate a velocity field according to the intermediate state and the floating image, and generate a plurality of deformation fields after solving the velocity field. The specific process is implemented by the deformation module, including: After obtaining the intermediate state z, it is sent to the deformation module together with the floating image. The module is essentially a combination of a fully convolutional neural network with a U-shaped network structure, an ordinary differential equation solver, and a differentiable space transformation network. The fully convolutional neural network structure is similar to the U-Net network structure. The network consists of three layers of encoders and decoders. For the first layer of downsampling, a convolutional layer with a convolution kernel of 3×3×3 is used to perform initial feature mapping on the input, and then the ReLU activation function is used for calculation. The feature map is downsampled to half of the original size through trilinear interpolation until the bottom layer. The bottom layer contains two convolutional layers with a convolution kernel of 3×3×3. After the feature map passes through the bottom layer, it is sent to the decoder. Each layer of the decoder will be connected to the feature map of the encoder using a skip connection method. Each layer of the decoder has two consecutive convolution layers with a convolution kernel of 3×3×3 and upsampling with trilinear interpolation to increase the size to twice the original size. Finally, a convolution layer with a convolution kernel of 5×5×5 generates a velocity field V from floating image to fixed image. MF ; The deformation time from floating image to fixed image is t, the total time is divided into several time steps, and the subsequent deformation fields are solved using the single time step Euler integration method; The time frame generation unit is configured to: each deformation field distorts the floating image at different degrees to generate a time frame image of a continuous trajectory for use in 4D respiratory motion synthesis between the floating image and the fixed image.

8. A computer device, characterized in that: include: a processor and a computer readable storage medium; a processor adapted to execute a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by the processor, the image registration method for 4D respiratory motion synthesis according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the image registration method for 4D respiratory motion synthesis according to any one of claims 1-6.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the image registration method for 4D respiratory motion synthesis is implemented as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • 4D-CT deformation registration method for combining spatial information and temporal information

    CN104268895A

  • Lung 4D-CT medical image registration method and system

    CN113409291A

  • High-viscosity lining curved surface inner cavity throwing and coating simulation technology

    CN115964922A

  • Cross-modal pedestrian re-identification method based on diffusion model

    CN116246307A

  • Flow data set generation method and device based on conditional diffusion model

    CN116304705A