| Literature DB >> 30872627 |
Abstract
An effective method for compression of ECG signals, which falls within the transform lossy compression category, is proposed. The transformation is realized by a fast wavelet transform. The effectiveness of the approach, in relation to the simplicity and speed of its implementation, is a consequence of the efficient storage of the outputs of the algorithm which is realized in compressed Hierarchical Data Format. The compression performance is tested on the MIT-BIH Arrhythmia database producing compression results which largely improve upon recently reported benchmarks on the same database. For a distortion corresponding to a percentage root-mean-square difference (PRD) of 0.53, in mean value, the achieved average compression ratio is 23.17 with quality score of 43.93. For a mean value of PRD up to 1.71 the compression ratio increases up to 62.5. The compression of a 30 min record is realized in an average time of 0.14 s. The insignificant delay for the compression process, together with the high compression ratio achieved at low level distortion and the negligible time for the signal recovery, uphold the suitability of the technique for supporting distant clinical health care.Entities:
Mesh:
Year: 2019 PMID: 30872627 PMCID: PMC6418132 DOI: 10.1038/s41598-019-40350-x
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Comparison between the average performance of the proposed method and the method in[12] for the same mean value of PRD.
| PRD | 1.71 | 1.47 | 1.18 | 1.05 | 0.91 | 0.80 |
| CR[ | 38.46 | 33.85 | 28.21 | 25.64 | 22.27 | 18.00 |
| CRa |
|
|
|
|
|
|
| Gain % | 62 | 68 | 67 | 61 | 69 | 84 |
| CRb | 60.33 | 53.07 | 44.37 | 40.29 | 35.69 | 31.86 |
| Gain % | 57 | 57 | 57 | 57 | 60 | 77 |
| QS[ | 29.08 | 29.38 | 30.01 | 30.51 | 30.36 | 29.46 |
| QSa |
|
|
|
|
|
|
| Gain % | 26 | 31 | 33 | 28 | 37 | 41 |
| QSb | 35.86 | 36.81 | 38.33 | 39.16 | 39.96 | 40.80 |
| Gain % | 23 | 25 | 27 | 28 | 31 | 38 |
| 0.13 | 0.14 | 0.14 | 0.14 | 0.14 | 0.14 | |
| 0.10 | 0.11 | 0.11 | 0.11 | 0.11 | 0.11 | |
| 0.04 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | |
| PRD0 a) | 1.303 | 0.966 | 0.830 | 0.830 | 0.635 | 0.627 |
| Δ a) | 119 | 126 | 93 | 67 | 71 | 51 |
| Δ b) | 177 | 147 | 113 | 98 | 82 | 69 |
Comparison between the average compression performance of the proposed method and the method in[11] for the same mean value of PRD.
| PRD | 1.31 | 1.02 | 0.67 | 0.48 | 0.31 | 0.23 |
| CR[ | 17.34 | 14.68 | 11.30 | 9.28 | 6.22 | 5.19 |
| CRa |
|
|
|
|
|
|
| Gain% | 188 | 176 | 146 | 114 | 70 | 49 |
| CRb | 48.72 | 39.47 | 27.24 | 19.84 | 10.33 | 7.36 |
| Gain% | 181 | 169 | 141 | 114 | 66 | 42 |
| QSa | 38.12 | 39.81 | 41.46 | 42.71 | 34.96 | 34.48 |
| QSb | 37.69 | 39.30 | 41.88 | 42.71 | 34.40 | 33.16 |
| 0.14 | 0.14 | 0.14 | 0.14 | 0.15 | 0.16 | |
| 0.11 | 0.11 | 0.11 | 0.11 | 0.13 | 0.14 | |
| 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.06 | |
| PRD0 a) | 1.000 | 0.794 | 0.562 | 0.380 | 0.224 | 0.193 |
| Δ a) | 90 | 67 | 36 | 33 | 16 | 9 |
| Δ b) | 129 | 95 | 54 | 33 | 16 | 10 |
Comparison of CRs for three values of PRD when the proposed approach is implemented using different wavelets at decomposition levels 3, 4, and 5.
| Family | lv | Δ | PRD | CR | std | Δ | PRD | CR | std | Δ | PRD | CR | std |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| db5 | 3 | 47 | 0.65 | 24.03 | 5.44 | 36 | 0.53 | 20.25 | 4.54 | 29 | 0.45 |
| 3.95 |
| 4 | 52 | 0.65 |
| 6.07 | 39 | 0.53 |
| 4.97 | 30 | 0.45 | 17.37 | 4.08 | |
| 5 | 53 | 0.65 | 23.31 | 5.51 | 39 | 0.53 | 19.22 | 4.48 | 30 | 0.45 | 15.49 | 3.84 | |
| coif4 | 3 | 47 | 0.65 | 24.28 | 5.59 | 36 | 0.53 | 20.47 | 4.56 | 29 | 0.45 | 17.76 | 3.98 |
| 4 | 52 | 0.65 |
| 6.35 | 39 | 0.53 |
| 5.09 | 31 | 0.45 |
| 4.28 | |
| 5 | 53 | 0.65 | 23.73 | 5.75 | 39 | 0.53 | 19.61 | 4.59 | 31 | 0.45 | 16.39 | 4.17 | |
| 3 | 47 | 0.65 | 23.65 | 5.30 | 36 | 0.53 | 19.95 | 4.43 | 28 | 0.45 | 17.01 | 3.78 | |
| sym4 | 4 | 52 | 0.65 |
| 6.16 | 39 | 0.53 |
| 4.91 | 30 | 0.45 | 4.10 | |
| 5 | 53 | 0.65 | 23.64 | 5.75 | 39 | 0.53 | 19.42 | 4.50 | 30 | 0.45 | 15.84 | 3.98 | |
| 3 | 47 | 0.65 | 24.66 | 5.39 | 36 | 0.53 | 20.94 | 4.66 | 28 | 0.45 | 17.80 | 3.93 | |
| cdf97 | 4 | 52 | 0.65 |
| 6.42 | 39 | 0.53 |
| 5.27 | 30 | 0.45 |
| 4.39 |
| 5 | 53 | 0.65 | 24.98 | 6.06 | 39 | 0.53 | 20.69 | 4.83 | 30 | 0.45 | 16.75 | 4.20 |
Compression results with approach a), cdf97 DWT, lv = 4, Δ = 35, and PRD0 = 0.4217, for the 48 records in the MIT-BIH Arrhythmia Database listed in the first column of the left and right parts of the table.
| Rec |
| std | PRD | CRa | QSa | PRDN |
|---|---|---|---|---|---|---|
| 100 | 0.52 | 0.02 | 0.52 | 28.65 | 55.01 | 12.99 |
| 101 | 0.51 | 0.08 | 0.52 | 28.32 | 54.92 | 9.56 |
| 102 | 0.52 | 0.03 | 0.52 | 29.15 | 55.89 | 13.36 |
| 103 | 0.52 | 0.04 | 0.52 | 26.32 | 50.86 | 7.88 |
| 104 | 0.52 | 0.12 | 0.53 | 21.23 | 40.08 | 10.37 |
| 105 | 0.52 | 0.06 | 0.53 | 20.07 | 38.08 | 6.39 |
| 106 | 0.51 | 0.07 | 0.52 | 20.46 | 39.49 | 6.97 |
| 107 | 0.54 | 0.05 | 0.54 | 14.30 | 26.66 | 3.10 |
| 108 | 0.52 | 0.09 | 0.52 | 22.52 | 43.11 | 8.51 |
| 109 | 0.52 | 0.05 | 0.52 | 23.80 | 45.42 | 5.16 |
| 111 | 0.52 | 0.04 | 0.52 | 26.71 | 51.55 | 10.01 |
| 112 | 0.54 | 0.06 | 0.55 | 28.11 | 51.45 | 10.52 |
| 113 | 0.52 | 0.02 | 0.52 | 22.89 | 43.93 | 6.29 |
| 114 | 0.51 | 0.04 | 0.52 | 31.85 | 61.80 | 14.94 |
| 115 | 0.53 | 0.03 | 0.53 | 22.02 | 41.68 | 6.75 |
| 116 | 0.58 | 0.04 | 0.58 | 12.84 | 22.05 | 3.71 |
| 117 | 0.54 | 0.03 | 0.54 | 33.70 | 62.86 | 9.59 |
| 118 | 0.61 | 0.07 | 0.62 | 12.11 | 19.69 | 6.16 |
| 119 | 0.55 | 0.02 | 0.55 | 18.01 | 32.67 | 4.42 |
| 121 | 0.53 | 0.06 | 0.53 | 38.74 | 73.18 | 7.59 |
| 122 | 0.55 | 0.02 | 0.55 | 21.36 | 38.58 | 6.49 |
| 123 | 0.54 | 0.03 | 0.54 | 28.08 | 52.05 | 8.05 |
| 124 | 0.54 | 0.05 | 0.54 | 26.03 | 48.21 | 5.07 |
| 200 | 0.52 | 0.07 | 0.53 | 16.51 | 31.19 | 7.00 |
| 201 | 0.51 | 0.05 | 0.52 | 37.62 | 72.79 | 13.23 |
| 202 | 0.51 | 0.05 | 0.51 | 30.41 | 59.57 | 8.51 |
| 203 | 0.54 | 0.08 | 0.54 | 13.64 | 25.11 | 5.46 |
| 205 | 0.52 | 0.03 | 0.52 | 30.27 | 57.77 | 12.83 |
| 207 | 0.50 | 0.11 | 0.52 | 30.31 | 58.72 | 7.23 |
| 208 | 0.52 | 0.07 | 0.53 | 15.98 | 30.38 | 5.43 |
| 209 | 0.52 | 0.07 | 0.53 | 16.43 | 31.08 | 9.79 |
| 210 | 0.51 | 0.09 | 0.51 | 26.30 | 51.08 | 9.80 |
| 212 | 0.54 | 0.08 | 0.54 | 13.28 | 24.37 | 8.18 |
| 213 | 0.54 | 0.03 | 0.54 | 13.60 | 25.09 | 3.99 |
| 214 | 0.52 | 0.05 | 0.52 | 21.45 | 41.45 | 5.48 |
| 215 | 0.54 | 0.06 | 0.54 | 15.10 | 27.95 | 9.53 |
| 217 | 0.52 | 0.03 | 0.52 | 18.13 | 34.83 | 4.22 |
| 219 | 0.54 | 0.03 | 0.54 | 18.69 | 34.44 | 4.50 |
| 220 | 0.54 | 0.03 | 0.54 | 24.21 | 44.77 | 7.79 |
| 221 | 0.51 | 0.04 | 0.51 | 24.05 | 46.93 | 8.46 |
| 222 | 0.51 | 0.07 | 0.52 | 24.48 | 47.17 | 13.88 |
| 223 | 0.54 | 0.03 | 0.54 | 22.24 | 41.46 | 6.10 |
| 228 | 0.52 | 0.08 | 0.52 | 19.23 | 36.91 | 7.51 |
| 230 | 0.52 | 0.06 | 0.52 | 21.36 | 41.04 | 7.28 |
| 231 | 0.52 | 0.04 | 0.52 | 27.10 | 51.81 | 9.56 |
| 232 | 0.51 | 0.07 | 0.51 | 34.34 | 66.73 | 15.50 |
| 233 | 0.53 | 0.05 | 0.53 | 15.74 | 29.59 | 4.89 |
| 234 | 0.52 | 0.03 | 0.52 | 24.47 | 47.10 | 7.65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Comparison of the CR achieving PRD = 0.53 with method a) of the proposed approach for different values of the parameter PRD0.
| PRD0 | 0.212 | 0.265 | 0.318 | 0.371 | 0.424 | 0.477 |
| CRa | 22.16 | 22.19 | 22.42 | 22.88 | 23.24 | 19.50 |
| Δ | 39 | 39 | 39 | 37 | 32 | 21 |
Comparison with the results of Table III in[26].
| PRDB | 1.19 | 1.56 | 2.46 | 2.96 | 3.57 | 4.85 | 6.49 |
| PRD | 0.11 | 0.15 | 0.23 | 0.28 | 0.35 | 0.47 | 0.63 |
| CR[ | 4 | 5 | 8 | 10 | 12 | 16 | 20 |
| CRb | 4.16 | 5.29 | 8.79 | 11.24 | 14.11 | 19.13 | 24.64 |
| Gain % | 4 | 6 | 10 | 12 | 18 | 20 | 23 |
|
| 5.20 | 6.57 | 10.53 | 13.19 | 16.04 | 21.31 | 26.92 |
| Gain % | 30 | 31 | 32 | 32 | 34 | 33 | 35 |
| Δ | 3.87 | 5.45 | 8.79 | 14.53 | 20.10 | 33.10 | 51.50 |
Comparison between the average performance of the proposed method and the method in[14] for the same mean value of PRD.
| PRD | 1.71 | 1.47 | 1.29 | 1.14 | 1.03 | 0.94 |
| CR[ | 42.27 | 35.53 | 30.21 | 25.99 | 22.80 | 20.38 |
| CRa |
|
|
|
|
|
|
| Gain % | 48 | 60 | 64 | 76 | 80 | 89 |
| CRb | 60.33 | 53.07 | 48.04 | 42.94 | 39.76 | 36.52 |
| Gain % | 43 | 49 | 59 | 65 | 74 | 79 |
| QS[ | 33.41 | 32.58 | 31.53 | 30.23 | 29.19 | 28.44 |
| QSa |
|
|
|
|
|
|
| Gain% | 9 | 18 | 21 | 33 | 36 | 44 |
| QSb | 35.86 | 36.81 | 38.00 | 38.50 | 39.26 | 39.77 |
| Gain % | 7 | 15 | 19 | 24 | 29 | 33 |
| 0.14 | 0.14 | 0.14 | 0.14 | 0.14 | 0.14 | |
| 0.10 | 0.11 | 0.11 | 0.11 | 0.11 | 0.11 | |
| 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | |
| PRD0 a) | 1.303 | 0.966 | 0.971 | 0.750 | 0.804 | 0.690 |
| Δ a) | 119 | 126 | 91 | 96 | 68 | 69 |
| Δ b) | 177 | 147 | 126 | 108 | 96 | 85 |
Figure 1CR vs PRD corresponding to the proposed approach method (b) (blue line) and the approaches in[12] (green line)[14], (yellow line) and[11] red line.
Comparison of different storage methods. CRa and CRb are the CRs from approaches (a) and (b) when the outputs are saved directly in HFD5 format. and are the corresponding values when the Huffman codding step is applied before saving the data in HFD5 format.
| PRD | 1.0 | 0.9 | 0.8 | 0.7 | 0.6 | 0.5 | 0.4 | 0.3 | 0.2 |
| CRa | 40.51 | 37.12 | 33.09 | 29.70 | 25.50 | 22.00 | 16.80 | 10.33 | 6.64 |
|
| 43.57 | 40.41 | 36.32 | 32.96 | 28.80 | 25.13 | 20.25 | 14.62 | 9.53 |
| Gain % | 8 | 9 | 10 | 11 | 13 | 14 | 20 | 42 | 43 |
| 0.13 | 0.13 | 0.13 | 0.14 | 0.14 | 0.14 | 0.15 | 1.15 | 1.15 | |
| 4.3 | 4.5 | 5.0 | 5.4 | 5.5 | 6.2 | 8.3 | 10.22 | 15.4 | |
| Δ a) | 71 | 64 | 50 | 45 | 35 | 30 | 24 | 15 | 8.5 |
| PRD0 a) | 0.750 | 0.675 | 0.640 | 0.550 | 0.484 | 0.400 | 0.300 | 0.230 | 0.150 |
| CRb | 38.64 | 35.41 | 31.86 | 28.53 | 24.93 | 21.03 | 16.21 | 10.07 | 6.56 |
|
| 42.56 | 39.20 | 35.65 | 32.10 | 28.37 | 24.32 | 19.60 | 14.32 | 9.40 |
| Gain % | 10 | 11 | 12 | 13 | 14 | 16 | 21 | 42 | 43 |
| 0.11 | 0.11 | 0.11 | 0.11 | 0.11 | 0.11 | 0.12 | 0.12 | 0.12 | |
| 4.1 | 4.0 | 4.5 | 5.2 | 5.4 | 6.7 | 8.1 | 10.7 | 15.5 | |
| Δ b) | 92 | 81 | 69 | 58 | 47 | 36 | 25 | 15.5 | 8.5 |
| CRRL | 26.63 | 24.41 | 22.42 | 20.34 | 18.14 | 15,68 | 12.50 | 8.32 | 5.61 |
|
| 35.06 | 31.78 | 28.80 | 25.93 | 22.91 | 19.66 | 15.85 | 11.63 | 7.82 |
| Gain % | 32 | 30 | 28 | 27 | 26 | 25 | 26 | 40 | 40 |
| 0.12 | 0.12 | 0.12 | 0.13 | 0.13 | 0.13 | 0.13 | 0.14 | 0.16 | |
| 4.5 | 4.9 | 6.2 | 6.4 | 7.1 | 7.4 | 9.0 | 12.8 | 19.5 |
CRRL gives the CR if the outputs of method (b) are stored using the RL algorithm and the arrays are saved in HFD5 format. is the corresponding CR if Huffman codding is applied before saving the arrays in HFD5 format.
Figure 2Values of prd for the Q = 325 segments of length L = 2000 in record 101.
Figure 3The upper waveforms in all the graphs are the raw data. The lower waveforms are the corresponding approximations which have been shifted down for visual convenience. The bottom lines represent the absolute value of the difference between the raw data and the approximation. The top left graph corresponds to segment 25 in record 101 and the right one corresponds to segment 120 in the same record. The bottom graphs have the same description as the top graphs but for record 213 and segment 175 (left) and 51 (right).