Pulmonary nodule growth trajectory prediction method and system based on three-dimensional differential flow field registration and space-time extrapolation
By employing a three-dimensional differential flow field registration and spatiotemporal extrapolation method, the problems of spatial misalignment and insufficient time interval in the follow-up analysis of pulmonary nodules were solved. This enabled the interpretability and stability prediction of pulmonary nodule growth trajectories, outputting future three-dimensional morphology and growth category, which is convenient for clinical management.
Patent Information
- Application Number
- CN202611155422.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-20
AI Technical Summary
Existing methods for lung nodule follow-up analysis are inadequate in handling spatial misalignment of multi-temporal CT images, neglecting the overall lung anatomical context and peritumoral microenvironment, failing to adequately model irregular follow-up time intervals, and unable to explicitly generate future three-dimensional morphology.
By using a method based on three-dimensional differential flow field registration and spatiotemporal extrapolation, the historical three-dimensional differential flow field is estimated and voxel-level elastic registration is performed. Combined with time interval encoding, spatiotemporal extrapolation is performed to generate a predicted three-dimensional growth flow field, reconstruct the three-dimensional morphology of future lung nodules, and output the growth category.
It enables explicit modeling of historical deformation in three-dimensional space, adapts to irregular follow-up time intervals, improves the interpretability and stability of lung nodule growth trajectory prediction, and can output a three-dimensional prediction mask and growth category for future target phases, facilitating the formulation of clinical follow-up plans.
Smart Images

