Myocardial infarction risk assessment method based on spatiotemporal myocardial motion field
By constructing the global motion field and ventricular wall motion field of echocardiography, tracking the myocardial motion trajectory, and extracting multi-dimensional features, the subjective nature and uninterpretable nature of myocardial infarction assessment in existing technologies are solved, realizing quantitative risk assessment and interpretable assessment of myocardial infarction.
Patent Information
- Application Number
- CN202611684247.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing echocardiography-based assessment methods rely on subjective visual observation, which makes it difficult to quantitatively describe the subtle motion changes of the myocardium throughout the entire systolic and diastolic cycle and the intersegmental coordination. This leads to the easy omission of early motion abnormalities in myocardial infarction. Furthermore, computer-aided analysis lacks multi-level joint modeling, and the assessment results lack interpretability.
By acquiring echocardiographic sequences, motion estimation is performed to construct a global motion field. The ventricular wall motion field is extracted using ventricular wall masking, fixed ventricular wall coordinates are established, the positive motion trajectory is tracked, kinematic and deformation parameters are extracted, a spatiotemporal myocardial motion atlas is constructed, and segmental motion states, transmural differences, and intersegmental synergistic features are extracted to comprehensively assess the risk of myocardial infarction.
It enables quantitative risk assessment of myocardial infarction, providing an automated, quantitative, and retrospective auxiliary assessment method. It overcomes the technical shortcomings of traditional methods, such as subjectivity and lack of interpretability of assessment results, and improves the accuracy and interpretability of assessment results.
Smart Images

