Method and apparatus for determining a heart period from an ecg waveform using image representation of ecg
AssigneeInternational Business Machines Corporation
InventorsTANVEER SYEDA MAHMOOD, FEI WANG
Life of this patent
Estimating the term…
Abstract
A method and system and computer program product for estimating a heart period is disclosed. The heart period is detected from an ECG recording. ECG data is acquired, and converted into electronic ECG images. The data is processed to prepare for estimation of a heart period. The heart period is estimated based upon an average of intervals between a plurality of detected peaks of electronic electrocardiogram waveforms. The peaks are determined by taking a product of a filtered electronic ECG signal with a wandering baseline removed, a difference between the upper and lower ECG envelopes of the electronic ECG images, and a first order derivative of a derived ECG waveform.
Claims20
A method for estimating a heart period using at least one of a plurality of electrocardiogram recordings, comprising:
- utilizing a computer processor to convert a plurality of the electrocardiogram recordings into a plurality of corresponding electronic electrocardiogram images;
- deriving an electrocardiogram waveform from one of the electronic electrocardiogram images by extracting an upper envelope and a lower envelope of the electrocardiogram waveform from the corresponding electronic electrocardiogram image using a curve tracing algorithm;
- determining an electrocardiogram signal peak from increased thickness at the electrocardiogram signal peak due to pixel dithering;
- determining a difference between the upper envelope and the lower envelope at the electrocardiogram signal peak and at an electrocardiogram low point, which are a local maximum and a local minimum of one of the corresponding electronic electrocardiogram images;
- and
- estimating the heart period.
A system for estimating a heart period using at least one of a plurality of electrocardiogram recordings, comprising:
- a conversion machine for converting an at least one electrocardiogram recording into a corresponding electronic electrocardiogram image;
- a derivation machine for:
- deriving an electrocardiogram waveform from the corresponding electronic electrocardiogram image, by extracting an upper envelope and a lower envelope of the derived electrocardiogram waveform from the electronic electrocardiogram image using a curve tracing algorithm;
- determining an electrocardiogram signal peak from increased thickness at the electrocardiogram signal peak due to pixel dithering;
- and
- determining the difference between the upper envelope and the lower envelope at the electrocardiogram signal peak and at an electrocardiogram low point, which are a local maximum and a local minimum of the derived electrocardiogram waveform from the corresponding electronic electrocardiogram image;
- and
- an estimation machine for:
- computing a first order derivative of the derived electrocardiogram waveform for amplifying high frequencies of the derived electrocardiogram waveform;
- determining a peak of the derived electrocardiogram waveform by taking a product of a filtered electrocardiogram signal from the corresponding electronic electrocardiogram image in which a wandering baseline has been removed, a difference between the upper envelope and the lower envelope of the derived electrocardiogram waveform in the corresponding electronic electrocardiogram image and the first order derivative of the derived electrocardiogram waveform;
- and
- estimating the heart period as an average of intervals between a plurality of detected peaks from the at least one simultaneously selected region from each of the plurality of electronic electrocardiogram images and from the derived electrocardiogram waveform.
A processor implemented computer program product for estimating a heart period using at least one of a plurality of electrocardiogram recordings, comprising:
- computer program code performing on a computer processor in an electrocardiogram machine measuring electrical activity of a heart for:
- obtaining at least one of a plurality of electrocardiogram recordings generated from at least one of a plurality of electrocardiogram sources;
- converting at least one electrocardiogram recording into a corresponding electronic electrocardiogram image;
- removing noise from the corresponding electronic electrocardiogram image;
- deriving an electrocardiogram waveform from the corresponding electronic electrocardiogram image, by extracting an upper envelope and a lower envelope of the derived electrocardiogram waveform from the electronic electrocardiogram image using a curve tracing algorithm, the algorithm for extracting the upper envelope and lower envelope comprising:
- tracing upper and lower edges of a curve of the electrocardiogram waveform from the corresponding electronic electrocardiogram image;
- defining two search ranges centered around the upper and lower edges of the curve of the electrocardiogram waveform;
- using a morphological open algorithm to fill in holes inside the curve of the electrocardiogram waveform;
- using a morphological close algorithm to eliminate noise pixels near the curve of the electrocardiogram waveform;
- closing small gaps by closing the derived electrocardiogram waveform between inserted seed points along an expected location of the electrocardiogram waveform;
- and
- closing large gaps by inserting a segment tangent to the curve of the electrocardiogram waveform;
- and
- determining an electrocardiogram signal peak from increased thickness at the electrocardiogram signal peak due to pixel dithering;
- determining a difference between the upper envelope and the lower envelope at the electrocardiogram signal peak and at an electrocardiogram low point which are a local maximum and a local minimum of the derived electrocardiogram waveform from the corresponding electronic electrocardiogram image;
- estimating the heart period, by
- computing a first order derivative of the derived electrocardiogram waveform for amplifying high frequencies of the derived electrocardiogram waveform;
- determining a peak of the derived electrocardiogram waveform by taking a product of a filtered electrocardiogram signal from the corresponding electronic electrocardiogram image with a wandering baseline removed, the difference between the upper envelope and the lower envelope of the derived electrocardiogram waveform in the corresponding electronic electrocardiogram image, and the first order derivative of the derived electrocardiogram waveform;
- and
- estimating the heart period, as an average of intervals between a plurality of detected peaks from the derived electrocardiogram waveform;
- and
- outputting the estimated heart period on a user interface display.
Dependencies are inferred from the claim text.