Figure CN123141308A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent medical image analysis technology, specifically relating to a method and system for predicting the growth trajectory of lung nodules based on three-dimensional differential flow field registration and spatiotemporal extrapolation. Background Technology
[0002] Long-term follow-up observation of pulmonary nodules is an important part of early lung cancer screening, risk assessment, and clinical management. In clinical practice, doctors usually compare chest CT images of the same patient taken at different time points to observe changes in the diameter, volume, density, edge morphology, and relationship with adjacent tissues of the pulmonary nodules, and to determine whether the nodules are growing, stabilizing, or shrinking.
[0003] Current methods for analyzing pulmonary nodules typically involve manually comparing, rigidly registering, or stitching together baseline and follow-up CT images, then using classification or regression models to output the growth probability, malignancy risk score, or volume change trend of the pulmonary nodules. While these methods can assist in follow-up assessment to some extent, they still have the following limitations when it comes to predicting the dynamic evolution and future morphology of pulmonary nodules.
[0004] First, chest CT images at different follow-up phases exhibit differences in respiratory phase, body position, and local non-rigid deformation. Lung tissue is a soft tissue structure, significantly affected by respiration, scanning posture, and lung filling. The spatial location of the same nodule and its surrounding anatomical structures may undergo complex three-dimensional local shifts at different time points. Existing methods using only rigid registration or simple image stitching are insufficient to eliminate voxel-level spatial misalignment, easily misinterpreting respiratory phase differences as actual nodule growth changes.
[0005] Second, existing channel splicing or rigid registration methods struggle to handle the three-dimensional non-rigid deformation of the region surrounding pulmonary nodules. Pulmonary nodule growth manifests not only as overall volume changes but also as localized edge expansion, changes in ground-glass opacity, changes in solid composition, or non-uniform expansion along vascular and bronchial directions. Without dense deformation field modeling, the model struggles to obtain interpretable three-dimensional growth trajectories.
[0006] Third, existing classification or regression models can only output growth probability, risk score, or category label, and usually cannot explicitly generate the three-dimensional morphology of nodules at future times. Such output results are difficult to intuitively present the location, direction, and extent of potential nodule growth, and are also inconvenient for doctors to review in the image space.
[0007] Fourth, real-world clinical follow-up intervals are typically irregular. Two CT scans for different subjects may be spaced several months or even more than a year apart, and the target time for future predictions may also be dynamically set based on clinical management needs. Existing methods often treat the two-stage images as inputs with a fixed time span, failing to adequately model the time interval attribute and making it difficult to adapt to irregular follow-up scenarios.
[0008] Fifth, existing local lung nodule prediction models typically focus on the nodule clipping region, easily neglecting the overall lung anatomical context and the peritumoral microenvironment. Contextual information such as lung lobe location, emphysema background, adjacent blood vessels, pleural traction, and bronchial relationships can all affect the imaging appearance and follow-up assessment of nodules. Relying solely on local small-area images may lead to insufficient predictive stability.
[0009] Therefore, there is a need for a method and system for predicting the growth trajectory of lung nodules that can explicitly model historical deformation in three-dimensional space, adapt to irregular follow-up time intervals, and reconstruct the future three-dimensional morphology of lung nodules. Summary of the Invention
[0010] In view of the problems existing in the prior art, the purpose of this invention is to provide a method and system for predicting the growth trajectory of lung nodules based on three-dimensional differential flow field registration and spatiotemporal extrapolation. By estimating the historical three-dimensional differential flow field from phase T1 to phase T2, voxel-level elastic registration is performed on multi-phase lung nodule images. Combined with time interval encoding, the historical three-dimensional differential flow field is spatiotemporally extrapolated to generate a predicted three-dimensional growth flow field from phase T2 to the future target phase T3, thereby reconstructing the three-dimensional morphology of the lung nodules at future moments and outputting the growth category. The historical three-dimensional differential flow field simultaneously characterizes the spatial correspondence between time phases and the local morphological differences of the nodules, avoiding the confusion of respiratory phase differences, body position changes, and the actual evolution of the nodules into a single classification signal.
[0011] To achieve the above-mentioned objectives, an embodiment provides a method for predicting the growth trajectory of lung nodules based on three-dimensional differential flow field registration and spatiotemporal extrapolation, comprising the following steps: Data processing: Chest CT images containing at least two historical follow-up phases were sequentially resampled, HU value truncation was performed, normalization was performed, lung field segmentation was performed, and nodule regions of interest were cropped to obtain multi-temporal three-dimensional CT data. Feature extraction: Based on the multi-temporal 3D CT data, the nodule region, peritumoral region, and whole lung context region are extracted and encoded to obtain the 3D image features of different regions; Flow field estimation: Based on the three-dimensional image features of any T1 and T2 time phases, perform dual-time phase feature interaction to obtain dual-time phase alignment features, and estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-time phase alignment features; Flow field extrapolation: Based on the historical three-dimensional differential flow field and the time interval encoding from T1 to T2, and the predicted time interval encoding from T2 to the future target time phase T3, spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from T2 to the future target time phase T3. Decoding and prediction: The predicted three-dimensional growth flow field is used to perform three-dimensional deformation on the nodule features or nodule mask in the T2 phase, reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and output the final predicted mask and growth category of the lung nodule in the future target phase T3 through multi-task decoding.
[0012] Preferably, the resampling includes: performing three-dimensional resampling of chest CT images at a uniform voxel spacing for each follow-up phase; The lung field segmentation and nodule region of interest (ROI) cropping include: segmenting the lung field of the normalized 3D CT image to obtain a whole-lung mask; cropping the nodule ROI based on the nodule center point, nodule bounding box, or initial nodule mask, while maintaining the physical spatial correspondence of the ROI at different follow-up phases to obtain multi-temporal 3D CT data.
[0013] Preferably, dual-temporal alignment features are obtained by performing dual-temporal feature interaction based on the three-dimensional image features of any T1 and T2 time phases, including: The nodule features and peritumoral features of T1 and T2 time phases were fused to obtain T1 local fusion features and T2 local fusion features; Linear mapping is performed on the local fusion features of T1 to obtain the query vector, and linear mapping is performed on the local fusion features of T2 to obtain the key vector and value vector respectively; Based on the query vector and the key vector, calculate the dual-temporal attention weights, and use the dual-temporal attention weights to perform weighted aggregation on the value vectors to obtain interactive features carrying T2 temporal spatial change information; The interactive features are combined with the T1 local fusion features through residual fusion or normalization fusion to obtain the dual-time relative homogeneous features used to estimate the historical three-dimensional differential flow field.
[0014] Preferably, estimating the historical three-dimensional differential flow field based on the alignment characteristics of the two time phases includes: A differential flow field estimation network is used to estimate the historical three-dimensional differential flow field from time phase T1 to time phase T2 based on the dual-time phase alignment feature. The historical three-dimensional differential flow field is a dense three-channel displacement field F. 12 =(dx 12 dy 12 dz 12 ), where dx 12 dy represents the horizontal displacement of the cross section. 12dz represents the vertical displacement of the cross-section. 12 The displacement in the plane direction is represented by a three-dimensional displacement vector for each voxel, which describes the spatial change of each voxel position from phase T1 to phase T2. The spatial change includes spatial components to compensate for differences in respiratory phase and body position, as well as deformation components related to the local morphological evolution of the nodule.
[0015] Preferably, spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from time phase T2 to the future target time phase T3, including: The historical three-dimensional differential flow field is modeled by components to obtain spatial registration components and growth residual components. The spatial registration components are used to compensate for overall or local spatial misalignment caused by differences in respiratory phase, changes in body position or differences in scanning posture. The growth residual components are used to describe the expansion, contraction or local morphological evolution trend of nodule boundaries. The growth residual component, the two temporal alignment features, the whole lung context features corresponding to the whole lung context region, and the time coding vector are fused to obtain the fused spatiotemporal features; A spatiotemporal extrapolation network is used to output a predicted three-dimensional growth flow field based on the fused spatiotemporal features, showing the evolution trend from phase T2 to the future target phase T3.
[0016] Preferably, the growth residual component, the two-time alignment features, the whole-lung context features corresponding to the whole-lung context region, and the time coding vector are fused, including: First, global average pooling, attention pooling, or multilayer perceptron mapping is performed on the contextual features of the whole lung to obtain the semantic vector of the whole lung. Then, the whole lung semantic vector is concatenated or weighted and fused with the time interval encoding from T1 to T2 and the predicted time interval encoding from T2 to the future target time phase T3 to obtain the spatiotemporal condition vector. Subsequently, the spatiotemporal condition vector is broadcast to the region of interest space of the nodule, and spliced with the growth residual component and the dual temporal alignment feature in the channel dimension, or channel weights and spatial weights are generated through a gating mechanism to dynamically adjust the displacement response of different positions and different channels in the growth residual component. After weighted fusion, the fused spatiotemporal features are obtained.
[0017] Preferably, the three-dimensional prediction mask and growth category of lung nodules in the future target time phase T3 are output through multi-task decoding, including: Global semantic injection: The whole lung context features are mapped by global average pooling, attention pooling or multilayer perceptron to obtain the whole lung semantic vector. The whole lung semantic vector is then fused with the time encoding vector and injected with future morphological features. 3D prediction mask decoding output: Input the future morphological features after injecting global semantics into the mask decoding head, and output the final prediction mask of lung nodules in the future target phase T3; Growth category decoding output: The future morphological features after global semantic injection, T2 phase nodule features, predicted three-dimensional growth flow field statistical features and time encoding vector are input into the classification decoding head, and the lung nodule growth category is output. Among them, the predicted three-dimensional growth flow field statistical features may include the mean displacement amplitude, maximum displacement amplitude, radial expansion trend and boundary region displacement distribution of the predicted three-dimensional growth flow field.
[0018] Preferably, the method further includes: generating a three-dimensional sampling grid based on the historical three-dimensional differential flow field, and deforming the nodule features or nodule masks corresponding to the nodule region in time phase T1 to the corresponding space in time phase T2 through sampling of the three-dimensional sampling grid, so as to obtain historical deformation features aligned with time phase T2. The historical deformation features are used as one of the input features of the spatiotemporal extrapolation network, together with the time interval encoding and growth residual components, to predict the three-dimensional growth flow field from time phase T2 to time phase T3, and are also used to calculate the historical registration consistency loss, so as to constrain the historical deformation features to maintain consistency with the nodule features corresponding to time phase T2.
[0019] To achieve the above-mentioned objectives, embodiments of the present invention also provide a lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation, comprising: The data processing unit is used to sequentially resample, HU value truncation, normalization, lung field segmentation, and nodule region of interest clipping of chest CT images containing at least two historical follow-up phases to obtain multi-temporal three-dimensional CT data. The feature extraction unit is used to extract the nodule region, the peritumoral region and the whole lung context region based on the multi-temporal three-dimensional CT data and encode the three-dimensional image features of different regions. The flow field estimation unit is used to perform dual-temporal feature interaction based on the three-dimensional image features of any T1 and T2 time phases to obtain dual-temporal alignment features, and to estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-temporal alignment features. The flow field extrapolation unit is used to generate a predicted three-dimensional growth flow field that characterizes the evolution trend from the T2 phase to the future target phase T3 based on the historical three-dimensional differential flow field, the time interval encoding from the T1 phase to the T2 phase, and the predicted time interval encoding from the T2 phase to the future target phase T3. The decoding prediction unit is used to perform three-dimensional deformation of the nodule features or nodule mask in the T2 phase using the predicted three-dimensional growth flow field, reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and output the final predicted mask and growth category of the lung nodule in the future target phase T3 through multi-task decoding.
[0020] To achieve the above-mentioned objectives, the embodiments also provide a computing device, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used to implement the above-mentioned method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation.
[0021] To achieve the above-mentioned objectives, the embodiments also provide a computer-readable storage medium storing a program that, when executed by a processor, implements the above-mentioned method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation.
[0022] Compared with the prior art, the beneficial effects of the present invention include at least the following: (1) The present invention achieves voxel-level elastic registration between T1 and T2 phases by using historical three-dimensional differential flow field and three-dimensional sampling grid sampling, which can reduce the spatiotemporal misalignment caused by respiratory phase difference, body position change and local non-rigid deformation of the lungs.
[0023] (2) The present invention represents the changes in lung nodules during follow-up as a three-channel displacement field of dx, dy, and dz, and further extrapolates to obtain the predicted three-dimensional growth flow field, which can explicitly model the three-dimensional growth trajectory of lung nodules and improve the interpretability of the future morphology prediction process.
[0024] (3) The present invention performs nonlinear encoding on the historical follow-up time interval and the target time interval and participates in spatiotemporal extrapolation, which can adapt to the prediction of lung nodule growth trajectory under irregular follow-up time intervals in real clinical practice.
[0025] (4) The present invention integrates nodule features, peritumoral features and whole lung context features, and can simultaneously utilize local morphological changes, adjacent tissue relationships and whole lung anatomical background information to improve the stability of prediction results.
[0026] (5) The present invention can simultaneously output the three-dimensional prediction mask and growth category of lung nodules in the future target phase T3, so that doctors can intuitively see the possible changes in location and range in the future, which facilitates the formulation of clinical follow-up plans and risk stratification management.
[0027] (6) In the training phase, the present invention can use future mask supervision, category supervision and deformation consistency constraints to learn and predict the three-dimensional growth flow field, without requiring manual voxel labeling of the flow field, thus reducing the difficulty of training data preparation. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is the overall process of the lung nodule growth trajectory prediction method based on three-dimensional differential flow field registration and spatiotemporal extrapolation provided in the embodiments of the present invention; Figure 2 This is a schematic diagram of the dual-temporal feature interaction process provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of historical differential flow field estimation and future growth flow field extrapolation provided by an embodiment of the present invention; Figure 4 This is a visualization diagram of the first prediction result provided in an embodiment of the present invention; Figure 5 This is a visualization diagram of the second prediction result provided in an embodiment of the present invention; Figure 6 This is a visualization diagram of the third prediction result provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of the lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation provided in an embodiment of the present invention. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the scope of protection of this invention.
[0031] The inventive concept of this invention is as follows: Addressing the shortcomings of existing methods for predicting lung nodules, such as difficulty in handling spatial misalignment in multi-temporal CT scans, inability to explicitly generate future three-dimensional morphology, insufficient modeling of irregular follow-up time intervals, and neglect of peritumoral and whole-lung context, this invention establishes a continuous three-dimensional deformation description of lung nodules from T1 to T2 and then to the future T3 phase through historical three-dimensional differential flow field estimation, voxel-level elastic registration, and spatiotemporal extrapolation. During the training phase, supervised training can be performed using samples with multi-temporal CT images (T1, T2, and T3). During the inference phase, T1 and T2 CT images and the target prediction time interval are used to predict the three-dimensional mask and growth category of lung nodules in the future target phase T3.
[0032] S1. Chest CT images containing at least two historical follow-up phases are sequentially resampled, HU value truncation is performed, normalization is applied, lung field segmentation is performed, and nodule region of interest is clipped to obtain multi-temporal three-dimensional CT data.
[0033] In this embodiment, chest CT images of the same subject collected at different follow-up time points are acquired. During the training phase, three-dimensional chest CT images at time points T1, T2, and T3, along with their corresponding examination times, are acquired, where T1 is the baseline time point, T2 is the historical follow-up time point, and T3 is the future supervision time point. During the inference phase, three-dimensional chest CT images at time points T1 and T2 are acquired, along with the actual time interval from T1 to T2 and the target time interval from T2 to the target prediction time point T3.
[0034] In some embodiments, the chest CT images may be DICOM sequences, NIfTI volume data, or other medical image formats capable of representing three-dimensional CT volume data. For each phase, the image data includes information such as voxel grayscale values, voxel spacing, slice thickness, orientation matrix, and scan time.
[0035] In this embodiment, the obtained chest CT images are sequentially resampled, HU value truncation is performed, normalization is performed, lung field segmentation is performed, and nodule region of interest is cropped to obtain multi-temporal three-dimensional CT data.
[0036] For CT resampling: Since the slice thickness, pixel spacing, and reconstruction matrix may differ between different CT scans, this embodiment of the invention performs three-dimensional resampling with a uniform voxel spacing on CT images from different time phases, ensuring that CT images from different subjects and different follow-up time phases are at a consistent spatial resolution. The resampling process can employ trilinear interpolation to process the CT grayscale image and nearest-neighbor interpolation to process nodule masks or lung field masks, to avoid incorrect smoothing of label boundaries.
[0037] For HU value truncation and normalization: HU values are truncated in the resampled chest CT images to preserve effective grayscale information of the lung parenchyma, pulmonary nodules, and surrounding soft tissues, and to suppress the impact of extremely high or low density values on model training. Furthermore, the truncated grayscale values are linearly normalized or standardized to ensure a relatively consistent intensity distribution in CT images from different scanning devices and parameters.
[0038] For lung field segmentation: Normalized chest CT images are segmented to obtain a full-lung mask. Lung field segmentation can be achieved using thresholding, region growing, morphological processing, deep learning segmentation networks, or combinations thereof. After obtaining the full-lung mask, the external chest wall, external mediastinum, and irrelevant background areas can be masked to reduce interference from non-lung tissues on subsequent feature encoding.
[0039] Nodule Region of Interest (ROI) Cropping: Based on the nodule center point, nodule bounding box, or initial nodule mask, a three-dimensional ROI containing the lung nodule and its adjacent tissues is cropped from T1 and T2 time-phase CT images, thus obtaining multi-temporal 3D CT data. The cropped region covers the main body of the nodule and a certain range of surrounding tissues in 3D space, maintaining the correspondence between the T1 and T2 time-phase cropped regions in physical coordinates. For the T3 time phase during the training phase, the nodule region for future supervision phases can be cropped according to the same rules for future mask supervision. The nodule center point, nodule bounding box, or initial nodule mask can be derived from manual annotation, semi-automatic annotation, existing follow-up records, or nodule detection and segmentation models.
[0040] S2 extracts and encodes the three-dimensional image features of different regions based on multi-temporal three-dimensional CT data, including the nodule region, peritumoral region, and whole lung context region.
[0041] For the nodule region: The nodule region is constructed using the 3D voxel set corresponding to the initial nodule mask. The initial nodule mask can be a manually annotated mask, a semi-automatic interactive segmentation mask, or a candidate mask generated by the nodule segmentation model based on the nodule center point or nodule bounding box. The nodule region is used to describe the internal density, boundaries, morphology, and local spatial structure of the nodule.
[0042] For the peritumoral region: The initial nodule mask is subjected to three-dimensional morphological expansion to obtain an expanded mask encompassing the nodule and a certain range of surrounding tissue. The difference between this expanded mask and the initial nodule mask is used to obtain the peritumoral mask. The three-dimensional voxels corresponding to the peritumoral mask are then used to form the peritumoral region. This peritumoral region is used to describe the lung parenchyma, blood vessels, bronchi, pleural traction, and surrounding microenvironment information adjacent to the nodule.
[0043] For the whole lung context region: The whole lung mask obtained from lung field segmentation is applied to the chest CT image to obtain the whole lung context region. The whole lung context region can be downsampled or multi-scale encoded to reduce computational load and preserve information such as lobar location, whole lung texture, emphysema background, and overall anatomical structure.
[0044] After obtaining the nodule region, peritumoral region, and whole lung context region, visual encoding is required to extract the nodule features corresponding to the nodule region, the peritumoral features corresponding to the peritumoral region, and the whole lung context region, which together form the three-dimensional image features.
[0045] Specifically, the nodule region image, peritumoral region image, and whole lung context image are input into a three-dimensional medical visual encoder, which outputs nodule features, peritumoral features, and whole lung context features. The three-dimensional medical visual encoder can employ a three-dimensional convolutional neural network, a three-dimensional residual network, a three-dimensional U-shaped network encoder, a three-dimensional visual Transformer, or a hybrid encoding structure combining convolution and attention.
[0046] In some embodiments, the input channels for a nodule ROI may include a CT grayscale image, a nodule mask, a peritumoral mask, and a whole-lung mask. By inputting image intensity information and a spatial prior mask together into a 3D medical vision encoder, clear regional constraints can be obtained while extracting texture features.
[0047] S3, based on the three-dimensional image features of arbitrary T1 and T2 time phases, performs dual-time phase feature interaction to obtain dual-time phase alignment features, and estimates the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-time phase alignment features.
[0048] In this embodiment, during the dual-temporal feature interaction, the dual-temporal input features are first constructed, specifically including: fusing the nodule features and peritumoral features of the T1 phase to obtain the T1 local fusion feature; and fusing the nodule features and peritumoral features of the T2 phase to obtain the T2 local fusion feature. Further, whole-lung contextual features can be injected as conditional vectors into the T1 and T2 local fusion features, enabling the dual-temporal interaction process to simultaneously perceive the whole-lung anatomical background in which the nodule is located.
[0049] Then, based on the dual-temporal input features, dual-temporal feature interaction is performed, such as... Figure 2 As shown, the specific steps include: (1) Vector construction: linear mapping is performed on the T1 local fusion features to obtain the query vector Query; linear mapping is performed on the T2 local fusion features to obtain the key vector Key and the value vector Value. The linear mapping can be implemented by 1×1×1 three-dimensional convolution, fully connected layer or projection matrix. Depending on the implementation method, Query, Key and Value can be expanded according to the channel dimension or according to the three-dimensional spatial position. (2) Dual-temporal attention interaction: the similarity matrix is calculated based on Query and Key, and the similarity matrix is normalized to obtain the dual-temporal attention weight. The dual-temporal attention weight is used to perform weighted aggregation on Value to obtain the interaction feature carrying the T2 temporal change information. The interaction feature is residually connected, normalized and nonlinearly transformed with the T1 local fusion features to obtain the dual-temporal alignment feature.
[0050] In some embodiments, reverse attention interaction from T2 to T1 can also be used, and the bi-temporal alignment features of the forward interaction and the bi-temporal alignment features of the reverse interaction can be used together for differential flow field estimation to enhance the model's ability to express the correspondence between the two temporal phases.
[0051] In this embodiment, the historical three-dimensional differential flow field of the spatial evolution relationship between two time phases is estimated based on the dual-time phase alignment feature. Specifically, the dual-time phase alignment feature is input into the differential flow field estimation network, and the historical three-dimensional differential flow field F from time phase T1 to time phase T2 is output. 12 The historical three-dimensional differential flow field F 12 The dense three-channel displacement field includes displacement components along three directions in three-dimensional space, denoted as F. 12 =(dx 12 dy 12 dz 12 ), where dx 12 dy represents the horizontal displacement of the cross section. 12 dz represents the vertical displacement of the cross-section. 12 This represents sectional displacement. Each voxel or feature map position corresponds to a three-dimensional displacement vector, used to describe the spatial change of each voxel position from phase T1 to phase T2. The spatial change includes spatially corresponding components to compensate for differences in respiratory phase and body position, as well as deformation components related to the local morphological evolution of the nodule.
[0052] Differential flow field estimation networks can employ encoder-decoder structures, multi-scale pyramid structures, or residual convolution structures. To maintain the continuity of the displacement field, smoothing constraints can be applied to the displacement differences between adjacent voxels during the training phase, boundary consistency constraints can be applied to the nodal boundary regions, or unreasonable folding deformation can be suppressed through inverse consistency constraints from phase T1 to phase T2 and from phase T2 to phase T1.
[0053] S4. Based on the historical three-dimensional differential flow field and the time interval encoding from T1 to T2, and the predicted time interval encoding from T2 to the future target time phase T3, spatiotemporal extrapolation is performed to generate a predicted three-dimensional growth flow field that characterizes the evolution trend from T2 to the future target time phase T3.
[0054] In the embodiments, such as Figure 3 As shown, when performing spatiotemporal extrapolation, the time interval is first obtained, specifically including: calculating the follow-up time interval Δt from phase T1 to phase T2 based on the CT examination time. 12 And based on clinical prediction needs, the target prediction time interval Δt from phase T2 to the future target phase T3 is set. 23 The time interval can be expressed in days, months, or other uniform units of time.
[0055] Then, nonlinear time encoding is performed, specifically including: for Δt 12 and Δt 23 Nonlinear time coding is performed to obtain a time coding vector. This nonlinear time coding can include at least one of logarithmic transformation, time scaling coding, sine / cosine position coding, radial basis function coding, or multilayer perceptron coding. Through nonlinear coding, the model can distinguish differences in growth changes between short-term and long-term follow-up and adapt to irregular follow-up time intervals among different subjects.
[0056] In some embodiments, Δt can be 23 With Δt 12 The ratio is used as a time scale feature and input into the spatiotemporal extrapolation network, enabling the spatiotemporal extrapolation network to adjust the amplitude of the predicted three-dimensional growth flow field according to the relationship between the historical observation window and the target prediction window.
[0057] Next, the historical 3D differential flow field and time-encoded vector are fused. Specifically, this includes: fusing the historical 3D differential flow field F... 12 Component modeling is performed to obtain spatial registration components and growth residual components. The spatial registration component is used to compensate for overall or local spatial misalignment caused by differences in respiratory phase, body position, or scanning posture; the growth residual component is used to describe the expansion, contraction, or local morphological evolution trends of nodule boundaries. Component modeling can be achieved through global affine displacement estimation, low-frequency displacement field extraction, gated convolution, or attention weight decomposition.
[0058] The growth residual component, temporal alignment features, whole-lung contextual features, and temporal encoding vector are fused. Specifically, the whole-lung contextual features are first mapped using global average pooling, attention pooling, or a multilayer perceptron to obtain a whole-lung semantic vector; then, the whole-lung semantic vector is coupled with Δt. 12 Δt 23 The corresponding temporal encoding vectors are concatenated or weighted and fused to obtain a spatiotemporal conditional vector. This vector is then broadcast to the nodule ROI space and concatenated with the growth residual component and dual-temporal alignment features along the channel dimension. Alternatively, channel weights and spatial weights are generated through a gating mechanism to dynamically adjust the displacement response of different positions and channels within the growth residual component. After weighted fusion, the fused spatiotemporal features are obtained. Through this method, the whole-lung contextual features can provide the spatiotemporal extrapolation network with conditional information such as lobe location, emphysema background, neighboring structural relationships, and the overall anatomical environment. This allows the prediction of the three-dimensional growth flow field to not only depend on local nodule changes but also to be adjusted in conjunction with the whole-lung contextual anatomical background.
[0059] Finally, the three-dimensional growth flow field is predicted, specifically by inputting the fused spatiotemporal features into a spatiotemporal extrapolation network and outputting the predicted three-dimensional growth flow field F from time phase T2 to the future target time phase T3. 23=(dx 23 dy 23 dz 23 The predicted three-dimensional growth flow field is used to represent the direction and magnitude of nodule morphological changes from the current follow-up phase T2 to the future target phase T3. The spatiotemporal extrapolation network adopts a three-dimensional convolutional network with residual correction.
[0060] S5, using the predicted 3D growth flow field, the nodule features or nodule mask at time phase T2 are subjected to 3D deformation to reconstruct the future morphological features or initial deformation mask of the lung nodules at the future target time phase T3. The 3D prediction mask and growth category of the lung nodules at the future target time phase T3 are output through multi-task decoding. The future morphological features are input into the mask decoding head to obtain the final prediction mask. The initial deformation mask is used to directly supervise the predicted 3D growth flow field, and the final prediction mask is used to supervise the mask decoding head.
[0061] In this embodiment, three-dimensional deformation is first performed, specifically including: utilizing the predicted three-dimensional growth flow field F 23 The T2 phase nodule features or nodule masks are subjected to three-dimensional deformation to reconstruct the future morphological features or initial deformation mask of the lung nodules in the target T3 phase. It should be noted that T3 phase images or T3 phase nodule features do not exist during the prediction stage. Therefore, this embodiment of the invention does not use non-existent T3 phase features as the object of deformation, but rather utilizes the predicted three-dimensional growth flow field to perform three-dimensional deformation on known T2 phase nodule features or T2 phase nodule masks to obtain a morphological estimate for the future T3 phase.
[0062] Then, global semantic injection is performed, specifically including: global average pooling, attention pooling, or multilayer perceptron mapping of the whole lung context features to obtain a whole lung semantic vector; fusing the whole lung semantic vector with the temporal encoding vector and injecting it into the future morphological features. Specifically, the fused global semantic vector can be broadcast to the nodule ROI space and added element-wise with the future morphological features; alternatively, the fused global semantic vector can be used as a gating vector to adjust the different channel responses of the future morphological features.
[0063] Next, the final predicted mask is output, specifically including: inputting the future morphological features after global semantic injection into the mask decoding head of the segmentation decoding branch, and outputting the final three-dimensional predicted mask of the lung nodule at the future target time phase T3. The mask decoding head may include three-dimensional convolution, upsampling layers, skip connections, and normalization layers to restore the three-dimensional spatial resolution corresponding to the nodule ROI.
[0064] Finally, the growth category is output, specifically including: inputting the future morphological features after global semantic injection, T2 phase nodule features, predicted three-dimensional growth flow field statistical features, and time-encoded vector into the classification decoding head of the classification decoding branch, and outputting the lung nodule growth category. The predicted three-dimensional growth flow field statistical features may include the mean displacement amplitude, maximum displacement amplitude, radial expansion trend, and boundary region displacement distribution of the predicted three-dimensional growth flow field. The growth category may include shrinking, stable, and growing, or it may be expanded to slow growth, rapid growth, or other follow-up management categories based on the volume change, maximum diameter change, or clinically preset threshold between the future predicted mask and the T2 phase nodule mask.
[0065] In the embodiment, a three-dimensional sampling grid is generated based on the historical three-dimensional differential flow field, and the nodule features or nodule masks corresponding to the nodule region at time T1 are deformed to the corresponding space at time T2 through sampling of the three-dimensional sampling grid, so as to obtain the historical deformation features that are aligned with time T2.
[0066] This involves achieving voxel-level or feature-level elastic registration from phase T1 to phase T2 based on historical 3D differential flow fields. First, a reference coordinate grid G is generated in the original 3D voxel space corresponding to the nodule ROI, or in the 3D feature map space output by the medical vision encoder. The 3D feature map space refers to the 3D feature tensor space that maintains a spatial correspondence with the nodule ROI; specifically, it can be the original ROI size D×H×W, or it can be D'×H'×W' after encoder downsampling. For 3D data of size D×H×W or D'×H'×W', the corresponding reference coordinate grid contains the normalized coordinates of each voxel position or feature map position in the x, y, and z directions, with coordinate values ranging from [-1, 1].
[0067] Then, displacement field normalization is performed, specifically including: historical three-dimensional differential flow field F 12 dx 12 dy 12 dz 12 The displacement components are converted into normalized offsets at the same scale as the reference coordinate grid G. If the displacement components are in voxels, the scale is converted based on the dimensions of the 3D voxel data in the W, H, and D directions; if the displacement components are in physical distances, the voxel spacing is first converted into voxel displacements, and then converted into normalized offsets.
[0068] The next step is to generate a 3D sampling network, specifically by adding the normalized offset to the reference coordinate grid G to obtain the 3D sampling grid G. 12 The three-dimensional sampling grid G 12 Used to indicate the sampling position of the T1 phase feature or mask in the T2 phase space.
[0069] Finally, trilinear interpolation sampling is performed, specifically including: based on the three-dimensional sampling grid G. 12 Trilinear interpolation is performed on the nodule features or mask at time T1 to obtain the deformed nodule features or mask at time T1, which serve as historical deformation features aligned with time T2. These historical deformation features are used in subsequent steps for at least the following purposes: first, to perform difference calculations with the nodule features at time T2 to obtain residual information on the true evolution of the nodules after removing differences in respiratory phase and body position; second, as one of the input features of the spatiotemporal extrapolation network, used together with the time interval encoding and growth residual components to predict the three-dimensional growth flow field from T2 to T3; and third, to calculate the historical registration consistency loss during the training phase to ensure that the result after deformation of the historical three-dimensional differential flow field at time T1 remains consistent with the corresponding nodule features at time T2. For the mask sampling results, the registered mask representation can be further obtained through thresholding or probabilistic methods.
[0070] Through the above registration, the model can use the learnable three-dimensional differential flow field to explicitly correct the spatial misalignment between historical time phases, avoiding misjudging the displacement caused by breathing or body position as real growth.
[0071] In this embodiment, supervised training was performed using samples with T1, T2, and T3 multi-temporal CT images. The trained network structure includes: a 3D medical vision encoder for extracting 3D image features corresponding to the nodule region, peritumoral region, and whole lung context region; a dual-temporal feature interaction module for fusing T1 and T2 temporal features; and a module for outputting the historical 3D differential flow field F. 12 Differential flow field estimation network; used to predict three-dimensional growing flow field F 23 The system includes a spatiotemporal extrapolation network and a multi-task decoding head for outputting the prediction mask, volume or maximum diameter change, and growth category for the T3 phase. Three-dimensional mesh sampling and trilinear interpolation participate as differentiable deformation operations in forward computation and backward propagation, enabling the flow field estimation network and the spatiotemporal extrapolation network to be optimized using downstream supervision signals.
[0072] For each training sample, the T1 and T2 phase CT images, the corresponding initial mask of the nodule, and the time interval Δt are used. 12 Δt 23 As input, at least one of the following is used as supervision information: T3 phase lung nodule reference mask, volume or maximum diameter annotation, and growth category label. When a training sample lacks some supervision labels, only the loss terms corresponding to the existing labels of that sample can be used for training. The training objective can be represented as a weighted combination of multiple loss terms to simultaneously constrain historical registration, future morphology prediction, volume change prediction, growth category judgment, and flow field spatial rationality. It should also be emphasized that since the training data usually does not contain the real flow field labeled manually on a voxel-by-voxel basis, this embodiment of the invention will predict the three-dimensional growth flow field F.23 As a latent variable, it is optimized through future mask supervision, volume change supervision, category supervision, and deformation constraints.
[0073] Specifically, the training objective may include at least one of the following losses: First, the future 3D mask loss is used to constrain the T3 phase lung nodule final prediction mask output by the mask decoding head to be consistent with the T3 phase lung nodule reference mask. The future 3D mask loss can be Dice loss, cross-entropy loss, or a weighted combination of the two. Second, the volume or maximum diameter change loss is used to constrain the volume, maximum diameter or its change relative to the T2 lung nodule calculated by the T3 phase lung nodule prediction mask to be consistent with the actual T3 labeled volume or maximum diameter. The volume or maximum diameter change loss can be the mean absolute error, mean square error or smoothing L1 loss. Third, growth category loss, which is used to constrain the reduction, stabilization or consistency of the growth category with the growth category label in the output of the classification decoder. The growth category loss can be either cross-entropy loss or weighted cross-entropy loss. Fourth, the historical registration consistency loss is used to constrain the consistency between the historical deformation features obtained after the nodule features at time T1 are deformed by F12 and the corresponding nodule features at time T2. The historical registration consistency loss adopts the L1 loss.
[0074] Fifth, the initial deformation mask loss, used to constrain the phase nodal mask at time T2 via F. 23 The initial deformation mask after deformation is consistent with the reference mask of the lung nodule in the T3 phase. This loss supervises the prediction of the initial results of the three-dimensional growth flow field, where the initial deformation mask loss adopts the Dice loss function. Sixth, flow field smoothing loss, used to constrain the continuous change of displacement between adjacent voxels in the flow field and reduce unreasonable abrupt changes, adopts a first-order total variation loss function.
[0075] In some embodiments, the overall training objective can be expressed as: Among them, L mask L represents the final predicted 3D mask loss. vol L represents the loss due to volume or maximum diameter change. cls L represents the loss of growth category. reg L represents the historical registration consistency loss. pred L represents the initial deformation mask loss. smooth λ represents the flow field smoothing loss, and λ1 to λ6 are the weight coefficients of each loss term. For training samples lacking the T3 mask or with partial labels, the weights of the corresponding loss terms can be reset to zero, and only the existing supervision information of the sample can be used for training.
[0076] The inference phase takes into account chest CT images of the same subject at time points T1 and T2, the actual time interval between T1 and T2, and the predicted time interval between T2 and the target prediction time point T3. The model first estimates the historical 3D differential flow field from T1 to T2 and performs historical alignment. Then, based on the historical flow field and time-encoded vectors, it generates the predicted 3D growth flow field from T2 to T3. Finally, after 3D deformation of the nodule features or nodule mask at time point T2, it predicts and outputs the 3D prediction mask and growth category of lung nodules at time point T3.
[0077] Figure 4 , Figure 5 as well as Figure 6 Three visualization prediction results using the above method are presented, showing historical time-phase images, predicted growth flow fields, a T3-phase lung nodule prediction mask, and a T3-phase lung nodule reference mask, respectively, to visualize the output and comparison methods of the prediction results of this invention. The prediction results show that this method can generate a growth flow field reflecting the local deformation trend of nodules based on T1 and T2 historical time-phase images, and predict the nodule outline in the T3 phase; the prediction mask and the reference mask show good consistency in nodule location, overall morphology, and main areas of change.
[0078] like Figure 7 As shown, the embodiment also provides a lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation, including a data processing unit 71, a feature extraction unit 72, a flow field estimation unit 73, a flow field extrapolation unit 74, and a decoding prediction unit 75. The data processing unit 71 is used to sequentially resample, HU-value truncate, normalize, segment the lung field, and crop the region of interest of the nodule from chest CT images containing at least two historical follow-up phases to obtain multi-temporal three-dimensional CT data. The feature extraction unit 72 is used to extract the nodule region, peritumoral region, and whole-lung context region based on the multi-temporal three-dimensional CT data and encode them to obtain three-dimensional image features of different regions. The flow field estimation unit 73 is used to perform multi-temporal prediction based on the three-dimensional image features of any T1 and T2 phases. The two-phase feature interaction is used to obtain the two-phase alignment features. Based on the two-phase alignment features, the historical three-dimensional differential flow field of the spatial evolution relationship between the two phases is estimated. The flow field extrapolation unit 74 is used to generate a predicted three-dimensional growth flow field to characterize the evolution trend from the T2 phase to the future target phase T3 by spatiotemporal extrapolation based on the historical three-dimensional differential flow field, the time interval encoding from the T1 phase to the T2 phase, and the predicted time interval encoding from the T2 phase to the future target phase T3. The decoding prediction unit 75 is used to perform three-dimensional deformation on the nodule features or nodule mask of the T2 phase using the predicted three-dimensional growth flow field, reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and output the final predicted mask and growth category of the lung nodule in the future target phase T3 through multi-task decoding.
[0079] It should be noted that the lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation provided in the above embodiments should be illustrated using the above-described functional module division as an example when predicting lung nodule growth trajectories. The functions described above can be assigned to different functional modules as needed, i.e., the internal structure of the terminal or server can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation provided in the above embodiments and the lung nodule growth trajectory prediction method embodiment based on three-dimensional differential flow field registration and spatiotemporal extrapolation belong to the same concept. For details of its implementation process, please refer to the lung nodule growth trajectory prediction method embodiment based on three-dimensional differential flow field registration and spatiotemporal extrapolation, which will not be repeated here.
[0080] Based on the same inventive concept, the embodiment also provides a computing device, including a memory and one or more processors. The memory stores executable code, and when the one or more processors execute the executable code, it is used to implement the above-mentioned method for predicting the growth trajectory of lung nodules based on three-dimensional differential flow field registration and spatiotemporal extrapolation, specifically including the following steps: S1, Data Processing: The chest CT images containing at least two historical follow-up phases are sequentially resampled, HU value truncation is performed, normalization is performed, lung field segmentation is performed, and nodule region of interest is cropped to obtain multi-temporal three-dimensional CT data. S2, Feature extraction: Based on the multi-temporal 3D CT data, extract the nodule region, peritumoral region and whole lung context region and encode the 3D image features of different regions; S3, Flow field estimation: Based on the three-dimensional image features of any T1 and T2 time phases, perform dual-time phase feature interaction to obtain dual-time phase alignment features, and estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-time phase alignment features; S4, Flow field extrapolation: Based on the historical three-dimensional differential flow field and the time interval encoding from T1 to T2, and the predicted time interval encoding from T2 to the future target time phase T3, spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from T2 to the future target time phase T3. S5, Decoding and Prediction: Using the predicted three-dimensional growth flow field, the nodule features or nodule mask in phase T2 are subjected to three-dimensional deformation to reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and the final predicted mask and growth category of the lung nodule in the future target phase T3 are output through multi-task decoding.
[0081] The computing device provided in the embodiments, at the hardware level, includes not only a processor and memory, but also internal buses, network interfaces, memory, and other hardware required for business operations. The memory is non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to implement the lung nodule growth trajectory prediction method based on three-dimensional differential flow field registration and spatiotemporal extrapolation described in any of the above embodiments. Of course, besides software implementation, this invention does not exclude other implementation methods, such as logic devices or a combination of hardware and software. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.
[0082] Based on the same inventive concept, the embodiments also provide a computer-readable storage medium storing a program that, when executed by a processor, implements the above-described method for predicting lung nodule growth trajectories based on three-dimensional differential flow field registration and spatiotemporal extrapolation, specifically including the following steps: S1, Data Processing: The chest CT images containing at least two historical follow-up phases are sequentially resampled, HU value truncation is performed, normalization is performed, lung field segmentation is performed, and nodule region of interest is cropped to obtain multi-temporal three-dimensional CT data. S2, Feature extraction: Based on the multi-temporal 3D CT data, extract the nodule region, peritumoral region and whole lung context region and encode the 3D image features of different regions; S3, Flow field estimation: Based on the three-dimensional image features of any T1 and T2 time phases, perform dual-time phase feature interaction to obtain dual-time phase alignment features, and estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-time phase alignment features; S4, Flow field extrapolation: Based on the historical three-dimensional differential flow field and the time interval encoding from T1 to T2, and the predicted time interval encoding from T2 to the future target time phase T3, spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from T2 to the future target time phase T3. S5, Decoding and Prediction: Using the predicted three-dimensional growth flow field, the nodule features or nodule mask in phase T2 are subjected to three-dimensional deformation to reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and the final predicted mask and growth category of the lung nodule in the future target phase T3 are output through multi-task decoding.
[0083] In this embodiment, the computer-readable medium includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data.
[0084] The specific embodiments described above illustrate the technical solution and beneficial effects of the present invention in detail. It should be understood that the above description is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, additions, and equivalent substitutions made within the scope of the principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for predicting the growth trajectory of lung nodules based on three-dimensional differential flow field registration and spatiotemporal extrapolation, characterized in that, Includes the following steps: Data processing: Chest CT images containing at least two historical follow-up phases were sequentially resampled, HU value truncation was performed, normalization was performed, lung field segmentation was performed, and nodule regions of interest were cropped to obtain multi-temporal three-dimensional CT data. Feature extraction: Based on the multi-temporal 3D CT data, the nodule region, peritumoral region, and whole lung context region are extracted and encoded to obtain the 3D image features of different regions; Flow field estimation: Based on the three-dimensional image features of any T1 and T2 time phases, perform dual-time phase feature interaction to obtain dual-time phase alignment features, and estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-time phase alignment features; Flow field extrapolation: Based on the historical three-dimensional differential flow field and the time interval encoding from T1 to T2, and the predicted time interval encoding from T2 to the future target time phase T3, spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from T2 to the future target time phase T3. Decoding and prediction: The predicted three-dimensional growth flow field is used to perform three-dimensional deformation on the nodule features or nodule mask in the T2 phase, reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and output the final predicted mask and growth category of the lung nodule in the future target phase T3 through multi-task decoding.
2. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 1, characterized in that, Based on the 3D image features of arbitrary T1 and T2 time phases, dual-temporal feature interaction is performed to obtain dual-temporal alignment features, including: The nodule features and peritumoral features of T1 and T2 time phases were fused to obtain T1 local fusion features and T2 local fusion features; Linear mapping is performed on the local fusion features of T1 to obtain the query vector, and linear mapping is performed on the local fusion features of T2 to obtain the key vector and value vector respectively; Based on the query vector and the key vector, calculate the dual-temporal attention weights, and use the dual-temporal attention weights to perform weighted aggregation on the value vectors to obtain interactive features carrying T2 temporal spatial change information; The interactive features are combined with the T1 local fusion features through residual fusion or normalization fusion to obtain the dual-time relative homogeneous features used to estimate the historical three-dimensional differential flow field.
3. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 1, characterized in that, Historical three-dimensional differential flow field, based on the two-phase spatial evolution relationship estimation using the two-phase alignment characteristics, includes: A differential flow field estimation network is used to estimate the historical three-dimensional differential flow field from time phase T1 to time phase T2 based on the dual-time phase alignment feature. The historical three-dimensional differential flow field is a dense three-channel displacement field F. 12 =(dx 12 dy 12 dz 12 ), where dx 12 dy represents the horizontal displacement of the cross section. 12 dz represents the vertical displacement of the cross-section. 12 The displacement in the plane direction is represented by a three-dimensional displacement vector for each voxel, which describes the spatial change of each voxel position from phase T1 to phase T2. The spatial change includes spatial components to compensate for differences in respiratory phase and body position, as well as deformation components related to the local morphological evolution of the nodule.
4. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 1, characterized in that, Spatiotemporal extrapolation generates a predicted three-dimensional growth flow field to characterize the evolution trend from phase T2 to the future target phase T3, including: The historical three-dimensional differential flow field is modeled by components to obtain spatial registration components and growth residual components. The spatial registration components are used to compensate for overall or local spatial misalignment caused by differences in respiratory phase, changes in body position or differences in scanning posture. The growth residual components are used to describe the expansion, contraction or local morphological evolution trend of nodule boundaries. The growth residual component, the two temporal alignment features, the whole lung context features corresponding to the whole lung context region, and the time coding vector are fused to obtain the fused spatiotemporal features; A spatiotemporal extrapolation network is used to output a predicted three-dimensional growth flow field based on the fused spatiotemporal features, showing the evolution trend from phase T2 to the future target phase T3.
5. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 4, characterized in that, The growth residual component, the two temporal alignment features, the whole lung context features corresponding to the whole lung context region, and the temporal encoding vector are fused, including: First, global average pooling, attention pooling, or multilayer perceptron mapping is performed on the contextual features of the whole lung to obtain the semantic vector of the whole lung. Then, the whole lung semantic vector is concatenated or weighted and fused with the time interval encoding from T1 to T2 and the predicted time interval encoding from T2 to the future target time phase T3 to obtain the spatiotemporal condition vector. Subsequently, the spatiotemporal condition vector is broadcast to the region of interest space of the nodule, and spliced with the growth residual component and the dual temporal alignment feature in the channel dimension, or channel weights and spatial weights are generated through a gating mechanism to dynamically adjust the displacement response of different positions and different channels in the growth residual component. After weighted fusion, the fused spatiotemporal features are obtained.
6. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 1, characterized in that, The three-dimensional prediction mask and growth category of lung nodules in the future target phase T3 are output through multi-task decoding, including: Global semantic injection: The whole lung context features are mapped by global average pooling, attention pooling or multilayer perceptron to obtain the whole lung semantic vector. The whole lung semantic vector is then fused with the time encoding vector and injected with future morphological features. 3D prediction mask decoding output: Input the future morphological features after injecting global semantics into the mask decoding head, and output the final prediction mask of lung nodules in the future target phase T3; Growth category decoding output: The future morphological features after global semantic injection, T2 phase nodule features, predicted three-dimensional growth flow field statistical features and time encoding vector are input into the classification decoding head, and the lung nodule growth category is output. Among them, the predicted three-dimensional growth flow field statistical features may include the mean displacement amplitude, maximum displacement amplitude, radial expansion trend and boundary region displacement distribution of the predicted three-dimensional growth flow field.
7. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 4, characterized in that, The method further includes: generating a three-dimensional sampling grid based on the historical three-dimensional differential flow field, and deforming the nodule features or nodule masks corresponding to the nodule region in time phase T1 to the corresponding space in time phase T2 through sampling of the three-dimensional sampling grid, so as to obtain historical deformation features aligned with time phase T2. The historical deformation features are used as one of the input features of the spatiotemporal extrapolation network, and together with the time interval encoding and growth residual components, they are used to predict the three-dimensional growth flow field from time phase T2 to time phase T3. They are also used to calculate the historical registration consistency loss to constrain the historical deformation features to maintain consistency with the nodule features corresponding to time phase T2.
8. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 7, characterized in that, The method further includes: supervised training using samples with T1, T2, and T3 multi-temporal CT images. The trained network structure includes: a three-dimensional medical visual encoder for extracting three-dimensional image features corresponding to the nodule region, peritumoral region, and whole lung context region; a dual-temporal feature interaction module for fusing T1 and T2 temporal features; a differential flow field estimation network for outputting historical three-dimensional differential flow fields; a spatiotemporal extrapolation network for predicting three-dimensional growth flow fields; and a multi-task decoding head for outputting a prediction mask and growth category for the T3 temporal phase. Three-dimensional mesh sampling and trilinear interpolation participate in forward computation and backward propagation as differentiable deformation operations, enabling the differential flow field estimation network and spatiotemporal extrapolation network to be optimized using downstream supervisory signals.
9. The method for predicting lung nodule growth trajectory based on three-dimensional differential flow field registration and spatiotemporal extrapolation according to claim 8, characterized in that, Training objectives may include at least one of the following losses: First, the future 3D mask loss is used to constrain the T3 phase lung nodule final prediction mask output by the mask decoding head to be consistent with the T3 phase lung nodule reference mask. The future 3D mask loss can be Dice loss, cross-entropy loss, or a weighted combination of the two. Second, the volume or maximum diameter change loss is used to constrain the volume, maximum diameter or its change relative to the T2 lung nodule calculated by the T3 phase lung nodule prediction mask to be consistent with the actual T3 labeled volume or maximum diameter. The volume or maximum diameter change loss can be the mean absolute error, mean square error or smoothing L1 loss. Third, growth category loss, which is used to constrain the reduction, stabilization or consistency of the growth category with the growth category label in the output of the classification decoder. The growth category loss can be either cross-entropy loss or weighted cross-entropy loss. Fourth, the historical registration consistency loss is used to constrain the consistency between the historical deformation characteristics obtained after the deformation of the nodal characteristics at time T1 through the historical three-dimensional differential flow field and the corresponding nodal characteristics at time T2. The historical registration consistency loss adopts the L1 loss. Fifth, the initial deformation mask loss is used to constrain the consistency between the initial deformation mask of the T2 phase nodule mask after deformation by the predicted three-dimensional growth flow field and the reference mask of the T3 phase lung nodule. The initial deformation mask loss adopts the Dice loss function. Sixth, flow field smoothing loss, used to constrain the continuous change of displacement between adjacent voxels in the flow field and reduce unreasonable abrupt changes, adopts a first-order total variation loss function.
10. A lung nodule growth trajectory prediction system based on three-dimensional differential flow field registration and spatiotemporal extrapolation, characterized in that, include: The data processing unit is used to sequentially resample, HU value truncation, normalization, lung field segmentation, and nodule region of interest clipping of chest CT images containing at least two historical follow-up phases to obtain multi-temporal three-dimensional CT data. The feature extraction unit is used to extract the nodule region, the peritumoral region, and the whole lung context region based on the multi-temporal three-dimensional CT data and encode the three-dimensional image features of different regions. The flow field estimation unit is used to perform dual-temporal feature interaction based on the three-dimensional image features of any T1 and T2 time phases to obtain dual-temporal alignment features, and to estimate the historical three-dimensional differential flow field of the spatial evolution relationship between the two time phases based on the dual-temporal alignment features. The flow field extrapolation unit is used to generate a predicted three-dimensional growth flow field that characterizes the evolution trend from the T2 phase to the future target phase T3 based on the historical three-dimensional differential flow field, the time interval encoding from the T1 phase to the T2 phase, and the predicted time interval encoding from the T2 phase to the future target phase T3. The decoding prediction unit is used to perform three-dimensional deformation of the nodule features or nodule mask in the T2 phase using the predicted three-dimensional growth flow field, reconstruct the future morphological features or initial deformation mask of the lung nodule in the future target phase T3, and output the final predicted mask and growth category of the lung nodule in the future target phase T3 through multi-task decoding.
