MODELING AND VISUALIZING ST SEGMENT MORPHOLOGY FOR DISCRIMINATING STEMI FROM CON-FOUNDERS
20230101998 · 2023-03-30
Inventors
- Reza Firoozabadi (Thousand Oaks, CA, US)
- Saeed Babaeizadeh (Arlington, MA, US)
- RICHARD EARL GREGG (WESTFORD, MA, US)
Cpc classification
A61B5/7239
HUMAN NECESSITIES
A61B5/24
HUMAN NECESSITIES
International classification
Abstract
A system and method for modeling and visualizing ST segment morphology in an ECG. Many cardiac conditions show ST-elevation in ECG data and may be misdiagnosed as a consequence. The exemplary embodiments model a segment in the ECG with a curve and extract features from the curve to discriminate between the cardiac conditions, including STEMI.
Claims
1. A method, comprising: identifying a segment in ECG data; modeling the segment with a curve; extracting features from the curve; determining a concavity of the segment based on the extracted features; and determining a cardiological condition based on the concavity of the segment.
2. The method of claim 1, wherein the segment is a JTpeak interval, the JTpeak interval beginning at a J-point and ending at an apex of a T wave.
3. The method of claim 2, wherein the ECG data comprises a graph for each of twelve ECG leads and the concavity for each segment is determined.
4. The method of claim 3, wherein the cardiological condition is determined based on the concavity for at least one of the segments being non-concave upward.
5. The method of claim 1, wherein the curve is a second order polynomial and the extracted features comprise a model error, a noise level of the ECG data as compared with the curve, a vertex location and a maximum curvature.
6. The method of claim 5, wherein each of the extracted features are compared to predefined thresholds and, when the threshold conditions are met, the segment is determined to be concave upward.
7. The method of claim 5, further comprising: generating an osculating circle for a point on the curve; and visualizing the second order polynomial or the osculating circle overlaid on the ECG data.
8. The method of claim 5, further comprising: visualizing one or more features overlaid on the ECG data.
9. The method of claim 1, wherein the cardiological condition is STEMI, the STEMI condition being distinguished from other cardiological conditions showing ST-elevation.
10. A computer readable storage medium comprising a computer program that when executed by a processor, performs the method of claim 1.
11. A system, comprising: a memory configured to store ECG data; and a processor configured to perform operations comprising: identifying a segment in the ECG data; modeling the segment with a curve; extracting features from the curve; determining a concavity of the segment based on the extracted features; and determining a cardiological condition based on the concavity of the segment.
12. The system of claim 11, wherein the segment is a JTpeak interval, the JTpeak interval beginning at a J-point and ending at an apex of a T wave.
13. The system of claim 12, further comprising: an ECG arrangement configured to generate the ECG data, wherein the ECG data comprises a graph for each of twelve ECG leads and the concavity for each segment is determined.
14. The system of claim 13, wherein the cardiological condition is determined based on the concavity for at least one of the segments being non-concave upward.
15. The system of claim 11, wherein the curve is a second order polynomial and the extracted features comprise a model error, a noise level of the ECG data as compared with the curve, a vertex location and a maximum curvature.
16. The system of claim 15, wherein each of the extracted features are compared to predefined thresholds and, when the threshold conditions are met, the segment is determined to be concave upward.
17. The system of claim 15, wherein the processor is configured to perform further operations comprising: generating an osculating circle for a point on the curve.
18. The system of claim 17, further comprising: a display configured to visualize the second order polynomial or the osculating circle overlaid on the ECG data.
19. The system of claim 18, wherein the display is further configured to: visualize one or more features overlaid on the ECG data.
20. The system of claim 11, wherein the cardiological condition is STEMI, the STEMI condition being distinguished from other cardiological conditions showing ST-elevation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION
[0019] The exemplary embodiments may be further understood with reference to the following description and the appended drawings, wherein like elements are referred to with the same reference numerals. The exemplary embodiments relate to systems and methods for modeling and visualizing the morphology of the ST segment of an ECG for distinguishing an ECG indicating STEMI from an ECG indicating one of its confounding conditions showing similar ST elevation as STEMI.
[0020] The exemplary embodiments will be described with reference to criteria for distinguishing STEMI from its confounders, however, it should be understood that the exemplary embodiments are not limited thereto. For example, other cardiac conditions, or even non-cardiac conditions, may affect an ECG in such a way that modeling the JTpeak interval may provide information that can, when compared to condition-specific criteria, distinguish between the condition and conditions showing similar ECG data. Additionally, segments of the ECG other than the JTpeak interval may be modeled and information derived from the morphology.
[0021] The morphology of the ST segment (e.g., concave upward, concave downward, or straight line) is one of the ECG features which, along with other ECG features specific to each disease, may discriminate STEMI from its confounders. For example, concave downward (upward convex) or straight-line ST segments are not typically present in pericarditis or early repolarization. Thus, a lack of upward concavity in the ST segment is a feature that may be used to distinguish between STEMI and these other conditions. Concave upward (or convex downward) is defined herein as a curve having a positive second derivative, while concave downward (or convex upward) is defined herein as a curve having a negative second derivative. Some curves fitted to ECG data may have so much noise that, although the best-fit curve is concave upward, the data is not considered concave upward for the purposes of the exemplary embodiments.
[0022] In prior methods, the concavity of the ST segment is determined by modeling a line between the J-point to the apex of the T wave and determining the point in the JTpeak interval with a maximum distance from the line (below or above the line), or determining the sign of the area between the line and the JTpeak interval. However, these methods could be inaccurate in the presence of artifacts. Artifacts are very common in ECG data, and may be caused by, e.g., muscle artifact, baseline wander and powerline noise.
[0023]
[0024] The processor 102 additionally extracts mathematical and geometrical features from the curve fitted to the ECG data. For example, a concavity of the curve is assessed, and it is determined whether the ST segment shape (as best-fit modeled by the processor 102) satisfies a given condition, to be explained in greater detail below. A display 106 is configured to visualize the curve and the related mathematical/geometrical features.
[0025]
[0026] In 205, ECG data is read from each of the ECG leads and a graphical representation, i.e., the ECG, is generated for each of the leads and stored to the memory 104. In the following description, each of the steps 205-230 is performed for each of the ECG leads (e.g. 12 times for a 12-lead ECG). Thus, the morphology of the ECG is assessed for each of the leads.
[0027] In 210, a representative beat is generated for the ECG data. The representative beat is representative of one heartbeat cycle, i.e., the progression through the full atrial and ventricular depolarization and repolarization of the heart. An ECG typically gathers data for at least ten seconds, thus, the data may encompass multiple heartbeat cycles. In the exemplary embodiments described herein 10 seconds of data is analyzed, however, a longer interval such as 30 seconds may be used to exclude any potential artifacts and give a cleaner average. The representative beat may be generated by, e.g., averaging the multiple heartbeats, with noisy or abnormal beats being removed.
[0028] In 215, the ST segment morphology is identified for the representative beat. The beginning and the end of the JTpeak interval (i.e. the fiducial points) are determined. As discussed previously, the JTpeak interval begins at the J-point and ends at the apex of the T wave, which may be detected in the data using known methods.
[0029] In 220, the identified JTpeak interval is modeled with a curve. In the exemplary embodiments described herein a second-order curve (e.g. a parabola) is fit to the JTpeak interval. However, the JTpeak interval may be modeled with a curve in unlimited ways, e.g., with a higher-order polynomial or with a second-order model other than that described below.
[0030] The exemplary quadratic polynomial regression approach described herein fits a section of a parabola to the JTpeak interval identified in the ECG data. The coefficients a, b, and c are the parameters to determine:
ŷ=a+bx+cx.sup.2
[0031] The exemplary approach described herein estimates the polynomial coefficients in a fast-analytic way. In a JTpeak interval comprising N samples: (x.sub.k,y.sub.k), k=1, . . . ,N, the sum of the squared error between the fitted curve (ŷ) and the original signal (y) at each sample k is minimized using least squares estimation:
[0032] The above partial derivatives lead to the following system of 3 equations:
[0033] The above system of 3 equations and 3 unknowns is solved using Cramer's rule:
[0034] These determinants are written in closed form as:
Δ=N.Math.(m2.Math.m4−m3.Math.m3)−m1.Math.(m1.Math.m4−m3.Math.m2)+m2.Math.(m1.Math.m3−m2.Math.m2)
Δ.sub.a=z1.Math.(m2.Math.m4−m3.Math.m3)−m1.Math.(z2.Math.m4−z3.Math.m2)+m2.Math.(z2.Math.m3−z3.Math.m2)
Δ.sub.b=N.Math.(z2.Math.m4−z3.Math.m3)−z1.Math.(m1.Math.m4−m3.Math.m2)+m2.Math.(z2.Math.z3−z3.Math.z2)
Δ.sub.c=N.Math.(m2.Math.z3−m3.Math.z2)−m1.Math.(m1.Math.z3−m3.Math.z2)+z1.Math.(m1.Math.m3−m2.Math.m2)
where:
m1=Σ.sub.kx, m2=Σ.sub.kx.sup.2, m3=Σ.sub.kx.sup.3, m4=Σ.sub.kx.sup.4z1=Σ.sub.ky, z2=Σ.sub.kxy, z3=Σ.sub.kx.sup.2y
[0035] By replacing the polynomial coefficients, the fitted curve may be written as:
ŷ=(Δ.sub.a+Δ.sub.bx+Δ.sub.cx.sup.2)/Δ
[0036] An exemplary polynomial curve 406 fitted to the JTpeak interval 402 is shown in
[0037] It may be seen in
[0038] In 225, the model error, and other features of the polynomial curve 406 are determined. In the exemplary embodiments described herein a model error, noise level, vertex location, and curvature (specifically a maximum curvature) are determined for use in determining the cardiological condition. The noise level, for example, is measured by comparing the fitted curve to the original ECG. However, different features may be defined and used for different applications.
[0039] Model error (R.sup.2) may be defined as:
where {tilde over (y)} is the smoothed JTpeak interval using a moving average filter.
[0040] Noise level (err) may be defined as:
[0041] Vertex location (v) may be defined as:
[0042] Curvature (κ) may be defined as:
with κ.sub.m being defined as the maximum curvature during the JTpeak interval.
[0043] In 230, the determined features of the best-fit curve are applied to a set of criteria to determine the concavity of the ST segment. Various criteria may be defined for making the determination. In one example, the ST segment is considered upward concave if the following condition is met:
Cond=(c≥thr1) & (R.sup.2≥thr2) & (err<thr3) & (v<thr4) & (κ.sub.max>thr5)
where thr1, thr2, thr3, thr4, and thr5 are the thresholds defined for performance of the concavity detection. Thus, it may be seen that an upward concavity determination is dependent upon the second order coefficient c, the model error R.sup.2, the noise level err, the vertex location v, and the maximum curvature κ.sub.max. If any one of the criteria are not met, the ST segment may be considered to be non-concave-upward. A determination of non-concave-upward may not be equivalent to a determination of concave downward. Rather, the determination takes into account not only the curve but the differences between the curve and the actual data, and signifies that the ST segment cannot be said to be definitively concave upward.
[0044] As mentioned previously, the method steps 205-230 are performed for each of the ECG leads. Thus, a determination of concave upward or non-concave-upward is made for the ST segment for each of the leads.
[0045] In 235, diagnostic criteria are applied in view of the aforementioned features and concavity determinations to determine a condition. In the exemplary embodiments described herein, STEMI is distinguished from pericarditis and early repolarization. However, as mentioned previously, other conditions may be assessed based on other features extracted from the ECG data.
[0046] Pericarditis is identified by widespread ST elevation in an upward concave ST segment and PQ-segment depression in some leads. Early repolarization is recognized by ST elevation in upward concave ST segment in some leads with no reciprocal ST depression in other leads, and T-waves or J-point notches and slurs, tall positive T-waves, and low ST/T ratios. As discussed previously, concave upward or straight-line (i.e., non-concave upward) ST segments are typically not present in pericarditis or early repolarization. Thus, a presence of a non-concave-upward curve in any of the e.g. 12 ECG leads may indicate STEMI as opposed to these confounders.
[0047]
[0048] As may be seen in
[0049]
[0050]
[0051] The exemplary graphs shown in
[0052] In 240, the fitted JTpeak interval curve and/or osculating circle and/or extracted features of the curve may be visually presented on the display 106.
[0053]
[0054] The aforementioned visualization is only exemplary, and the aspects of the visualization may be modified by a user. For example, the best-fit curve may be shown, or different features of the curve may be printed.
[0055] While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.