Figure CN123183031A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image analysis technology, and in particular to a method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field. Background Technology
[0002] Current echocardiography-based assessment methods primarily rely on physicians' subjective visual interpretation of two-dimensional grayscale images. This not only heavily depends on operator experience and suffers from poor diagnostic repeatability, but also struggles to quantitatively describe subtle myocardial motion changes throughout the entire systolic and diastolic cycle, as well as the synergistic relationships between different segments. More critically, motion abnormalities caused by myocardial infarction often precede changes in cardiac chamber morphology, exhibiting a segmental distribution that can affect the entire myocardial layer or be limited to a specific transmural layer. Traditional methods struggle to simultaneously capture both spatial segmental heterogeneity and temporal motion incoordination, making it highly susceptible to missing motion abnormalities in early, small ischemic areas. Furthermore, existing computer-aided analysis methods mostly extract single-dimensional motion parameters, lacking a multi-level joint modeling framework encompassing overall cardiac function, segmental motion, transmural differences, and intersegmental synergy. The assessment results also lack interpretability, failing to meet the practical clinical needs for early screening, accurate diagnosis, and treatment decision support. Summary of the Invention
[0003] This invention provides a method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field, in order to solve the problems in the prior art that rely on subjective visual observation, make it difficult to quantitatively analyze ventricular wall motion and intersegmental coordination, resulting in easy missed diagnosis of early myocardial ischemia and insufficient accuracy of risk assessment.
[0004] The first aspect of this invention provides a method for myocardial infarction risk assessment based on spatiotemporal myocardial motion field, comprising: acquiring an echocardiographic sequence, wherein the echocardiographic sequence contains an apical four-chamber view of a complete cardiac cycle; performing motion estimation on adjacent temporal images in the echocardiographic sequence to obtain a global motion field; extracting motion information of the ventricular wall region from the global motion field using a left ventricular wall mask to construct a ventricular wall motion field; using the first frame of the echocardiographic sequence as a reference temporal phase, establishing myocardial ventricular wall coordinates in the reference temporal phase, and determining the positive motion trajectory of a fixed ventricular wall point in the cardiac cycle based on the ventricular wall motion field, wherein the positive motion trajectory refers to the trajectory along the time axis of the cardiac cycle. The forward motion trajectory is a set of offsets of the fixed ventricular wall points relative to their positions in the reference phase at each time phase. Kinematic and deformation parameters are extracted from the forward motion trajectory and organized into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence. The spatiotemporal myocardial motion atlas includes the spatial coordinates, cardiac phase index, displacement vector, velocity vector, and strain parameters of each fixed ventricular wall point. Features reflecting the motion state of different myocardial segments, transmural differences, and intersegmental synergy are extracted from the spatiotemporal myocardial motion atlas. Based on the extracted features, the abnormal risk of each myocardial segment is assessed, and the overall myocardial infarction risk of the patient is comprehensively assessed based on the abnormal risk of each segment, and the risk assessment result is output.
[0005] In one feasible implementation, the step of performing motion estimation on adjacent temporal images in the echocardiogram sequence to obtain a global motion field includes: performing image preprocessing on the echocardiogram sequence to adjust the size and grayscale range of each frame image; inputting the images of adjacent temporal phases into a motion estimation network to extract cross-temporal motion correlation features; and predicting a two-dimensional displacement vector field between adjacent temporal phases based on the motion correlation features, as the global motion field.
[0006] In one feasible implementation, the step of inputting adjacent temporal image pairs into a motion estimation network to extract cross-temporal motion association features includes: inputting adjacent temporal image pairs into a temporally conditional U-shaped convolutional encoder, extracting multi-scale motion information from local details to global deformation through cascaded downsampling operations, and gradually restoring spatial resolution through cascaded upsampling operations; simultaneously with the downsampling and upsampling operations, generating a frame position encoding vector based on the sequential index of the current image pair in the frame sequence, and injecting the frame position encoding vector into each downsampling stage of the encoder to distinguish the differences in motion patterns at different cardiac temporal positions; and fusing the shallow detail features at each scale during downsampling with the deep semantic features restored by upsampling through skip connections in the encoder to output an encoded feature map containing multi-scale motion association information.
[0007] In one feasible implementation, predicting the two-dimensional displacement vector field between adjacent temporal phases as a global motion field based on the motion association features includes: embedding the encoded feature map into image blocks to form multiple spatial motion markers, and mapping each motion marker to a hidden feature space of a preset dimension; encoding the continuous time parameters between adjacent temporal phases into continuous time conditional vectors, injecting them into the transformer block through an adaptive normalization mechanism, modeling the global association between each motion marker using a multi-head self-attention mechanism, and performing nonlinear transformation on the motion marker features through a feedforward network; restoring the transformed motion markers into spatial feature maps, and outputting two displacement components through a convolution operation to form a two-dimensional displacement vector field covering the entire image space as the global motion field.
[0008] In one feasible implementation, the step of extracting motion information of the ventricular wall region from the global motion field using a left ventricular wall mask to construct a ventricular wall motion field includes: starting with the left ventricular wall mask of a reference time phase, propagating the mask to subsequent time phases using the global motion field to obtain a phase-by-phase propagated ventricular wall mask; performing pixel-by-pixel spatial matching between the global motion field of each time phase and the phase-by-phase propagated ventricular wall mask of the corresponding time phase; and based on the result of the pixel-by-pixel spatial matching, retaining the motion information in the global motion field that is within the coverage area of the phase-by-phase propagated ventricular wall mask, and discarding the motion information outside the mask range to obtain the ventricular wall motion field.
[0009] In one feasible implementation, the step of using the left ventricular wall mask of the reference time phase as a starting point and propagating the mask to subsequent time phases using the global motion field to obtain a phase-by-phase propagated ventricular wall mask includes: using the left ventricular wall mask of the reference time phase as an initial mask, and establishing blank mask templates of the same size as the initial mask for each subsequent time phase; for each subsequent time phase, performing a spatial transformation on the initial mask using the cumulative motion field corresponding to that time phase, deforming the ventricular wall morphology of the reference time phase to the spatial configuration of that time phase, and filling the deformation result into the blank mask template corresponding to that time phase; performing binarization processing on the deformed continuous value mask filled into each time phase template to obtain a binary ventricular wall mask for each time phase, and performing the above processing sequentially on each subsequent time phase to obtain a phase-by-phase propagated ventricular wall mask, wherein the phase-by-phase propagated ventricular wall mask includes the binary ventricular wall mask of the reference time phase and all subsequent time phases.
[0010] In one feasible implementation, the step of retaining motion information within the coverage area of the phase-by-phase propagation ventricular wall mask in the global motion field and discarding motion information outside the mask range based on the pixel-by-pixel spatial matching result to obtain the ventricular wall motion field includes: multiplying the motion vector of each pixel position in the global motion field with the corresponding pixel value in the binary ventricular wall mask point by point according to the pixel-by-pixel spatial matching result; retaining the original motion vector of pixels within the mask coverage area and turning the motion vector of pixels outside the mask range into a zero vector; processing the reference phase separately and defining the ventricular wall motion field of the reference phase as a zero vector field; performing the above operation sequentially on all phases to obtain a ventricular wall motion field sequence covering the entire cardiac cycle.
[0011] In one feasible implementation, the step of extracting kinematic and deformation parameters from the forward motion trajectory and organizing them into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence includes: extracting displacement components of each fixed ventricular wall point at each phase of the cardiac cycle from the forward motion trajectory, and calculating the rate of change of the displacement components along the time axis to obtain velocity parameters; differentiating the forward motion trajectory in space to obtain deformation gradients, and extracting strain parameters reflecting ventricular wall deformation from the deformation gradients; and combining the displacement components, velocity parameters, strain parameters, and corresponding reference coordinate positions, cardiac phase indices, and segmental attribution information to form a spatiotemporal myocardial motion atlas.
[0012] In one feasible implementation, the step of extracting features reflecting the motion state of different myocardial segments, transmural differences, and intersegmental synergy from the spatiotemporal myocardial motion atlas includes: classifying sampling points in the spatiotemporal myocardial motion atlas into corresponding myocardial segments according to standard myocardial segment division, and statistically analyzing motion parameters at different transmural levels within each segment to extract segment-level motion state features; comparing the differences in motion parameters of the same segment at different transmural levels to extract transmural difference features; calculating the correlation between motion time curves of different myocardial segments and the correlation between each segment and the overall left ventricular reference motion curve to extract mechanical synchronization features reflecting intersegmental synergy. In one feasible implementation, the step of assessing the abnormal risk of each myocardial segment based on the extracted features, and comprehensively assessing the overall myocardial infarction risk of the patient based on the abnormal risk of each segment, and outputting the risk assessment result, includes: combining the segmental motion state features, transmural difference features, and mechanical synchronization features of each myocardial segment to form a multi-dimensional feature vector for each segment, and processing the multi-dimensional feature vector of each segment using a preset assessment criterion to obtain the abnormal risk probability of each segment; using the Noisy-OR aggregation method to fuse the abnormal risk probabilities of each segment into the overall myocardial infarction risk probability of the patient; determining the suspected affected myocardial segment and its risk level based on the overall myocardial infarction risk probability of the patient and the abnormal risk probabilities of each segment, and outputting the risk assessment result, wherein the risk assessment result includes the overall myocardial infarction risk probability of the patient, the risk level and segment identifier of the suspected affected myocardial segment, and at least one explanatory information among the motion curve, ventricular wall motion vector, or deformation grid corresponding to the suspected affected myocardial segment.
[0013] In this embodiment of the invention, a quantitative risk assessment of myocardial infarction is achieved based on echocardiographic sequences. Motion estimation is performed on adjacent temporal images, and a clean ventricular wall motion field is obtained by using a wall mask, avoiding irrelevant motion interference from cardiac blood and tissue background. Based on this, fixed myocardial ventricular wall coordinates are established using the first frame as a reference, and the positive motion trajectory of each point throughout the cardiac cycle is tracked. Furthermore, kinematic and deformation parameters such as velocity and strain are extracted from the displacement trajectory and organized into a structured spatiotemporal myocardial motion atlas according to temporal phase and spatial location, allowing each segment of the ventricular wall to be visualized at different transmural levels. The motion states at different time phases are uniformly represented, and then segmental motion state features, transmural hierarchical differences, and intersegmental coordination features are extracted from the atlas. This enables multi-dimensional pathological information joint modeling from local motion abnormalities and transmural incoordination to overall mechanical asynchrony. Finally, by comprehensively assessing the risk of abnormality in each segment, the overall risk of myocardial infarction in patients is evaluated. This overcomes the technical defects of traditional methods, such as reliance on subjective visual observation, difficulty in quantitatively describing intersegmental coordination, and lack of interpretability of assessment results. It provides clinical practice with an automated, quantitative, and retrospective auxiliary assessment method. Attached Figure Description
[0014] Figure 1 This is a schematic diagram of an embodiment of the myocardial infarction risk assessment method based on spatiotemporal myocardial motion field in this invention. Figure 2 This is a schematic diagram of an embodiment of the myocardial infarction risk assessment system based on spatiotemporal myocardial motion field in this invention. Figure 3 This is a schematic diagram of another embodiment of the myocardial infarction risk assessment system based on spatiotemporal myocardial motion field in this invention; Figure 4 This is a schematic diagram of one embodiment of the electronic device in this invention. Detailed Implementation
[0015] This invention provides a method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field. By performing motion estimation and ventricular wall motion field construction on echocardiographic sequences, a spatiotemporal myocardial motion atlas containing multi-channel information such as displacement, velocity, and strain is generated. Segmental motion, transmural differences, and inter-segmental synergistic features are extracted from the atlas for joint modeling, thereby achieving quantitative risk assessment of myocardial infarction and effectively improving the accuracy and interpretability of the assessment results.
[0016] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0017] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the myocardial infarction risk assessment method based on spatiotemporal myocardial motion field in this invention includes: 101. Obtain an echocardiographic sequence containing an apical four-chamber view of the complete cardiac cycle; The patient's echocardiogram video must be acquired. This video must record the entire contraction and relaxation process of the heart during a complete cardiac cycle, and a standard cross-sectional image specifically selected from the apex of the heart that can simultaneously display all four chambers of the heart (left and right atria and ventricles).
[0018] 102. Motion estimation is performed on adjacent phase images in the echocardiogram sequence to obtain the global motion field; A pixel-by-pixel comparative analysis is performed on adjacent frames of the acquired ultrasound sequence. By tracking the subtle movement patterns of tissue specks in the images, the motion vector distribution of the entire heart in all directions is calculated, forming a global motion field covering the entire field of view. Specifically, an optical flow method based on energy functional variational optimization can be used, introducing a multi-scale layering strategy to enhance robustness against ultrasound speckle noise and signal loss. Ultimately, the horizontal and vertical displacement components of each pixel in the image are output. In other embodiments of the invention, the global motion field can also be obtained using classical image processing algorithms known in the art, such as block matching, dynamic programming, or variational optical flow, without relying on a specific neural network structure. That is, as long as the motion vector field between adjacent phases of the echocardiogram sequence can be obtained, it can be used as the global motion field in this step.
[0019] 103. Use the left ventricular wall mask to extract motion information of the ventricular wall region from the global motion field and construct the ventricular wall motion field; Based on a binary mask of the left ventricular wall at a reference time phase (usually end-diastole), this mask is used as a spatial template to perform pixel-by-pixel spatial filtering of the global motion field. Only displacement vectors within the wall coverage area are retained, while motion interference from non-wall regions such as cardiac blood, valves, and extracardiac tissues is eliminated, resulting in a wall motion field containing only motion information of the left ventricular wall region. This mask is propagated through the global motion field to subsequent time phases to ensure that the mask matches the actual spatial position of the ventricular wall at each time phase.
[0020] 104. Using the first frame of the echocardiogram sequence as the reference phase, establish the myocardial ventricular wall coordinates in the reference phase, and determine the positive motion trajectory of the fixed ventricular wall point in the cardiac cycle based on the ventricular wall motion field. The positive motion trajectory refers to the set of the position offsets of the fixed ventricular wall point in each phase relative to its position in the reference phase along the positive time axis of the cardiac cycle. In the reference phase, the ventricular wall centerline is extracted based on the anatomical morphology of the left ventricular wall. Sampling points are set at equal intervals along the centerline, and at each sampling point, sampling points are set at three trans-mural levels—subendocardial, medial, and subepicardial—perpendicular to the centerline, forming a fixed reference ventricular wall coordinate system. This reference phase is consistent with the reference phase used in step 103, and is the first frame of the echocardiographic sequence.
[0021] For each sampling point in the fixed reference ventricular wall coordinates, the target position of the sampling point in each subsequent phase of the cardiac cycle is determined by inverse mapping using the ventricular wall motion field. The position offset of the target position relative to the reference position in each phase is arranged in the time sequence of the cardiac cycle to form the forward motion trajectory of the fixed ventricular wall point.
[0022] 105. Extract kinematic and deformation parameters from the positive motion trajectory and organize them into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence. The spatiotemporal myocardial motion atlas includes the spatial coordinates of each fixed ventricular wall point, cardiac phase index, displacement vector, velocity vector and strain parameter. Displacement components of each fixed ventricular wall point at each phase of the cardiac cycle are extracted from the forward motion trajectory, and the rate of change of the displacement components along the time axis is calculated to obtain the velocity parameter. Simultaneously, the deformation gradient is obtained by spatially differentiating the forward motion trajectory, and strain parameters reflecting the local tension, compression, and shearing of the ventricular wall are extracted. The displacement components, velocity parameters, strain parameters, and corresponding reference coordinate positions, cardiac phase indices, and segmental attribution information are organized into a structured spatiotemporal myocardial motion atlas according to four dimensions: spatial location, transmural layer, cardiac phase, and motion channel. This atlas allows any value to be traced back to a specific ventricular wall location, transmural layer, phase, and type of motion parameter.
[0023] 106. Extract features from spatiotemporal myocardial motion atlas that reflect the motion state of different myocardial segments, differences in transmural levels, and intersegmental synergy; According to the standard myocardial segment division, the sampling points in the atlas are assigned to the corresponding myocardial segments. Motion parameters at different transmural levels within each segment are statistically analyzed to extract segmental-level motion state characteristics. Differences in motion parameters at different transmural levels within the same segment are compared to extract transmural difference characteristics. The correlation between motion time curves of different myocardial segments and the correlation between each segment and the overall left ventricular reference motion curve are calculated to extract mechanical synchronization characteristics reflecting inter-segmental synergy. These three types of characteristics together constitute a multi-dimensional indicator set characterizing myocardial motion state.
[0024] 107. Based on the extracted features, assess the abnormal risk of each myocardial segment, and comprehensively assess the patient's overall myocardial infarction risk based on the abnormal risk of each segment, and output the risk assessment results.
[0025] The segmental motion characteristics, transmural differences, and mechanical synchronization characteristics of each myocardial segment are combined into multi-dimensional feature vectors for each segment. These feature vectors are then processed using pre-defined assessment criteria to obtain the abnormal risk probability for each segment. A Noisy-OR aggregation method is then used to fuse the abnormal risk probabilities of each segment into the overall myocardial infarction risk probability for the patient. Based on the patient-level and segmental risk probabilities, suspected affected myocardial segments and their risk levels are determined. The final risk assessment results include the overall myocardial infarction risk probability for the patient, the risk level and segment identifier of the suspected affected myocardial segment, and at least one explanatory information from the motion curve, ventricular wall motion vector, or deformation grid corresponding to the suspected affected myocardial segment.
[0026] In one embodiment, the pre-set assessment criteria can be a discriminant model pre-trained based on clinical research data, which maps the feature vectors of each segment to an abnormality risk probability. In another embodiment, the pre-set assessment criteria can be a weighted scoring rule based on publicly available clinical research results, assigning different weight coefficients to different features, calculating the abnormality risk score of each segment through weighted summation, and then converting it into a risk probability via a logistic function. Regardless of the assessment criteria used, the core is to quantitatively assess the degree of motion abnormality in each myocardial segment using the aforementioned extracted multi-dimensional features.
[0027] In this embodiment of the invention, a quantitative risk assessment of myocardial infarction is achieved based on echocardiographic sequences. Motion estimation is performed on adjacent temporal images, and a clean ventricular wall motion field is obtained by using a wall mask, avoiding irrelevant motion interference from cardiac blood and tissue background. Based on this, fixed myocardial ventricular wall coordinates are established using the first frame as a reference, and the positive motion trajectory of each point throughout the cardiac cycle is tracked. Furthermore, kinematic and deformation parameters such as velocity and strain are extracted from the displacement trajectory and organized into a structured spatiotemporal myocardial motion atlas according to temporal phase and spatial location, allowing each segment of the ventricular wall to be visualized at different transmural levels. The motion states at different time phases are uniformly represented, and then segmental motion state features, transmural hierarchical differences, and intersegmental coordination features are extracted from the atlas. This enables multi-dimensional pathological information joint modeling from local motion abnormalities and transmural incoordination to overall mechanical asynchrony. Finally, by comprehensively assessing the risk of abnormality in each segment, the overall risk of myocardial infarction in patients is evaluated. This overcomes the technical defects of traditional methods, such as reliance on subjective visual observation, difficulty in quantitatively describing intersegmental coordination, and lack of interpretability of assessment results. It provides clinical practice with an automated, quantitative, and retrospective auxiliary assessment method.
[0028] Furthermore, motion estimation is performed on adjacent temporal images in the echocardiogram sequence to obtain the global motion field, including: image preprocessing of the echocardiogram sequence to adjust the size and grayscale range of each frame; inputting adjacent temporal images into the motion estimation network to extract cross-temporal motion correlation features; and predicting the two-dimensional displacement vector field between adjacent temporal phases based on the motion correlation features, as the global motion field. Specifically, grayscale normalization is performed on each frame of the echocardiogram sequence, linearly mapping the pixel values of each frame to a preset numerical range. An interpolation algorithm is used to uniformly resample each frame to a preset spatial resolution, achieving a balance between computational efficiency and motion detail preservation. Following the temporal order of the cardiac cycle, adjacent frames are sequentially stitched along the channel dimension to form an input tensor, maintaining temporal consistency among image pairs within the frame sequence. The stitched adjacent-phase image pairs are input to a temporally conditional U-shaped convolutional encoder, where cascaded downsampling operations progressively extract multi-scale motion information from local details to global deformation, and cascaded upsampling operations gradually restore spatial resolution. Simultaneously with downsampling and upsampling operations, a frame position encoding vector is generated based on the current image pair's sequential index within the frame sequence, and this vector is injected into each of the encoder's downsampling and upsampling operations. In the sampling phase, differences in motion patterns at different cardiac phases are distinguished. The encoder's skip connections fuse shallow detail features from downsampling at various scales with deep semantic features recovered from upsampling, outputting an encoded feature map containing multi-scale motion association information. This encoded feature map is then processed through image patch embedding to form multiple spatial motion markers, which are mapped to a hidden feature space of a preset dimension. Continuous time parameters between adjacent phases are encoded into continuous time conditional vectors, injected into the transformer block via an adaptive normalization mechanism, and the global association between motion markers is modeled using a multi-head self-attention mechanism. Furthermore, a feedforward network is used to perform nonlinear transformations on the motion marker features. The transformed motion markers are then restored to spatial feature maps, and two displacement components are output through convolution operations, forming a two-dimensional displacement vector field covering the entire image space, serving as the global motion field.
[0029] The input echocardiogram sequence is grayscale normalized, linearly mapping the pixel values of each frame to the [0,1] interval to eliminate the interference of grayscale differences between different devices and patients on motion estimation. Subsequently, bilinear interpolation is used to uniformly resample each frame to a predetermined spatial resolution, such as 160×160 pixels, to achieve a balance between computational efficiency and motion detail preservation. After preprocessing, adjacent temporal image pairs are constructed sequentially according to the cardiac cycle: the k-th frame and the (k+1)-th frame are concatenated along the channel dimension to form an input tensor of size 2×H×W, where H and W are the height and width of the image, respectively. For an ultrasound sequence containing N frames, N-1 adjacent image pairs are constructed. All image pairs share the parameters of the same motion estimation network, and the continuous frame sequence of a single case is used as the processing unit to maintain the temporal consistency of the motion field between adjacent frames.
[0030] The stitched adjacent image pairs are then input into the motion estimation network. The motion estimation network contains a temporally conditional U-shaped convolutional encoder, which consists of an initial convolutional layer, three downsampled coding blocks, and corresponding skip connections. During the encoding phase, the input tensor is downsampled stepwise, successively reducing the spatial resolution to 1 / 2, 1 / 4, and 1 / 8 to capture multi-scale motion information from local details to global deformation. Simultaneously, based on the current image pair's sequential index in the frame sequence, a high-dimensional positional encoding vector is generated. This encoding can employ a sine-cosine frequency coding form.
[0031]
[0032] in, The index represents the position of the current image pair in the frame sequence, with values ranging from 0, 1, 2, ..., N-2 (where N is the total number of frames in the ultrasound sequence); 'i' represents the dimension index of the encoding vector, with values ranging from 0, 1, ..., d / 2-1; 'd' is the total dimension of the encoding vector (64 in this embodiment). The above formula uses a 2i and 2i+1 pairing design, dividing the d-dimensional position encoding vector into d / 2 "sine-cosine" sub-pairs. This pairwise encoding method allows different combinations of trigonometric functions of different frequencies to generate unique encoding patterns for different positions, enabling the network to accurately distinguish the differences between different cardiac phase positions.
[0033] The positional encoding is transformed by a linear mapping layer and then processed by the SiLU activation function. The SiLU (Sigmoid LinearUnit) function is defined as follows:
[0034] in, This represents any scalar element in the feature vector output by the linear mapping layer. This is the standard Sigmoid function. This function independently performs a non-linear transformation on each element of the input feature vector. The resulting frame position condition vector is injected into each downsampling block of the encoder, enabling the network to distinguish motion pattern differences at different cardiac phase positions.
[0035] The motion-coded features output by the U-shaped encoder are embedded into image patches to form a series of spatial motion markers, each marker corresponding to a local region in the image. These markers are input to the transformer decoder, which uses a multi-head self-attention mechanism to establish global motion associations between different spatial locations and performs a nonlinear transformation on the motion marker features through a feedforward network. The transformer decoder additionally introduces a continuous-time parameter τ∈[0,1] as a conditional input, which represents the relative temporal position between two adjacent frames: τ=0 corresponds to the previous frame, and τ=1 corresponds to the next frame.
[0036] The continuous-time parameter τ is mapped to a continuous-time conditional vector via sine-cosine frequency encoding and a multilayer perceptron. This vector is then injected into each transformer block of the transformer decoder through an adaptive layer normalization zero-initialization mechanism. After processing by the transformer decoder, the motion markers are restored to spatial feature maps, and two displacement components are output through a two-dimensional convolutional layer, forming a continuously time parameterized two-dimensional displacement basis function.
[0037] Where z represents the motion-coded features extracted from the image pair, and τ∈[0,1] is a continuous-time parameter. and These represent the horizontal and vertical displacement basis functions, respectively. The displacement basis functions describe the positional offset of each pixel in an image at any intermediate time phase between two adjacent frames.
[0038] To achieve image deformation and reconstruction using the predicted motion field, this invention employs an inverse spatial sampling method. For the image to be transformed I, the motion field u, and the output coordinates x, the spatial transformation relationship is as follows:
[0039] Where W represents the spatial transformation operator, Indicates the output position The corresponding sampling position in the input image. This formula shows that the motion field describes the inverse sampling relationship from the target position to the source image position, that is, the pixel value at coordinate x in the output image is equal to the pixel value at coordinate x in the input image. The pixel value at that location.
[0040] The motion estimation network is trained using the following continuous-time constraint policy: During the training phase, continuous-time parameters t are randomly sampled within the interval [0,1]. Based on the displacement basis function... The displacement from the previous frame to the middle time phase t and the displacement from the next frame to the same middle time phase t are expressed as follows:
[0041]
[0042] in, This represents the displacement required for a pixel in the previous frame to move to the middle position t. This represents the displacement required for a pixel in the next frame to move to the same intermediate position t.
[0043] Subsequently, using the aforementioned displacement and inverse spatial transformation operator W, the previous frame and the next frame are deformed to the same intermediate time phase:
[0044]
[0045] And constrain the two deformed intermediate phase images to remain consistent at the pixel level, that is, let and The pixel difference between them should be as small as possible.
[0046] For two inversely sampled motion fields acting sequentially. and Its composite displacement is defined as:
[0047] in, Represents the coordinates of any pixel in the image plane. Indicates that the sports field On the sports field After sampling and twisting under deformation, The value at that location, Indicates sports field exist The displacement vector at a given point is added pixel by pixel to obtain the composite motion field. The value at that location.
[0048] The training objective consists of the following seven loss functions, which are weighted and summed according to preset weights and then backpropagated: (1) Adjacent frame reconstruction loss: the predicted motion field u_{0→1}=D(z,1) is used to deform the previous frame to the next frame, and the pixel consistency between the deformed image and the real next frame is constrained; (2) Reference frame cumulative reconstruction loss: the cumulative motion field is used to deform the first frame to each subsequent phase, and the pixel consistency between the deformed image and the real corresponding frame is constrained; (3) Adjacent frame motion field first-order spatial smoothing loss: constrains the continuity of the change of the adjacent frame motion field in the spatial neighborhood; (4) Cumulative motion field first-order spatial smoothing loss: constrains the spatial smoothness of the cumulative motion field; (5) Random intermediate phase image consistency loss: constrains the consistency of the image in the random intermediate phase. and Image consistency in intermediate time phase t; (6) Continuous time displacement composite consistency loss: the composite result of the constraint sub-time displacement is consistent with the directly predicted net displacement; (7) Cumulative intermediate time phase consistency loss: the intermediate time phase displacement obtained by the constraint through the step-by-step accumulation of adjacent frame displacements is consistent with the directly predicted intermediate time phase displacement.
[0049] During the inference phase, the continuous-time parameter τ is fixed at 1, and the motion estimation network directly outputs the global inverse motion field u(k) between each adjacent frame. This motion field describes the inverse sampling relationship from the k-th frame to the (k+1)-th frame. The above inference is performed sequentially for all adjacent image pairs to obtain a sequence of global motion fields covering the entire cardiac cycle.
[0050] Subsequently, according to the inverse spatial sampling relationship, the motion fields of adjacent frames are recursively combined into a cumulative motion field relative to the reference phase of the first frame:
[0051]
[0052] in, Represents the coordinates of any pixel in the image plane; This represents the inverse sampling motion field of the k-th adjacent temporal image pair. Displacement vector at; This represents the reference temporal cumulative backsampled motion field corresponding to the (k+1)th time, obtained by progressively combining the motion fields of adjacent frames. The value at; This indicates that the previous cumulative sports field On the sports field After sampling and twisting under deformation, The value at that point. Adding the two terms on the right side of the equation pixel by pixel yields the cumulative backsampled motion field of the (k+1)th time phase relative to the reference time phase. The value at that location.
[0053] Furthermore, motion information of the ventricular wall region is extracted from the global motion field using the left ventricular wall mask to construct the ventricular wall motion field. This includes: starting with the left ventricular wall mask of the reference time phase, propagating the mask to subsequent time phases using the global motion field to obtain the phase-by-phase propagated ventricular wall mask; performing pixel-by-pixel spatial matching between the global motion field of each time phase and the phase-by-phase propagated ventricular wall mask of the corresponding time phase; retaining the displacement components in the global motion field that are within the coverage area of the phase-by-phase propagated ventricular wall mask, and discarding the displacement components outside the mask range to obtain the ventricular wall motion field. Specifically, the left ventricular wall mask of the reference time phase is used as the initial mask, and blank mask templates of the same size as the initial mask are created for each subsequent time phase. For each subsequent time phase, the initial mask is spatially transformed using the cumulative motion field corresponding to that time phase, deforming the ventricular wall morphology of the reference time phase to the spatial configuration of that time phase, and the deformation result is filled into the blank mask template corresponding to that time phase. The deformed continuous value mask filled into each time phase template is binarized to obtain the binary ventricular wall mask of each time phase. After performing the above processing on each subsequent time phase, the phase-by-phase propagation ventricular wall mask is obtained, which includes the binary ventricular wall mask of the reference time phase and all subsequent time phases. All pixel positions and their corresponding pixel values in the binary ventricular wall mask of the current time phase are obtained. The coverage area of the binary ventricular wall mask is traversed. For each pixel location within the range, determine whether the pixel belongs to the ventricular wall region based on its pixel value. For pixels belonging to the ventricular wall region, retain the motion vector of that location in the global motion field. For pixels not belonging to the ventricular wall region, set the motion vector of that location to zero. Based on the pixel-by-pixel spatial matching results, multiply the motion vector of each pixel location in the global motion field point by point with the pixel value of the corresponding location in the binary ventricular wall mask. Pixels within the mask coverage area retain the original motion vector, while pixels outside the mask range have their motion vectors reduced to zero. The reference phase is processed separately, and the ventricular wall motion field of the reference phase is defined as a zero-vector field. Perform the above operations sequentially on all phases to obtain a ventricular wall motion field sequence covering the entire cardiac cycle. The ventricular wall motion field sequence only contains motion information of the left ventricular wall region.
[0054] Left ventricular wall binary mask at the reference phase (i.e., the first frame of the echocardiographic sequence, usually corresponding to end-diastole). Initially, this mask has the same spatial resolution as the image, where pixel values in the ventricular wall region are 1 and pixel values in the non-ventricular wall region are 0. This initial mask is copied and expanded to the same dimension as the number of subsequent time phases. For the k-th time phase (k=1,2,...,K-1, K is the total number of frames in the sequence), the motion field is backsampled using the previously recursively obtained reference time phase. For the initial mask A spatial transformation is performed. Specifically, an inverse spatial sampling method is used for each pixel position in the target temporal mask. Its corresponding sampling position in the reference phase mask is From bilinear interpolation The continuous grayscale values at this location are obtained and assigned to the target location, thereby deforming the initial chamber wall morphology to the spatial configuration of the k-th time phase, i.e.:
[0055] in, This represents the inverse spatial transformation operator. Subsequently, a continuous value mask is applied after deformation using a binarization threshold of 0.5. Discretization is performed: pixel values greater than or equal to 0.5 are set to 1, and those less than 0.5 are set to 0, to obtain the binary chamber wall mask for the k-th time phase. This discretization step effectively prevents mask edge blurring and degradation caused by the accumulation of multiple bilinear interpolations. After propagating the masks for all time phases, a time-by-time propagation chamber wall mask sequence is obtained. Based on this, the global inverse motion field at each time phase is... Binary chamber wall mask for that time phase Perform pixel-by-pixel spatial matching. For coordinates... The pixel at that location, if Then keep The displacement vector at that position; if Then, the displacement vector at that position is set to zero. After processing all spatial positions pixel by pixel, the cumulative motion field of the chamber wall at the k-th time phase is obtained:
[0056] That is, pixels within the mask's coverage area retain their original global displacement vectors, while pixels outside the mask's coverage area have zero displacement vectors. Specifically, for the reference phase k=0, Defined as zero sports field As the initial binary mask, therefore This is a zero vector field. The above operation is performed sequentially on all time phases to ultimately obtain a cumulative motion field sequence of the ventricular wall covering the entire cardiac cycle and containing only motion information of the left ventricular wall region. .
[0057] This sequence, through spatial filtering using a mask, completely eliminates motion interference from non-ventricular wall structures such as intracardiac blood flow, valve activity, and extracardiac tissues. At the same time, it fully preserves the details of ventricular wall motion at each transmural level from the endocardium to the epicardium, providing a clean and spatially continuous motion data source for subsequent tracking of positive motion trajectories at fixed ventricular wall points. This effectively avoids contamination of myocardial motion analysis by background noise and irrelevant motion.
[0058] Furthermore, myocardial ventricular wall coordinates are established in the reference time phase, and the positive motion trajectory of a fixed ventricular wall point in the cardiac cycle is determined based on the wall motion field. This includes: in the reference time phase, extracting the ventricular wall centerline based on the anatomical morphology of the left ventricular wall, setting sampling points at equal intervals along the centerline, and setting multiple cross-wall level sampling points at each sampling point in a direction perpendicular to the centerline to form a fixed reference ventricular wall coordinate; for each sampling point in the fixed reference ventricular wall coordinate, determining the target position of the sampling point in the corresponding time phase based on the wall motion field of each time phase; arranging the positional changes between the reference position and the corresponding target position of the sampling point in each time phase according to the time sequence of the cardiac cycle to form the positive motion trajectory of the fixed ventricular wall point.
[0059] Left ventricular wall binary mask at reference phase (first frame, end-diastole) Based on this, firstly Skeletonization was performed, using a distance-transform-based thinning algorithm to iteratively remove boundary pixels from the ventricular wall region until a single-pixel-width ventricular wall centerline skeleton was obtained. This skeleton pixel was then constructed as an eight-neighbor graph, where each skeleton pixel served as a graph node, and the connectivity between adjacent pixels served as graph edges. Nodes with a degree of 1 were identified as candidate endpoints, and those with a degree of 3 or higher were identified as candidate branch points. A depth-first search was used to traverse all connected paths between candidate endpoints, selecting the path containing the most skeleton points as the main ventricular wall centerline. Along this centerline, from the apex to the basement, resampling was performed at equal intervals according to the cumulative arc length, with the number of sampling points set to 224 to ensure uniform arc length intervals between adjacent centerline points. For each centerline point... According to its adjacent centerline points and Calculate the local tangential unit vector using the coordinate gradient. and normal unit vector The calculation method is as follows: , for The unit vector obtained by rotating 90 degrees clockwise.
[0060] For each centerline point Along the local normal Extend the range by 24 pixels on each side (i.e., from...) to Within this range, 97 candidate positions are set in increments of 0.5 pixels. Each candidate position is then checked to ensure it falls within the wall mask. Within the coverage area, the interval formed by all consecutive candidate positions falling within the mask is taken as the effective normal interval. The negative endpoint (endocardial side) and positive endpoint (epidermal side) of this interval are recorded. The negative endpoint and the centerline point are then... The positive and negative endpoints are sequentially designated as the three cross-wall sampling layers corresponding to the centerline point, named the inner layer, middle layer, and outer layer, respectively. If a valid normal interval cannot be formed due to local mask breaks or noise (i.e., the number of consecutive candidate positions within the mask is less than 3), then all three cross-wall layers revert to the centerline point. The sampling point itself is then marked as the default valid point in subsequent annotations. For all 224 wall-side locations, each location corresponds to 3 cross-wall sampling layers, forming a total of 672 fixed reference chamber wall sampling points. For each sampling point, its spatial coordinates under the reference time phase are recorded. in For wall indexing, For cross-wall hierarchical indexes, corresponding to inner, middle, and outer layers respectively, and local tangential unit vectors. Local normal unit vector The coordinates along the wall arc length and the segmental index according to the AHA 17 segment standard constitute a complete fixed reference chamber wall coordinate system.
[0061] For each of the above fixed reference chamber wall sampling points It is necessary to determine its position k in each subsequent phase of the cardiac cycle. The target position corresponding to k=0 (where k=0 is the reference time phase). Due to the cumulative motion field of the chamber wall. This describes the reverse sampling displacement (i.e., the position in the target time phase) from the reference time phase to the target time phase k. The pixel at that location is traced back to the sampling position in the reference phase. To trace the corresponding position in the target time phase from a fixed reference point, the inverse operation of the inverse mapping is required. Specifically, for the k-th target time phase, the chamber wall mask for that time phase is obtained. Set of all target pixel locations within the coverage area .for Each target pixel in The coordinates mapped to the reference time phase are calculated using the cumulative motion field of the chamber walls:
[0062] All target pixels and its corresponding mapping reference coordinates Constructing a set of mapping point pairs Mapping reference coordinates for this set. Build a k-dimensional tree space nearest neighbor index to accelerate subsequent nearest neighbor searches.
[0063] For a fixed reference sampling point Search in the set of mapped reference coordinates for... The closest point in Euclidean distance And record the corresponding target location. If the nearest distance is not greater than a preset threshold (2 pixels in this scheme), then the target location is considered to be [position name missing]. That is, a fixed reference point The corresponding target position in the k-th time phase; if the nearest distance is greater than 2 pixels, then mark that there is no valid correspondence for that point in that time phase, and record it as a missing value in the subsequent trajectory. Considering that the ventricular wall undergoes significant deformation and displacement during the cardiac cycle, a single nearest neighbor search may result in local discontinuities. Therefore, after completing the point-by-point search, spatial consistency verification is performed between adjacent wall-side positions and adjacent trans-wall layers: if the difference in tracking displacement between a point and its spatial neighbors exceeds a preset threshold (e.g., the difference in displacement vector is greater than 5 pixels), then the weighted average of the neighbor displacements is used for correction, and then local neighborhood Gaussian smoothing is performed (kernel width is 3 points in the wall-side direction and 1 point in the trans-wall direction) to suppress tracking jitter caused by motion field estimation noise.
[0064] For each fixed reference chamber wall sampling point The target position corresponding to each time phase k. Reference position The change in position between points is defined as the positive displacement of that point in time phase k:
[0065] in, It is a two-dimensional vector containing horizontal and vertical components. Specifically, for the reference phase k=0, we have... ,therefore Arrange all displacement vectors in the time sequence of the cardiac cycle, i.e. This constitutes the positive motion trajectory sequence of the fixed chamber wall point.
[0066] Furthermore, since the number of cardiac cycle frames varies among different patients, to facilitate cross-case temporal comparisons and subsequent atlas construction, the original frame sequence timeline of each patient was linearly normalized to the interval [0,1], where 0 corresponds to the reference phase (end-diastole) and 1 corresponds to the same phase in the next cardiac cycle. Interpolation was performed at equal intervals along the normalized timeline to T=32 standard cardiac phases. The displacement trajectory was then resampled using cubic spline interpolation to obtain the positive displacement trajectory under the standard phases. ,in This serves as the standard phase index. For trajectories with missing values, the missing points are skipped during interpolation, and spline fitting is performed only within the valid data range. If there are fewer than 3 valid data points, the entire trajectory is marked as invalid. Simultaneously, a valid marker sequence is generated and interpolated synchronously with the displacement trajectory, recording whether there is a valid correspondence for each point under each standard phase. Thus, for each fixed ventricular wall sampling point, a forward motion trajectory uniformly sampled across 32 standard cardiac phases is ultimately obtained. This trajectory, with the reference phase position as its zero point, records the displacement history of that point throughout the entire cardiac cycle due to myocardial contraction and relaxation along the positive time axis.
[0067] Furthermore, kinematic and deformation parameters are extracted from the forward motion trajectory and organized into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence. This includes: extracting displacement components of each fixed ventricular wall point at each phase of the cardiac cycle from the forward motion trajectory, and calculating the rate of change of the displacement components along the time axis to obtain velocity parameters; differentiating the forward motion trajectory in space to obtain the deformation gradient, and extracting strain parameters reflecting ventricular wall deformation from the deformation gradient; and combining the displacement components, velocity parameters, strain parameters, and corresponding reference coordinate positions, cardiac phase indices, and segmental attribution information to form a spatiotemporal myocardial motion atlas.
[0068] Extraction of kinematic parameters: For each fixed reference chamber wall sampling point (in For wall indexing, This is a transmural hierarchical index, corresponding to the inner, middle, and outer layers respectively, in 32 standard cardiac phases. The positive displacement trajectory on is denoted as superscript and These represent the horizontal and vertical components in the image coordinate system, respectively.
[0069] First, the displacement vector in the global coordinate system is projected onto the local anatomical coordinate system at the point's location to assign physiological meaning to the displacement. This is achieved using the local tangential unit vector stored in the reference time phase. and local normal unit vector Calculate the radial and longitudinal displacements respectively:
[0070]
[0071] in, It represents radial displacement (along the wall thickness direction; positive values indicate outward movement, and negative values indicate inward thickening). It represents longitudinal displacement (along the long axis of the ventricular wall, with positive values indicating movement toward the apex). Represents the radial component. Represents the vertical component.
[0072] For the above displacement components along the standard cardiac phase To determine the first-order rate of change, the central difference method is used to reduce numerical noise: for the internal phase The velocity is calculated from the two phases:
[0073]
[0074] in, The step size for the standard cardiac phase (in this scheme, the normalized cardiac cycle is evenly divided into 32 phases, therefore...) For boundary phase and The calculation is approximated using forward difference and backward difference. Indicates radial velocity, This represents the longitudinal velocity. The magnitude of the velocity is further obtained by taking the square root of the sum of the squares of the two components:
[0075] To characterize the direction of motion, the sine and cosine values of the direction angle are defined:
[0076]
[0077] in To prevent the denominator from being a small constant at zero velocity, the above sine and cosine values together constitute a compact representation of the direction of motion at that point, avoiding the problem of discontinuous changes in the direction angle near zero velocity.
[0078] Extraction of deformation parameters: Deformation parameters quantify the local tensile, compressive, and shear deformation of the chamber wall by analyzing the relative motion between adjacent fixed points in the chamber wall. For the positive motion field... The deformation gradient tensor is obtained by spatial differentiation. Since the sampling points of the chamber wall are distributed on an irregular curved grid, this scheme adopts a finite difference method based on local generalized coordinates.
[0079] For a fixed reference chamber wall point In standard phase The spatial position below is Define material coordinates. ,in The coordinates of the arc length along the long axis of the chamber wall (corresponding to index i). Here are the layer coordinates in the transwall direction (corresponding to index l). Under the current deformation configuration, the partial derivative of the position vector with respect to the material coordinates is approximated using a two-point difference: Derivative along the major axis:
[0080] For the major axis boundary points i=0 and i=223, a one-sided difference approximation is used. The derivative along the trans-wall direction is:
[0081] For the trans-wall boundary layers l=0 (inner layer) and l=2 (outer layer), one-sided difference is used. The above partial derivatives are combined to form the deformation gradient tensor. (2×2 matrix), its components are:
[0082] superscript and These represent the two-dimensional spatial coordinate components. From this, the mapping relationship between the reference configuration and the current configuration can be obtained. Further calculation of the Green-Lagrange strain tensor is then performed. :
[0083] in It is a 2×2 identity matrix. It is a symmetric second-order tensor containing three independent components: radial and normal strain. Longitudinal normal strain and shear strain These three components are obtained by projection onto the local anatomical coordinate system:
[0084]
[0085]
[0086] Among them, radial strain Positive values indicate ventricular wall thickening (normal during systole), while negative values indicate ventricular wall thinning (typical of ischemic or infarcted areas); longitudinal strain Negative values indicate shortening of the myocardium along its long axis (normal contraction), while a decrease in absolute value suggests impaired longitudinal contractile function; shear strain It reflects the torsional deformation of the room walls in different directions.
[0087] Furthermore, the Jacobian determinant is calculated using the deformation gradient tensor:
[0088] Reflecting the relative change in local area: J>1 indicates area expansion (thickening), J<1 indicates area shrinkage (thinning), J≤0 indicates local tissue folding or mesh flipping (this should not occur under normal physiological conditions; if it does, it indicates an error in motion estimation).
[0089] All the extracted kinematic and deformation parameters are organized into a unified spatiotemporal myocardial motion tensor according to the following four dimensions: First dimension (along the wall): 224 sampling locations evenly distributed along the centerline of the chamber wall; The second dimension (transmural layers): 3 layers, namely the subendocardial layer (inner layer), the middle layer, and the subepicardial layer (outer layer). The third dimension (standard cardiac phase): normalized cardiac cycle phases sampled uniformly from 32 samples; Fourth dimension (motion channels): There are 11 channels in total, namely: radial displacement Longitudinal displacement radial velocity Longitudinal velocity Speed magnitude Sine direction of motion Cosine of direction of motion Radial Green-Lagrange strain Longitudinal Green-Lagrange strain Shear Green-Lagrange strain Determinant J.
[0090] Therefore, the spatiotemporal myocardial motion atlas of each case is represented as a four-dimensional tensor of size 224×3×32×11. Each element of this tensor Corresponding to the The first wall-side location, the first The first trans-wall layer, the first The first standard cardiac phase The values of each motion channel.
[0091] Additionally, the graph stores the following metadata to support backtracking and visualization of the results: reference coordinates of each sampling point. Local tangential unit vector Local normal unit vector The coordinates of the arc length along the wall, the AHA segment affiliation index (divided according to the 17-segment standard, assigning 224 points along the wall to the corresponding segments), the actual time position corresponding to each standard phase (relative to the original sequence frame index), and the effective marker matrix. (A value of 1 indicates that there is a valid correspondence for that phase at that position, and a value of 0 indicates that it is missing). All parameters are stored in floating-point precision as structured arrays or hierarchical data format (HDF5) files.
[0092] Furthermore, to ensure the spatial continuity of the atlas for deformed regions, when a fixed reference point is marked as invalid in a certain phase (nearest distance > 2 pixels or Jacobian determinant J ≤ 0), all 11 channel values corresponding to it are recorded as NaN (Not Numerical) and automatically skipped in subsequent feature extraction and statistical calculations. When the valid label of a point is 0 in all phases, that point is marked as completely missing and excluded from subsequent analysis. The final output atlas allows any atlas value to be indexed using four-dimensional indexing. It directly traces back to the specific fixed reference ventricular wall location, transmural level, cardiac phase, and motor pathway, providing a complete, interpretable, and traceable data foundation for subsequent segmental feature extraction, transmural difference analysis, and mechanical synchronicity assessment.
[0093] Furthermore, features reflecting the motion state of different myocardial segments, differences in transmural levels, and intersegmental synergy are extracted from the spatiotemporal myocardial motion atlas. These features include: classifying sampling points in the spatiotemporal myocardial motion atlas into corresponding myocardial segments according to standard myocardial segment divisions, statistically analyzing motion parameters at different transmural levels within each segment, and extracting segmental-level motion state features; comparing the differences in motion parameters of the same segment at different transmural levels and extracting transmural difference features; calculating the correlation between motion time curves of different myocardial segments and the correlation between each segment and the overall left ventricular reference motion curve, and extracting mechanical synchronization features reflecting intersegmental synergy.
[0094] Following the AHA 17-segment standard model, and based on the display range of the apical four-chamber cardiac view, six key analysis segments were identified. These six segments are used for subsequent supervised learning and risk localization output; simultaneously, to preserve complete left ventricular wall motion information for mechanical synchronicity assessment, the atlas and synchronization network still include motion data from all seven segments (including SEG17). In the spatiotemporal myocardial motion atlas, a corresponding standard segment number is assigned to each wall location based on the anatomical coordinates and segment affiliation index of each sampling point. For each segment, weighted averages of the motion channel values at all effective sampling points in the subendocardial, mid-endocardial, and subepicardial layers are calculated under each standard cardiac phase to obtain the average time-varying curves for each layer of that segment.
[0095] Based on the three-layer average time curves of each segment, twelve core motion state features were extracted. These features include: the minimum mid-layer longitudinal strain reflecting the maximum longitudinal shortening during systole; the maximum mid-layer radial strain reflecting the maximum wall thickening during systole; the absolute peak value of mid-layer longitudinal velocity reflecting the maximum rate of longitudinal motion; the standard phase of mid-layer longitudinal strain peaking reflecting the synchronicity of systole peaking; the difference between the minimum and peaking times of the inner and outer layer longitudinal strains quantifying the cross-wall strain synergy; the minimum mid-layer Jacobian determinant reflecting the degree of local area contraction; the segment-global strain correlation coefficient and peaking frame difference reflecting the consistency of the segment with the overall motion; the average and worst correlation coefficients reflecting the overall similarity between the segment and other segments; and the proportion of effective mid-layer sampling points, which measures the reliability of the data.
[0096] For each segment, transmural differential features were extracted by comparing the differences in performance between the subendocardial and subepicardial layers across multiple motion pathways. These features included: the difference in minimum transmural longitudinal strain, the difference in peak transmural longitudinal strain time, the difference in peak transmural radial displacement, the difference in peak transmural velocity time, the ratio of transmural strain curve areas, and the difference in the mean of the transmural Jacobian determinant. These features collectively describe the degree of synergy in contraction between different layers of the myocardium from the inside out; a significant increase or decrease in transmural differential features indicates transmural motion incoordination.
[0097] The complete cycle curve of longitudinal strain in the middle layer of each segment is used as the core temporal attribute of the segment node. For any two segments, the correlation between their longitudinal strain curves is calculated and linearly mapped to a synchronicity weight in the range of zero to one. The closer the value is to one, the more synchronized the strain time patterns of the two segments are; the closer it is to zero, the more asynchronous they are. Simultaneously, the strain peak frame difference for each pair of segments is calculated; the smaller the frame difference, the closer the contraction peak times of the two segments are.
[0098] Based on this, the median curve of the longitudinal strain curves of all seven segments was used as the overall left ventricular reference curve. The correlation coefficient, synchronization weight, and peak frame difference between each segment and this global reference curve were calculated. The seven segments were used as network nodes, and the correlation between segments and the segment-global correlation were used as edges to form a mechanical synchronization network. Based on this network, global indicators reflecting the overall ventricular wall coordination were further extracted, including: the overall dispersion (standard deviation) of the peak time of each segment, the average synchronization level of the entire ventricular wall, the synchronization degree of the least coordinated segment pair, the average consistency between each segment and the overall motion pattern, and the global strain extreme value and average transmural strain difference reflecting the overall left ventricular systolic and thickening function.
[0099] Furthermore, based on the extracted features, the abnormal risk of each myocardial segment is assessed, and the overall myocardial infarction risk of the patient is comprehensively assessed based on the abnormal risk of each segment, outputting the risk assessment results. This includes: combining the segmental motion state features, transmural difference features, and mechanical synchronization features of each myocardial segment to form a multi-dimensional feature vector for each segment; processing the multi-dimensional feature vector of each segment using preset assessment criteria to obtain the abnormal risk probability of each segment; using the Noisy-OR aggregation method to fuse the abnormal risk probabilities of each segment into the overall myocardial infarction risk probability of the patient; and determining the suspected affected myocardial segments and their risk levels based on the overall myocardial infarction risk probability and segmental abnormal risk probabilities, outputting the risk assessment results. The risk assessment results include the overall myocardial infarction risk probability of the patient, the risk level and segment identifier of the suspected affected myocardial segment, and at least one explanatory information from the motion curve, ventricular wall motion vector, or deformation grid corresponding to the suspected affected myocardial segment.
[0100] In a preferred embodiment, the preset evaluation criteria are implemented using a linear discriminant model based on supervised learning: A shared-weight linear discriminant model is constructed to independently calculate the abnormal risk probability for each of the six segments. The model consists of a shared linear discriminant weight vector across all segments and six segment-specific bias terms. For each segment, its standardized twelve-dimensional feature vector is multiplied by the shared weight vector, and then a segment-specific bias term is added to obtain the segment's linear response value. This response value is then mapped to a probability value between zero and one using a logistic function (i.e., a standard sigmoid function) to obtain the segment's myocardial infarction-related abnormal risk probability. The shared weight vector is used to learn common motion abnormality patterns across the six segments, while the segment-specific biases characterize the baseline risk differences between different reference segments, as the motion amplitude naturally differs between segments in the normal population.
[0101] The formula for calculating the probability of abnormal risk for the above-mentioned segments is:
[0102] Where s represents the segment index. This represents the standardized twelve-dimensional feature vector of the s-th segment. This is a linear discriminant weight vector shared by all segments, with the superscript T indicating the vector transpose. Represents the weight vector With feature vectors The dot product (i.e., the sum of corresponding element-wise multiplication). For the s-th segment, It is a logistic function (standard S-type function). This represents the probability of abnormal risk in the s-th segment.
[0103] The discriminant model was trained using supervised learning. The training set labels included the gold standard label for patient-level myocardial infarction (diagnosed by late gadolinium enhancement on clinical cardiac MRI or coronary angiography) and the affected status label for each segment (annotated by experts on delayed gadolinium enhancement images based on standard myocardial segmentation). The total loss function for model training consisted of three parts: segment-level classification loss, patient-level classification loss, and weight regularization loss. An adaptive moment estimation optimizer was used for parameter optimization. The initial learning rate was set appropriately and gradually decreased with each training epoch. Training was stopped when the validation set performance showed no improvement for several consecutive epochs to prevent overfitting. Five-fold cross-validation was used for model selection and hyperparameter tuning during training. The final model was refitted on all training samples and then used for evaluation on the test set.
[0104] In another embodiment, the preset assessment criteria can also be implemented using a weighted scoring rule based on prior clinical knowledge: Based on publicly available clinical research results, a corresponding weight coefficient is assigned to each dimension of the twelve-dimensional feature vector for each segment. The abnormal risk score for each segment is calculated through weighted summation, and then mapped to a risk probability in the zero-to-one interval using a logistic function. The weight coefficients can be set according to the correlation effect size reported in clinical studies between each feature and myocardial ischemia events. This embodiment does not rely on labeled data for model training and is suitable for clinical applications with limited training data.
[0105] Regardless of which assessment criteria are used, the core is to use the extracted multi-dimensional features to quantitatively assess the degree of motion abnormality in each myocardial segment. The subsequent Noisy-OR aggregation and risk assessment results output do not depend on the specific implementation of the assessment criteria.
[0106] The abnormal risk probabilities of the six segments were fused into a patient-level myocardial infarction risk probability using the Noisy-OR aggregation method. This aggregation method is calculated as follows: First, the "non-abnormal" probability of each segment is calculated, which is one minus the abnormal risk probability of that segment; then, the non-abnormal probabilities of the six segments are multiplied together to obtain the joint probability that all segments are simultaneously "non-abnormal"; finally, this joint probability is subtracted from one to obtain the overall patient myocardial infarction risk probability.
[0107] The physiological rationale for this aggregation approach lies in the fact that when the probability of abnormal risk increases in any segment, the patient-level risk increases accordingly. This reflects the segmental nature of myocardial infarction, meaning that involvement of any key segment can lead to an increase in overall risk. When multiple segments simultaneously have high risk, the patient-level risk further accumulates, reflecting the synergistic effect of multi-segment involvement. This aggregation mechanism enables the model to effectively identify two common clinical patterns: severe abnormalities in a single segment and mild abnormalities in multiple segments.
[0108] Based on the validation set data, the Youden index was used to determine the optimal classification threshold for patient-level risk probabilities. The Youden index is equal to the sum of sensitivity and specificity minus one; the threshold that maximizes this index is taken as the optimal classification threshold. Based on the position of the patient-level risk probability relative to this threshold, the overall patient risk is divided into three levels: below half the threshold is low risk (green warning); between half and the threshold is medium risk (yellow warning); and above or equal to the threshold is high risk (red warning).
[0109] For segmental risk, a preset baseline threshold (0.5 in this scheme) is used as the judgment standard. Suspected affected segments are determined by ranking the risk probabilities of each segment from highest to lowest: the six segments are ranked from highest to lowest risk probability, and all segments with risk probabilities reaching or exceeding the threshold are output as suspected affected segments. If no segment reaches the threshold, the segment with the highest risk probability is output as the "segment requiring attention" and marked as low-risk observation.
[0110] For each patient-level risk outcome, a hierarchical interpretability backtracking chain is established, from patient-level risk probability to segmental risk probability, then to twelve segmental dynamic characteristics, three-layer time curves, spatiotemporal myocardial motion atlas, positive motion trajectory of fixed reference ventricular wall point, ventricular wall motion field, time-phase propagation ventricular wall mask, and finally back to the original apical four-chamber echocardiography image sequence.
[0111] Specifically, when a segment is identified as potentially affected or classified as a high-risk segment, the system automatically generates at least one of the following explanatory evidence: First, a motion curve diagram, displaying the longitudinal strain curves of the inner, middle, and outer layers of the segment, marking the peak time points of each layer and the delay relative to the end-systolic reference phase, while overlaying a global reference curve for comparison, facilitating a clinically intuitive assessment of the degree of abnormality in the motion phase and amplitude of the segment; Second, a wall motion vector diagram, overlaying the wall motion vector field onto the original ultrasound image, using arrow length to represent displacement amplitude and color to represent motion direction, highlighting the difference between the vector distribution of the suspected affected segment and the normal segment; Third, a deformation grid diagram, overlaying a regular grid onto the reference phase wall mask and displaying the grid deformation of the segment at end-systole and early diastole, providing a clear visual indication of the degree of grid distortion. Fourth, a cross-wall difference bar chart, which displays the minimum difference and peak time difference of longitudinal strain between the inner and outer layers of the suspected affected segment in the form of a bar chart, and compares it with the reference normal range of the segment to indicate whether it exceeds the normal range; Fifth, a mechanical synchronization network diagram, which visualizes the synchronicity between the seven segments using a force-guided diagram. The color of the connection gradually changes from green to red, indicating that the synchronicity gradually decreases from high synchronization to significant asynchrony. The suspected affected segment is marked with a red highlight circle, and the reddish color of its connection directly reflects the reduced synchronicity between the segment and the other segments; Sixth, dynamic playback of time curves, which dynamically synchronizes the original ultrasound image sequence with the superimposed ventricular wall motion trajectory, deformation grid and strain values. Users can view the contraction and relaxation process of the myocardium in a complete cardiac cycle frame by frame and trace back to the original image at any time phase.
[0112] All interpretative evidence includes coordinate backtracking information, ensuring that any curve point can be traced back to its corresponding fixed reference wall location, transmural layer, standard cardiac phase, motion pathway, and original ultrasound image frame index. Interpretive evidence is output in a structured hypertext markup language report format and can be exported as a portable document file for clinical archiving.
[0113] The final risk assessment results are output in a structured data format, including the following: First, patient-level risk assessment, including the patient's overall myocardial infarction risk probability, risk level, and confidence interval (obtained from the model's predicted distribution using a self-sampling method); Second, segmental risk assessment, including the identification of six supervised segments and their corresponding abnormal risk probabilities, risk levels, and a ranking from high to low risk; Third, a list of suspected affected segments, sorted in descending order of risk probability, with each segment accompanied by a risk probability value and risk level; Fourth, a set of explanatory evidence, containing at least one or more of the above six types of explanatory evidence, presented in a graphical and textual format, supporting interactive viewing (e.g., hovering the mouse to display specific values, clicking on the curve to jump to the corresponding image frame, etc.); Fifth, metadata, including case identification, analysis date, ultrasound equipment model, image frame rate, atlas quality score, feature completeness marker, and model version number. The formula for calculating the myocardial infarction risk probability is as follows:
[0114] Where s represents the index of the supervised myocardial segment ( ), This represents the probability of abnormal risk in the s-th segment. This indicates the patient-level risk probability of myocardial infarction.
[0115] The above output provides clinicians with comprehensive assessment information, from overall risk to specific segments, from numerical indicators to visual evidence, and from static summaries to dynamic processes, effectively supporting early screening, diagnostic assistance, and treatment decisions for myocardial infarction.
[0116] In this embodiment of the invention, a four-dimensional spatiotemporal myocardial motion atlas integrating spatial location, transmural hierarchy, cardiac phase, and motion pathway is constructed, achieving a comprehensive digital representation of left ventricular wall motion and providing a refined quantitative basis for the assessment of segmental motion abnormalities in myocardial infarction. Based on the three types of features extracted from the atlas—segmental motion state, transmural differences, and intersegmental synergy—combined with a shared weight discriminant model and a Noisy-OR probability aggregation mechanism, it can simultaneously identify two common clinical patterns: severe single-segment abnormalities and mild multi-segment abnormalities, significantly improving the detection sensitivity of early micro-ischemic areas. Furthermore, by establishing a hierarchical backtracking chain from patient-level risk probability to segment-level risk probability, then to motion curves, ventricular wall motion vectors, deformation grids, and original ultrasound images, the risk assessment results possess complete interpretability and traceability, facilitating intuitive clinical understanding of the assessment basis and effectively improving the accuracy of myocardial infarction risk assessment.
[0117] The above describes the myocardial infarction risk assessment method based on spatiotemporal myocardial motion field in the embodiments of the present invention. The following describes the myocardial infarction risk assessment system based on spatiotemporal myocardial motion field in the embodiments of the present invention. Please refer to [link to relevant documentation]. Figure 2 One embodiment of the myocardial infarction risk assessment system based on spatiotemporal myocardial motion field in this invention includes: The acquisition module 201 is used to acquire an echocardiogram sequence, which contains an apical four-chamber view of the complete cardiac cycle. The estimation module 202 is used to perform motion estimation on adjacent phase images in the echocardiogram sequence to obtain the global motion field; Module 203 is used to extract motion information of the ventricular wall region from the global motion field using the left ventricular wall mask, and to construct the ventricular wall motion field. The determination module 204 is used to establish the myocardial ventricular wall coordinates in the reference time phase using the first frame of the echocardiogram sequence as the reference time phase, and determine the positive motion trajectory of the fixed ventricular wall point in the cardiac cycle based on the ventricular wall motion field. The positive motion trajectory refers to the set of the position offsets of the fixed ventricular wall point in each time phase relative to its position in the reference time phase along the positive time axis of the cardiac cycle. The processing module 205 is used to extract kinematic and deformation parameters from the positive motion trajectory and organize them into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence. The spatiotemporal myocardial motion atlas includes the spatial coordinates of each fixed ventricular wall point, cardiac phase index, displacement vector, velocity vector and strain parameter. Extraction module 206 is used to extract features from spatiotemporal myocardial motion atlas that reflect the motion state of different myocardial segments, transmural differences, and intersegmental synergy. The output module 207 is used to assess the abnormal risk of each myocardial segment based on the extracted features, and to comprehensively assess the patient's overall myocardial infarction risk based on the abnormal risk of each segment, and output the risk assessment results.
[0118] Please see Figure 3 This invention provides an embodiment of a myocardial infarction risk assessment system based on spatiotemporal myocardial motion field, which, in addition to the above-described features, includes... Figure 2 In addition to the modules in the document, it also includes: Optionally, the estimation module 202 includes: The first processing unit 2021 is used to perform image preprocessing on the echocardiogram sequence and adjust the size and grayscale range of each frame image. Extraction unit 2022 is used to input images from adjacent time phases into the motion estimation network and extract cross-time phase motion correlation features; The prediction unit 2023 is used to predict the two-dimensional displacement vector field between adjacent time phases based on motion correlation characteristics, as the global motion field.
[0119] Optionally, the extraction unit 2022 can be specifically used for: The stitched adjacent temporal image pairs are input into a temporal conditional U-shaped convolutional encoder. Through cascaded downsampling operations, multi-scale motion information from local details to global deformation is extracted step by step, and spatial resolution is gradually restored through cascaded upsampling operations. Simultaneously with the downsampling and upsampling operations, a frame position encoding vector is generated based on the sequential index of the current image pair in the frame sequence, and the frame position encoding vector is injected into each downsampling stage of the encoder to distinguish the differences in motion patterns at different cardiac phase positions. Through skip connections in the encoder, the shallow detail features at each scale during downsampling are fused with the deep semantic features restored by upsampling, and the output is an encoded feature map containing multi-scale motion association information.
[0120] Optionally, prediction unit 2023 can be specifically used for: The encoded feature map is processed by image block embedding to form multiple spatial motion markers, and each motion marker is mapped to a hidden feature space of a preset dimension. The continuous time parameters between adjacent time phases are encoded into continuous time conditional vectors, which are injected into the transformer block through an adaptive normalization mechanism. A multi-head self-attention mechanism is used to model the global correlation between each motion marker, and a feedforward network is used to perform nonlinear transformation on the motion marker features. The transformed motion markers are restored to spatial feature maps, and two displacement components are output through convolution operations to form a two-dimensional displacement vector field covering the entire image space as the global motion field.
[0121] Optionally, building module 203 includes: The second processing unit 2031 is used to propagate the left ventricular wall mask from the reference time phase to subsequent time phases using the global motion field to obtain the phase-by-phase propagated ventricular wall mask. Matching unit 2032 is used to perform pixel-by-pixel spatial matching between the global motion field of each time phase and the phase-by-phase propagation chamber wall mask of the corresponding time phase; The third processing unit 2033 is used to retain motion information within the coverage area of the time-progressive chamber wall mask in the global motion field based on the result of pixel-by-pixel spatial matching, and discard motion information outside the mask range to obtain the chamber wall motion field.
[0122] Optionally, the second processing unit 2031 may be specifically used for: The left ventricular wall mask of the reference time phase is used as the initial mask, and blank mask templates with the same size as the initial mask are created for each subsequent time phase. For each subsequent time phase, the initial mask is spatially transformed using the cumulative motion field corresponding to that time phase, deforming the ventricular wall morphology of the reference time phase to the spatial configuration of that time phase, and the deformation result is filled into the blank mask template corresponding to that time phase. The deformed continuous value mask filled into each time phase template is binarized to obtain the binary ventricular wall mask of each time phase. After performing the above processing on each subsequent time phase in sequence, the phase-by-phase propagation ventricular wall mask is obtained. The phase-by-phase propagation ventricular wall mask includes the binary ventricular wall mask of the reference time phase and all subsequent time phases.
[0123] Optionally, the third processing unit 2033 may be specifically used for: Based on the pixel-by-pixel spatial matching results, the motion vectors of each pixel position in the global motion field are multiplied point by point with the corresponding pixel values in the binary ventricular wall mask. Pixels within the mask coverage area retain the original motion vectors, while the motion vectors of pixels outside the mask range become zero vectors. The reference phase is processed separately, and the ventricular wall motion field of the reference phase is defined as a zero vector field. The above operations are performed sequentially on all phases to obtain a ventricular wall motion field sequence covering the entire cardiac cycle. The ventricular wall motion field sequence only contains motion information of the left ventricular wall region.
[0124] Optionally, the processing module 205 can be specifically used for: Displacement components of each fixed ventricular wall point at each phase of the cardiac cycle are extracted from the forward motion trajectory, and the rate of change of the displacement components along the time axis is calculated to obtain velocity parameters. The deformation gradient is obtained by spatially differentiating the forward motion trajectory, and strain parameters reflecting ventricular wall deformation are extracted from the deformation gradient. The displacement components, velocity parameters, strain parameters, and corresponding reference coordinate positions, cardiac phase indices, and segmental attribution information are combined to form a spatiotemporal myocardial motion atlas. Optionally, the extraction module 206 can be specifically used for: According to the standard myocardial segment division, sampling points in the spatiotemporal myocardial motion atlas were assigned to the corresponding myocardial segments, and the motion parameters at different transmural levels within each segment were statistically analyzed to extract segmental-level motion state features. Differences in motion parameters at different transmural levels within the same segment were compared to extract transmural difference features. The correlation between motion time curves of different myocardial segments and the correlation between each segment and the overall left ventricular reference motion curve were calculated to extract mechanical synchronization features reflecting inter-segmental coordination. Optionally, the output module 207 can be specifically used for: The segmental motion state characteristics, transmural difference characteristics, and mechanical synchronization characteristics of each myocardial segment are combined to form a multi-dimensional feature vector for each segment. The multi-dimensional feature vectors of each segment are then processed using preset assessment criteria to obtain the abnormal risk probability of each segment. The abnormal risk probabilities of each segment are fused into the overall myocardial infarction risk probability of the patient using the Noisy-OR aggregation method. Based on the overall myocardial infarction risk probability of the patient and the abnormal risk probabilities of each segment, the suspected affected myocardial segments and their risk levels are determined, and the risk assessment results are output. The risk assessment results include the overall myocardial infarction risk probability of the patient, the risk level and segment identifier of the suspected affected myocardial segments, and at least one explanatory information from the motion curve, ventricular wall motion vector, or deformation grid corresponding to the suspected affected myocardial segments.
[0125] above Figure 2 and Figure 3 The myocardial infarction risk assessment system based on spatiotemporal myocardial motion field in this embodiment of the invention will be described in detail from the perspective of modular functional entities. The electronic equipment in this embodiment of the invention will be described in detail from the perspective of hardware processing.
[0126] See Figure 4 As shown, the electronic device includes a processor 400 and a memory 401. The memory 401 stores machine-executable instructions that can be executed by the processor 400. The processor 400 executes the machine-executable instructions to implement the above-mentioned method for myocardial infarction risk assessment based on spatiotemporal myocardial motion field.
[0127] Furthermore, Figure 4 The electronic device shown also includes a bus 402 and a communication interface 403. The processor 400, the communication interface 403 and the memory 401 are connected via the bus 402.
[0128] The memory 401 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 4303 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 402 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0129] The processor 400 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 400 or by instructions in software form. The processor 400 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this disclosure can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 401. The processor 400 reads the information in memory 401 and, in conjunction with its hardware, completes the method steps of the aforementioned embodiment.
[0130] The present invention also provides an electronic device, the computer device including a memory and a processor, the memory storing computer-readable instructions, which, when executed by the processor, cause the processor to perform the steps of the myocardial infarction risk assessment method based on spatiotemporal myocardial motion field described in the above embodiments.
[0131] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field.
[0132] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0133] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0134] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field, characterized in that, The method includes: Acquire an echocardiographic sequence, the echocardiographic sequence containing an apical four-chamber view of the complete cardiac cycle; Motion estimation is performed on adjacent phase images in the echocardiogram sequence to obtain the global motion field; The motion information of the ventricular wall region is extracted from the global motion field using the left ventricular wall mask to construct the ventricular wall motion field; Using the first frame of the echocardiogram sequence as a reference phase, myocardial ventricular wall coordinates are established in the reference phase. The positive motion trajectory of a fixed ventricular wall point in the cardiac cycle is determined according to the ventricular wall motion field. The positive motion trajectory refers to the set of the offsets of the fixed ventricular wall point in each phase relative to its position in the reference phase along the positive time axis of the cardiac cycle. Kinematic and deformation parameters are extracted from the positive motion trajectory and organized into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence. The spatiotemporal myocardial motion atlas includes the spatial coordinates of each fixed ventricular wall point, cardiac phase index, displacement vector, velocity vector and strain parameter. Features reflecting the motion states of different myocardial segments, transmural differences, and intersegmental synergy were extracted from the spatiotemporal myocardial motion atlas. Based on the extracted features, the abnormal risk of each myocardial segment is assessed, and the overall risk of myocardial infarction of the patient is comprehensively assessed based on the abnormal risk of each segment, and the risk assessment results are output.
2. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 1, characterized in that, The step of performing motion estimation on adjacent temporal images in the echocardiographic sequence to obtain the global motion field includes: The echocardiogram sequence is preprocessed to adjust the size and grayscale range of each frame. Input images from adjacent time phases into a motion estimation network to extract cross-time phase motion correlation features; Based on the motion correlation characteristics, the two-dimensional displacement vector field between adjacent time phases is predicted as the global motion field.
3. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 2, characterized in that, The step of inputting images from adjacent time phases into the motion estimation network to extract cross-time phase motion correlation features includes: Image pairs from adjacent time phases are input into a temporal conditional U-shaped convolutional encoder. Multi-scale motion information, from local details to global deformation, is extracted step by step through cascaded downsampling operations, and spatial resolution is gradually restored through cascaded upsampling operations. During downsampling and upsampling operations, a frame position encoding vector is generated based on the sequential index of the current image pair in the frame sequence, and the frame position encoding vector is injected into each downsampling stage of the encoder to distinguish the differences in motion patterns at different cardiac phase positions. By using skip connections in the encoder, shallow detail features at various scales during downsampling are fused with deep semantic features recovered from upsampling, resulting in an encoded feature map containing multi-scale motion association information.
4. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 3, characterized in that, The step of predicting the two-dimensional displacement vector field between adjacent time phases based on the motion correlation features, as the global motion field, includes: The encoded feature map is processed by image block embedding to form multiple spatial motion markers, and each motion marker is mapped to a hidden feature space of a preset dimension. The continuous time parameters between adjacent time phases are encoded into continuous time conditional vectors, which are then injected into the transformer block through an adaptive normalization mechanism. A multi-head self-attention mechanism is used to model the global correlation between motion markers, and a feedforward network is used to perform nonlinear transformation on the motion marker features. The transformed motion markers are restored to spatial feature maps, and two displacement components are output through convolution operations to form a two-dimensional displacement vector field covering the entire image space, which serves as the global motion field.
5. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 1, characterized in that, The step of extracting motion information of the ventricular wall region from the global motion field using a left ventricular wall mask to construct the ventricular wall motion field includes: Starting with the left ventricular wall mask of the reference time phase, the global motion field is used to propagate the mask to subsequent time phases to obtain the phase-by-phase propagated ventricular wall mask. Perform pixel-by-pixel spatial matching between the global motion field of each time phase and the phase-by-phase propagation chamber wall mask of the corresponding time phase; Based on the pixel-by-pixel spatial matching results, motion information within the coverage area of the time-by-time phase propagation chamber wall mask in the global motion field is retained, while motion information outside the mask range is discarded, thus obtaining the chamber wall motion field.
6. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 5, characterized in that, Starting with the left ventricular wall mask at a reference time phase, the global motion field is used to propagate the mask to subsequent time phases, resulting in a phase-by-phase propagated ventricular wall mask, including: The left ventricular wall mask of the reference time phase is used as the initial mask, and blank mask templates with the same size as the initial mask are created for each subsequent time phase. For each subsequent time phase, the initial mask is spatially transformed using the cumulative motion field corresponding to that time phase, the wall morphology of the reference time phase is deformed to the spatial configuration of that time phase, and the deformation result is filled into the blank mask template corresponding to that time phase. The deformed continuous value mask filled into each time phase template is binarized to obtain the binary chamber wall mask of each time phase. After performing the above processing on each subsequent time phase, the phase-by-phase propagation chamber wall mask is obtained. The phase-by-phase propagation chamber wall mask includes the binary chamber wall mask of the reference time phase and all subsequent time phases.
7. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 6, characterized in that, The pixel-by-pixel spatial matching result retains motion information within the coverage area of the time-progressive chamber wall mask in the global motion field, and discards motion information outside the mask range, to obtain the chamber wall motion field, including: Based on the pixel-by-pixel spatial matching results, the motion vector of each pixel position in the global motion field is multiplied point by point with the pixel value of the corresponding position in the binary chamber wall mask. Pixels within the mask coverage area retain the original motion vector, while the motion vector of pixels outside the mask range becomes a zero vector. The reference time phase is treated separately, and the wall motion field of the reference time phase is defined as a zero vector field; Perform the above operations sequentially on all time phases to obtain a sequence of ventricular wall motion fields covering the entire cardiac cycle.
8. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 1, characterized in that, The extraction of kinematic and deformation parameters from the positive motion trajectory, and the organization of these parameters into a spatiotemporal myocardial motion atlas according to cardiac phase and time sequence, includes: The displacement components of each fixed ventricular wall point in each phase of the cardiac cycle are extracted from the positive motion trajectory, and the rate of change of the displacement components along the time axis is calculated to obtain the velocity parameter. The deformation gradient is obtained by taking the spatial derivative of the positive motion trajectory, and strain parameters reflecting the deformation of the chamber wall are extracted from the deformation gradient. The displacement components, velocity parameters, strain parameters, and corresponding reference coordinate positions, cardiac phase indexes, and segmental attribution information are combined to form a spatiotemporal myocardial motion atlas.
9. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 1, characterized in that, The extraction of features reflecting the motion states of different myocardial segments, transmural differences, and intersegmental coordination from the spatiotemporal myocardial motion atlas includes: According to the standard myocardial segment division, the sampling points in the spatiotemporal myocardial motion atlas are assigned to the corresponding myocardial segments, and the motion parameters of different transmural levels within each segment are statistically analyzed to extract segmental motion state features. Compare the differences in motion parameters of the same segment at different transverse wall levels and extract transverse wall difference features; The correlation between motion time curves of different myocardial segments and the correlation between each segment and the overall left ventricular reference motion curve were calculated to extract mechanical synchronization features reflecting inter-segment synergy.
10. The method for assessing myocardial infarction risk based on spatiotemporal myocardial motion field according to claim 9, characterized in that, The process involves assessing the abnormal risk of each myocardial segment based on the extracted features, and comprehensively evaluating the patient's overall myocardial infarction risk based on the abnormal risk of each segment, outputting the risk assessment results, including: The segmental motion state characteristics, transmural difference characteristics, and mechanical synchronization characteristics of each myocardial segment are combined to form a multi-dimensional feature vector for each segment. The multi-dimensional feature vector of each segment is then processed using a preset evaluation criterion to obtain the abnormal risk probability of each segment. The Noisy-OR aggregation method was used to fuse the abnormal risk probabilities of each segment into the overall myocardial infarction risk probability of the patient; Based on the patient's overall myocardial infarction risk probability and the abnormal risk probability of each segment, the suspected affected myocardial segments and their risk levels are determined, and the risk assessment results are output. The risk assessment results include the patient's overall myocardial infarction risk probability, the risk level and segment identifier of the suspected affected myocardial segments, and at least one explanatory information from the motion curve, ventricular wall motion vector or deformation grid corresponding to the suspected affected myocardial segments.
