An Adaptive Run Length Encoding method for the compression of electrocardiograms
Related Experiment Video
Updated: Jun 13, 2026

Real-Time Electrocardiogram Monitoring During Treadmill Training in Mice
Published on: May 5, 2022
Cristiano M Agulhari1, Ivanil S Bonatti, Pedro L D Peres
1School of Electrical and Computer Engineering, University of Campinas - Unicamp, 13083-852, SP. agulhari@dt.fee.unicamp.br
Abstract:
A compression method, based on the choice of a wavelet that minimizes the distortion of compression for each electrocardiogram considered, is proposed in this paper. The scaling filter used on the determination of the wavelet function is obtained from the resolution of an optimization problem, which is unconstrained since the scaling filter is parametrized in a way that the constraints applied to the scaling filter are embedded on the parameters. The coefficients of projection of the signal over the wavelet subspaces are calculated and only the most significant ones are retained, being the significant coefficients determined in order to satisfy a pre-specified distortion measure. The bitmap that informs the positions of the retained coefficients is encoded along with the values of the coefficients by using an improved version of the Run Length Encoding technique. Experiments that compare the proposed approach with other techniques illustrate the efficiency of the method.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage. When...